Fatigue life predictor: predicting fatigue life of metallic material using LSTM with a contextual attention model
간접 관련 산업용 섬유 · (9) 타이어코드 (1) 에어백(23) 컴파운드
기본 정보
- 저자
- DOI
- 10.1039/d5ra01578b
- 저널
- RSC Advances
- 발행년도
- 2025
- 발행기관
- Royal Society of Chemistry
- 피인용수
- 0
- 라이선스
- cc-by-nc
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1039/d5ra01578b
- 토픽
- Mechanical stress and fatigue analysis
- OpenAlex ID
- W4410325116
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 산업용 섬유 · (9) 타이어코드
- 부 분야
- (1) 에어백, (23) 컴파운드
- R&D 측면
- 분석·모델링
- 확신도
- 0.80
- 근거 용어
- fatigue life prediction, low-cycle fatigue (LCF), stress–strain data, LSTM-contextual attention model, metallic material
- 판단 근거
- 본 논문은 금속 재료(스테인리스강)의 저사이클 피로(LCF) 수명을 예측하기 위한 딥러닝 모델을 다루고 있습니다. 코오롱인더스트리의 직접적인 주력 제품은 고분자/섬유 기반이지만, 타이어코드(9)나 자동차 부품(1, 23) 등 기계적 피로 성능 및 내구성이 핵심인 사업부의 신뢰성 평가 및 수명 예측 모델링 기법에 간접적으로 응용 가능합니다.
- R&D 활용 포인트
- 타이어코드, 에어백 원단, 자동차용 엔지니어링 플라스틱 등 반복 하중을 받는 산업용 소재의 피로 수명 예측 및 내구 신뢰성 평가 프로세스에 AI 모델링 기법을 도입하여 R&D 효율성을 높일 수 있습니다.
- 평가 입력
- 본문 59,858자 중 30,032자 발췌
초록
본문 59,858자
본문 펼치기
섹션 본문 68문단 · 43,377자
(제목 없음)
1Low-cycle fatigue (LCF) data involve complex temporal interactions in a strain cycle series, which hinders accurate fatigue life prediction.Current studies lack reliable methods for fatigue life prediction using only initial-cycle data while simultaneously capturing both temporal dependencies and localized features.This study introduces a novel deep-learning-based prediction model designed for LCF data.The proposed approach combines long short-term memory (LSTM) and convolutional neural network (CNN) architectures with an attention mechanism to effectively capture the temporal and localized characteristics of stress-strain data from acquisition through a series of cycle strain-controlled tests.Among the models tested, the LSTM-contextual attention model demonstrated superior performance (R 2 = 0.99), outperforming the baseline LSTM and CNN models with higher R 2 values and improved statistical metrics.The analysis of attention weights further revealed the model's ability to focus on critical timesteps associated with fatigue damage, highlighting its effectiveness in learning key features from LCF data.This study underscores the potential of deep-learning-based methods for accurate fatigue life prediction in LCF applications.This study provides a foundation for future research to extend these approaches to diverse materials with varying fatigue conditions and advanced models capable of incorporating non-linear fatigue mechanisms.
Introduction
25][6] However, repeated cyclic loading can lead to fatigue failure, posing risks to structural integrity and operational reliability.Fatigue life prediction, especially for materials operating under extreme stress-strain conditions, remains a signicant challenge owing to the complex mechanisms involved in failure processes. 7,8ecent advancements in material modeling have aimed to improve the accuracy of fatigue life predictions. 91][12] While these approaches provide valuable insights, they face limitations in capturing local stressstrain behavior during high strain cycles, which are crucial for understanding material failure.In addition, these models oen require extensive datasets, which may not always be available in industrial settings. 131][12] However, these models oen oversimplify the intricate relationships between cyclic loading, material microstructure, and fatigue behavior.Machine learning methods have shown potential to overcome these limitations by learning complex, nonlinear relationships directly from data. 14,15However, the interpretability of these models and their reliance on large datasets are signicant obstacles.
3Convolutional Neural Networks (CNNs) have been associated with image analysis but have also demonstrated effectiveness in time-series data analysis. 16,17Unlike Recurrent Neural Networks (RNNs), which process data sequentially and rely on hidden states to capture dependencies, CNNs utilize convolutional layers to extract local patterns and features directly from the input data. 18This approach allows CNNs to identify localized temporal patterns, such as stress or strain peaks within a cycle, without being constrained by sequential processing.
4A key advantage of CNNs over RNNs is their resilience to issues like the vanishing gradient problem. 19In RNNs, gradients can diminish exponentially during backpropagation over time, leading to the loss of information from earlier timesteps and limiting the model's ability to capture long-term dependencies.In contrast, CNNs leverage hierarchical feature extraction through multiple convolutional layers, enabling the model to capture both short-and long-range temporal dependencies effectively.Additionally, the use of pooling layers in CNNs helps reduce the dimensionality of the data while preserving critical features, further mitigating the computational challenges associated with deep network architectures. 20he long Short-Term Memory (LSTM) networks address this limitation by introducing cell states and gating mechanisms, specically designed to retain important information over extended sequences. 21,22The forget gate determines which information to discard, the input gate decides which information to add to the cell state, and the output gate regulates the ow of information to the next time step.These mechanisms allow LSTM networks to prioritize and maintain relevant temporal features, making them more robust in modeling longterm dependencies compared to standard CNNs. 23In the context of fatigue life prediction, where stress-strain behavior over time plays a critical role, LSTMs provide an effective way to capture the progression of material degradation within a cycle.
5Furthermore, the addition of contextual attention mechanisms enhances LSTM networks by focusing on the most critical temporal features within a sequence while maintaining the data's temporal order. 24First, unlike self-attention, which models all pairwise interactions within a sequence, contextual attention respects the sequential structure of time-series data. 25,26This is particularly important in fatigue life analysis, where the cyclic stress-strain relationship depends on the ordered progression of states within a single cycle.Second, contextual attention emphasizes localized features, such as stress or strain peaks, in their immediate context. 27These points, which are highly indicative of fatigue life behavior, are oen overlooked by self-attention's distributed focus across the entire sequence. 28Third, self-attention mechanisms are better suited for tasks requiring global dependencies, such as natural language processing, where temporal order is less critical. 29,30owever, in fatigue life analysis, the localized interactions within the stress-strain cycle, particularly at extreme conditions, are the key drivers of material failure and life prediction. 31ourth, the use of contextual attention directly aligns with the nature of the dataset by highlighting these critical localized dynamics while preserving the temporal ow. 32,33This makes contextual attention a better t for predicting fatigue life from a single cycle, where local stress-strain patterns are the most signicant contributors to accurate life predictions. 34ecent advancements in fatigue life prediction of metallic materials have leveraged machine learning techniques to address the challenges of accurately reecting mechanical properties and complex loading conditions.Chen et al. proposed a multi-view neural network model that integrates frequency domain analysis with CNN and LSTM to predict the fatigue life of metallic materials under multiaxial loading, demonstrating robust performance across diverse experimental datasets. 11Similarly, Min et al. explored the interplay between processing parameters, post-treatment conditions, and fatigue properties of additively manufactured metals, utilizing machine learning models, including CNNs, to predict fatigue life and crack growth rates. 12Moon et al. focused on the inuence of surface roughness and pore characteristics on the fatigue life of laser powder bed fusion Ti-6Al-4V alloys, employing neural networks to establish quantitative relationships with high predictive accuracy. 10nlike other methods that rely on large datasets with multiple cycles or various material parameters, our model takes a unique approach by using a contextual attention mechanism and focusing on data from just the initial single cycle. 32The contextual attention mechanism improves accuracy and interpretability by highlighting the most important features within the initial cycle, helping the model identify early signs of fatigue that might be missed when analyzing many cycles.Using only the initial cycle makes the model faster and more efficient, as it doesn't need to process large datasets, while still capturing critical material properties like microstructure or surface conditions.However, our study is the rst to apply a contextual attention mechanism for fatigue life prediction, highlighting its novelty and contribution to the eld.
6In this study, we propose an LSTM-based fatigue life prediction framework that incorporates a contextual attention mechanism.Empirical fatigue dataset was used to assess our prediction model.Unlike traditional models that require multiple cycles of data, this approach predicts fatigue life using only the stress-strain data from a single initial cycle.By focusing on local stress-strain interactions during extreme strain events, the model provides improved accuracy while maintaining interpretability.To ensure accessibility and reproducibility, the model is deployed as a Python, allowing seamless integration into industrial workows.This study sheds light on the AI-based fatigue eld with predicting nal fracture from experimental data.
LCF experiments
7The dataset used in this study consists of stress-strain data for Type 316 stainless steel, obtained from low-cycle fatigue (LCF) experiments (Fig. 1). 35The material used was Type 316 austenitic stainless steel, manufactured according to JIS G 4305 standards. 34Table 1 presents the chemical composition range for the material. 35All specimens underwent full annealing in a heat treatment furnace at 900 °C.The annealing process involved raising the temperature over 4 hours, maintaining it for 10 minutes, and allowing the material to cool in the furnace.Following the annealing process, surface treatment was performed to ensure the reliability of the stress-strain dataset obtained from strain-controlled fatigue tests. 36Specically, the specimens were mechanically polished with emery papers of grades ranging from 180 to 1000 and then nished with a diamond suspension (DiaPro 3 mm, Struers) to obtain a uniform and smooth surface.
8The experiments followed the ASTM E606-21 Standard Test Method for Strain-Controlled Fatigue Testing and compared two treatment types: (1) Type 316 stainless steel subjected to heat treatment only and (2) Type 316 stainless steel subjected to additional high-density pulsed electric current (HDPEC) processing aer heat treatment. 7,37Dogbone-shaped fatigue specimens, with a thickness of 1.5 mm and a shape radius of 20 mm, were prepared, as shown in Fig. 1.A notch with a radius of 0.2 mm and length of 2 mm was machined at the center of one side to induce mode I fatigue cracking. 36The study focused on evaluating one-way cracking to assess the effects of HDPEC on damage evolution during fatigue.An electric current was applied to the HDPEC-treated specimens, and their fatigue behavior during crack initiation and propagation was compared to that of heat-only specimens. 13ach sample in the dataset represents a single cycle with 50 timesteps, where stress and strain values were recorded at regular intervals. 13,38,39The dataset spans various strain ranges (3 min to 3 max ), including ranges such as [0.Each sample also includes its fatigue life (N f ), dened as the number of cycles until material failure, which ranges from 2000 to 90 000 cycles.Data with incomplete cycles (cycle 1) or irregular stress-strain behavior were excluded to ensure consistency and reliability in the analysis.
Dataset and data preprocessing
9To prepare the dataset for modeling, stress and strain values were normalized using z-score normalization to standardize their distributions. 40This transformation ensures that the stress and strain values have a mean of zero and a standard deviation of one, as calculated by:
10where x data is the raw value, u is the mean, and SD is the standard deviation.
11The fatigue life value N f was normalized separately using MinMax scaling, which scaled N f values to the range [0, 1] according to:
12where N min f and N max f correspond to the minimum and maximum fatigue life values in the dataset (2000 and 90 000 cycles, respectively).K-fold cross-validation and stratied K-fold cross-validation differ in how they handle randomization and data distribution.K-fold relies on random shuffling to ensure diversity in each fold, whereas stratied K-fold explicitly maintains the proportional representation of features or labels across folds, making it useful for datasets with imbalanced distributions because it prevents underrepresented groups from being excluded.However, K-fold may introduce an imbalance unless the dataset is uniform.In this study, a stratied K-fold was initially applied to preserve the distribution of material treatments and strain ranges.Despite this, K-fold with shuffling ultimately provided superior predictive accuracy and stability because the added diversity from randomization enhanced the model's ability to generalize to unseen data. 41Therefore, K-fold cross-validation with shuffling was chosen for constructing the nal model.
13For K-fold cross-validation, the dataset D was divided into k folds, denoted as T i was dened as T i = D − D i and the validation set V i was dened as V i = D i .The model was trained on T i and evaluated on V i , and the performance scores across all folds were aggregated to compute the overall validation score:
14where Score(V i ) represents the performance metric evaluated on the validation set V i
Mechanical analysis of feature relevance
15To evaluate the plastic deformation energy (E plastic ) per cycle, the area of the stress-strain hysteresis loop was calculated by integrating the loop curve. 42
16where E plastic,n is the plastic deformation energy for cycle n (in J units), s is the stress value, 3 is the strain value, 3 max and 3 min are maximum and minimum strain values, respectively.The cumulative energy E cumulative absorbed by the material across all cycles was calculated as the sum of the plastic deformation energy for all cycles
17where N cycles is the total number of cycles for the material in the dataset.
18To analyze the behavior of stress and strain over time, the differences and variances of stress and strain values at each timestep were computed.These metrics provide insights into the dynamic changes and variability of stress and strain throughout the fatigue cycles.
19The differences in stress and strain between consecutive timesteps were calculated as:
20where s t and 3 t represent stress and strain values at timestep t, respectively.The mean differences across all samples were visualized to identify trends over the timesteps.
21To evaluate the variability in stress and strain at each time step, we computed the variance across all samples as follows:
22where N samples is the number of samples, s t and 3 t are the mean stress and strain values at timestep t respectively.Correlation analysis and attened principal component analysis (PCA) were conducted to assess whether the time-series stress and strain data could effectively predict the fatigue life N f .The correlation analysis was aimed at identifying the timesteps in the stress-strain cycle that showed a signicant relationship with N f , while attened PCA was used to evaluate whether the dataset could be meaningfully separated according to N f values.
23The purpose of the temporal correlation analysis was to examine the relationship between N f and each feature at individual timesteps, identifying specic points in the cycle that are most predictive of fatigue life. 43To accomplish this, we computed a temporal correlation coefficient at each timestep, denoted as r t to capture the linear association between N f and the stress or strain values at timestep t.This approach allows us to quantify the relationship between N f and each specic point within the cycle.The temporal correlation coefficient r t for a given timestep t is dened as:
24where x data,i,t is the stress or strain value of sample i at time step t, x t is the mean of the stress or strain values across all samples at time step t, N f,i is the fatigue life of sample i, and N f is the mean fatigue life across all samples.The purpose of the attened PCA was to determine if N f values could be meaningfully separated in the reduced dimensional space, thus suggesting that the stress-strain data contain patterns indicative of different fatigue life outcomes. 44In this approach, each stress-strain cycle was attened into a single vector, capturing the entire cycle's stress and strain values.PCA was then applied to these attened vectors to reduce dimensionality and extract the principal components that account for the most variance in the dataset.
25The rst two principal components (PC 1 and PC 2 ) were plotted against each other, with each point colored according to its N f value. 45This visualization revealed potential clusters in the data, showing whether samples with similar N f values tended to group together in PCA space.Such clustering would indicate that the primary components capture signicant features of the stress-strain data that are relevant to fatigue life prediction.The transformation for each principal component PC k is given by:
26where w kj are the weights of each original variable, x j for the j-th principal component.This projection allowed us to visualize the separation of N f values in the PCA space.
Model architecture
27To build the prediction framework, several neural network architectures were explored, including CNN, LSTM, CNN with attention, and LSTM with attention. 46The CNN and LSTM models were implemented to evaluate their ability to capture sequential dependencies in the cyclic stress-strain data recorded by a series of strain-controlled fatigue tests.We then focused on the stress-strain datasets to reach our goal.However, these models treat all timesteps equally, limiting their focus to critical regions such as peak stress or strain points.To address this limitation, attention mechanisms were integrated into the CNN and LSTM architectures (Fig. 2 and 3).These mechanisms assign weights to timesteps based on their contribution to fatigue life prediction, effectively emphasizing key features while reducing the inuence of less critical points.
28The contextual attention mechanism used in this study was designed to highlight local patterns within the cyclic data, making it particularly effective in capturing fatigue-related behaviors.
29To systematically identify the optimal architecture for each model, we performed hyperparameter optimization tailored to both the LSTM and CNN based frameworks. 47For the LSTM with contextual attention model, we utilized Optuna, a Bayesian optimization framework, to minimize validation MAE.The search space included the number of LSTM layers (ranging from 2 to 6), the number of units per layer (32 to 256), dropout rates (0.1 to 0.5), dense layer congurations (32 to 128 units), and learning rates (from 1 × 10 −5 to 1 × 10 −2 , log-uniform).The best-performing model consisted of ve stacked LSTM layers with 128 units per layer, intermediate dropout of 0.3, a 64-unit dense layer, and an Adam optimizer with a learning rate of 0.001.
30For the CNN-based models, we applied Keras Tuner with the Hyperband algorithm, which efficiently searched the space of candidate architectures.The hyperparameters included the number of convolutional layers (2 to 4), number of lters (16 to 128), kernel sizes (3 to 7), dense layer units (32 to 128), dropout rates (0.1 to 0.4), and learning rate (1 × 10 −4 to 1 × 10 −2 ).The nal CNN model selected through this process employed three convolutional layers with kernel size 5, max pooling, 0.2 dropout, and a 64-unit dense layer.
31Final model selection across all architectures was based on quantitative performance metrics, including R 2 , MAE, and RMSE averaged over ve independent training iterations.As reported in ESI Table S2, † the LSTM-contextual attention model consistently demonstrated statistically signicant improvements over all other models (p < 0.05), supporting its suitability for fatigue life prediction using single-cycle time series data.
32The nal model, which combined LSTM with contextual attention, consisted of ve stacked LSTM layers followed by a custom attention layer.Each LSTM layer was accompanied by a dropout layer to mitigate overtting.The attention mechanism computed weights for each timestep (a t ) as:
33where x t is the input vector at timestep t, and W and b are learnable weight matrix and learnable bias vector, respectively.The output of the attention layer (h attention ) was a weighted sum of inputs:
34This mechanism enabled the model to focus on critical stress-strain regions within a single cycle.The coefficient of determination (R 2 ) measures how well the predicted values align with the true values and is dened as: 14
35where y i is the true value, ŷi is the predicted value, and y i is the mean of the true values.
36The mean absolute error (MAE), which quanties the average absolute difference between the predicted and true values, is given as: 48
37The root mean square error (RMSE), a metric that penalizes larger errors more heavily, is dened as: 48
Plastic deformation energy and fatigue behavior
38The changes in the plastic deformation energy with cycle progression were analyzed through the stress-strain hysteresis loops and cumulative energy comparisons.As shown in Fig. 4a, the hysteresis loop area is large during the initial cycles, particularly in cycle 1, where signicant energy consumption and active plastic deformation are observed.However, the irregular behavior in cycle 1 reduced its reliability in the energy analysis.To address this, cycle 20 was selected as the starting point for dataset construction to calculate fatigue life (Fig. S1 †).
39With increasing cycle numbers, the hysteresis loop area progressively decreased, and the stress values declined as the material underwent fatigue damage.Near the fatigue failure, as observed in cycles 19 260 and 15 640, the loop area became minimal, indicating a sharp reduction in the energy required for plastic deformation.This trend suggests that material strength weakens over time owing to cumulative fatigue damage, and in the nal cycles, the energy drops sharply, indicating the inability of the material to sustain further deformation.
40The stress-strain envelope curves in Fig. 4b provide further insight into the fatigue progression.In cycle 20, the material exhibited the highest stress and strain values and consumed most of the deformation energy.However, in intermediate cycles, such as cycles 7820 and 9640, the stress values gradually decrease, reecting the progressive strength reduction of the material. 13Near the end of fatigue life, the envelope curves narrowed signicantly and the stress values became minimal, indicating that the material approached its failure point.This behavior highlights the limited capacity of the material to accommodate additional deformation as fatigue progresses. 1 To quantify the energy changes further, the cumulative plastic deformation energy was calculated by integrating the hysteresis loop areas.Fig. 5 compares the cumulative energies of the heat-and heat-HDPEC-treated specimens across various strain ranges.The results show that cumulative energy decreases with an increasing number of cycles, which is consistent with the trends observed in Fig. 4.
41In low strain ranges, HDPEC-treated specimens exhibit higher cumulative energy compared to heat-treated specimens, suggesting that HDPEC treatment improves the material's ability to sustain deformation energy over a longer period.In contrast, at high strain ranges, cumulative energy decreases rapidly for both specimen types, indicating accelerated fatigue damage and shorter fatigue lives.Nevertheless, the HDPECtreated specimens retain relatively higher cumulative energy levels compared to the heat-treated specimens, even in high strain ranges.
42These results suggest that heat-HDPEC treatment enhances fatigue resistance by reducing the plastic deformation energy during cyclic loading. 3,13The improved energy retention in the heat-HDPEC-treated specimens indicates that the treatment delayed the onset of signicant fatigue damage under low strain conditions.Conversely, under high-strain conditions, energy depletion occurs more rapidly, accelerating fatigue failure.
43The combination of hysteresis loop analysis (Fig. 4) and cumulative energy comparison (Fig. 5) demonstrated that heat-HDPEC treatment improved the fatigue resistance of the material.The heat-HDPEC-treated specimens showed a slower decline in plastic deformation energy and sustained more energy through later cycles than the heat-treated specimens.These ndings conrm that heat-HDPEC treatment extends fatigue life by delaying fatigue damage accumulation and maintaining material strength over a greater number of cycles.
Statistical approach for fatigue life predicting AI model
44The plots of the mean stress/strain differences and their variances across timesteps highlight the dynamic nature of the stress and strain during the fatigue cycles.However, these analyses alone do not provide clear conclusions or direct insights into their predictive relationship with the fatigue life.As shown in Fig. S2, † the raw data obtained without preprocessing resulted in low and irregular correlations, making it difficult to capture meaningful patterns.Therefore, data scaling is used to improve the analysis.Flattened temporal correlation analysis and PCA were performed to extract more meaningful patterns.Fig. 6 illustrates the relationship between the stress/strain differences and fatigue life across 50 timesteps, whereas Fig. 7 presents the PCA on the stress and strain time series data.Fig. 6 shows that both the stress-fatigue life and strainfatigue life correlations exhibit periodicity across timesteps, with signicant peaks and troughs corresponding to the critical phases within the stress-strain cycles.Positive correlation peaks, nearing +1, highlight time intervals where changes in stress and strain are highly predictive of fatigue life, whereas negative correlation peaks, nearing −1, indicate intervals where these changes are inversely correlated with fatigue life.The similarity between the stress and fatigue life and strain-fatigue life correlation curves suggests that both features provide complementary and essential information for predicting fatigue life.These ndings emphasize the necessity of capturing localized temporal dynamics within stress-strain cycles for accurate predictive modeling.Fig. 7 shows the distribution of data under the two conditions.The le panel includes fatigue life values ranging from 0 to 20 000, whereas the right panel incorporates the entire dataset, spanning fatigue life values from 0 to 90 000.In the le panel, the data points align along a linear trend, as denoted by the red dashed lines, suggesting that the primary variance in the data is explained by the linear relationships between the rst two principal components.This linearity indicates that the stress-strain patterns in the lower fatigue life regimes are uniform and predictable.In contrast, the right panel shows a more complex distribution when the full dataset is considered.While most data points conformed to the linear trend observed in the le panel, a distinct cluster emerged for fatigue life values exceeding 60 000, as highlighted by the red circle.This deviation suggests the presence of non-linear dynamics or unique stress-strain behaviors associated with high fatigue life.
45Combining temporal correlation analysis (Fig. 6) and attened PCA (Fig. 7) provided signicant insights into the behavior of stress and strain data across different fatigue life regimes.Fig. 6 emphasizes the critical importance of specic time intervals within the stress-strain cycles, supporting the necessity of temporal attention mechanisms in prediction models.Meanwhile, although majority of the data in Fig. 7 can be described by linear trends, high fatigue life cases exhibit distinct non-linear complexities, necessitating tailored modeling approaches for these regimes.
46To apply these ndings, both LSTM and CNN models were employed to predict the fatigue life, capturing the linear and non-linear dynamics revealed by Fig. 6 and 7, respectively.This combined approach aims to improve predictive accuracy by integrating the temporal and spatial features inherent in the stress-strain data.
Architecture and performance analysis of LSTM and CNN models for fatigue life prediction
47Two types of deep learning architectures, LSTM and CNN, with and without attention mechanisms, were employed to capture the temporal and spatial characteristics of the stress-strain time series data and to predict the fatigue life under LCF conditions.The LSTM model (Fig. S3 †) processes sequential stress and strain values through stacked LSTM layers to learn the long-and short-term dependencies.However, in the LSTM with attention model (Fig. 2), the attention mechanism enhances this capability by identifying and emphasizing critical timesteps, allowing the model to focus on the regions most relevant to fatigue initiation and progression.
48Similarly, the CNN model (Fig. S4 †) extracts localized spatial patterns from the input stress-strain data through convolutional layers.In a CNN with attention model (Fig. 3), the attention mechanism assigns importance to specic local features, further rening the predictive process.While the baseline CNN effectively captures local dependencies, it lacks the ability to model the long-term temporal relationships inherent in the LCF data.
49The results demonstrated the superior performance of the LSTM with attention model for fatigue life prediction (Fig. 8 and Fig. 5 Comparison of cumulative energy between heat-treated and heat-HDPEC-treated Type 316 stainless steel specimens across various strain ranges (Table S1, ESI dataset †).The red bars represent heat-treated specimens, while the orange bars represent heat-HDPEC-treated specimens.
50Fig. 6 Temporal correlation analysis between stress (blue), strain (red), and fatigue life.Correlation analysis for specimens with fatigue life in the range of (a) 0-20000 and (b) 0-80000 cycles.Fig. 7 Flattened PCA analysis of stress-strain data for type 316 stainless steel specimens.Analysis for specimens with fatigue life in the range of (a) 0-20000 cycles and (b) 0-80000 cycles.S5 †).Statistically signicant improvements across all performance metrics (R 2 , MAE, and RMSE) were observed when comparing the LSTM with attention model to the baseline LSTM model (Table S2, † p-values: R 2 = 0.0001, MAE = 0.0003, and RMSE = 0.0000).The attention mechanism allows the model to focus on critical timesteps within the cyclic data, leading to improved predictive accuracy and reliability.
51When compared with the CNN with attention model, the LSTM with attention also achieved statistically signicant improvements (Table S2, † p-values: R 2 = 0.0320, MAE = 0.0474, RMSE = 0.0006).These results highlight the ability of LSTM to effectively capture the long-and short-term temporal dependencies inherent in the LCF data.While the attention mechanism benets both models, the LSTM with attention better combines global temporal patterns and localized critical features, which are essential for accurate fatigue life prediction.By contrast, the addition of attention to CNN did not result in statistically signicant improvements (Table S2, † p-values: R 2 = 0.9379, MAE = 0.2364, RMSE = 0.9999).CNN, which excels in local feature extraction, struggles to model the sequential nature of LCF data.Even with the inclusion of attention, CNN processes sequences as discrete segments, limiting its ability to capture broader temporal dependencies. 49he LCF data exhibited intricate stress-strain interactions over multiple cycles, oen involving nonlinear evolution.The LSTM with attention model effectively addresses this complexity by capturing long-term dependencies across cycles while focusing on key phases within each cycle.In contrast, the local feature extraction of CNN cannot fully leverage the sequential nature of LCF data, leading to a lower performance.These ndings underscore the importance of selecting models that align with the inherent characteristics of data, particularly for time series problems such as low-cycle fatigue. 50The combination of LSTM and attention provides a robust solution for capturing both global and localized temporal patterns, making it well-suited for fatigue life prediction in LCF datasets.
Analysis of attention weights for fatigue life predictor
52In this study, we employed only the stress-strain curve measured at the 20th cycle to determine whether a single stabilized loop could reliably predict fatigue life.Early cycles (1st-10th cycle) exhibited rapid strain hardening or soening, and the hysteresis loop typically stabilized within the 10th-20th cycle.Therefore, the 20th-cycle stress-strain curve represents the characteristic fatigue behavior of each specimen at a relatively steady state.Nevertheless, because we did not track the entire process up to the nal fatigue stage, certain specimens displayed a wide loop with prominent plastic deformation (short-life specimens), whereas others remained narrow and more elastic (long-life specimens) (Table 2 and Fig. S1 †).This contrast is especially evident when comparing short and long fatigue life specimens, and the LSTM with the contextual attention model detects these differences by focusing on distinct segments in the time or stress-strain domains.As recorded in the ESI dataset, † the test specimens exhibited fatigue lives ranging from a few thousand to more than 90 000 cycles.In particular, many heat-treated specimens reached short or moderate fatigue life values (under 20 000 cycle), whereas heat-HDPEC specimens could endure far longer fatigue life values, sometimes exceeding 90 000 cycles.Hence, even for the same 20th cycle dataset, the heat-HDPEC group may show either advanced plastic deformation or only minimal strain, depending on individual microstructural or surface enhancement effects. 1,7,13,35ig. 9 presents the attention weight distributions computed by our model when predicting the fatigue life solely from these 20th-cycle hysteresis loops, where the red line denotes the global maximum attention, the blue line denotes the global minimum, and the purple line denotes the local maximum.The red line appears near the tensile peak or regions where the plastic strain is prominent, particularly in the short-life specimens.For heat-HDPEC specimens with a long fatigue life, attention oen shis toward the midrange stress or strain, reecting the cyclic behavior dominated by elastic responses and the reduced inuence of plastic deformation.Such specimens tended to exhibit pronounced plastic deformation relatively early, causing the model to devote maximum attention.The blue line represents regions of low informational value, occurring in near-elastic unloading segments or areas with minimal stress-strain variations.While it can appear in both short-and long-life materials under either heat or heat-HDPEC treatment, it is oen more noticeable in long-life specimens that have not accumulated substantial plasticity and therefore have extended elastic-like intervals.The purple line represents additional local maxima that are not as dominant as the red line and can appear near transition points, such as tensioncompression transitions, or when minor asymmetry or ratcheting emerges.Notably, heat-HDPEC specimens oen exhibit cyclic behavior transitioning between the elastic and plastic regimes, where the plastic proportion loses its signicance in Table 2 Comparison of hysteresis loop characteristics and attention mechanism focus between short fatigue life and long fatigue life for heattreated and heat-HDPEC-treated conditions
Short fatigue life
53Long fatigue life Heat Hysteresis loop tends to be quite wide, indicating substantial plastic deformation Even though some plasticity emerges, the attention remains mostly near the tensile peak The attention mechanism primarily focuses on the tensile peak (red).
54The attention mechanism primarily focuses on the tensile peak (red).HDPEC Hysteresis loop is wide, but more local variations in deformation may appear Cyclic behavior in-between elastic and plastic regimes may prominent, in which plastic proportion lost its effect in this mechanical response The attention mechanism focuses not only tensile peak (red) but also transitions between tension and compression (purple).
55The attention mechanism focuses transitions between tension and compression, not peak stress the mechanical response. 7,8,37Even with high fatigue life, subtle changes in midrange stress or strain can serve as signicant predictors (Fig. 9 purple line).
56When examining how the attention of the model adapts to different fatigue lives, short-life specimens frequently show wide loops with signicant plastic behavior, causing the red line to cluster around the maximum stress region.Midrange lives exhibit partial plasticity in cycle 20, and the model may highlight both the tensile peak (Fig. 9, red line) and tensioncompression transitions (Fig. 9, purple line).Long-life specimens oen exhibit cyclic behavior, predominantly in the transitional regime between the elastic and plastic responses.In these cases, the effect of the plastic proportion diminishes, leading to a more uniform attention distribution and smaller local peaks without a single dominant maximum.For the heattreated group, the loop shape was oen more predictably guided by sequential hardening/soening, making the maximum stress region an important area of attention.However, the shorter-life heat specimens can exhibit substantial plastic deformation, thus reinforcing the red line peak in the early cycles. 51In contrast, the heat-HDPEC specimens, which include many long-life samples, exhibit localized deformation onsets during mid-level stress or strain, yielding a stronger purple-line local maxima.This behavior implies that even an elastic loop can contain hidden features that the model considers critical for an accurate life prediction. 52n summary, short-life specimens show prominent plastic deformation in the maximum stress regions, whereas long-life specimens exhibit transitional elastic-plastic behavior in the midrange stress or tension-compression transitions.The heattreated specimens showed predictable hardening/soening patterns, and the heat-HDPEC specimens demonstrated an extended fatigue life with respect to localized midrange stress or strain changes.
Fatigue_life_predictor: python package for fatigue life predicting
57Our model achieved a high prediction accuracy of R 2 = 0.99 by using only the initial cycle of the hysteresis loop.The contextual attention mechanism allows the model to focus on the most important features within the rst cycle, making it both efficient and highly interpretable compared to other models that rely on entire cycles or additional parameters.Among these studies, Random Forest was also employed in prior work to predict fatigue life and crack growth rate based on additive manufacturing AM processing parameters, stress states, and defect-related features. 12While ensemble models such as RF achieved reasonably high accuracy (R 2 > 0.85), they oen depend on large-scale feature sets and provide limited interpretability regarding temporal cyclic behavior.In contrast, our model offers early-stage fatigue life estimation based solely on the initial cyclic response, enabling transparent decisionmaking through attention-based interpretability.
58Furthermore, unlike other studies, in which code availability and accessibility are unavailable, our research provides an open Python package (Table 3).The proposed fatigue life prediction model was developed as an open-source Python package to ensure practical usability and accessibility.The model predicts fatigue life using stress-strain data from the initial cycles (20 cycles), enabling efficient and early stage estimation.To enhance usability, the package includes automated data preprocessing functions that streamline the handling of raw stress-strain data, thereby eliminating the need for manual intervention.The optimized inference process ensured that predictions were generated in less than 5.0 seconds, as veried during multiple trials under standard testing conditions, including tests conducted on Google Colab without GPU acceleration.The tests were conducted on an Intel Xeon CPU with two vCPUs and 13 GB of RAM.The implementation and tutorial are available on GitHub (https://github.com/mschongchulshin/fatigue_life_predictor/tree/main) to ensure transparency, reproducibility, and ease of use.This package provides a robust and efficient solution for fast and reliable fatigue life predictions based on initial cycle data.
Conclusion
59This study proposed an LSTM-contextual attention model to predict the fatigue life of type 316 stainless steel under LCF
Fig. 1
60Fig. 1 Three-dimensional schematic showing the geometry of the specimens.
Fig. 2
61Fig. 2 Architecture of the LSTM-based fatigue life prediction model with an attention mechanism.Each LSTM block processes sequential stressstrain features, and the outputs are aggregated through an attention mechanism.The rainbow-colored context vector represents the attentionweighted sum of LSTM outputs, enabling the model to focus on the most informative timesteps.
Fig. 3
62Fig. 3 Architecture of the CNN-based fatigue life prediction model with an attention mechanism.Sequential stress-strain inputs are passed through multiple convolutional layers to extract hierarchical features.The outputs are then aggregated via an attention mechanism, where the colored circular nodes represent the attention-weighted feature representation.
Fig. 4
63Fig. 4 Stress-strain behavior over cycles for type 316 stainless steel.(a) Stress-strain hysteresis loops for cycles at the beginning (cycle 1) and near fatigue life (cycle 19 260 and cycle 15 640).(b) Stress-strain envelope curves at intermediate cycles (cycle 7820, cycle 9640) and at fatigue life (cycle 19 260, cycle 15 640).
Fig. 8
64Fig. 8 Performance comparison of fatigue life prediction models (LSTM, LSTM with attention, CNN, and CNN with attention) based on R 2 , MAE, and RMSE metrics.Error bars represent the standard deviation calculated from the results of the 5 model training iterations (statistically significant differences are indicated with star annotations *p < 0.1, **p < 0.05, and ***p < 0.01).
Fig. 9
65Fig. 9 Attention weights from the best-performing LSTM-contextual attention model across different fatigue life (red line: global maximum, blue line: global minimum, purple line: local maximum).
Table 1
66Chemical composition of the sample material in wt%
67Balance#0.08 #1.00 #2.00 #0.045 #0.03 10.00-14.0016.00-18.002.00-3.00
Table 3
68Comparison of fatigue prediction models focus on datasets, methods, performance and interpretability The proposed model with attention mechanism effectively captured the temporal dependencies and localized critical features in the stress-strain time series data, achieving statistically signicant improvements over baseline LSTM and CNN models.Compared with the CNN-contextual attention model, the LSTM-contextual attention model exhibited a superior capacity for handling temporal dependencies, effectively capturing the complex interplay between stress and strain in the LCF datasets.The developed prediction model was released as an open-source Python package to facilitate practical adoption.Overall, this study demonstrates the potential of deeplearning-based approaches to capture the temporal properties of LCF data and accurately predict the fatigue life.Future studies should expand the applicability of the proposed methods to diverse materials and fatigue environments.Moreover, investigating advanced deep learning architectures, such as more rened attention mechanisms or transformer-based models, may further improve the capture of non-linear fatigue behaviors and cumulative damage processes, thereby enabling more robust and reliable fatigue life predictions in complex scenarios.
참고문헌 44건
- Extremely-low-cycle fatigue behaviors of Cu and Cu–Al alloys: Damage mechanisms and life prediction Acta Materialia · Elsevier BV · 2014 10.1016/j.actamat.2014.10.002
- On the origin of deformation microstructures in austenitic stainless steel: Part II—Mechanisms Acta Materialia · Elsevier BV · 2001 10.1016/s1359-6454(01)00194-x
- Influence of Ti, C and N concentration on the intergranular corrosion behaviour of AISI 316Ti and 321 stainless steels Acta Materialia · Elsevier BV · 2007 10.1016/j.actamat.2006.11.021
- Microstructure based fatigue life prediction framework for polycrystalline nickel-base superalloys with emphasis on the role played by twin boundaries in crack initiation Acta Materialia · Elsevier BV · 2016 10.1016/j.actamat.2016.01.038
- Structure/property (constitutive and spallation response) of additively manufactured 316L stainless steel Acta Materialia · Elsevier BV · 2017 10.1016/j.actamat.2017.07.045
- Spatio-Temporal Attention-Based LSTM Networks for 3D Action Recognition and Detection IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2018 10.1109/tip.2018.2818328
- Thermo-elastic-plastic analysis for elastic component under high temperature fatigue crack growth rate. 2013
- Optuna 2019 10.1145/3292500.3330701
- Interpretation of intelligence in CNN-pooling processes: a methodological survey Neural Computing and Applications · Springer Science+Business Media · 2019 10.1007/s00521-019-04296-5
- A critical review of experimental aspects in ratcheting fatigue: microstructure to specimen to component Journal of Materials Research and Technology · Elsevier BV · 2019 10.1016/j.jmrt.2019.06.014
- Context-Aware Self-Attention Networks Proceedings of the AAAI Conference on Artificial Intelligence · Association for the Advancement of Artificial Intelligence · 2019 10.1609/aaai.v33i01.3301387
- Prediction for Time Series with CNN and LSTM Lecture notes in electrical engineering · Springer Science+Business Media · 2019 10.1007/978-981-15-0474-7_59
- Ensemble deep learning in bioinformatics Nature Machine Intelligence · Nature Portfolio · 2020 10.1038/s42256-020-0217-y
- Temporal video scene segmentation using deep-learning Multimedia Tools and Applications · Springer Science+Business Media · 2021 10.1007/s11042-020-10450-2
- Predicting ultrafast nonlinear dynamics in fibre optics with a recurrent neural network Nature Machine Intelligence · Nature Portfolio · 2021 10.1038/s42256-021-00297-z
- Evaluation of Electric Current-Induced Improvement of Fracture Characteristics in SUS316 MATERIALS TRANSACTIONS · The Japan Institute of Metals · 2021 10.2320/matertrans.mt-m2020333
- Hierarchical Multi-modal Contextual Attention Network for Fake News Detection Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval · 2021 10.1145/3404835.3462871
- Attention-based multi-label neural networks for integrated prediction and interpretation of twelve widely occurring RNA modifications Nature Communications · Nature Portfolio · 2021 10.1038/s41467-021-24313-3
- Working Memory Connections for LSTM Neural Networks · Elsevier BV · 2021 10.1016/j.neunet.2021.08.030
- Impact of surface and pore characteristics on fatigue life of laser powder bed fusion Ti–6Al–4V alloy described by neural network models Scientific Reports · Nature Portfolio · 2021 10.1038/s41598-021-99959-6
- Improvement of low-cycle fatigue life of austenitic stainless steel by multiple high-density pulsed electric currents International Journal of Fatigue · Elsevier BV · 2021 10.1016/j.ijfatigue.2021.106639
- CALText: Contextual Attention Localization for Offline Handwritten Text Neural Processing Letters · Springer Science+Business Media · 2023 10.1007/s11063-023-11258-5
- Origin of superior low-cycle fatigue resistance of an interstitial metastable high-entropy alloy Journal of Material Science and Technology · Elsevier BV · 2022 10.1016/j.jmst.2021.10.010
- A novel deep learning approach of multiaxial fatigue life-prediction with a self-attention mechanism characterizing the effects of loading history and varying temperature International Journal of Fatigue · Elsevier BV · 2022 10.1016/j.ijfatigue.2022.106851
- Experimental study on mechanical properties and low-cycle fatigue behaviour of stainless steels subjected to salt spray and dry/wet cycle International Journal of Fatigue · Elsevier BV · 2022 10.1016/j.ijfatigue.2022.107187
- Effect of Mixed-Grain Structure on Low-Cycle Fatigue Behavior of Fe-22Cr-25Ni Austenitic Steel at Elevated Temperature Journal of Materials Engineering and Performance · Springer Science+Business Media · 2023 10.1007/s11665-023-07957-8
- Influence of a high-density pulsed electric current on the fatigue behaviour of prestrained aluminium alloys Engineering Failure Analysis · Elsevier BV · 2023 10.1016/j.engfailanal.2023.107230
- Time Series Prediction Based on LSTM-Attention-LSTM Model IEEE Access · Institute of Electrical and Electronics Engineers · 2023 10.1109/access.2023.3276628
- Transformers in Healthcare: A Survey arXiv (Cornell University) · Cornell University · 2023 10.48550/arxiv.2307.00067
- Convolutional neural networks Nature Methods · Nature Portfolio · 2023 10.1038/s41592-023-01973-1
- Overcoming the trade-off between strength and ductility in austenitic stainless steel using a high-density pulsed electric current Materialia · Elsevier BV · 2023 10.1016/j.mtla.2023.101922
- Non-linear temperature dependences of pseudoelastic stress and stress hysteresis of a nanocrystalline Ni47Ti50Fe3 alloy Acta Materialia · Elsevier BV · 2023 10.1016/j.actamat.2023.119625
- A multi-factor spatio-temporal correlation analysis method for PV development potential estimation Renewable Energy · Elsevier BV · 2024 10.1016/j.renene.2024.119962
- Normalized characterization of the causes of discontinuous yield and crystal orientation deflection mechanism of β-Ti alloy during high-temperature deformation Materials Science and Engineering A · Elsevier BV · 2024 10.1016/j.msea.2024.146113
- Spectraformer: deep learning model for grain spectral qualitative analysis based on transformer structure RSC Advances · Royal Society of Chemistry · 2024 10.1039/d3ra07708j
- Enhancing flow stress predictions in CoCrFeNiV high entropy alloy with conventional and machine learning techniques Journal of Materials Research and Technology · Elsevier BV · 2024 10.1016/j.jmrt.2024.03.164
- Fatigue damage recovery and enhanced fatigue limit of austenitic stainless steel using multiple high-density pulsed electric currents International Journal of Pressure Vessels and Piping · Elsevier BV · 2024 10.1016/j.ijpvp.2024.105178
- Performance of a deep convolutional neural network to classify crystal structures using selected area electron beam diffraction patterns containing lattice defect information RSC Advances · Royal Society of Chemistry · 2024 10.1039/d3ra08939h
- A study of forecasting the Nephila clavipes silk fiber's ultimate tensile strength using machine learning strategies Journal of the mechanical behavior of biomedical materials/Journal of mechanical behavior of biomedical materials · Elsevier BV · 2024 10.1016/j.jmbbm.2024.106643
- Understanding thermal transport in magnesium solid solutions through first-principles approaches and machine learning feature screening Acta Materialia · Elsevier BV · 2024 10.1016/j.actamat.2024.120160
- A frequency domain enhanced multi-view neural network approach to multiaxial fatigue life prediction for various metal materials International Journal of Fatigue · Elsevier BV · 2024 10.1016/j.ijfatigue.2024.108620
- MXenes and artificial intelligence: fostering advancements in synthesis techniques and breakthroughs in applications RSC Advances · Royal Society of Chemistry · 2024 10.1039/d4ra06384h
- ClickGen: Directed exploration of synthesizable chemical space via modular reactions and reinforcement learning Nature Communications · Nature Portfolio · 2024 10.1038/s41467-024-54456-y
- Application of machine learning in developing a quantitative structure–property relationship model for predicting the thermal decomposition temperature of nitrogen-rich energetic ionic salts RSC Advances · Royal Society of Chemistry · 2024 10.1039/d4ra05875e