A deep learning landslide displacement time series prediction method and system considering trend residual compensation
By optimizing VMD parameters using the goat optimization algorithm, combining CNN-BiGRU-Attention and TCN models for component prediction, and using XGBoost for residual correction, the problems of modal aliasing, linear reconstruction, and data leakage in landslide displacement prediction are solved, achieving high-precision landslide displacement prediction.
Patent Information
- Application Number
- CN202611162404.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-03
- Publication Date
- 2026-11-27
Smart Images

Figure CN123178807A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of landslide displacement prediction and disaster early warning technology, specifically involving a deep learning landslide displacement time series prediction method and system that considers trend residual compensation. Background Technology
[0002] As a geological hazard, landslide displacement evolution is the result of the combined effects of the slope's internal structure, groundwater activity, and external hydrological and meteorological disturbances, exhibiting significant nonlinearity, non-stationarity, and stage-based characteristics. Particularly in reservoir areas disturbed by external environments such as heavy rainfall and periodic fluctuations in reservoir water levels, landslides often exhibit alternating long-term, slow creep and short-term, abrupt accelerations. This deformation mechanism results in displacement time series exhibiting characteristics such as multi-timescale superposition, frequent abrupt change points, and significant response lags, increasing the difficulty of prediction and modeling.
[0003] In recent years, hybrid deep learning models based on the "decomposition-prediction-reconstruction" paradigm have become the mainstream approach for landslide displacement prediction. These methods typically employ signal decomposition techniques (such as Variational Mode Decomposition (VMD)) to decompose non-stationary displacement sequences into multiple sub-sequences to reduce modeling complexity, followed by machine learning models for component prediction. However, despite this paradigm improving prediction performance to some extent, existing technologies still suffer from three major drawbacks:
[0004] (1) Subjective blindness of decomposition parameters. The decomposition effect of VMD depends to a large extent on the setting of the number of modes and the penalty factor. Traditional methods mostly rely on manual experience or trial and error, which cannot achieve adaptive optimal decomposition under different landslide geological characteristics. Improper parameter settings can easily lead to mode aliasing, which will destroy the continuity and integrity of geological response information.
[0005] (2) Systemic residual accumulation caused by linear reconstruction. After completing sequence decomposition and component prediction, most existing reconstruction methods only use a simple linear summation method to reconstruct the total displacement during the step deformation period. This method severs the strong nonlinear coupling between deep creep, external hydrological pulses, and local random disturbances. This will cause the prediction errors of each component to be systematically superimposed in the final reconstruction stage. Macroscopically, this manifests as a sharp reduction in the dynamic response capability to high potential change signals on the displacement curve, resulting in significant underestimation of peak values and prediction lag.
[0006] (3) Trend control poses a serious risk of data leakage. Some existing models, in order to conform to the physical illusion of "monotonically increasing" landslide displacement in visual and macroscopic data, introduce mandatory trend control logic in the post-processing stage (e.g., if the model's predicted value for today is less than yesterday's actual value, then it forces today's predicted value to be equal to yesterday's value or maintain a fixed growth rate). This post-processing method not only masks the real high-frequency fluctuations of the sensors but also essentially constitutes "data leakage," that is, using future trend assumptions that should not be obtained at the current time step to correct the current output. This causes the model to perform exceptionally well on the test set but completely fail in real-time early warning of unseen data.
[0007] In summary, existing prediction schemes urgently need improvement. It is imperative to introduce adaptive parameter optimization and nonlinear residual correction mechanisms to compensate for the above-mentioned shortcomings. This would eliminate linear reconstruction bias, improve the response capability during abrupt changes, and prevent data leakage risks, thereby constructing a landslide displacement time series prediction model with real engineering practical value. Summary of the Invention
[0008] This invention aims to provide a deep learning-based landslide displacement time-series prediction method and system that considers trend residual compensation, thereby solving the aforementioned problems in the prior art.
[0009] To achieve the above objectives, the present invention adopts the following technical solution:
[0010] A deep learning-based landslide displacement time-series prediction method considering trend residual compensation includes the following steps:
[0011] S1: Collect displacement monitoring data and environmental monitoring data in the landslide area. After preprocessing the raw data, use the goat optimization algorithm to optimize the variational mode decomposition parameters and perform mode decomposition on the cumulative displacement sequence to obtain the trend term, periodic term and random term.
[0012] S2: Perform Pearson correlation analysis on each displacement component after decomposition and environmental monitoring data, and screen variables that are significantly correlated with the target component as effective driving features;
[0013] S3: Input the trend term and periodic term into the CNN-BiGRU-Attention model for prediction, and input the random term into the TCN model for prediction, to obtain the predicted values of each component respectively;
[0014] S4: The predicted values of each component are superimposed to obtain the initial cumulative displacement prediction value. The XGBoost model is then used to perform nonlinear correction on the initial prediction residual to obtain the final cumulative displacement prediction value. Based on this, the model performance index is calculated.
[0015] Further optimization, the specific process of step S1 is as follows:
[0016] S1-1: Collect daily cumulative displacement data, daily rainfall data, daily reservoir water level data, and necessary auxiliary environmental variables for the landslide area. Displacement data can be obtained from GPS, GNSS, crack gauges, inclinometers, or automated monitoring stations.
[0017] S1-2: Linear interpolation is used to fill in a small number of missing values; outliers are manually verified or statistically removed; and each feature is normalized to eliminate the influence of different units on model training.
[0018] S1-3: Time series decomposition of landslide displacement. Let the original cumulative displacement sequence be D(t), then it can be decomposed as follows:
[0019] ;
[0020] In the formula: This is a time series of landslide displacements; t represents the k-th time series component; K is the total number of time series modes obtained from VMD decomposition; t represents the global monitoring time series moment, in days.
[0021] The variational mode decomposition (VMD) method is used to decompose the displacement sequence of the monitoring points. The objective function and constraint conditions are expressed as follows:
[0022] ;
[0023] In the formula, δ(t) is the unit impulse function, ω k is the center frequency of the k-th mode, and * denotes the convolution operation.
[0024] To improve the decomposition performance of VMD, a goat optimization algorithm is introduced to optimize the penalty factor α and the number of modes K. The normalized probabilities of the component energies are constructed as follows:
[0025] ;
[0026] Using the minimum envelope entropy as the fitness function, it can be constructed as follows:
[0027] ;
[0028] In the formula: K is the penalty factor, and K is the number of modes.
[0029] By iteratively searching to minimize f(α,K), the optimal parameters α* and K* are obtained, and these parameters are used to decompose the cumulative displacement of each measuring point.
[0030] S1-4: GOA parameter optimization process, the search and update formula of the goat optimization algorithm is:
[0031] (1) Global roaming behavior: ;
[0032] ;
[0033] (2) Local foraging behavior: ;
[0034] (3) Individual random jumping behavior: ;
[0035] (4) Reset the location of individuals that have crossed the boundary or are of poor quality: ;
[0036] in, Let represent the position of the m-th "goat" in the s-th generation, where m is the individual goat ID in the population, s is the number of generations in the algorithm, R is the random perturbation term, and UB and LB are the upper and lower bounds of the search space, respectively. This is the current optimal solution. For randomly selected individuals, α, β, and J are the exploration coefficient, development coefficient, and jump coefficient, respectively.
[0037] Further optimization, the specific process of step S2 is as follows:
[0038] S2-1: Perform Pearson correlation calculations on the decomposed trend term, periodic term, random term, and environmental variables such as rainfall and reservoir water level. The formula is as follows:
[0039] ;
[0040] In the formula: i is the sequence number of a single sample, n is the total number of time series samples involved in the correlation calculation; x i and y i Let and represent the values of the two variables for the i-th sample point, respectively. and These are the means; This represents the Pearson linear correlation coefficient.
[0041] S2-2: Pre-set high correlation threshold and weak correlation interval threshold; variables with synchronous correlation coefficient absolute values greater than the high correlation threshold are directly used as candidate driving variables; variables with synchronous correlation coefficients falling within the weak correlation interval have insufficient synchronous correlation, but rainfall and reservoir water levels have time-series lag effects due to seepage stress transmission. For such variables, conduct multi-time sliding window correlation analysis, extract the peak correlation coefficient corresponding to each lag window, and if the peak correlation coefficient reaches the preset qualified threshold, the variable is confirmed to have a lag driving effect; variables with synchronous correlation coefficients lower than the weak correlation interval threshold are directly eliminated.
[0042] S2-3: Variables that have significant synchronous correlation or staged response characteristics with the target component are identified as effective driving features and input into the subsequent sub-item prediction model;
[0043] Further optimization, the specific process of step S3 is as follows:
[0044] S3-1: Construction and training of the CNN-BiGRU-Attention hybrid model, specifically:
[0045] S3-1-1: The trend / period time series data filtered in step S2 and the corresponding effective environmental driving features are concatenated into a two-dimensional time series input matrix; the entire dataset is divided into a training subset and a test subset in an 8:2 ratio, the model input time series step size is uniformly set, and supervised learning samples are constructed.
[0046] S3-1-2: Construction of CNN local feature extraction layer, CNN one-dimensional convolution output expression:
[0047] ;
[0048] In the formula: τ is the local relative time step size within the sliding window. For convolution output, For convolution kernel weights, Here, b is the input sample, and b is the bias term.
[0049] The output of the convolutional layer is fed into the pooling layer to compress the feature dimensions and extract the local temporal abrupt changes and periodic fluctuation features of displacement and environmental factors.
[0050] S3-1-3: Construction of the BiGRU bidirectional temporal dependency capture layer: The CNN pooling output is used as the input to the BiGRU layer, and the forward GRU branch and the backward GRU branch are set up in parallel; the update formula for a single GRU unit is:
[0051] ;
[0052] Among them, z τ To update the gate, ρ τ To reset the door, h τ is a hidden state, σ is the Sigmoid function, and ⊙ is the element-wise product;
[0053] The hidden state vectors output by the forward GRU and the backward GRU at the same time step are concatenated and fused to obtain a feature sequence that integrates bidirectional temporal information.
[0054] S3-1-4: Construction of the Attention Adaptive Weight Allocation Layer: Input the temporal features concatenated by BiGRU into the attention layer. The weight calculation formula is as follows:
[0055] ;
[0056] Where, α τ Let c be the attention weight at the τth local time step, and c be the context vector.
[0057] By amplifying the characteristics of key deformation periods such as rainfall and sudden changes in reservoir water levels through attention weighting, the interference of stable and undisturbed periods is weakened;
[0058] S3-1-5: Building a Fully Connected Output Layer: The context vector c output from the attention layer is connected to a multi-layer fully connected network, a linear activation function is set, and the predicted value of the single-step trend term is output. 2023 Predicted value of periodic term ;
[0059] S3-1-6: Hybrid Model Training: Using the mean squared error (MSE) as the model loss function, the Adam optimizer is used to backpropagate and iteratively update the CNN convolutional kernel weights, BiGRU gate weights, Attention layer parameters, and fully connected layer weights; an early stopping strategy is set to prevent overfitting, and after iterating until the test subset loss converges, the optimal CNN-BiGRU-Attention model weights are saved to complete the prediction of trend and periodic terms.
[0060] S3-2: Construction and training of the TCN temporal convolutional network model for random term prediction, specifically:
[0061] S3-2-1: The random item time series data obtained in step S2 and the corresponding effective environmental driving features are concatenated into a one-dimensional multivariate time series input sequence; a fixed sliding window is used to construct supervised learning samples, and the TCN training subset and test subset are divided in an 8:2 ratio; no smoothing or filtering noise reduction processing is performed on the original random item sequence, and the instantaneous pulse mutation information induced by rainfall and reservoir water level disturbance is completely preserved;
[0062] S3-2-2: Construction of causal dilated convolutional layers. The causal convolutional form of TCN is represented as follows:
[0063] ;
[0064] In the formula: d is the dilation rate, and K2 is the kernel size;
[0065] Causal convolution is used to constrain temporal causality, and only data from the current and historical moments are used in the calculation, without introducing future temporal information, thus avoiding temporal data leakage. The dilation rate d is increased layer by layer to expand the model’s temporal receptive field without increasing the size of the convolution kernel, and to capture the coupling relationship between short-term impulse perturbations of random terms and weak perturbations across time periods.
[0066] S3-2-3: Residual connection module construction: After every two layers of causal dilation convolution, a residual shortcut branch is added to add and merge the original input of the convolution module with the output of multiple convolutions element by element; after each convolution, the ReLU activation function and layer normalization operation are connected in sequence to alleviate the gradient vanishing problem during the training of deep TCN networks and adapt to the data characteristics of high-frequency oscillation of random terms and irregular fluctuation of amplitude.
[0067] S3-2-4: Feature Fusion and Output Layer Construction: After stacking all causal dilated convolutional-residual modules, one-dimensional global pooling is performed on the output of the last convolutional layer to compress the temporal dimension; the pooled feature vectors are then fed into a fully connected layer, which uses a linear activation function to output the single-step random term prediction value. ;
[0068] S3-2-5: Independent Training of the TCN Model: The mean squared error (MSE) is used as the loss function for the TCN model. The Adam optimizer is used for backpropagation to iteratively update the convolutional kernel weights, residual branch parameters, and fully connected layer weights. A learning rate decay and early stopping strategy are configured. The loss of the test subset is monitored in real time. Training is terminated when the loss does not decrease after multiple consecutive iterations, and the optimal TCN model weights are saved. After training, random item samples from the test set are input, and the complete random item prediction sequence is output. .
[0069] Further optimization, the specific process of step S4 is as follows:
[0070] S4-1: The predicted values of each component are superimposed to obtain the initial cumulative displacement prediction value:
[0071] ;
[0072] in, , , Let D be the predicted values of the trend term, periodic term, and random term for the i-th sample, respectively, where i is the sample index; i This represents the actual daily cumulative displacement monitoring value of the landslide corresponding to the i-th time series sample;
[0073] S4-2: Calculate the initial prediction residuals based on the training set:
[0074] ;
[0075] residual e i Together with the predicted values of each component, historical displacement, and environmental characteristics, they serve as inputs to XGBoost to learn the residual correction mapping relationship;
[0076] S4-3: Perform XGBoost residual correction; the objective function can be expressed as:
[0077] ;
[0078] Where l(·) is the loss function, Ω(·) is the regularization term, and f m Let m be the m-th regression tree;
[0079] The corrected final displacement prediction value is:
[0080] ;
[0081] in, This represents the residual correction amount for the prediction of the i-th sample by XGBoost;
[0082] S4-4: Model evaluation index calculation formula: The root mean square error (RMSE), mean absolute error (MAE), and coefficient of determination (R²) are used to evaluate the prediction error at each measurement point.
[0083] ;
[0084] ;
[0085] ;
[0086] In the formula, n is the total number of samples, and i is the single sample number. This represents the true average displacement.
[0087] The prediction results for different measuring points are comprehensively evaluated using the above indicators.
[0088] Further optimizations were made to the data partitioning and data leakage prevention constraints: all preprocessed time-series data were uniformly divided into training and test sets in an 8:2 ratio; the training set was used for GOA parameter optimization, CNN-BiGRU-Attention model training, TCN model training, and XGBoost residual fitting; the test set was used for offline verification without intervention; no forced monotonic correction logic was executed throughout the process: if the model output predicted value was less than the historical true displacement, the predicted value was not forcibly modified to the historical maximum value or a fixed growth value, thus preventing data leakage caused by the introduction of future trend priors and ensuring that the test set's performance was consistent with the real-time early warning prediction performance.
[0089] With further optimization, this method is applicable to the daily-scale cumulative displacement prediction of step-type landslides in reservoir areas. For multi-point landslide monitoring scenarios, the complete prediction process S1~S4 is executed independently for each monitoring point in sequence, and the RMSE, MAE, and R² indices of all monitoring points are summarized to comprehensively evaluate the model's spatial generalization applicability.
[0090] A deep learning-based landslide displacement time-series prediction system considering trend residual compensation includes: a data preprocessing and adaptive decomposition module, a feature selection module, a differential prediction module, and a residual compensation evaluation module.
[0091] The data preprocessing and adaptive decomposition module collects landslide displacement, rainfall, and reservoir water level monitoring data and performs interpolation, anomaly removal, and normalization preprocessing. It also optimizes VMD parameters using the goat optimization algorithm to decompose the displacement sequence into trend, periodic, and random terms.
[0092] The feature filtering module uses Pearson correlation and window correlation analysis to filter effective environmental driving features for the three types of displacement components.
[0093] The differential prediction module includes a CNN-BiGRU-Attention subnetwork and a TCN subnetwork. The CNN-BiGRU-Attention subnetwork takes into account trend terms, periodic terms and corresponding driving features and outputs sub-predicted values. The TCN subnetwork takes into account random terms and corresponding driving features and outputs random term predicted values.
[0094] The residual compensation evaluation module superimposes the three types of sub-prediction values to obtain the initial displacement prediction result, uses XGBoost to perform nonlinear compensation on the initial prediction residual to obtain the final displacement prediction value, and completes the model performance evaluation through RMSE, MAE, and R².
[0095] This system does not include any forced monotonic trend correction logic to avoid data leakage issues.
[0096] Compared with the prior art, the present invention has the following beneficial effects:
[0097] 1. This invention uses the goat optimization algorithm to find the dual core parameters of VMD with minimum envelope entropy, which gets rid of the limitations of manual trial and error, effectively suppresses mode mixing, and completely preserves the multi-scale deformation information of landslide creep, periodic oscillation and instantaneous disturbance. The decomposition robustness is significantly better than the traditional PSO / SSA-VMD scheme.
[0098] 2. This invention constructs a CNN-BiGRU-Attention network for trend and periodic components: CNN extracts local mutation features, BiGRU captures long-term temporal dependencies bidirectionally, and the attention layer amplifies the weights of key periods such as rainfall and sudden changes in water level; for high-frequency random perturbations, a TCN causal dilated convolutional network is constructed, which expands the receptive field by relying on the residual structure, and the parallel convolution calculation is more efficient, which greatly improves the accuracy of random pulse capture and solves the defect of insufficient fitting ability of single recurrent networks.
[0099] 3. This invention abandons the traditional single-component local residual correction and performs multivariate nonlinear fitting on the total prediction residual after linear superposition. This fully restores the complex coupling relationship between displacement and hydrological factors, significantly alleviating the problems of underestimation of peak value and prediction lag in the landslide acceleration stage. The multi-point test set R... 2 It consistently reaches a value above 0.98.
[0100] 4. This invention does not add any forced trend post-processing logic throughout the entire process. The model output is completely automatically fitted by the time series data. The performance of the training set and the actual early warning scenario are consistent. It solves the engineering pain point of existing models that "have good training effect but fail in real-world prediction" and has stronger engineering application value.
[0101] 5. The entire prediction process of this invention is standardized, and it is equipped with a modular prediction system that is compatible with various monitoring devices such as GPS, GNSS, and crack gauges. It can process time series data from multiple measuring points in landslide clusters in batches, output quantitative accuracy indicators, and can be directly integrated into an automated landslide disaster early warning platform. Attached Figure Description
[0102] Figure 1 This is a schematic diagram of the overall process of the method described in this invention;
[0103] Figure 2 This is a schematic diagram of the GOA-VMD parameter optimization and displacement decomposition prediction process in this invention;
[0104] Figure 3 This is a diagram showing the decomposition results of the trend term, periodic term, and random term of the cumulative landslide displacement after GOA-VMD decomposition according to the present invention.
[0105] Figure 4 This is a Pearson correlation result graph for the present invention;
[0106] Figure 5 The figures show the predicted and corrected displacement results under different models of this invention.
[0107] Figure 6 This is a comparison chart of cumulative displacement prediction results under different models of the present invention;
[0108] Figure 7 This is a diagram showing the cumulative displacement prediction results from multiple measurement points according to the present invention. Detailed Implementation
[0109] The specific embodiments of the present invention will now be described with reference to the accompanying drawings to enable those skilled in the art to more clearly understand the present invention. Obviously, the present invention is not limited to the scope of the embodiments. For those skilled in the art, any modifications within the spirit and scope of the present invention as defined and determined by the appended claims are considered non-creative and all inventions utilizing the inventive concept of this method are protected.
[0110] Example 1:
[0111] This implementation case selects a scenario for predicting the daily cumulative displacement of a step-type landslide in a reservoir area using multiple monitoring points. The monitoring stations include three locations: ZGX111, GSCX3, and GSCX5. The scope of protection of this invention is not limited to the landslide type, monitoring equipment, and number of monitoring points specified in this embodiment.
[0112] Monitoring data sources: Displacement data are collected from daily cumulative displacement by GNSS automated monitoring stations, along with daily rainfall and average daily water level in the reservoir area; displacement sensors include GPS, crack gauges, and inclinometers, with a time series spanning from November 2016 to November 2023, and a data sampling interval of 1 day.
[0113] Hardware and software environment: Hardware: GPU graphics workstation; Software: Python, TensorFlow, XGBoost, signal processing library; The prediction system is deployed on a landslide monitoring cloud server to achieve offline training + online rolling prediction.
[0114] Dataset partitioning rules: All time series are uniformly divided into training and test sets in an 8:2 ratio. The period from November 2016 to November 2022 is the training set, and the period from November 2022 to November 2023 is the test set. Test set information is not used in model training and parameter optimization throughout the entire process to prevent data leakage.
[0115] like Figure 1 As shown, a deep learning-based landslide displacement time-series prediction method considering trend residual compensation is presented, with the following specific steps:
[0116] Step S1: Collect displacement monitoring data and environmental monitoring data of the landslide area. After preprocessing the raw data, use the goat optimization algorithm to optimize the variational mode decomposition parameters and perform mode decomposition on the cumulative displacement sequence to obtain the trend term, periodic term and random term.
[0117] The specific process is as follows:
[0118] S1-1. Raw data preprocessing: Collect daily cumulative displacement, daily rainfall, and daily reservoir water level time series of each measuring point ZGX111, GSCX3, and GSCX5;
[0119] Missing data were filled in using linear interpolation; abrupt and abnormal monitoring values were removed by combining 3σ statistical thresholds with manual on-site verification; and all features of displacement, rainfall, and reservoir water level were normalized to eliminate training bias caused by different units such as millimeters, millimeters / day, and meters.
[0120] S1-2, GOA-VMD parameter optimization:
[0121] like Figure 2 As shown, Figure 2 The left side shows the complete iterative optimization process of the goat optimization algorithm. Figure 2The right side shows the entire data input, decomposition, prediction, and correction process, specifically including:
[0122] 1. Initialize the goat population and set the VMD penalty factor α, and the upper and lower bounds UB and LB for the number of modes K.
[0123] In this embodiment, the GOA parameters are set as follows: population size 30, maximum iterations 100; α search interval [100, 3000], modality number K∈[3, 8].
[0124] 2. Perform VMD decomposition in each iteration and calculate the minimum envelope entropy of the sequence under the current parameters as the fitness function f(α,K);
[0125] 3. Follow the goat location update formula to complete foraging, moving, and jumping operations, and eliminate the 20% of individuals with the worst adaptability and regenerate;
[0126] 4. Iterate until the convergence condition is met, and output the optimal decomposition parameters α* and K*.
[0127] S1-3, Three-component decomposition of displacement sequence: Using the optimal α* and K*, perform VMD decomposition on the original cumulative displacement D(t) of each measuring point. Decomposition formula:
[0128] ;
[0129] In this embodiment, the optimal K=4 is used to merge the four modes into three categories: trend, periodic, and random, based on the center frequency; the decomposition results are shown below. Figure 3 The three types of components are independent and do not overlap. Figure 3 From top to bottom, they are:
[0130] Trend: The long-term monotonous and slow creep curve rises steadily year by year, representing the plastic deformation of the landslide foundation;
[0131] Periodic term: The interannual periodic oscillation curve fluctuates synchronously with the rainfall during the rainy season and the rise and fall of the reservoir water level;
[0132] Random term: High-frequency small-amplitude pulse curve, which is composed of instantaneous deformation signals caused by short-term heavy rainfall, sudden changes in water level, and minute disturbances of the sensor.
[0133] After decomposition, the three types of components are independent of each other, the multi-scale deformations are completely separated, and there is no mode aliasing phenomenon.
[0134] Step S2: Perform Pearson correlation analysis on each decomposed displacement component and environmental monitoring data to screen variables that are significantly correlated with the target component as effective driving features. Specifically, this includes:
[0135] S2-1. Calculate the Pearson correlation coefficients for each group of the trend term, periodic term, and random term with the rainfall and reservoir water level time series:
[0136] ;
[0137] S2-2. This embodiment sets up a three-level quantitative judgment standard to filter features in a tiered manner:
[0138] 1) High correlation interval: |r xy |≥0.6, the two sets of data have a strong linear synchronous correlation and are directly classified as candidate driving features;
[0139] 2) Instantaneous weak correlation interval: 0.2≤|r xy | < 0.6 indicates a time lag effect in soil and rock seepage and stress transfer, resulting in low synchronous instantaneous correlation. For such variables, a 1-15 day sliding lag window is set, and the correlation coefficient is calculated time-delayed. If the maximum correlation coefficient within the window satisfies |r xymax If |≥0.5, it is determined that there is a lag-driven effect and is retained;
[0140] 3) Extremely low correlation interval: |r xy | < 0.2, no significant linear driving association, directly removed.
[0141] S2-3. After completing the stratified filtering, construct dedicated input feature sets for trend items, periodic items, and random items respectively, which will serve as inputs for subsequent deep learning networks. (See attached...) Figure 4 The leftmost data input module.
[0142] Step S3: Divide the displacement dataset into training and testing sets in an 8:2 ratio, using the corresponding factors as driving variables to construct different models for prediction. Specifically, this includes:
[0143] S3-1, CNN-BiGRU-Attention Model Construction and Training: (e.g.) Figure 4 The diagram shows the complete network hierarchy for trend and periodic terms, including: input layer → two-layer CNN convolutional pooling layer → BiGRU bidirectional temporal layer → Attention layer → fully connected output layer. The complete setup and training process is as follows:
[0144] 1) CNN layer: Multiple one-dimensional convolutions, formula Extract short-term local coupling abrupt changes in rainfall and water level, and compress features by ReLU activation and max pooling after convolution;
[0145] 2) BiGRU layer: The forward and backward dual GRU branches run in parallel. The GRU gating formula completes the temporal dependency mining and splices the bidirectional hidden states to fuse historical and future temporal information.
[0146] 3) Attention layer: Adaptively amplifies key time steps of the rainy season and water level rise and fall through the weight formula, while weakening noise during stable periods;
[0147] 4) End-to-end training: The mean squared error (MSE) is used as the loss function for the entire network, and the Adam optimizer is selected to globally and synchronously update all weights of the CNN convolutional layer, BiGRU gated unit, attention layer, and fully connected layer.
[0148] In this embodiment, the training hyperparameters are fixed: initial learning rate lr = 0.001, learning rate decay coefficient 0.95, and learning rate decay performed every 10 iterations; batch size = 32, maximum number of iterations epochs = 200. The early stopping strategy is determined by: if the MSE loss on the test set does not decrease for 15 consecutive iterations, training is terminated, and the optimal model weights with the lowest test loss are automatically saved. An L2 regularization coefficient of 10 is used. -4 To help suppress network overfitting.
[0149] 5) After training, input the test set and output the trend prediction. Periodic Term Prediction Corresponding appendix Figure 5 In (a) and (b), the training set shows a high degree of fit, while the test set shows no significant lag and no substantial underestimation of the peak value.
[0150] S3-2, TCN Model Construction and Training: The high-frequency pulse features of the random term are modeled using a TCN causal dilated convolutional network.
[0151] 1) Using the causal convolution formula It only uses historical time series, with no future data leakage; it expands the receptive field by gradually increasing the expansion rate.
[0152] 2) Add residual connections between every two convolutional layers to alleviate gradient vanishing in deep networks;
[0153] 3) The TCN network is trained independently and does not share weights with CNN-BiGRU. The MSE loss function is used separately, and the Adam optimizer updates the parameters of all convolutional, residual branches, and fully connected layers.
[0154] In this embodiment, the training hyperparameters are fixed: initial learning rate lr=0.0008, decaying by 0.94 every 8 iterations; batch size=16, maximum number of iterations epoch=150.
[0155] Early stopping strategy criteria: If the loss on the test set does not decrease for 12 consecutive rounds, training is stopped and the optimal weights are retained;
[0156] Add L2 regular expression 10 -4 Mitigating overfitting due to high-frequency noise;
[0157] 4) Output random term prediction ,like Figure 5 (c) The predicted curve is highly synchronized with the actual random item spikes and pulses, which can accurately capture short-term instantaneous deformation precursors.
[0158] Step S4: Target cumulative displacement residual correction and performance evaluation are as follows:
[0159] S4-1. The predicted values of each component are superimposed to obtain the initial cumulative displacement prediction value.
[0160] ;
[0161] in, , , Let D be the predicted values of the trend term, periodic term, and random term for the i-th sample, respectively, where i is the sample index; i This represents the actual daily cumulative displacement monitoring value of the landslide corresponding to the i-th time series sample;
[0162] S4-2. Calculate the initial prediction residual based on the training set:
[0163] ;
[0164] residual e i Together with the predicted values of each component, historical displacement, and environmental characteristics, they serve as inputs to XGBoost to learn the residual correction mapping relationship;
[0165] S4-3. Perform XGBoost residual correction; see [link to correction values] for details. Figure 5 (d).
[0166] Then, the predicted displacement values of each target measuring point are superimposed and reconstructed to obtain the daily cumulative displacement prediction value of the target measuring point. This prediction value is then compared with the benchmark test sets of LSTM, GRU, and VMD-LSTM models. The comparison results are as follows: Figure 6 As shown, the predicted curve of this invention almost coincides with the actual displacement, verifying the significant improvement effect of XGBoost residual compensation.
[0167] S4-4. Following the above prediction approach, the remaining measuring points are sequentially used as target measuring points for prediction, resulting in complete prediction curves for the two measuring points ZGX111 and GSCX5, as follows: Figure 7 As shown, each measuring point independently executes the entire S1-S4 process, and all measuring points show stable performance, proving that the method has good spatial generalization ability.
[0168] S4-5. The root mean square error (RMSE), mean absolute error (MAE), and coefficient of determination (R²) were used to evaluate the prediction error of each measuring point, as shown in Table 1.
[0169] Table 1 Evaluation results of prediction errors at each measuring point
[0170]
[0171] The coefficient of determination for each measuring point test set is higher than 0.98, and the error is controlled within 6mm, which meets the accuracy requirements of the reservoir area landslide early warning project.
[0172] Example 2:
[0173] A deep learning-based landslide displacement time-series prediction system considering trend residual compensation includes: a data preprocessing and adaptive decomposition module, a feature selection module, a differential prediction module, and a residual compensation evaluation module.
[0174] The data preprocessing and adaptive decomposition module collects landslide displacement, rainfall, and reservoir water level monitoring data and performs interpolation, anomaly removal, and normalization preprocessing. It also optimizes VMD parameters using the goat optimization algorithm to decompose the displacement sequence into trend, periodic, and random terms.
[0175] The feature filtering module uses Pearson correlation and window correlation analysis to filter effective environmental driving features for the three types of displacement components.
[0176] The differential prediction module includes a CNN-BiGRU-Attention subnetwork and a TCN subnetwork. The CNN-BiGRU-Attention subnetwork takes into account trend terms, periodic terms and corresponding driving features and outputs sub-predicted values. The TCN subnetwork takes into account random terms and corresponding driving features and outputs random term predicted values.
[0177] The residual compensation evaluation module superimposes the three types of sub-prediction values to obtain the initial displacement prediction result, uses XGBoost to perform nonlinear compensation on the initial prediction residual to obtain the final displacement prediction value, and completes the model performance evaluation through RMSE, MAE, and R².
[0178] This system does not include any forced monotonic trend correction logic to avoid data leakage issues.
[0179] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
[0180] The contents not described in detail in this specification are existing technologies known to those skilled in the art.
Claims
1. A deep learning-based landslide displacement time-series prediction method considering trend residual compensation, characterized in that, Includes the following steps: S1: Collect displacement monitoring data and environmental monitoring data in the landslide area. After preprocessing the raw data, use the goat optimization algorithm to optimize the variational mode decomposition parameters and perform mode decomposition on the cumulative displacement sequence to obtain the trend term, periodic term and random term. S2: Perform Pearson correlation analysis on each displacement component after decomposition and environmental monitoring data, and screen variables that are significantly correlated with the target component as effective driving features; S3: Construct a differentiated dual-branch deep learning prediction network, input the trend term and periodic term into the CNN-BiGRU-Attention hybrid model for prediction, and input the random term into the TCN temporal convolutional network model for prediction, and obtain the predicted value of each component respectively. S4: The predicted values of each component are superimposed to obtain the initial cumulative displacement prediction value. The XGBoost model is then used to perform nonlinear correction on the initial prediction residual to obtain the final cumulative displacement prediction value. Based on this, the model performance index is calculated.
2. The deep learning-based landslide displacement time-series prediction method considering trend residual compensation according to claim 1, characterized in that, The specific process of preprocessing and decomposing the monitoring data in step S1 is as follows: S1-1: Collect daily cumulative displacement data, daily rainfall data, daily reservoir water level data, and necessary auxiliary environmental variables in the landslide area; displacement data are obtained from GPS, GNSS, crack gauges, inclinometers, or automated monitoring stations; S1-2: Linear interpolation is used to fill in a small number of missing values; outliers are manually verified or statistically removed; each feature is normalized to eliminate the influence of different units on model training. S1-3: Let the original cumulative displacement sequence be D(t), and the landslide displacement time series decomposition expression is: ; In the formula: This is a time series of landslide displacements; Let K be the kth temporal component; K is the total number of temporal modes obtained by VMD decomposition. t represents the global monitoring time series, in days; The variational mode decomposition (VMD) method is used to decompose the displacement sequence of the monitoring points. The objective function and constraint conditions are expressed as follows: ; In the formula, δ(t) is the unit impulse function, ω k is the center frequency of the k-th mode, and * denotes the convolution operation; Construct the normalized probability of component energy: ; Construct the fitness function of the Goat Optimization Algorithm (GOA) using the minimum envelope entropy across all modes: ; In the formula: K is the penalty factor, and K is the number of modes; By iteratively searching to minimize f(α,K), the optimal parameters α* and K* are obtained, and the cumulative displacement decomposition of each measuring point is completed using the optimal parameters; S1-4: GOA parameter optimization process, the search and update formula of the goat optimization algorithm is: (1) Global roaming behavior: ; ; (2) Local foraging behavior: ; (3) Individual random jumping behavior: ; (4) Reset the location of individuals that have crossed the boundary or are of poor quality: ; in, Let represent the position of the m-th "goat" in the s-th generation, where m is the individual ID of the goat population, s is the number of generations in the algorithm, R is the random perturbation term, and UB and LB are the upper and lower bounds of the search space, respectively. This is the current optimal solution. For randomly selected individuals, α, β, and J are the exploration coefficient, development coefficient, and jump coefficient, respectively.
3. The deep learning-based landslide displacement time-series prediction method considering trend residual compensation according to claim 1, characterized in that, The specific steps for screening effective driving variables for different modes of the target measurement point in step S2 are as follows: S2-1: Perform Pearson correlation calculations on the decomposed trend term, periodic term, random term, and environmental variables such as rainfall and reservoir water level. The formula is as follows: ; In the formula: i is the sequence number of a single sample, n is the total number of time series samples involved in the correlation calculation; x i and y i These represent the values of the two variables for the i-th sample point. and These are the means; This represents the Pearson linear correlation coefficient; S2-2: Pre-set high correlation threshold and weak correlation interval threshold; variables with absolute values of synchronous correlation coefficients greater than the high correlation threshold are directly used as candidate driving variables; Variables whose synchronous correlation coefficients fall within the weak correlation interval have insufficient synchronous correlation, but rainfall and reservoir water levels have time-series lag effects caused by seepage stress transmission. For such variables, multi-time sliding window correlation analysis is carried out to extract the peak correlation coefficient corresponding to each lag window. If the peak correlation coefficient reaches the preset qualified threshold, it is confirmed that the variable has a lag driving effect. Variables with synchronous correlation coefficients below the threshold of the weak correlation interval are directly eliminated; S2-3: Variables that have significant synchronous correlation or staged response characteristics with the target component are identified as effective driving features and input into the subsequent sub-item prediction model.
4. The deep learning-based landslide displacement time-series prediction method considering trend residual compensation according to claim 1, characterized in that, The specific steps of the trend term and period term prediction sub-model and the random term prediction sub-model in step S3 are as follows: S3-1: Construction and training of the CNN-BiGRU-Attention hybrid model, specifically: S3-1-1: The trend / period time series data filtered in step S2 and the corresponding effective environmental driving features are concatenated into a two-dimensional time series input matrix; the entire dataset is divided into a training subset and a test subset in an 8:2 ratio, the model input time series step size is uniformly set, and supervised learning samples are constructed. S3-1-2: Construction of CNN local feature extraction layer, CNN one-dimensional convolution output expression: ; In the formula: τ is the local relative time step size within the sliding window. For convolution output, For convolution kernel weights, Here, b is the input sample, and b is the bias term. The output of the convolutional layer is fed into the pooling layer to compress the feature dimension and extract the local temporal abrupt change and periodic fluctuation features of displacement and environmental factors; S3-1-3: BiGRU bidirectional temporal dependency capture layer construction: The CNN pooling output is used as the input of the BiGRU layer, and the forward GRU branch and the backward GRU branch are set in parallel; The update formula for a single GRU cell is: ; Among them, z τ To update the gate, ρ τ To reset the door, h τ is a hidden state, σ is the Sigmoid function, and ⊙ is the element-wise product; The hidden state vectors output by the forward GRU and the backward GRU at the same time step are concatenated and fused to obtain a feature sequence that integrates bidirectional temporal information. S3-1-4: Construction of the Attention Adaptive Weight Allocation Layer: Input the temporal features concatenated by BiGRU into the attention layer. The weight calculation formula is as follows: ; Where, α τ Let c be the attention weight at the τth local time step, and c be the context vector. By amplifying the characteristics of key deformation periods such as rainfall and sudden changes in reservoir water levels through attention weighting, the interference of stable and undisturbed periods is weakened; S3-1-5: Building a Fully Connected Output Layer: The context vector c output from the attention layer is connected to a multi-layer fully connected network, a linear activation function is set, and the predicted value of the single-step trend term is output. 2023 Predicted value of periodic term ; S3-1-6: Hybrid model training: The mean squared error (MSE) is used as the model loss function. The Adam optimizer is used to backpropagate and iteratively update the CNN convolutional kernel weights, BiGRU gate weights, Attention layer parameters and fully connected layer weights. An early stopping strategy is set to prevent overfitting. After the test subset loss converges, the optimal CNN-BiGRU-Attention model weights are saved to complete the prediction of trend and periodic terms. S3-2: Construction and training of the TCN temporal convolutional network model for random term prediction, specifically: S3-2-1: The random item time series data obtained in step S2 and the corresponding effective environmental driving features are concatenated into a one-dimensional multivariate time series input sequence; a fixed sliding window is used to construct supervised learning samples, and the TCN training subset and test subset are divided in an 8:2 ratio; no smoothing or filtering noise reduction processing is performed on the original random item sequence, and the instantaneous pulse mutation information induced by rainfall and reservoir water level disturbance is completely preserved; S3-2-2: Construction of causal dilated convolutional layers. The causal convolutional form of TCN is represented as follows: ; In the formula: d is the dilation rate, and K2 is the kernel size; Causal convolution is used to constrain temporal causality, and only data from the current and historical moments are used in the calculation, without introducing future temporal information, thus avoiding temporal data leakage. The dilation rate d is increased layer by layer to expand the model’s temporal receptive field without increasing the size of the convolution kernel, and to capture the coupling relationship between short-term impulse perturbations of random terms and weak perturbations across time periods. S3-2-3: Residual connection module construction: After every two layers of causal dilation convolution, a residual shortcut branch is added to add and merge the original input of the convolution module with the output of multiple convolutions element by element; after each convolution, the ReLU activation function and layer normalization operation are connected in sequence to alleviate the gradient vanishing problem during the training of deep TCN networks and adapt to the data characteristics of high-frequency oscillation of random terms and irregular fluctuation of amplitude. S3-2-4: Feature Fusion and Output Layer Construction: After stacking all causal dilated convolutional-residual modules, one-dimensional global pooling is performed on the output of the last convolutional layer to compress the temporal dimension; the pooled feature vectors are then fed into a fully connected layer, which uses a linear activation function to output the single-step random term prediction value. ; S3-2-5: Independent Training of the TCN Model: The mean squared error (MSE) is used as the loss function for the TCN model. The Adam optimizer is used for backpropagation to iteratively update the convolutional kernel weights, residual branch parameters, and fully connected layer weights. A learning rate decay and early stopping strategy are configured. The loss of the test subset is monitored in real time. Training is terminated when the loss does not decrease after multiple consecutive iterations, and the optimal TCN model weights are saved. After training, random item samples from the test set are input, and the complete random item prediction sequence is output. .
5. The deep learning-based landslide displacement time-series prediction method considering trend residual compensation according to claim 1, characterized in that, The residual nonlinear compensation and model performance evaluation in step S4 are specifically as follows: S4-1: The predicted values of each component are superimposed to obtain the initial cumulative displacement prediction value: ; in, , , Let D be the predicted values of the trend term, periodic term, and random term for the i-th sample, respectively, where i is the sample index; i This represents the actual daily cumulative displacement monitoring value of the landslide corresponding to the i-th time series sample; S4-2: Calculate the initial prediction residuals based on the training set: ; residual e i Together with the predicted values of each component, historical displacement, and environmental characteristics, they serve as inputs to XGBoost to learn the residual correction mapping relationship; S4-3: Perform XGBoost residual correction; the objective function can be expressed as: ; Where l(·) is the loss function, Ω(·) is the regularization term, and f m Let m be the m-th regression tree; The corrected final displacement prediction value is: ; in, This represents the residual correction amount for the prediction of the i-th sample by XGBoost; S4-4: Model evaluation index calculation formula: The root mean square error (RMSE), mean absolute error (MAE), and coefficient of determination (R²) are used to evaluate the prediction error at each measurement point. ; ; ; In the formula, n is the total number of samples, and i is the single sample number. This represents the true average displacement. The prediction results for different measuring points are comprehensively evaluated using the above indicators.
6. The deep learning-based landslide displacement time-series prediction method considering trend residual compensation according to claim 1, characterized in that, This method is applicable to the daily-scale cumulative displacement prediction of step-type landslides in reservoir areas. For multi-point landslide monitoring scenarios, the complete prediction process S1~S4 is executed independently for each monitoring point in sequence. Only single monitoring points are modeled independently, and no spatiotemporal coupling interaction is introduced between monitoring points. The RMSE, MAE, and R² indices of all monitoring points are summarized to comprehensively evaluate the spatial generalization applicability of the model.
7. A deep learning-based landslide displacement time-series prediction system considering trend residual compensation, characterized in that, include: Data preprocessing and adaptive decomposition module, feature selection module, differential prediction module, residual compensation evaluation module; The data preprocessing and adaptive decomposition module collects landslide displacement, rainfall, and reservoir water level monitoring data and performs interpolation, anomaly removal, and normalization preprocessing. It then uses the goat optimization algorithm to optimize the VMD parameters and decomposes the displacement sequence into trend, periodic, and random terms. The feature filtering module uses Pearson correlation and window correlation analysis to filter effective environmental driving features for the three types of displacement components. The differential prediction module includes a CNN-BiGRU-Attention subnetwork and a TCN subnetwork. The CNN-BiGRU-Attention subnetwork takes into account trend terms, periodic terms and corresponding driving features and outputs sub-predicted values. The TCN subnetwork takes into account random terms and corresponding driving features and outputs random term predicted values. The residual compensation evaluation module superimposes the three types of sub-prediction values to obtain the initial displacement prediction result, uses XGBoost to perform nonlinear compensation on the initial prediction residual to obtain the final displacement prediction value, and completes the model performance evaluation through RMSE, MAE, and R².
