Landslide susceptibility analysis method based on sample space construction and adaptive optimization
By standardizing the sample construction process and optimizing parameters, the problems of arbitrary sample construction and parameter dependence in existing technologies have been solved, achieving high reliability and accuracy of the landslide susceptibility analysis model, reducing interference from abnormal samples, and enhancing the model's generalization ability.
Patent Information
- Application Number
- CN202610853438.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-12
- Publication Date
- 2026-11-20
AI Technical Summary
Existing landslide susceptibility analysis methods involve arbitrary sample construction, parameter dependence on experience, and neglect of spatial distribution characteristics, resulting in unstable model results, low robustness, and spatial autocorrelation bias.
By standardizing the sample construction process, introducing spatial cross-validation mechanisms and parameter optimization strategies, a high-quality training sample set is constructed, including environmental feature extraction, outlier sample removal, landslide buffer constraints, and spatial stratification. The combination of key parameters is optimized to ensure the spatial independence of training samples and test samples.
This improved the reliability and accuracy of the landslide susceptibility analysis model, reduced interference from outlier samples, and enhanced the model's generalization ability and the scientific validity of the prediction results.
Smart Images

Figure CN123138601A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of geological hazard risk assessment technology, specifically to a landslide susceptibility analysis method based on sample space construction and adaptive optimization. Background Technology
[0002] Landslides, as one of the most common and destructive geological hazards, have attracted widespread attention. Landslide susceptibility analysis is an important technical means in regional geological hazard prevention and risk management, mainly using historical landslide information and surrounding environmental conditions to predict the spatial probability or susceptibility of landslides.
[0003] Currently, landslide susceptibility is mostly analyzed through statistical analysis or machine learning models, which has improved prediction accuracy to some extent. However, in practical applications, the focus is often on modeling methods while neglecting the crucial issue of reasonable sample construction. This includes arbitrary selection of non-landslide sample spaces, parameters relying on subjective experience, spatial bias risks in model evaluation results, and interference from outlier samples on model performance.
[0004] Existing sample construction methods often involve randomly selecting non-landslide samples without fully considering the spatial distribution characteristics of landslide samples and ignoring outliers in the regional environmental data. Key parameters such as the proportion of non-landslide samples, the extent of landslide buffer zones, and environmental constraint thresholds are mostly set manually based on experience, lacking a scientific data-driven optimization mechanism. Furthermore, the random cross-validation method used in the modeling process does not consider spatial correlation issues. These methods are prone to introducing spatial autocorrelation bias and interference from outliers, leading to unstable model results, low robustness, and degraded model performance.
[0005] Therefore, it is necessary to deeply consider the sampling mechanism and obtain a landslide susceptibility analysis method that can systematically construct samples under spatial constraints and perform sample space-based construction and adaptive optimization of key parameters, so as to improve the reliability and robustness of model prediction results. Summary of the Invention
[0006] This invention proposes a landslide susceptibility analysis method, device, and storage medium based on sample space construction and adaptive optimization. By standardizing the sample construction process, introducing a spatial cross-validation mechanism, and implementing parameter optimization strategies, it solves the problems of arbitrary sample construction, parameter dependence on experience, and insufficient spatial generalization ability in existing technologies.
[0007] To achieve the above objectives, the present invention adopts the following technical solution: A landslide susceptibility analysis method based on sample space construction and adaptive optimization, which executes the following steps using computer equipment: S1. Acquire basic geographic data, landslide point data, and environmental raster data for the study area; and unify the spatial coordinate system and resolution of the above data to maintain spatial consistency. S2. Select any factor raster data in the environmental raster data as a reference raster, and generate regular grid points at the center of its pixels according to a preset step size; trim the regular grid points to the boundary of the study area to construct a non-landslide candidate point pool; S3. Extract the pixel values of the multi-source environmental factor raster from the acquired landslide points and the non-landslide sample candidate points constructed above to form sample feature vectors; and remove abnormal samples containing invalid values to ensure the integrity of sample features. S4. Construct a sample dataset by structuring and storing the spatial coordinates of non-landslide candidate points, environmental feature matrix, and landslide sample-related data extracted from landslide point data. This dataset will be used for repeated calls under different parameter combinations to avoid redundant calculations. S5. Select the following sample construction parameters: landslide buffer radius, ratio of non-landslide to landslide samples, upper and lower limits of environmental feature probability threshold, abnormal sample ratio parameter, and minimum spatial distance of negative samples; and based on the above parameter combination, select non-landslide samples that meet the spatial and environmental constraints from the sample dataset, and construct the training sample set together with the landslide samples. S6. Divide the study area into multiple spatial sub-regions and construct a spatial cross-validation structure based on the spatial sub-regions to ensure the spatial independence of training samples and test samples. S7. Using the model performance index under spatial cross-validation as the objective function, jointly optimize the sample construction parameters in S5 and select the optimal parameter combination. S8. Train the landslide susceptibility analysis model based on the sample set constructed by the optimal parameter combination, and output the spatial distribution of landslide susceptibility in the study area.
[0008] As can be seen from the above technical solution, the landslide susceptibility analysis method based on sample space construction and adaptive optimization of the present invention solves the problems of insufficient scientific setting of sample construction parameters and neglect of spatial information in the prior art, resulting in poor model training effect. The method includes: constructing a basic information dataset for the study area, which includes multi-dimensional data such as landslide point data, topographic information, and hydrological information; generating a regular grid using environmental factor raster as a reference to construct a pool of non-landslide candidate points; extracting multi-source features from candidate points and landslide point locations and removing outliers to form a sample feature set; secondly, constructing a high-quality training sample set through landslide buffer constraints, anomaly detection, environmental consistency constraints, and spatial stratification and minimum distance constraints; further dividing the study area and constructing a spatial cross-validation structure, and using optimization algorithms to jointly optimize the sample construction parameters; finally, training the model based on the optimal parameter combination and outputting the spatial distribution results of landslide susceptibility in the study area. This invention effectively reduces spurious negative sample interference and improves the model's generalization ability and the reliability of the analysis results.
[0009] Specifically, the beneficial effects of the present invention are as follows: By employing outlier removal and environmental and spatial constraints, the adverse effects of abnormal environmental samples on model training are reduced. Key parameters such as the landslide buffer radius and the ratio of non-landslide to landslide samples are incorporated into the optimization algorithm for unified optimization, reducing reliance on human experience and improving the scientific rigor of parameter settings. Spatial cross-validation of the study area during modeling ensures spatial independence between the test and training sets, avoiding spatial autocorrelation bias. The application of this method in landslide disaster risk assessment improves the scientific nature of sample construction and the accuracy of the model. By introducing advanced algorithms and statistical concepts, it can fully utilize information from sample data to accurately predict landslide susceptibility, contributing to the prevention of landslide disasters. Attached Figure Description
[0010] Figure 1 This is a flowchart of the present invention; Figure 2 This is a landslide susceptibility map output by the method of this invention. Detailed Implementation
[0011] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some embodiments of the present invention, but not all embodiments.
[0012] like Figure 1 As shown in the figure, the landslide susceptibility analysis method based on sample space construction and adaptive optimization described in this embodiment performs the following steps using computer equipment: Step 1: Obtain basic geographic data, landslide point data, and environmental raster data for the study area; and unify the spatial coordinate system and resolution of the above data to maintain spatial consistency.
[0013] Step 2: Select any factor raster data in the environmental raster data as a reference raster, and generate regular grid points at the center of its pixels according to a preset step size; trim the regular grid points to the boundary of the study area to construct a pool of non-landslide sample candidate points.
[0014] Step 3: Extract the pixel values of the multi-source environmental factor raster at the obtained landslide points and the non-landslide sample candidate points constructed above to form sample feature vectors; and remove abnormal samples containing invalid values to ensure the integrity of sample features.
[0015] Step 4: Structure and store the spatial coordinates of non-landslide candidate points, environmental feature matrix, and landslide sample-related data extracted from landslide point data to construct a sample dataset for subsequent repeated use under different parameter combinations, avoiding redundant calculations.
[0016] Step 5: Select the following sample construction parameters: landslide buffer radius, non-landslide and landslide samples, minimum spatial distance between negative samples, upper and lower limits of environmental feature probability threshold, and abnormal sample ratio parameter; and based on the above parameter combination, select non-landslide samples that meet the spatial and environmental constraints from the sample dataset, and construct the training sample set together with the landslide samples.
[0017] Step 6: Divide the study area into multiple spatial sub-regions, and construct a spatial cross-validation structure based on the spatial sub-regions to ensure the spatial independence of training samples and test samples.
[0018] Step 7: Using the model performance index under spatial cross-validation as the objective function, jointly optimize the sample construction parameters in Step 5 and select the optimal parameter combination.
[0019] Step 8: Train the landslide susceptibility analysis model based on the sample set constructed with the optimal parameter combination, and output the spatial distribution of landslide susceptibility in the study area.
[0020] Specifically, the data collected in step 1 includes landslide point distribution data, study area boundary vectors, and 24 geographic environmental factor raster data. QGIS is used to unify the above vector and raster data to the EPSG:4547 coordinate system, standardize the resolution to 30m, and ensure consistency with the study area's cropping. This guarantees that spatial misalignment will not occur during subsequent sampling.
[0021] The feature vector output in step 3 is represented as follows: For any point k (candidate or landslide point), where n is the number of sample points, its 24 factor feature vectors are:
[0022] Candidate sample set feature matrix:
[0023] Landslide sample feature matrix: ; Specifically, in step 3, to avoid unrecorded or potential landslide areas around landslide points being incorrectly labeled as non-landslide samples, a buffer zone with radius r is first constructed centered on each landslide point. Let the set of landslide points be... The set of candidate non-landslide points is Candidate points that meet the following conditions can enter the abnormal sample removal stage:
[0024] in Represents the two-dimensional Euclidean distance. For the first One non-landslide sample candidate point For the first A landslide point This is the pool of candidate points for non-slope samples after the buffer has been removed. If the number of candidate points after removal is less than the target number of negative samples, then the current parameter combination is considered not to meet the sample construction conditions.
[0025] In the anomaly removal stage, an Isolation Forest anomaly detection model was introduced to further screen non-landslide samples and construct an anomaly degree function. This is used to characterize the degree of anomaly of candidate samples in a multidimensional environmental space. It measures the average path length required for a sample to be isolated by randomly partitioning the feature space. The average path length in an isolated forest is Then its anomaly degree is defined as , in For the sample size The expected path length normalization factor at that time For the sample Path length in an isolated forest; based on outlier threshold parameter. Remove samples with high anomalies and retain those that meet the criteria. Non-landslide sample candidate set :
[0026] in, This is the initial set of candidate points for non-landslide samples. Candidate samples Anomaly degree, outlier threshold parameter Indirectly determined by the proportion of outlier samples in isolated forests. Defined as:
[0027]
[0028] in Represents the distribution of anomalies of candidate points in non-landslide samples. Quantiles Indicates passing through the objective function The optimal abnormal sample ratio parameter obtained through optimization.
[0029] To describe the anomaly stability of non-landslide candidate points, the samples that pass the anomaly screening are normalized. Let...
[0030] Then any non-landslide sample The anomaly normalized stability index is defined as follows:
[0031] in, To prevent extremely small constants with a denominator of zero. The larger the value, the lower the anomaly and the higher the stability of the candidate non-slope sample.
[0032] Environmental consistency is based on Mahalanobis distance. First, principal component analysis is used to reduce the dimensionality of the environmental features of the landslide samples. Then, the mean vector of the landslide samples is estimated in the reduced dimensionality space. With covariance matrix For any candidate non-landslide sample Its environmental distance is defined as:
[0033] Finally, to avoid potential spurious negative samples that are too similar to the landslide environment, and extreme samples that are too different from the landslide environment from affecting the training effect, interval constraints are constructed based on the quantiles of the environmental distance distribution. Let... and These are the upper and lower quantile thresholds for the environmental distance distribution. Samples meeting the following conditions are retained:
[0034] After this constraint-based screening, a set of candidate samples that meet the constraint requirements is obtained. . To further calculate the sample confidence function, define... The normalized consistency index representing environmental distance relative to the intermediate interval is defined as follows:
[0035] in Environmental distance of non-landslide candidate points The closer This indicates that the higher the environmental consistency, The closer to or beyond the interval boundary, the lower the environmental consistency.
[0036] Based on the above environmental constraints, spatial constraints are introduced to further ensure the spatial rationality of the non-landslide samples. The landslide sample set is as follows: The candidate set of non-landslide samples after environmental constraint screening is as follows: , Indicates sample The spatial coordinates of any non-landslide sample candidate point. Calculate its spatial distance to the nearest landslide sample:
[0037] The spatial distance between a non-landslide sample and any landslide sample is not less than a preset buffer radius. Furthermore, the spatial distance between any two non-landslide samples is not less than the minimum spatial distance between negative samples. After spatial constraint screening, the final set of non-landslide samples is constructed. .
[0038] Simultaneously, to describe the reliability of spatial distances for non-landslide samples, a spatial normalization index is defined. Let...
[0039] Then any non-landslide sample The spatial distance normalization index is defined as follows:
[0040] in, To prevent extremely small constants with a denominator of zero.
[0041] In step 5, the following constraints are applied to the non-landslide candidate points in sequence: First, candidate points located within the radius of the landslide buffer zone are eliminated. Second, an anomaly detection model is introduced into the environmental feature space to eliminate sample points with abnormal environmental combinations or potential instability. Then, PCA is used to reduce the dimensionality of the environmental features, and the environmental distance between the non-landslide candidate samples and the landslide samples is calculated based on Mahalanobis distance. According to the spatial stratification rules of elevation, slope, and land use, the non-landslide candidate samples are stratified and balanced sampled, and the minimum spatial distance constraint is further applied. Finally, the confidence function of the non-landslide samples is calculated based on the above constraints.
[0042] To address the uncertainty of non-landslide samples, a sample confidence function is introduced:
[0043] in Normalized stability index representing the degree of anomaly. This represents a normalized consistency index indicating environmental distance relative to the intermediate interval. A normalized index representing the spatial distance between a sample and the nearest landslide point; These are the weighting coefficients for the corresponding indicators, which can be determined through methods such as empirical pre-setting, grid search, and cross-validation. (The last part, "satisfying," appears to be an unrelated fragment and is left untranslated.)
[0044] In the embodiment, it is set Finally, a weighted training sample set is constructed:
[0045] The landslide sample weights are taken as follows: The weights of non-slope samples are determined by the confidence function.
[0046] In step 6, the study area is divided into spatial sub-regions according to a preset spatial scale, and cross-validation is performed using these sub-regions as grouping units to achieve spatial independence between the training and test sets. Let the coordinates of the sample points be... The sample point set in the study area is The minimum value of the coordinates of the sample points in the study area is taken as the origin of the grid, i.e. , , Given spatial partitioning scale Map each sample point to a two-dimensional network index:
[0047] Encode the two-dimensional network index into a one-dimensional spatial group identifier: , where M is a sufficiently large constant.
[0048] make This is a set of sample indexes, where each sample has a spatial grouping identifier. Let the set of all different spatial groups be denoted as Cross-validation folds ,in To determine the maximum number of folds, in the k-th fold, the training and test sets are divided into spatial groups, ensuring that the spatial grouping of any test sample does not appear in the training set.
[0049] This partitioning is equivalent to the constraints of GroupKFold:
[0050] In the k-th fold, fit the classification model using the training set. ,train:
[0051] in, For feature vectors, For tags, For sample weights, For classification loss function, Let be the set of test samples at the k-th fold. Let be the training sample set at the k-th fold.
[0052] Output the positive class probability for the test set. : , Then calculate the ROC-AUC of this fold: . Finally, summing the K-fold AUCs, we get:
[0053]
[0054] In the above scheme, step 7, based on the above sample construction and spatial cross-validation framework, uses the model's performance index under spatial cross-validation as the objective function, which is defined as:
[0055] in Indicates the combination of parameters used to construct the sample. This is a stability penalty coefficient. This represents the average AUC under spatial cross-validation. The AUC is a compromise for each spatial cross-validation.
[0056] The following are examples: This invention provides a landslide susceptibility analysis method based on spatial constraints and optimized landslide sample construction parameters, comprising the following steps: Step 1: Collect basic geographic data, landslide point vector data, and 24 environmental factor raster data for a study area. The basic geographic data refers to the vector data defining the spatial extent of the study area. The landslide point vector data refers to the location data of landslide events that have occurred within the study area. The environmental factor data includes raster data on topography, hydrology, human activities, and other factors that influence landslide occurrence. Using QGIS, unify the coordinate system of the vector and raster data to the National Geodetic Coordinate System CGCS2000 (EPSG:4547), standardize the resolution to 30m, and ensure consistency with the study area boundary clipping. Place the processed data in the same folder for unified management.
[0057] The environmental factors are shown in the table below:
[0058] Step 2: After completing the unified data processing, select any environmental factor raster as a reference raster. Use the cell structure of this reference raster as the basis for regular sampling. Based on the cell center position of the reference raster, generate regular grid points throughout the entire study area according to a preset step size (used to control the spatial density of candidate sample points, reducing computational complexity while ensuring spatial coverage; in this example, the preset step size is 10). Subsequently, spatially clip the generated regular grid points to the boundary of the study area, retaining only the grid points located within the study area, thereby constructing a pool of non-slope candidate sample points within the study area. This pool of candidate sample points only represents the spatial locations that can potentially serve as non-slope samples and is not directly used as training samples. Through the above operations, a set of non-slope candidate points that covers the entire study area, is spatially uniformly distributed, and is strictly aligned with the environmental factor raster is formed.
[0059] Step 3: Perform the same raster sampling on both the candidate point pool and the landslide points to extract the environmental features (i.e., the corresponding pixel values) corresponding to each point, including but not limited to elevation, slope, curvature, topographic relief, topographic humidity index, and land cover type, to form a feature matrix with a unified latitude. This ensures the consistency of the feature space between positive and negative samples. The extraction results are then checked for validity, and invalid values, missing values, and sample points that exceed the study area are removed to avoid interference from invalid data in subsequent operations. Finally, a complete spatially unified candidate landslide sample feature matrix is formed.
[0060] Step 4: Since the subsequent sampling and parameter optimization steps involve a large number of repetitive experiments, this example uses structured storage for candidate sample coordinates, environmental feature matrices, and landslide sample-related data. This includes caching four types of numerical matrices: candidate point coordinate arrays, candidate point feature matrices, landslide point coordinate arrays, and landslide point feature matrices. It also saves the point set information and environmental factor names. This caching mechanism significantly reduces redundant calculations and improves model efficiency when constructing samples under different parameter combinations.
[0061] Step 5: In this embodiment, the sample construction parameters include: landslide buffer radius, ratio of non-landslide to landslide samples, proportion of abnormal samples, upper and lower limits of environmental feature probability threshold, and minimum spatial distance of negative samples. These parameters are dynamically adjusted as a joint optimization parameter combination in Step 7. Specifically, the buffer radius is used to divide the space between landslide points and non-landslide samples; the ratio of non-landslide to landslide samples is used to control the size of non-landslide samples; the proportion of abnormal samples is used to control the screening intensity of the anomaly detection model; the upper and lower limits of the environmental feature probability threshold are used to control the consistency interval of non-landslide samples in the environmental feature space; and the minimum spatial distance parameter of negative samples is used to avoid the problem of excessively close spatial distances between non-landslide samples. Based on the above parameter combination, the following screening operations are performed sequentially on the cached set of non-landslide candidate sample points: First, candidate points located within the landslide point buffer radius are removed to reduce the risk of potential false negative samples entering the training set. Second, an Isolation Forest anomaly detection model is introduced into the environmental feature subspace to perform anomaly screening on candidate points, removing sample points with significantly abnormal environmental combinations or potential instability. Based on the removal of outlier samples, dimensionality reduction is first performed using PCA based on the environmental feature distribution of landslide samples. Then, the environmental distance between non-landslide candidate samples and landslide samples is calculated using Mahalanobis distance. According to a preset probability threshold range, only sample points with environmental distances within the middle range are retained, thus simultaneously eliminating potential spurious negative samples that are too close to the landslide environment and samples with extreme environmental characteristics. After satisfying the environmental constraints, stratified balanced sampling of non-landslide candidate samples is performed according to spatial stratification rules based on elevation, slope, and land use classifications. A minimum spatial distance constraint is further applied to construct a spatially distributed set of non-landslide samples, and the confidence function of the non-landslide samples is calculated based on the above three operations. Finally, the selected non-landslide samples and their confidence functions, together with the landslide samples, form the training sample set (the weight of landslide samples is 1, and the weight of non-landslide samples is determined by the confidence function).
[0062] Step 6: In this embodiment, the study area is divided into multiple spatial sub-regions, and a spatial cross-validation framework is constructed based on these sub-regions. Specifically, according to the spatial coordinates of the sample points and the preset spatial partitioning scale, the study area is divided into several spatial sub-regions, and a corresponding spatial sub-region identifier is assigned to each sample point. During model training and validation, cross-validation is performed using spatial sub-regions as grouping units, ensuring that the sub-region containing the test set samples in any cross-validation compromise is completely independent of the sub-region containing the training set samples, thereby guaranteeing the spatial independence of training and test samples. This approach effectively avoids the overestimation of model performance caused by spatial autocorrelation bias in traditional random cross-validation.
[0063] Step 7: Within the spatial cross-validation framework of Step 6, the performance metrics of the model under spatial cross-validation conditions are used as the objective function. The sample construction parameters from Step 5 are jointly optimized using a two-stage Bayesian intelligent optimization algorithm. This algorithm automatically searches and selects the optimal parameter combinations within the given parameter space. The first stage of the search involves a large-scale search of the parameter space to find potentially optimal regions. The second stage refines the search by narrowing the search space around the potentially optimal regions obtained in the first stage, thus avoiding getting trapped in local optima. The overall performance of the model under different parameter combinations is evaluated by weighting the mean and dispersion of each performance metric in spatial cross-validation. This approach effectively relies on experience to set sample construction parameters, improving the objectivity and repeatability of the method.
[0064] Step 8: Using the optimal parameter combination obtained in Step 7, reconstruct the complete training sample set and train the landslide susceptibility analysis and prediction model using the XGBoost model. After training, apply the model to the entire environmental factor space of the study area, output the landslide occurrence probability value for each grid cell, and generate the spatial distribution results of landslide susceptibility in the study area (e.g., ...). Figure 2 It is used for landslide risk zone delineation, engineering site selection analysis, and disaster prevention and control decision support.
[0065] The spatial distribution results of landslide susceptibility output based on the above steps are as follows: Figure 2 As shown, Figure 2The blue dots represent landslide sample points. The probability of landslide occurrence is divided into five levels from green to red, with red areas indicating high probability and green areas indicating low probability. Spatially, areas with low probability of landslide occurrence are mainly distributed in the loess plateau in the northern part of the study area, the gently sloping mountains and plateaus in the central-eastern and southwestern parts. These areas have small topographic relief, weak river network incision, and relatively good rock and soil integrity, resulting in poor landslide-prone conditions. Medium-prone areas are widely distributed in the transitional zones in the central, western, and northeastern parts of the basin. Due to the combined effects of gully erosion, small faults, and a certain level of human activity, the risk of landslide occurrence is at a moderate level. High-prone areas are mainly concentrated in historical landslide areas and along the deeply incised river valleys and plateau edges of the main stream and major tributaries in the study area, forming a strip-like distribution. These areas have steep slopes and fractured rock and soil. Due to the combined effects of rainfall infiltration, river lateral erosion, and engineering disturbances, the conditions for landslide triggering are relatively sufficient.
[0066] In summary, the landslide susceptibility level in the study area increases gradually from north to south and from plateau to river valley. The spatial distribution of high susceptibility areas is highly coupled with the distribution of steep topographic change zones, fault zones, river valley zones, and densely populated areas of human activity. This is consistent with the distribution characteristics of historical landslide points that have been obtained. This indicates that the susceptibility mapping results can reflect the spatial development pattern of landslide disasters in the study area and can provide a scientific basis for regional geological disaster prevention and control.
[0067] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0068] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0069] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A landslide susceptibility analysis method based on sample space construction and adaptive optimization, characterized in that, Perform the following steps using a computer device. S1. Acquire basic geographic data, landslide point data, and environmental raster data for the study area; and unify the spatial coordinate system and resolution of all acquired data to maintain spatial consistency. S2. Select any factor raster data in the environmental raster data as a reference raster, and generate regular grid points at the center of its pixels according to a preset step size; trim the regular grid points to the boundary of the study area to construct a pool of non-landslide sample candidate points. S3. Extract the pixel values of the multi-source environmental factor raster from the acquired landslide points and the non-landslide sample candidate points constructed above to form sample feature vectors; and remove abnormal samples containing invalid values to ensure the integrity of sample features. S4. Construct a sample dataset by structuring and storing the spatial coordinates of non-landslide candidate points, environmental feature matrix, and landslide sample-related data extracted from landslide point data. This dataset will be used for repeated calls under different parameter combinations to avoid redundant calculations. S5. Select the following sample construction parameters: landslide buffer radius, ratio of non-landslide to landslide samples, proportion of abnormal samples, upper and lower limits of environmental feature probability threshold, and minimum spatial distance of negative samples; and based on the above parameter combination, select non-landslide samples that meet the spatial and environmental constraints from the sample dataset, and construct the training sample set together with the landslide samples. S6. Divide the study area into multiple spatial sub-regions and construct a spatial cross-validation structure based on the spatial sub-regions to ensure the spatial independence of training samples and test samples. S7. Using the model performance index under spatial cross-validation as the objective function, jointly optimize the sample construction parameters in S5 and select the optimal parameter combination. S8. Train the landslide susceptibility analysis model based on the sample set constructed by the optimal parameter combination, and output the spatial distribution of landslide susceptibility in the study area.
2. The landslide susceptibility analysis method based on sample space construction and adaptive optimization according to claim 1, characterized in that: S5 also includes applying the following constraints sequentially to non-landslide sample candidate points: First, candidate points located within the radius of the landslide buffer zone are eliminated; Secondly, an anomaly detection model is introduced into the environmental feature space to remove sample points with abnormal environmental combinations or potential instability. Then, PCA is used to reduce the dimensionality of the environmental features, and the environmental distance between non-landslide sample candidate points and landslide samples is calculated based on Mahalanobis distance. According to the spatial stratification rules of elevation, slope and land use, stratified balanced sampling is performed on non-landslide sample candidate points, and minimum spatial distance constraints are further applied. Finally, the confidence function of non-landslide sample candidate points is calculated based on the above constraints.
3. The landslide susceptibility analysis method based on sample space construction and adaptive optimization according to claim 2, characterized in that: In step 7, the objective function is defined as: in Indicates the combination of parameters used to construct the sample. This is a stability penalty coefficient. This represents the average AUC under spatial cross-validation. The AUC is a compromise for each spatial cross-validation.
4. The landslide susceptibility analysis method based on sample space construction and adaptive optimization according to claim 3, characterized in that: In step 7, the parameters for constructing the samples in step 5 are jointly optimized. This includes using a two-stage Bayesian intelligent optimization algorithm to automatically search and select the parameter combination that makes the objective function optimal within a given parameter space. The first stage search is to search a wide range of parameter spaces to find the potentially optimal region. The second stage search is to refine the optimization by narrowing the search space near the potentially optimal region obtained in the first stage, thereby avoiding getting trapped in local optima. By weighting the mean and dispersion of each performance index in spatial cross-validation, the overall performance of the model under different parameter combinations is evaluated.
5. The landslide susceptibility analysis method based on sample space construction and adaptive optimization according to claim 1, characterized in that: In S3, to avoid unrecorded or potential landslide areas around landslide points being incorrectly labeled as non-landslide samples, sample point removal within the buffer radius involves constructing a buffer of radius r centered on each landslide point. Let the set of landslide points be... The set of candidate non-landslide points is Candidate points that meet the following conditions can enter the abnormal sample removal stage: in Represents the two-dimensional Euclidean distance. For the first One non-landslide sample candidate point For the first A landslide point This is the pool of candidate points for non-slope samples after the buffer has been removed; if the number of candidate points after removal is less than the target number of negative samples, then the current parameter combination is considered not to meet the sample construction conditions.
6. The landslide susceptibility analysis method based on sample space construction and adaptive optimization according to claim 5, characterized in that: In the S3 anomaly removal stage, the Isolation Forest anomaly detection model is used to further screen non-landslide candidate points and construct an anomaly degree function. It is used to characterize the degree of anomaly of candidate samples in a multidimensional environmental space; By randomly partitioning the feature space, the average path length required for a sample to be isolated is measured. Let the sample... The average path length in an isolated forest is Then its anomaly degree is defined as in For the sample size The expected path length normalization factor at that time For the sample Path length in an isolated forest; based on outlier threshold parameter. Remove samples with high anomalies and retain those that meet the criteria. Non-landslide sample candidate set : in, This is the initial set of candidate points for non-landslide samples. Candidate samples Anomaly degree, outlier threshold parameter Indirectly determined by the proportion of outlier samples in isolated forests. Defined as: in Represents the distribution of anomalies of candidate points in non-landslide samples. Quantiles Indicates passing through the objective function The optimal abnormal sample ratio parameter obtained through optimization; To describe the anomaly stability of non-landslide candidate points, the samples that pass the anomaly screening are normalized; let... Then any non-landslide sample The anomaly normalized stability index is defined as follows: in, To prevent extremely small constants with a denominator of zero; The larger the value, the lower the anomaly and the higher the stability of the candidate non-slope sample.
7. The landslide susceptibility analysis method based on sample space construction and adaptive optimization according to claim 2, characterized in that: Mahalanobis distance calculation involves first performing principal component analysis to reduce the dimensionality of the landslide sample's environmental characteristics, and then estimating the mean vector based on the landslide sample in the reduced dimensionality space. With covariance matrix For any candidate non-landslide sample Its environmental distance is defined as: Construct interval constraints based on the quantiles of the environmental distance distribution, and assume... and These are the upper and lower quantile thresholds for the environmental distance distribution. Samples meeting the following conditions are retained: After this constraint-based screening, a set of candidate samples that meet the constraint requirements is obtained. ; To further calculate the sample confidence function, define... The normalized consistency index representing environmental distance relative to the intermediate interval is defined as follows: in Environmental distance of non-landslide sample candidate points The closer This indicates that the higher the environmental consistency, The closer to or beyond the interval boundary, the lower the environmental consistency.
8. The landslide susceptibility analysis method based on sample space construction and adaptive optimization according to claim 2, characterized in that: Based on the environmental constraints in S5, spatial constraints are introduced to further ensure the spatial rationality of non-landslide samples; the landslide sample set is... The candidate set of non-landslide samples after environmental constraint screening is as follows: , Indicates sample Spatial coordinates; for any non-landslide sample candidate point Calculate its spatial distance to the nearest landslide sample: The spatial distance between a non-landslide sample and any landslide sample is no less than a preset buffer radius, and the spatial distance between any two non-landslide samples is no less than the minimum spatial distance between negative samples. After spatial constraint filtering, the final non-landslide sample set is constructed. ; Simultaneously, to describe the reliability of spatial distances for non-landslide samples, a spatial normalization index is defined; let... Then any non-landslide sample The spatial distance normalization index is defined as in, To prevent extremely small constants with a denominator of zero.
9. The landslide susceptibility analysis method based on sample space construction and adaptive optimization according to claim 2, characterized in that: S5 also includes a sample confidence function to address uncertainties in non-slope samples: in Normalized stability index representing the degree of anomaly. This represents a normalized consistency index indicating environmental distance relative to the intermediate interval. A normalized index representing the spatial distance between a sample and the nearest landslide point; These are the weighting coefficients for the corresponding indicators; satisfying... Finally, the weighted training sample set is constructed: The landslide sample weights are taken as follows: The weights of non-slope samples are determined by the confidence function.
10. The landslide susceptibility analysis method based on sample space construction and adaptive optimization according to claim 1, characterized in that: S6 also includes a spatial cross-validation method as follows: Let the coordinates of the sample points be... , The set of sample points in the study area is 2, 3...N. The minimum value of the coordinates of the sample points in the study area is taken as the origin of the grid, i.e. Given spatial partitioning scale Map each sample point to a two-dimensional network index: Encode the two-dimensional network index into a one-dimensional spatial group identifier: Where M is a constant; make This is a set of sample indexes, where each sample has a spatial grouping identifier. Let the set of all different spatial groups be denoted as Cross-validation folds ,in To determine the maximum number of folds, in the k-th fold, the training and test sets are divided into spatial groups, ensuring that the spatial grouping of any test sample does not appear in the training set. This partitioning is equivalent to the constraints of GroupKFold: In the k-th fold, fit the classification model using the training set. ,train: in, For feature vectors, For tags, For sample weights, For classification loss function, Let be the set of test samples at the k-th fold. Let k be the set of training samples at the k-th fold; Output the positive class probability for the test set. : Then calculate the ROC-AUC of this fold: Finally, summing up the K-fold AUCs, we get: 。
