1. Introduction
Landslides represent a pervasive and profoundly destructive geological hazard, posing a considerable threat to human life, property and infrastructure in mountainous regions worldwide. In southwestern China, red-bed soft rock formations are particularly susceptible to softening and disintegration due to a combination of factors including rainfall, groundwater and weathering. This phenomenon can be attributed to the unique depositional environment and lithological composition of these formations [
1,
2,
3]. This phenomenon is a primary cause of frequent landslides in the region. These landslides typically exhibit complex disaster mechanisms characterized by the interaction between ‘susceptible strata’ and ‘triggering factors’ [
4,
5]. In recent years, advancements in remote sensing technologies (e.g., Interferometric Synthetic Aperture Radar (InSAR)) and ground-based monitoring networks (Global Navigation Satellite System (GNSS) and crack meters) have yielded a substantial amount of high-precision data for the early detection and monitoring of red-bed landslides [
6,
7]. Nevertheless, the extraction of meaningful precursory features from large, multi-source and noisy monitoring datasets, and the construction of highly accurate displacement prediction models, remain critical challenges in the field of landslide risk mitigation.
As artificial intelligence has developed rapidly, landslide displacement prediction has shifted gradually from traditional physics-based models to data-driven machine learning and deep learning approaches. Early methods, including support vector machines (SVMs) and shallow neural networks, demonstrated potential for capturing non-linear mappings [
8]. In light of the time-series characterization of landslide displacement, long short-term memory networks (LSTMs) and their variants (e.g., Bidirectional Long Short-Term Memory networks (BiLSTMs)) have emerged as the prevailing standard due to their capacity to address the vanishing gradient issue and enhance prediction accuracy [
9,
10,
11]. In order to enhance predictive performance, signal decomposition techniques such as Complete Ensemble Empirical Mode Decomposition with Adaptive Noise (CEEMDAN) and Variational Mode Decomposition (VMD) have been incorporated into ‘decompose-reconstruct-predict’ frameworks [
12,
13]. In recent years, from 2023 to 2025, there has been an increased interest in advanced deep learning architectures that incorporate attention mechanisms and Transformer models. In comparison with conventional recurrent neural networks (RNNs), Transformers utilise self-attention to identify long- range dependencies within Sequences. Concurrently, graph attention networks (GATs) have been shown to enhance the extraction of spatial-topological features of landslides [
14,
15,
16,
17].
Notwithstanding these advances, two significant challenges persist in practical applications. Firstly, the physical completeness and interpretability of the input features are frequently inadequate. The majority of studies concentrate on black-box mappings between rainfall and displacement, while neglecting to consider the internal ‘process responses’ of the landslide, such as crack development and stress adjustment. Crack propagation has been shown to precede overall slope movement in such cases, thus serving as a direct indicator of internal damage accumulation [
18,
19]. Secondly, multi-source monitoring data frequently exhibit strong collinearity and feature redundancy. The integration of rainfall, crack measurements, multi-point displacement and hydrogeological parameters has been demonstrated to generate temporally and spatially correlated, high-dimensional features. The direct input of such data can result in overfitting and unstable model training. Despite the investigation of correlation-based feature selection, the utilization of regularization-based methods such as Ridge, Lasso and ElasticNet remains limited in the landslide domain [
20,
21,
22]. These methods have been shown to effectively handle multicollinearity and automatically select physically meaningful subsets of features, which is essential for constructing lightweight, robust predictive models [
23,
24].
In the context of the dual challenges posed by global climate change and increasingly complex geological conditions, landslides in the red-bed sedimentary rock layers of Sichuan have become a frequent occurrence. This has necessitated the development of precise and efficient monitoring and early warning models. The present study focuses on the Kuyaogou landslide in Sichuan, proposing a lightweight hybrid architecture combining Transformer and LSTM (Long Short-Term Memory) mechanisms. This model integrates the global attention mechanism of the Transformer with the local time-series modelling capabilities of the LSTM. The key innovations of this model are as follows:
(1) This study proposes the first lightweight hybrid architecture that combines Transformer and LSTM for landslide displacement prediction. This approach enables collaborative modelling of global trends and local details through parallel information processing and cascaded attention mechanisms.
(2) A novel ‘rainfall-crack-historical displacement’ lag feature matrix is developed to explicitly model the multi-physical process coupling mechanism involving triggering factors, precursor information and evolutionary inertia.
(3) A three-tiered attention evolution path of ‘local time series—lag factor—key period’ is constructed to visually reveal the model’s learning mechanism, with a specific focus on critical stages of cumulative deformation and impending slip.
(4) The proposed multi-source time-series feature construction method and hybrid modelling framework exhibit strong transferability to other geological disaster monitoring scenarios.
(5) By integrating high-precision displacement prediction with the physical criterion of tangent angle, quantitative identification of landslide evolution stages and dynamic risk assessment are achieved, marking a technological leap from ‘data-driven prediction’ to ‘physical mechanism interpretation’.
The model achieves an optimal balance between parameter scale, sequence length, and prediction accuracy, offering a novel “small, fast, accurate” paradigm for predicting red-bed landslide displacement. It not only provides scientific support for disaster prevention, mitigation and emergency decision-making but also demonstrates broad applicability in the time series monitoring of geological disasters.
4. Discussion
4.1. R2 Analysis of the Transformer–Attention–LSTM Architecture
The Transformer–Attention–LSTM hybrid architecture developed in this study demonstrates remarkable performance in displacement prediction for complex geological processes. As shown in
Table 5, the model achieves an average R
2 of 0.948 across the X, Y, and Z axes, with a root mean square error (RMSE) of 9.23 mm and a mean absolute error (MAE) of 7.17 mm. These results indicate that the model outperforms all competing models. Compared to the second-best-performing Attention–LSTM model (average R
2 = 0.925, RMSE = 13.46 mm, MAE = 10.06 mm), the proposed model improves average R
2 by 2.5% and reduces average RMSE by 31.4% and average MAE by 28.7%, representing a substantial advancement in prediction accuracy.
Regarding directional performance, the model exhibits consistent and superior performance across all three spatial dimensions, as illustrated in
Figure 10. The R
2 value reaches 0.966 in the X direction, indicating excellent prediction; 0.953 in the Y direction demonstrates robust fitting capability; and even in the most challenging Z direction, the R
2 attains 0.926, considerably surpassing the prediction levels of conventional methods. This cross-directional consistency demonstrates the model’s strong generalization ability and robustness, enabling it to adapt to the complex variation patterns of landslide displacement across different spatial dimensions.
4.2. RMSE Analysis of the Transformer–Attention–LSTM Architecture
In terms of root mean square error (RMSE), the model demonstrates remarkable error control capabilities. The RMSE values are 8.864 mm in the X direction, 9.234 mm in the Y direction, and 9.480 mm in the Z direction, with an average RMSE of 9.23 mm across all three dimensions (
Figure 11). This substantially outperforms competing models. Compared to the Attention–LSTM model (average RMSE = 13.46 mm), the proposed model reduces prediction errors by 31.4%, and achieves a 42.2% reduction over traditional LSTM models (average RMSE = 15.96 mm). This consistently low error performance reflects the model’s accuracy and stability. Lower RMSE values indicate smaller discrepancies between predicted and actual displacement, demonstrating that the model’s predictions are more reliable and consistent. This has substantial practical implications for early warning systems in geological disaster prevention.
4.3. Attention Weight Analysis of Transformer–Attention–LSTM Architecture
This model integrates the global attention mechanism of Transformers with the local temporal modeling capabilities of LSTMs. The former eliminates long-term memory decay through multi-head self-attention, while the latter refines short-term fluctuations via gating mechanisms, with an intermediate attention layer enabling cross-scale weight redistribution. The three-tiered evolution depicted in
Figure 12 and
Figure 13 presents a pragmatic “slippery spatiotemporal attention” paradigm. The base layer captures short-term micro-movements of displacement sequences through a broad diagonal peak-valley range of 0.145–0.18. The middle layer employs steep vertical stratification to enable Query 0–2 to specifically target Key 4–5, independently reinforcing the priority sliding plane of “pre-precipitation-lagged displacement”. The top layer compresses dynamic range to 0.162–0.174, flattening the curved surface into dual bands of “long-term accumulation-slippery mutation”, retaining only Key 0–1 and Key 5 as critical tokens to determine weight levels. This three-step progression—from “local temporal sensitivity” to “external factor specialization” and ultimately to “unified key periods”—enables the model to reduce global noise and extrapolate displacement trends using only minimal high-impact moments. Consequently, this reduces the computational load while enhancing sensitivity to sudden instability. With an average weight of 0.111, the displacement feature is significantly higher than other features and is the most attended indicator for the model, with a maximum attention of 0.169. The fracture feature (average 0.056) and precipitation feature (average 0.055) have similar weights, both much lower than that of the displacement feature. However, their maximum attention values are both close to 0.169, indicating that the model focuses on these two types of features at specific moments.
4.4. Creep State Evaluation and Risk Prediction of Kuyaogou Landslide
The Kuyaogou landslide is expected to continue creeping steadily over the 10-day forecast period, with a gradual increase in displacement. Despite the absence of sudden changes, the deformation pattern exhibits substantial complexity. Analysis of the displacement components reveals comparable values in the X and Y directions, indicating a pronounced horizontal sliding characteristic. Conversely, Z-direction displacement fluctuates significantly, with notable vertical adjustments observed on days 3, 7, and 10. This indicates localized tearing occurring concurrently with the slope’s horizontal movement.
Using the tangent angle as the primary diagnostic indicator, the deformation process can be characterized in three phases: ‘fluctuating adjustment—brief acceleration—restored stability’. During the initial phase (days 1–4), the tangent angle decreased from 50.6° to 23.5°, exhibiting decelerating adjustment characteristics. On the fifth day, a sudden change was observed, with the tangent angle abruptly rising to 49.2° and the displacement increment in the main slip direction (X) transitioning from negative to positive, indicating a transient acceleration disturbance. In the subsequent phase (days 6–10), the tangent angle decreased abruptly to 5.8° and remained at low levels (2.6–11.7°), well below the 30° acceleration warning threshold. The displacement derivative also fluctuated slightly within ±0.4 mm/d, indicating that the landslide body has re-entered a relatively stable phase of uniform creep. The current maximum tangent angle is 50.6°, which is well below the 80° threshold that is typically associated with imminent-slip warnings. Consequently, the probability of rapid overall movement occurring within the next 10 days is low.
4.5. Coupled Validation of Numerical Simulation and Tangent Angle Prediction with Stability Mechanism Analysis
In conditions of heavy rainfall, the physical and mechanical properties of landslide rock and soil deteriorate due to increased self-weight and water-induced softening effects, resulting in reduced effective stress and a significant decline in sliding resistance. As demonstrated in
Figure 14, the stability coefficient of the Kuyaogou landslide under heavy rain conditions is 1.055, indicating an overall state of basic stability. However, the shear stress concentration zone at the leading edge of the slide is most susceptible to shear failure, with the region exhibiting the greatest displacement changes and therefore likely to fail first. Numerical simulations demonstrate that strain is increasing steadily within the landslide. The slip surface is located at the interface of the gravelly silt clay layer. Following instability, the total displacement reaches 0.10 m, accompanied by a vertical drop of 0.11 m, indicating a propensity to evolve into a translational landslide. The plastic deformation zone shows that, although the slope remains stable overall, extensive localized shear failure occurs at the leading edge, accompanied by tensile cracks at the trailing edge, with the basal slip surface beginning to emerge.
The numerical simulation results corroborate displacement predictions based on the tangent angle. A sharp rise in tangent angle to 49.2° on day 5 and pronounced vertical displacement fluctuations in the Z-direction (days 3, 7, 10) indicate localized stress adjustments within the slope and potential shear failure risks. Further analysis of shear strain increments and displacement contour plots reveals that displacement responses are most pronounced within the shear stress concentration zone at the leading edge during heavy rainfall events. This coupled analysis demonstrates that the tangent angle, used as a macro-deformation indicator, effectively captures displacement responses triggered by internal stress evolution within the landslide. This provides a reliable physical basis for assessing landslide stability under heavy rainfall conditions.
4.6. Limitations
Although the lightweight Transformer–Attention–LSTM hybrid framework proposed in this study demonstrates promising performance in landslide displacement prediction, it still exhibits inherent limitations that must be objectively acknowledged. These limitations are closely related to data processing, methodology, technical approaches, and engineering applications, which provide critical insights for enhancing the framework’s robustness, generalizability, and practical engineering value. The specific limitations are as follows:
4.6.1. Data-Related Limitations
This study primarily relies on a single monitoring dataset for the Kuyaogou landslide (June 2024–November 2025). Although the dataset is relatively comprehensive, it presents two critical limitations. First, temporal data uncertainties (sensor noise, data gaps, unrecorded environmental disturbances) remain inevitable in geological monitoring practice. However, the current study fails to explicitly quantify prediction-related uncertainties (e.g., prediction intervals), which limits the reliability of risk communication based on point predictions. Second, spatial variability in geotechnical materials and differences in triggering factors are inadequately addressed. Significant variations in geological conditions, geomechanical properties, and rainfall thresholds across different red-bed regions result in pronounced spatial heterogeneity in landslide evolution characteristics and early warning criteria. Consequently, while the model demonstrates excellent performance for the Kuyaogou landslide, its direct transferability to other red-bed landslides without recalibration would be constrained, thereby limiting the spatial generalizability of research findings.
4.6.2. Methodological Limitations
The model exhibits three primary limitations: Firstly, the multi-source data fusion employs a simplistic feature concatenation strategy that fails to fully leverage the spatiotemporal heterogeneity of data, making it difficult to capture complex interactions among factors and thus limiting further improvements in prediction accuracy. Secondly, the model operates as a data-driven ‘black box’ with limited integration of physical mechanisms. The tangent angle used for evolutionary phase identification is merely a post-processing step lacking physical constraints, which reduces the model’s extrapolation capability and interpretability. Thirdly, the application of sensitivity analysis methods necessitates standardization. Implicit analysis relying on the Attention weights is not a substitute for formal sensitivity analysis methods, which require systematic quantification of the impact of input perturbations on outputs.
4.6.3. Technical and Comparative Limitations
From a technical implementation perspective, while the lightweight design of the model delivers computational efficiency advantages, it also imposes limitations on model capacity. This may impede the model’s capacity to adequately characterize the nonlinearity of landslide displacement and intricate evolutionary mechanisms, particularly when processing voluminous and heterogeneous datasets. Furthermore, comparative analyses with other scholarly methodologies require further refinement. Despite incorporating multiple comparative models (ridge regression, lasso regression, elastic net regression, LSTM, and Attention–LSTM), systematic comparisons with recently advanced landslide displacement prediction methods remain inadequate, which may affect the clarity of the study’s positioning within existing research frameworks.
4.6.4. Limitations in Geological and Engineering Applications
The current study focuses primarily on modelling the relationship between rainfall, cracks and displacement. However, insufficient consideration is given to the spatial distribution of geotechnical materials. Soil type, clay sensitivity and underground topographical features represent significant factors influencing landslide stability. However, these geological parameters have not yet been incorporated into the model as physical constraints or additional input features. This inherent limitation restricts the model’s capacity to adapt to complex geological environments.
4.7. Future Research
4.7.1. Enhancing Multi-Source Data Fusion and Uncertainty Quantification
We will delve into parallel hybrid architectures and cross-modal attention mechanisms for multi-source data fusion, introduce deep integration learning or Bayesian neural networks to quantify prediction uncertainty, and investigate advanced dynamic normalization techniques to balance the preservation of physical meaning and the speed of model convergence.
4.7.2. Constructing a Physically Informed Model Architecture
A physically informed neural network will be constructed by incorporating physical laws and geotechnical engineering criteria (such as the tangent angle) into the loss function. This enables end-to-end optimization for displacement prediction and evolution stage identification, thereby enhancing the model’s extrapolation capability and interpretability.
4.7.3. Standardization of Sensitivity Analysis and Model Comparison
Standardized sensitivity analysis methods from relevant literature will be employed to quantify the impact of input disturbances on output variance, with detailed elaboration on the parameters of the weight database. Concurrently, systematic comparisons with advanced methodologies will be expanded to clarify the positioning of this study in the existing research landscape.
4.7.4. Integration of Spatial Geological Information and Model Generalization
By integrating spatial geological information into the model framework and incorporating physical constraints related to the spatial distribution of geotechnical materials, the model’s adaptability to complex geological environments can be enhanced. To address the spatial variability of landslide conditions, the proposed framework will be validated across multiple landslide cases with diverse geological and geotechnical characteristics.
4.7.5. Model Optimization and Deployment for Engineering Applications
We will develop dynamic update and filtering mechanisms for the model to accommodate temporal updates of monitoring data, and deploy and test the model on edge computing devices to enable real-time on-site monitoring, thereby facilitating the translation of the model from theoretical research to engineering practice.
5. Conclusions
To address the real-time monitoring requirements for loess landslides, this study proposes a lightweight Transformer–Attention–LSTM hybrid architecture. Experiments demonstrate that this model achieves optimal accuracy in three-dimensional displacement prediction, with R2 values of 0.966, 0.953, and 0.926 for the X, Y, and Z directions, respectively, yielding an average R2 of 0.948. The proposed model shows a 3.9%, 2.8%, and 3.7% improvement over the second-best Attention–LSTM model. In addition, the root mean square error (RMSE) and mean absolute error (MAE) are reduced to 9.23 mm and 7.17 mm, respectively. Building on this, the study integrates displacement prediction results with the tangent angle physical criterion, enabling quantitative identification of landslide evolution stages. Tangent angle analysis indicates that the Kuyaogou landslide will continue to creep uniformly over the next 10 days, with a maximum tangent angle of only 50.6°, well below the 80° pre-slip warning threshold. Consequently, the probability of rapid overall movement in the short term is low. The proposed approach achieves a favorable balance between parameter scale, sequence length, prediction accuracy, and physical interpretability, establishing a new paradigm for early landslide identification in complex environments characterized by ‘lightweight, fast, accurate, and interpretable’ features. The methodology is scalable for online monitoring and early warning tasks for other geological hazard time series.