A sand liquefaction discrimination method based on CPTU and weighted nonlinear similarity degree
By introducing weighted nonlinear similarity and uncertainty quantification into the sand liquefaction discrimination, the accuracy and transparency issues of existing methods are resolved, achieving high-precision and interpretable sand liquefaction discrimination, and improving the model's credibility and the safety of engineering applications.
Patent Information
- Application Number
- CN202511500900.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-21
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2045-10-21
AI Technical Summary
Existing methods for identifying sand liquefaction have problems such as insufficient prediction accuracy, opaque model decision-making process, and lack of uncertainty assessment of results. Traditional empirical methods are highly subjective, while machine learning models rely on numerical models and have obvious black-box characteristics.
A weighted nonlinear similarity method based on CPTU data is adopted. By calculating feature weights and prototype vectors, a radial basis kernel function that integrates weights is constructed. The uncertainty is quantified by combining information entropy theory, so as to achieve high-precision and interpretable sand liquefaction discrimination.
It improves the accuracy and interpretability of sand liquefaction identification, quantifies the uncertainty of the identification results, enhances the credibility and reliability of the model, and supports the scientific and safe nature of engineering decision-making.
Smart Images

Figure CN120974283B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of sand liquefaction and artificial intelligence, and particularly relates to a sand liquefaction probability determination method. BACKGROUND
[0002] Sand liquefaction is one of the main geological disasters induced by earthquakes, which refers to the phenomenon that saturated loose sand turns from solid to liquid state due to the rapid rise of pore water pressure and significant reduction of effective stress under the action of seismic load. In the sand liquefaction area, phenomena such as sand spraying and water spouting, ground subsidence, uneven settlement of buildings, tilting and even overall collapse, and floating of underground facilities often occur, which causes large-scale damage to land and existing infrastructure and results in unpredictable losses. Therefore, how to quickly and accurately determine the liquefaction potential of sand has become one of the most challenging problems in the field of rock and earthquake engineering, and has important practical significance for site seismic safety evaluation, major project site selection and seismic fortification.
[0003] At present, the determination methods of sand liquefaction mainly include two categories. One is the traditional empirical method, represented by the Seed simplified method. The ratio of cyclic shear stress ratio (CSR) and soil anti-liquefaction strength ratio (CRR) is used as the liquefaction safety factor, and the sand liquefaction is determined by establishing an empirical curve. CSR is usually calculated by theoretical formula or numerical simulation, and CRR is determined by physical test or in-situ test. The advantages of this method are clear physical concept and simple calculation, and it is widely accepted in the field of rock and earthquake engineering. The disadvantages are as follows: 1) the empirical chart is based on the summary of specific historical earthquake data, and the generalization ability and accuracy are limited; 2) it is usually based on a single index (such as standard penetration blow count N , cone tip resistance q c ), which cannot fully utilize the multi-parameter data provided by modern cone penetration test (CPTu); 3) the determination process relies on manual chart checking, which has strong subjectivity and is difficult to automate.
[0004] The other is the data-driven method represented by machine learning, such as logistic regression, support vector machine (SVM), random forest and XGBoost algorithm, which are widely used in liquefaction determination. This kind of method can learn complex nonlinear patterns from a large amount of data and make judgments by integrating multiple features. The accuracy is often better than that of the empirical method. For example, the invention patent with the application number CN202510231063.6 discloses a method and system for determining the liquefaction of sand in geotechnical engineering. This method is based on the combination of numerical simulation and field test verification, and has certain physical basis, but still has the following defects:
[0005] 1) Severe dependence on numerical models, which are based on physical assumptions and simplifications, deviating from the actual complex site conditions. Model correction relies on field data, but the parameter correction process is highly subjective, and the nonlinear behavior of the soil cannot be fully captured, affecting the accuracy of the discrimination.
[0006] 2) Numerical simulation completely relies on "black box" equations for solution, and the decision-making process and mechanism are difficult to trace, making it difficult for engineers to understand why a particular area is identified as a liquefaction high-risk area, reducing the credibility of the model.
[0007] 3) Ignoring uncertainty, only output deterministic results (such as pore pressure ratio, shear strain), unable to quantify the confidence level of the prediction results, which is a fatal shortcoming for high-risk engineering decisions. SUMMARY
[0008] To solve the limitations of current sand liquefaction discrimination methods in terms of insufficient prediction accuracy, opaque model decision-making process, and lack of uncertainty evaluation in the results, a new sand liquefaction discrimination method is proposed. This method combines multi-source features and machine learning technology, taking into account high-precision prediction, strong interpretability, and complete uncertainty quantification, aiming to effectively bridge the gap between sand liquefaction theory, in-situ test data, and machine learning practical applications.
[0009] The purpose of the present invention can be achieved by the following technical solutions:
[0010] A sand liquefaction discrimination method, comprising the following steps:
[0011] S1, collecting CPTU data of liquefied and non-liquefied sand, and calculating the cyclic stress ratio CSR as a derived feature;
[0012] S2, pre-processing and standardizing the data, and dividing it into a training set and a test set;
[0013] S3, based on the training set, calculating the prototype vector of the liquefaction category and the non-liquefaction category, respectively;
[0014] S4, based on the training set and the prototype vector, by analyzing the influence of each feature value disturbance on the similarity between the sample and the prototype vector, calculating the weight corresponding to each feature to quantify its importance to liquefaction discrimination;
[0015] S5, constructing a weighted radial basis kernel function that integrates the weights, calculating the nonlinear similarity between the to-be-tested sample and the liquefaction and non-liquefaction prototype vectors, and converting it into a liquefaction probability;
[0016] S6, uncertainty quantification: based on the liquefaction probability output result, using information entropy to calculate the confidence of each prediction, realizing the quantitative evaluation of the uncertainty of the discrimination result.
[0017] Further, in step S5, the expression for the weighted radial basis kernel function is:
[0018]
[0019] Where ⊙ represents element-wise multiplication, γ is the bandwidth parameter of the RBF kernel, w is the feature weight calculated by S4, X is the sample to be tested, and P is the prototype vector.
[0020] Furthermore, in step S5, the probability of liquefaction is converted using the Softmax function:
[0021]
[0022] P (y = non-liquefied - X) = 1 - P (y = liquefaction - X)
[0023] In the formula, y represents the binary classification result of sand liquefaction, that is, the two results corresponding to sample X: liquefaction or non-liquefaction. This is the feature weight vector for the liquefaction category. For the feature weight vector of the non-liquefiable category, This is the prototype vector for the liquefaction category. This is the prototype vector for the non-liquefied category.
[0024] Furthermore, in step S3, the formula for calculating the prototype vector is as follows:
[0025] P 液化 =
[0026] P 非液化 =
[0027] Where P is the prototype vector. and These are the number of samples in two categories. It is the standardized sample feature vector.
[0028] Furthermore, in step S4, the specific steps for calculating the weight corresponding to each feature include:
[0029] a. Apply a small perturbation Δ to the j-th feature;
[0030] b. For each sample within the category Calculate the cosine similarity change ΔSimlarity between feature j and the corresponding class prototype vector P before and after feature j is perturbed.
[0031] c. Calculate the average similarity change ΔSimlarity-P for all samples on feature j;
[0032] d. According to the formula Calculate the final weight of feature j, where α is the weight amplification factor.
[0033] Furthermore, in step S1, the formula for calculating the liquefaction-derived parameter cyclic stress ratio (CSR) is as follows:
[0034] CSR=0.65 r d ( () )
[0035] Furthermore, after step S6, a hyperparameter optimization step is also included: using a Bayesian optimization algorithm, with the average AUC value of K-fold cross-validation as the performance index, the optimal combination of kernel width parameter γ and weight amplification factor α is automatically searched and determined.
[0036] The beneficial effects of this invention are:
[0037] 1. This invention effectively addresses the inherent shortcomings of traditional empirical methods, such as strong subjectivity, and black-box models in machine learning. Compared to empirical methods based on the Seed formula, this invention possesses stronger nonlinear mapping capabilities and higher discrimination accuracy. Compared to existing machine learning models, this invention provides clear physical meaning and decision-making logic through prototype vectors and feature weight matrices, greatly enhancing the interpretability and credibility of the model and overcoming the difficulty of trusting black-box models in engineering applications.
[0038] 2. This invention proposes a nonlinear similarity measurement method based on a weight matrix. By introducing a feature weight matrix and deeply fusing it into a radial basis function (RBF) kernel, a transformation from simple "directional similarity" (cosine similarity) to "weighted spatial proximity" is achieved. This core innovation enables the model to accurately capture the contribution of different features to the liquefaction discrimination difference while maintaining the powerful performance of nonlinear classification, thus achieving the best balance between interpretability and accuracy.
[0039] 3. This invention is the first to quantify the uncertainty of sand liquefaction discrimination results. It innovatively introduces information entropy theory to transform the probability distribution of the model output into an intuitive confidence index. This index can effectively identify and quantify the uncertainty of prediction results, providing crucial risk warning information and supporting the differentiation between deterministic predictions and questionable judgments in major engineering decisions, significantly improving the safety and reliability of AI-based discrimination methods. Attached Figure Description
[0040] The invention will now be further described with reference to the accompanying drawings.
[0041] Figure 1 This is a flowchart of the sand liquefaction discrimination method based on weighted nonlinear similarity and uncertainty quantification of the present invention;
[0042] Figure 2 This invention provides 3D feature distribution of CPTU data for liquefied and non-liquefied sand. Figure 1 ;
[0043] Figure 3 This invention provides 3D feature distribution of CPTU data for liquefied and non-liquefied sand. Figure 2 ;
[0044] Figure 4 This invention provides 3D feature distribution of CPTU data for liquefied and non-liquefied sand. Figure 3 ;
[0045] Figure 5 This is a heatmap of the feature weights of CPTU data for liquefied and non-liquefied sand in this invention;
[0046] Figure 6 This is the Bayesian algorithm optimization process of the present invention;
[0047] Figure 7 This is the confusion matrix result of the test set of this invention;
[0048] Figure 8 This invention provides a test map of the probability distribution of sand liquefaction.
[0049] Figure 9 This is a confidence analysis diagram of the probability of soil liquefaction in the test set of this invention. Detailed Implementation
[0050] 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 only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0051] refer to Figure 1This invention proposes a method for sand liquefaction discrimination based on weighted nonlinear similarity and uncertainty quantification. This method constructs prototype vectors for sand liquefaction and non-liquefaction categories based on pore pressure static cone penetration test (CPTU) data. It uses a unit increment method to calculate the global feature weight matrix, quantifying the contribution of each feature to the discrimination result. A radial basis function (RBF) kernel function that fuses feature weights is designed, transforming the similarity measurement between the test sample and the prototype vector from "directional similarity" to "weighted spatial proximity." A Bayesian optimization algorithm is used to automatically search for optimal kernel parameters and weight amplification factors, aiming to maximize the AUC value of the five-fold cross-validation. The liquefaction probability is output through the Softmax function, and information entropy theory is innovatively introduced to quantify the prediction confidence level, significantly improving the interpretability, accuracy, and reliability of sand liquefaction discrimination. Specifically, it includes:
[0052] I. Collect CPTU data on soil liquefaction in the earthquake zone. Based on the Seed simplified formula, calculate the liquefaction-derived parameter, cyclic stress ratio (CSR), as follows:
[0053] CSR=0.65 r d ( () )
[0054] II. Data Preprocessing and Z-score Standardization: To eliminate the influence of different feature dimensions and orders of magnitude, making model training more stable, the preprocessed data is divided into training and test sets. Based on the training set, the feature prototype vector for each soil type is calculated, see... Figure 2 , Figure 3 and Figure 4 .
[0055] The data preprocessing and Z-score standardization formulas are as follows:
[0056] X scaled =
[0057] in, μ It is the characteristic mean. σ It is the characteristic standard deviation.
[0058] III. Based on the training set, calculate the prototype vector and find the "center" representative of each class (liquefied / non-liquefied) in the feature space, i.e., the prototype vector P, see [link to documentation]. Figure 5 The calculation formula is as follows:
[0059] P 液化 =
[0060] P 非液化 =
[0061] Where P is the prototype vector. and These are the number of samples in two categories. It is the standardized sample feature vector. This prototype represents the statistical center of this category in the training dataset. It is a representative concept supported by actual data, rather than a mathematical abstraction, which makes the entire model's decision-making process very easy to understand and interpret.
[0062] Furthermore, this invention directly uses the "arithmetic mean of the feature vectors of all samples within the liquefied and non-liquefied ranges" as the prototype vector. The calculation formula is concise and clear. The mean calculation process is simple, requires no iteration, has high computational efficiency, and produces stable results, unlike some clustering algorithms that get stuck in local optima or are sensitive to initial values.
[0063] IV. Based on cosine similarity, feature weights and weighting factors are calculated to quantify the importance or sensitivity of each feature in distinguishing between two types of liquefaction. The higher the weight, the greater the impact of a small change in the feature value on the similarity between the sample and the prototype, i.e., the more important the feature.
[0064] The steps for calculating feature weights and weight factors based on cosine similarity are as follows:
[0065] a. Unit increment: Apply a small perturbation Δ to the j-th feature (Δ in the algorithm) j =0.1);
[0066] b. Calculate similarity change: For each sample within both classes... Calculate the cosine similarity change and similarity change between the vector P and the prototype vector P before and after the perturbation.
[0067] Simlarity P) =
[0068] Δ Simlarity =Simlarity( Δ, P) - Simlarity ( (P)
[0069] c. Calculate the average change Δ Simlarity-P : Calculate the average of the similarity changes of all samples on the j-th feature;
[0070] d. Determine the weights: Amplify the average change and map it to a reasonable range to obtain the final weight calculation function for this feature. ;
[0071]
[0072] in, It is an amplification factor.
[0073] The weight amplification factor α is a global optimization parameter used to uniformly control the scaling magnitude and degree of difference of all feature importance weights. The liquefied prototype weight vector and the non-liquefied prototype weight vector are calculated and generated by the same amplification factor α based on the similarity changes of their respective intra-class samples, thereby ensuring the comparability of the two weight systems and simplifying the hyperparameter optimization process.
[0074] This invention determines feature weights through a dynamic perturbation strategy, which directly measures the sensitivity of a feature to similarity calculation. Specifically, by applying a small perturbation to each feature and precisely observing the average magnitude of the change in similarity between the sample and the prototype vector, the weight is defined as a function of this change. This mechanism ensures that the model can keenly capture the relative importance of different features in the discrimination, rather than merely their static numerical statistics.
[0075] V. By incorporating the weight matrix into the distance metric, a radial basis function (RBF) kernel function that fuses feature weights is designed to calculate the nonlinear similarity between the test sample and the two prototype vectors, and then converted into liquefaction probability. Details are as follows:
[0076] a. Design of the weighted RBF kernel function:
[0077]
[0078] Where ⊙ represents element-wise multiplication (Hadamard product), γ is the bandwidth parameter of the RBF kernel, w is the feature weight vector calculated by S4, X is the sample to be tested, and P is the prototype vector.
[0079] The value of γ determines the rate at which similarity decays with distance. A larger γ value results in a "narrower" kernel function, meaning only samples very close to the prototype are considered highly similar, leading to a more complex model decision boundary and a higher risk of overfitting. Conversely, a smaller γ value results in a "wider" kernel function, allowing for higher similarity even with samples at greater distances, resulting in a smoother model decision boundary and a higher risk of underfitting.
[0080] Traditional RBF kernel functions use Euclidean distance, which implicitly assumes that all feature dimensions contribute equally to the distance. This is clearly not in line with engineering practice. For example, in sand liquefaction assessment, a small change in the cyclic stress ratio (CSR) may be far more significant than a similar change in depth. Directly modifying the distance formula easily compromises the mathematical properties of the kernel function, and a key challenge lies in how to reasonably and effectively integrate the calculated feature weights (a set of scalars).
[0081] To address the above, this invention introduces the concept of "weighted Euclidean distance," transforming the distance formula from ||XP|| to ||W⊙XP||, thereby achieving scaling of the feature dimension according to feature weights. It successfully integrates the feature weight matrix, which has clear physical meaning and is obtained based on cosine similarity perturbation analysis, into the metric space of the nonlinear RBF kernel function, achieving a fundamental shift from "equal measurement" to "differentiation-sensitive measurement."
[0082] The calculated weighted similarity is an absolute value. How can it be transformed into a probability value between 0 and 1 that intuitively reflects the possibilities of "liquefaction" and "non-liquefaction"? Furthermore, it must be ensured that this probability is comparable and meaningful between the two classes. This invention uses the Softmax function to normalize the two weighted similarities.
[0083] b. Use the Softmax function to output the liquefaction probability.
[0084]
[0085] P (y = non-liquefied - X) = 1 - P (y = liquefaction - X)
[0086] The liquefaction probability of a sample depends not only on its proximity to the "liquefaction prototype" but also on its distance from the "non-liquefaction prototype." If a sample is far from both prototypes, Softmax will give an uncertain probability close to 0.5; if a sample is very close to the liquefaction prototype and far from the non-liquefaction prototype, it will give a high liquefaction probability close to 1. Furthermore, optimal feature weight vectors are calculated separately for the "liquefaction" and "non-liquefaction" classes. This means that when measuring the similarity of a sample to the liquefaction prototype, the feature weights most relevant to the liquefaction class are used; when measuring the similarity to the non-liquefaction prototype, the feature weights most relevant to the non-liquefaction class are used. This makes the comparison more fair and accurate.
[0087] VI. Confidence assessment based on information entropy is used to evaluate the reliability of each prediction made by the liquefaction assessment model, increasing the algorithm's credibility and practicality. The details are as follows:
[0088] a. Information entropy: measures the uncertainty of a probability distribution;
[0089] H (P) =
[0090] Where P(liquefied, non-liquefied) is the predicted probability vector, and T=2
[0091] b. Normalized confidence level: H max=log2( T The confidence level of 1 represents the maximum entropy for a binary classification problem. The closer the confidence level is to 1, the more certain the prediction is.
[0092] The information entropy H (P) can distinguish between high-confidence deterministic predictions and low-confidence uncertain predictions, avoid blindly trusting unreliable prediction results, and is deeply integrated with the core algorithm (weighted nonlinear similarity + softmax probability function) to form a unified probability-confidence evaluation system, which enhances the interpretability and credibility of the model and realizes the quantitative measurement of the reliability of prediction results.
[0093] The applicant discovered that simply weighting by distance can distort the feature space. If the weights are set improperly, it can disrupt the data's inherent distribution structure, leading to uncontrolled model complexity—either becoming overly complex and overfitting the training data, or becoming too smooth and underfitting, failing to capture key nonlinear boundaries. This invention uses a "Bayesian hyperparameter optimization framework" to simultaneously and automatically optimize two key parameters: the kernel parameter γ and the weight amplification factor α. By placing α and γ within the same optimization framework, the algorithm automatically finds the optimal balance between them. This allows the model to adaptively adjust its "complexity" and "dependence on feature weights," achieving an optimal balance between the high precision potential brought by introducing weights and the model's generalization ability, ensuring that the final discrimination model is both powerful and robust. The specific steps are as follows:
[0094] a. Optimization definition of the width parameter γ and characteristic weight amplification factor α of the weighted radial basis (RBF) kernel function;
[0095] b. Find the optimal combination of hyperparameters λ = (γ, α) such that the objective function f ( λ ) minimize;
[0096] λ =min f ( λ ) λ ∈Λ
[0097] Where Λ represents the hyperparameter search space; f (λ) is the objective function constructed based on K-fold cross-validation (K=5 in this invention), and its value is the negative average AUC, i.e. f (λ) = −AUC CV ( λ Maximizing the cross-validation AUC is equivalent to minimizing this objective function.
[0098] c. Construct a proxy model and use a Gaussian process to model the unknown objective function. f(λ) Modeling is performed. The Gaussian process provides a prediction of the function value (mean) and a measure of uncertainty (variance) for each point in the entire search space through the combination of hyperparameters of the evaluated points and their objective function values;
[0099] d. Design the sampling function, using the Expectation Boosting (EI) function. The EI function trades off sampling in regions where the surrogate model's prediction function value is low (good performance) and sampling in regions where the surrogate model's uncertainty is high.
[0100] e. Iterative evaluation and model update: Finally, from all evaluated hyperparameter combinations, the combination with the smallest objective function value, λ=(γ, α), is selected as the global optimal hyperparameter for the final output.
[0101] like Figure 6 As shown, the Bayesian optimization convergence curve reveals that after the initial few iterations, the AUC value rapidly increases to a very high level, demonstrating its "efficiency." As iterations continue, the AUC value stabilizes at a high level with minimal fluctuations, proving that it "precisely" found the performance peak, rather than oscillating back and forth. The AUC value to which the curve finally converges represents the known or achievable top performance for this problem, indicating that it has found a globally optimal or near-optimal solution, rather than getting trapped in a local optimum.
[0102] Figure 7 The calculation results of the test set data of this invention are presented. The confusion matrix shows that the sand liquefaction discrimination method provided by this invention maintains high accuracy while paying particular attention to engineering safety. The low false negative rate (only 4 liquefaction samples were missed) indicates that the method can effectively identify liquefaction risks and avoid engineering safety hazards caused by missed detections. At the same time, the high accuracy ensures the reliability of the discrimination results, providing a reliable technical basis for engineering design. The various calculation indicators of the model are shown in Table 1. In the calculation results of this invention, the core indicator AUC of the model reaches 0.97 and the accuracy rate is over 90%, which strongly proves that it achieves a balance without sacrificing accuracy while introducing interpretable components.
[0103] Table 1 shows the calculation results of the test set data for the method of this invention.
[0104]
[0105] like Figure 8 , Figure 9As shown, the reliability and stability of the computational model are evaluated using test set data. The output 3D feature distribution map visually presents the spatial distribution patterns of liquefied and non-liquefied samples and prototypes; the output feature weight heatmap quantitatively reveals the contribution and importance ranking of each feature to the discrimination results; the output confidence analysis chart quantifies and displays the uncertainty distribution of the model's prediction results; based on the model performance, rigorous evaluation through cross-validation and independent test sets, and comprehensive quantification using indicators such as accuracy, precision, recall, F1 score, and AUC, a reliable evaluation system with high-precision probability discrimination results and uncertainty metrics is output.
[0106] This invention provides a paradigm-innovative method for identifying sand liquefaction in marine geotechnical exploration, evolving sand liquefaction identification from experience-based to a data-driven "science," thus achieving transparency and intelligence in exploration decision-making. Regarding early-stage design safety, the model outputs liquefaction probability and innovatively introduces a confidence level index. This represents a leap from qualitative "yes / no" judgments to quantitative assessments of "how great the risk is and how certain it is." A tiered strategy is implemented for regions with different probabilities and confidence levels, thereby precisely managing risks and avoiding over-design or safety hazards. In terms of efficiency and cost, this method achieves "second-level" rapid assessment, far exceeding the efficiency of numerical simulations that take weeks. More importantly, it can accurately identify high-risk and high-uncertainty areas based on preliminary exploration results, guiding subsequent "targeted" exploration drilling, solving the most critical problems with the fewest boreholes, significantly optimizing exploration plans, and saving substantial time and economic costs. In terms of the identification method, this invention opens the "black box" of machine learning models. By using prototype vectors and feature weights, the decision-making process becomes transparent, traceable, and in line with engineering intuition, greatly enhancing the credibility and acceptability of artificial intelligence in major engineering projects. Therefore, this invention transforms scarce marine exploration borehole data into highly reliable risk probabilities, serving as a key tool for realizing the digital and intelligent transformation of marine engineering survey and design, and is of strategic significance for ensuring the long-term safety and economic benefits of major national marine infrastructure.
[0107] The foregoing has provided a detailed description of one embodiment of the present invention, but this description is merely a preferred embodiment and should not be construed as limiting the scope of the invention. All equivalent variations and modifications made within the scope of the claims of this invention should still fall within the patent coverage of this invention.
Claims
1. A sand liquefaction discrimination method based on CPTU and weighted nonlinear similarity, characterized by, The method comprises the following steps: S1, collecting liquefaction and non-liquefaction CPTU data of sandy soil, and calculating a cyclic stress ratio (CSR) as a derived feature; S2, preprocessing and standardizing the data, and dividing the data into a training set and a test set; S3, calculating a prototype vector of a liquefaction category and a non-liquefaction category based on the training set; S4, based on the training set and the prototype vector, calculating a weight corresponding to each feature by analyzing the influence of a disturbance of each feature value on the similarity between a sample and the prototype vector, so as to quantify the importance of the feature to liquefaction discrimination; The specific steps of calculating the weight corresponding to each feature comprise: a, applying a small disturbance Δ to the jth feature; b. For each sample within a class , calculate the change in cosine similarity with the prototype vector P of the corresponding class before and after the feature j is perturbed ; c. Calculate the average similarity change value of all samples on feature j ; d. According to the formula Calculate the minimum weight of feature j, where a is the weight amplification factor. S5, constructing a weighted radial basis kernel function fused with the feature weight, calculating a nonlinear similarity between a to-be-detected sample and a liquefaction prototype vector and a non-liquefaction prototype vector, and converting the similarity into a liquefaction probability; The expression of the weighted radial basis kernel function is as follows: K(X, P, w) = 1 - (X - P)2 / w2 where ⊙ represents element-wise multiplication, γ is a bandwidth parameter of the RBF kernel, w is the feature weight calculated in S4, X is the to-be-detected sample, and P is the prototype vector; S6, uncertainty quantification: based on the liquefaction probability output result, calculating the confidence of each prediction by using information entropy, and realizing quantitative evaluation of the uncertainty of the discrimination result.
2. The sand liquefaction discrimination method based on CPTU and weighted nonlinear similarity degree according to claim 1, characterized in that, In the step S5, the liquefaction probability is converted by using a Softmax function: P(y=liquefaction-X)= P (y = non-liquefaction-X) = 1-P (y = liquefaction-X) where y is a binary classification result of sand liquefaction, is a feature weight vector for the liquefaction category, is a feature weight vector for the non-liquefaction category, is a prototype vector for the liquefaction category, is a prototype vector for the non-liquefaction category.
3. The sand liquefaction discrimination method based on CPTU and weighted nonlinear similarity degree according to claim 1, characterized in that, In the step S3, the prototype vector is calculated according to the following formula: P 液化 = P 非液化 = where P is the prototype vector, With are the number of samples in the two classes, respectively, is the normalized sample feature vector.
4. The sand liquefaction discrimination method based on CPTU and weighted nonlinear similarity degree according to claim 1, characterized in that, In step S1, the cyclic stress ratio (CSR) of the liquefaction-derived parameter is calculated using the following formula: CSR = 0.65r d ( () ), where r d Let a be the stress reduction factor. max σ is the peak ground acceleration, g is the gravitational acceleration, and σ is the peak ground acceleration. v and σ v 'These represent the total overburden stress and the effective overburden stress, respectively.
5. The sand liquefaction discrimination method based on CPTU and weighted nonlinear similarity degree according to claim 1, characterized in that, After the step S6, a hyperparameter optimization step is further included: a Bayesian optimization algorithm is adopted, the average AUC value of K-fold cross-validation is taken as a performance index, and the optimal combination of a kernel width parameter γ and a weight amplification factor α is automatically searched and determined.
Citation Information
Patent Citations
Geotechnical engineering earthquake sand liquefaction discrimination method and system
CN119717009A
Explanatable Transform medical diagnosis method based on prototype learning
CN120280122A
Dynamic response time space reconstruction device
JP2020012362A