Underwater heat flow spatial prediction method based on directed reward adaptive ensemble learning

By employing a directed reward adaptive ensemble learning method, the problems of data sparsity and heterogeneity of tectonic units in seafloor heat flow prediction are solved, achieving high-precision and stable heat flow prediction and adapting to the heat flow master control mechanism of different tectonic units.

CN122863249BActive Publication Date: 2026-11-24HUNAN UNIV OF SCI & TECH SANYA RES INST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611349124.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-09-02
Publication Date
2026-11-24
Estimated Expiration
2046-09-02

AI Technical Summary

Technical Problem

Existing technologies for predicting seafloor heat flow suffer from several problems, including uncertainty in prediction results in areas with blank data, inability to adapt to the heat flow control mechanisms of different tectonic units, and the inability of static integration methods to dynamically adjust model weights. These issues make it difficult to meet the high-precision prediction requirements of regions like the South China Sea, where data distribution is uneven and tectonic units are complex.

Method used

A method based on directed reward adaptive ensemble learning is adopted. The prediction error of the base model is calculated sample by sample through V-fold cross-validation. Boundary samples with low policy discrimination are identified and directional perturbations are applied to filter pseudo samples. A feedforward neural network is constructed for joint training, and the directed reward value is output and the base model results are adaptively weighted and fused.

Benefits of technology

It improves the accuracy and reliability of heat flow prediction in unsampled areas, enhances the stability and generalization ability of the model in sparse data regions, adapts to the heat flow master control mechanism of different structural units, and improves the stability and scenario adaptability of prediction results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122863249B_ABST
    Figure CN122863249B_ABST
Patent Text Reader

Abstract

This invention discloses a spatial prediction method for seafloor heat flow based on directed reward adaptive ensemble learning, belonging to the field of seafloor heat flow prediction technology. The specific steps include: evaluating the performance of heterogeneous basis models sample-by-sample through V-fold cross-validation to generate expert policy ranking labels; identifying policy boundary samples and generating pseudo-samples in a targeted manner to expand the supervision signal in fuzzy regions; using a feedforward neural network combined with ranking and metric constraints for joint training to obtain a policy learner; and finally, using directed reward adaptive weighted fusion of multi-model prediction results. This method can effectively capture heterogeneous heat flow patterns and improve the accuracy and generalization ability of heat flow prediction in sparse data regions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of seafloor heat flow prediction technology, and in particular to a spatial prediction method for seafloor heat flow based on directed reward adaptive ensemble learning. Background Technology

[0002] Existing spatial prediction techniques for geothermal heat flow mainly fall into three categories: First, spatial statistical methods, represented by Kriging interpolation, which, based on the assumption of spatial autocorrelation of heat flow properties, perform optimal linear unbiased estimation of unsampled areas by modeling the spatial covariance structure. Second, single machine learning methods, represented by support vector regression, random forest, and gradient boosting models, achieve prediction by fitting the nonlinear mapping relationship between geothermal heat flow and multi-dimensional geological and geophysical covariates such as topography, gravity field, and crustal structure. Third, static ensemble learning methods, represented by stacked generalization, improve the adaptability of the method to different data distributions by combining multiple heterogeneous base models through global weighting, feature stacking, or meta-learners.

[0003] However, the prediction accuracy of spatial statistical methods is highly dependent on the spatial distribution density of measured data. The prediction results in data gap areas have significant uncertainties, and the smoothing effect inherent in the methods can weaken or even ignore the abrupt changes in heat flow at tectonic boundaries. Single machine learning methods assume that the mapping relationship between heat flow and features is homogeneous and consistent across the entire region, which cannot adapt to the spatial heterogeneity of the heat flow control mechanism of different tectonic units and makes it difficult to maintain stable prediction performance in all sub-regions. Traditional static ensemble methods use fixed global fusion rules, which cannot dynamically adjust the contribution weights of each base model according to local features, and their discrimination ability is significantly reduced in high-dimensional features and sparse sample scenarios, making it difficult to meet the high-precision heat flow prediction needs of marginal seas like the South China Sea with uneven data distribution and complex tectonic units. Summary of the Invention

[0004] The purpose of this invention is to provide a spatial prediction method for seafloor heat flow based on directed reward adaptive ensemble learning, thereby solving the aforementioned technical problems.

[0005] To achieve the above objectives, this invention provides a spatial prediction method for seafloor heat flow based on directed reward adaptive ensemble learning, comprising the following steps: S1. Based on the measured sample set of geothermal heat flow and the preset set of heterogeneous base models, the prediction error of each base model is calculated sample by sample through V-fold cross-validation and sorted in ascending order of error to obtain the expert strategy ranking label corresponding to each sample. S2. Based on expert strategy ranking labels and measured geothermal flow sample set, by identifying boundary samples with strategy discrimination below the boundary width threshold and applying directional perturbation to the feature neighborhood of the boundary samples, a set of boundary pseudo-samples with explicit optimal strategy labels is obtained. S3. An enhanced training set is constructed based on the measured sample set of geothermal flow and the boundary pseudo sample set. The feedforward neural network is combined with the ranking constraint and the metric constraint for joint training to obtain a policy learner from the original geological and geophysical feature space to the base model policy reward space. S4. Based on the trained policy learner, the directed reward value of the base model is output by the policy learner and transformed into adaptive fusion weights. The heat flow prediction results of the base model are weighted and fused to obtain the geothermal flow prediction value of the location to be predicted.

[0006] Preferably, step S1 specifically includes: Based on a set of base models including support vector regression, K-nearest neighbor regression, Kriging interpolation, random forest, extreme random tree, extreme gradient boosting, lightweight gradient boosting, and gradient boosting regression tree, the squared prediction error of each sample is calculated on each validation subset through V-fold cross-validation. The base models are then sorted in ascending order of error to obtain the expert strategy ranking label for each sample.

[0007] Preferably, the boundary sample identification process in step S2 is as follows: Based on the squared prediction error of each base model in the base model set on each sample, the normalized error difference between the optimal policy and the suboptimal policy is calculated and compared with the boundary width threshold to obtain the boundary sample set where the policy discrimination is lower than the threshold. The normalized error gap is calculated as follows: ; in, For the sample The squared prediction error corresponding to the optimal strategy, For the sample The squared prediction error corresponding to the suboptimal strategy, To prevent small constants with denominators of 0, For the sample Strategy differentiation The smaller the value, the higher the uncertainty in strategy selection.

[0008] Preferably, the process of generating and filtering boundary pseudo-samples in step S2 is as follows: Based on the original feature vectors of the boundary samples, candidate pseudo-sample features are obtained by applying feature perturbations with random directions and random step sizes and cropping them to the feature value range. Based on the candidate pseudo-sample features, pseudo-sample heat flow labels are calculated using the inverse distance weighting method and the prediction errors of each base model are evaluated. Pseudo-samples with a screening strategy discrimination higher than the screening threshold are selected to obtain the final boundary pseudo-sample set. The weights for inverse distance weighting are calculated as follows: ; in, For each boundary sample Generate the first in its neighborhood A random perturbation candidate spurious sample For the boundary sample set, The feature vectors of neighboring samples in the original training set. Neighboring samples The weight.

[0009] Preferably, the process of constructing the policy learner forward inference structure in step S3 is as follows: Based on the original features of the samples in the enhanced training set, a nonlinear mapping is performed through an L-layer ReLU activated feedforward neural network with Dropout, and then the directed reward value vectors corresponding to each base model are obtained through linear transformation of the output layer, thus completing the construction of the forward inference structure of the policy learner. The calculation process for the directed reward vector is as follows: ; ; ; in, For the input sample feature vector, For the first Hidden layer output, , The first Layer weight matrix and bias vector, The output is a K-dimensional directed reward vector. The higher the reward value, the stronger the applicability of the corresponding basis model.

[0010] Preferably, the sorting constraint in step S3 is implemented through a sorting loss function, specifically as follows: Based on the expert policy ranking for each sample and the reward vector output by the policy learner, the ranking loss function value is obtained by constructing the margin constraint of adjacent order pairs and calculating the penalty term, which is used to drive the policy learner to reproduce the preference ranking of the expert policy. The sorting loss function is: ; in, The total number of training samples, As the total number of base models, For the interval hyperparameter, For the sample No. The reward value corresponding to the ranking strategy is such that the difference in rewards between adjacent strategies is less than 1. Punishment will be imposed at that time.

[0011] Preferably, the metric constraint in step S3 is implemented through a metric learning loss function, specifically as follows: Based on the feature vectors output by the hidden layer of the policy learner, the projection head is used to map them to a normalized low-dimensional space. The cosine similarity comparison loss between samples with the same policy and samples with different policies is calculated to obtain the metric learning loss function value, which is used to enhance the policy separability of the feature space. The metric learning loss function is: ; in, For the sample The feature vector after mapping and normalization by the projection head, To be consistent with the sample A set of positive samples sharing the same optimal strategy. To measure the temperature-adjusted hyperparameter in the contrastive loss.

[0012] Preferably, the joint training process in step S3 is as follows: Based on the ranking loss function value and the metric learning loss function value, the total loss function is obtained by weighted summation of hyperparameters. The network parameters are iteratively optimized based on the backpropagation algorithm to obtain the trained policy learner. The total loss function is: ; in, To balance hyperparameters, and This is used to control the relative contribution of the metric learning loss.

[0013] Preferably, step S4 specifically includes: Based on the geological and geophysical feature vectors of the location to be predicted, the directed reward values ​​of each base model are output by the policy learner, converted into normalized fusion weights by the Softmax function with temperature parameters, and the heat flow prediction values ​​of each base model are weighted and summed to obtain the geothermal flow prediction results of the location to be predicted. The calculation method for fusion weights and predicted values ​​is as follows: ; ; in, For the first The directed reward value of each base model The temperature-adjusted hyperparameter for fusing weights in the Softmax function. For the first Fusion weights of individual base models For the first Heat flow predictions from the basic model This is the final predicted heat flow value.

[0014] Preferred, Used to control the sharpness of the weight distribution. When the value approaches 0, it degenerates into an optimal single-model hard choice. As it approaches infinity, it degenerates into an equal-weighted average fusion. The geological and geophysical feature vectors include high-precision water depth, lithosphere thickness, Moho depth, magnetic anomaly, upper mantle density anomaly, lithosphere-asthenosphere boundary depth, Bouguer gravity anomaly, free air gravity anomaly, seafloor age, volcanic distance, and seamount distance.

[0015] Therefore, the above-mentioned spatial prediction method for seafloor heat flow based on directed reward adaptive ensemble learning has the following beneficial effects: 1. By transforming the multi-model integration problem in spatial prediction of geothermal flow into a directed reward-driven adaptive strategy selection problem based on local geological and geophysical characteristics, this method does not rely on prior tectonic partitions and preset static fusion weights. It can adaptively match the differences in the heat flow control mechanisms of different tectonic units, effectively capture spatially heterogeneous heat flow patterns, and solve the problem of insufficient model generalization ability under the assumption of global homogeneity. In the marginal sea scenario where measured data is sparse and unevenly distributed, it improves the accuracy and reliability of heat flow prediction in unsampled areas.

[0016] 2. The local prediction performance of multi-class heterogeneous base models is evaluated sample-by-sample through V-fold cross-validation, generating complete policy ranking labels as supervision targets, covering different modeling approaches such as parametric regression, spatial statistics, and multi-class ensemble learning. This approach fully integrates the technical advantages of various classic heat flow prediction methods and provides unbiased, fine-grained sample-level policy preference supervision signals for subsequent policy imitation learning. It avoids the subjectivity of manually setting model weights, establishes the correspondence between the feature space and the optimal prediction policy, and lays a reliable foundation for adaptive modeling of heterogeneous heat flow scenarios.

[0017] 3. By identifying boundary samples with low discriminative power between optimal and suboptimal strategies through normalized error gap, perturbations are applied directionally to their feature neighborhoods, and high-discrimination pseudo-samples are filtered out to expand the training samples in strategy-ambiguous regions. This enhances the clarity of decision boundaries in strategy-ambiguous regions such as the construction of transition zones, reduces the risk of strategy misjudgment caused by small feature perturbations, and improves the model's predictive stability and generalization ability in data-scarce regions.

[0018] 4. A multi-layer feedforward neural network is used as the policy learner. A training objective based on a combination of margin-based ranking loss and metric learning loss is constructed to simultaneously achieve policy preference reproduction and feature discriminative enhancement. The ranking loss ensures the consistency between policy reward ranking and expert demonstration, while the metric learning loss strengthens the distribution characteristics of clustering samples with the same policy and separating samples with different policies in the feature space. Together, they achieve a stable nonlinear mapping from high-dimensional geological and geophysical features to the policy reward space, ensuring the accuracy and robustness of policy inference.

[0019] 5. The policy reward value is transformed into normalized fusion weights using a Softmax function with a temperature parameter, and the prediction results of the multi-base model are adaptively weighted and output. This adaptive weighted fusion preserves the complementary advantages of multiple models and avoids the local bias of a single model. Simultaneously, the fusion sharpness can be flexibly adjusted using the temperature parameter to adapt to differences in policy confidence in different regions. In regions with high policy discriminative power, the optimal model output is emphasized, while in regions with low discriminative power, the results of multiple models are smoothly fused, further improving the stability and scene adaptability of the prediction results.

[0020] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description

[0021] Figure 1 The diagram shows the overall framework of the directed reward-driven adaptive ensemble learning method for spatial prediction of seabed heat flow based on directed reward adaptive ensemble learning provided by this invention. Figure 2 Heatmaps showing the proportion of importance of geological and geophysical features under different prediction strategies in the embodiments provided by the present invention; Figure 3 The geological and geophysical features and prediction strategies in the embodiments provided by the present invention are associated with the Sankey diagram of the flow direction. Detailed Implementation

[0022] To make the objectives, technical solutions, and advantages disclosed in the embodiments of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the embodiments of the present invention and are not intended to limit the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of this application. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout.

[0023] It should be noted that the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, such as a process, method, system, product, or server that includes a series of steps or units, not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such process, method, product, or device.

[0024] The following is in conjunction with the appendix Figures 1-3 The embodiments of the present invention will be described in detail below.

[0025] Example 1: This embodiment provides a spatial prediction method for seafloor heat flow based on directed reward adaptive ensemble learning. For scenarios where measured heat flow data in marginal seas are sparse and spatially heterogeneous, a four-stage progressive learning framework is used to transform the static integration of multiple models into an adaptive strategy selection process driven by local features.

[0026] The spatial prediction task addressed in this embodiment can be formally defined as: assuming that there exists in the study area... The sampling observation sample, the first Each sample contains spatial coordinates , Covariates and sampling attribute values The goal of spatial prediction is to predict any unknown sampling location. Extract its covariates In order to estimate the target attribute value ,satisfy: ; in, The predictive model to be learned.

[0027] This method achieves high-precision fitting of the above prediction function by constructing a Directed Reward Adaptive Network (DRAN). The specific implementation steps are as follows: S1. Based on the measured sample set of geothermal heat flow and the preset set of heterogeneous basis models, the prediction error of each basis model is calculated sample by sample through V-fold cross-validation and sorted in ascending order of error to obtain the expert strategy ranking label corresponding to each sample.

[0028] The specific implementation process for this step is as follows: First, construct the training set. ,in For the first The original geological and geophysical feature vectors of each sample, covering attributes such as topography, lithospheric structure, geophysical properties, and spatial location. For the corresponding heat flow observation value; preset A set of candidate strategies is composed of heterogeneous base models. In this embodiment Based on modeling assumptions, the strategies are divided into four categories: (1) Parametric regression strategy: Assuming that there is a nonlinear relationship between heat flow and geological and geophysical characteristics represented by a high-dimensional mapping of kernel function, this embodiment selects support vector regression as the base model of this strategy, which has robust modeling ability under small sample conditions; (2) Spatial feature-driven strategy: Assuming that neighboring sample points in the feature space tend to have similar heat flux values, this embodiment selects... Nearest neighbor regression, as the base model for this strategy, can flexibly adapt to scenarios with uneven data distribution. (3) Spatial statistical strategy: Assuming that heat flow is a spatially autocorrelated physical property, the optimal linear unbiased estimation is performed by explicitly modeling the spatial covariance structure. In this embodiment, Kriging interpolation is selected as the base model of this strategy, which has a clear physical basis and interpretability. (4) Ensemble learning strategy: Assuming there is a complex nonlinear interaction between heat flow and features, the true mapping function is approximated by combining multiple decision trees; among them, random forest and extreme random tree are selected as the base models of the Bagging parallel ensemble approach, and extreme gradient boosting, lightweight gradient boosting and gradient boosting regression tree are selected as the base models of the Boosting serial iteration approach.

[0029] To avoid overfitting bias caused by direct evaluation of the training set, V-fold cross-validation is used to obtain unbiased performance estimates for each base model: the training set... Divided into Mutually exclusive subsets of similar size For each fold and each base model In addition to the first All samples outside the fold Train the base model on the reserved validation set. Calculate the predicted value This ensures that each sample is used as a validation set only once, and its predictions come from a model that has not been trained on that sample, thus guaranteeing unbiased error.

[0030] Each sample In the Squared prediction errors from cross-validation on each basic model for: ; The smaller the error, the better the model. The more applicable it is under the current sample characteristics, the better for each sample. All Each base model according to Sort the samples from smallest to largest to obtain the complete expert strategy ranking label for each sample: ; in, For feature vectors The corresponding optimal prediction strategy, This is a suboptimal prediction strategy. This step automatically extracts prior knowledge of the prediction strategy from the data through cross-validation, providing an unbiased supervised objective for subsequent strategy imitation learning.

[0031] S2. Based on expert strategy ranking labels and measured geothermal flow sample sets, boundary samples with strategy discrimination below the boundary width threshold are identified and directional perturbations are applied in their feature neighborhoods to obtain a set of boundary pseudo-samples with explicit optimal strategy labels.

[0032] This step is executed alternately and collaboratively with step S1, continuously generating new training samples and labeling them with policy tags in the policy boundary region, fully exploring the sparse boundary region of the measured data to expand the data space. The specific implementation process is as follows: First, identify boundary samples: based on the squared prediction error of each base model on each sample, calculate the normalized error difference between the optimal and suboptimal policies, i.e., the policy discrimination. : ; in, For the sample The squared prediction error corresponding to the optimal strategy, For the sample The squared prediction error corresponding to the suboptimal strategy, To prevent small constants with a denominator of 0; The smaller the value, the lower the distinction between optimal and suboptimal strategies, and the higher the uncertainty in strategy selection.

[0033] Set boundary width threshold Samples with a policy discrimination score below a threshold are included in the boundary sample set. .

[0034] For each boundary sample Generate within its neighborhood One random perturbation candidate pseudo-sample: ; in, Let the random direction vectors follow a standard normal distribution. To ensure that the step size parameter follows a uniform distribution, , These represent the upper and lower bounds of the values ​​for each feature dimension. The function clips the perturbed features to the range of valid values.

[0035] The heat flow pseudo-labels of candidate pseudo-samples are calculated using the inverse distance weighting method: ; ; in, For pseudo-samples in the original training set A set of nearest neighbor sample indices Neighboring samples Inverse distance weights, For the original training set, the first The original geological and geophysical feature vectors of the neighboring samples.

[0036] The pseudo-samples are input into each base model to calculate the prediction error and determine the optimal policy. At the same time, the policy discrimination of the pseudo-samples is calculated. : ; ; ; Only retain strategies with a discrimination index higher than the screening threshold. The pseudo-samples and their optimal policy labels force the subsequent policy learning module to learn clearer decision preference boundaries in the boundary region, ultimately resulting in a boundary pseudo-sample set. This step enhances the model's robustness in the boundary region by directionally expanding the training samples in the policy ambiguity region.

[0037] S3. An enhanced training set is constructed based on the measured sample set of geothermal flow and the boundary pseudo sample set. A policy learner is obtained by combining the feedforward neural network with the ranking constraint and the metric constraint to obtain the policy reward space of the base model from the original geological geophysical feature space.

[0038] The specific implementation process of this step is divided into two parts: structure construction and joint training. (1) Construction of the forward inference structure of the policy learner: The policy learner employs an L-layer ReLU-activated feedforward neural network with batch normalization and Dropout, which outputs a K-dimensional reward vector after multi-layer nonlinear transformation of the original features. The specific calculation process is as follows: ; ; ; in, This is the original geological and geophysical feature vector of the input sample. For the first Hidden layer output, , The first Layer weight matrix and bias vector, For output A dimensional directed reward vector; a higher reward value indicates that the corresponding base model is more suitable under the current sample features. This represents the total number of hidden layers.

[0039] To implement metric learning constraints, the output of the last hidden layer of the encoder is... An additional projection head is attached to map the features to a low-dimensional projection space and perform... Normalization: in, This is the normalized projected feature vector.

[0040] (2) Dual-constraint joint training: The training objective of the policy learner is to ensure that the output reward vector is consistent with the expert policy ranking label, while enhancing the policy separability of the feature space. A weighted average of ranking loss and metric learning loss is used to construct the total loss function. ① Ranking Loss: Based on the expert strategy ranking for each sample, construct... The margin constraint of adjacent ordered pairs drives the learner to assign higher reward values ​​to better policies: ; in, To increase the total number of samples in the training set, The interval hyperparameter controls the minimum reward difference required between adjacent rankings; when the reward difference between adjacent policies is less than... A penalty is imposed at certain times, forcing the learner to output a reward value with clear discrimination.

[0041] ② Measuring learning loss: This involves bringing samples with the same policy preferences closer together in the projection space, and samples with different policy preferences further apart. ; in, To be consistent with the sample A set of positive samples sharing the same optimal strategy. To measure the temperature-adjusted hyperparameter in the contrastive loss.

[0042] ③ Total loss function: ; in, To balance the hyperparameters, a measure is used to control the relative contribution of the learning loss.

[0043] The training process uses the Adam optimizer, with an initial learning rate set to... The learning rate is adjusted by cosine annealing, an early stopping strategy is adopted to prevent overfitting, and all hyperparameters are optimized by grid search in the validation set, finally resulting in a trained policy learner.

[0044] S4. Based on the feature vector of the original geological and geophysical feature space of the location to be predicted, the trained policy learner and each base model, the policy learner outputs the directed reward value of each base model and converts it into adaptive fusion weights, and the heat flow prediction results of each base model are weighted and fused to obtain the geothermal flow prediction value of the location to be predicted.

[0045] The specific implementation process for this step is as follows: The original geological and geophysical feature vector of the location to be predicted Input the trained policy learner to obtain the directed reward vectors of each base model. ; The reward values ​​are converted into normalized fusion weights using a Softmax function with a temperature parameter. ; in, Temperature-adjusted hyperparameters for the Softmax function's weight fusion, used to control the sharpness of the weight distribution: when When the weights approach 0, the weight distribution approaches one-hot encoding, where only the strategy with the highest reward value is assigned full weight, corresponding to hard policy selection; when... As the weights approach infinity, the weights tend to be uniformly distributed, corresponding to equal-weighted averaging; when When a suitable value is chosen, the weights are smoothly distributed among the strategies according to the reward value ratio, thus achieving soft strategy fusion. The optimal target for the prediction is to maximize the prediction accuracy, determined by grid search in the validation set.

[0046] Finally, by weighted summing the heat flow predictions from each base model, the geothermal heat flow prediction result for the location to be predicted is obtained: ; in, For the first The predicted heat flow values ​​output by the basic model This represents the final predicted value of geothermal heat flow. The original geological and geophysical feature vector used in this method contains 11 covariates, and the details of each covariate are shown in Table 1.

[0047] Table 1. Details of Geological and Geophysical Covariates:

[0048] To verify the effectiveness of this method, the South China Sea (105.5°E–120.5°E, 3°S–24.5°N) was selected as the study area, covering different tectonic units including the northern continental margin, central basin, southern continental margin, and the Manila Trench subduction zone. Experiments were conducted using 1130 selected valid measured heat flow samples. All samples were randomly divided into training, validation, and test sets in an 8:1:1 ratio, with a fixed random seed of 42 to ensure experimental reproducibility. Fourteen mainstream methods were selected as baselines for comparison, and the coefficient of determination was used. The prediction accuracy was evaluated using three indicators: mean absolute error (MAE), root mean square error (RMSE), and the prediction results of each model are shown in Table 2.

[0049] Table 2 Comparison of Prediction Accuracy of Different Models:

[0050] To verify the independent contribution of each core module, four ablation experiments were designed to remove the boundary pseudo-sample generation, metric learning loss, ranking loss, and adaptive weighted fusion module, respectively. The experimental results are shown in Table 3.

[0051] Table 3. Ablation Experiment Results:

[0052] Figure 2 A heatmap showing the feature importance of 11 geological and geophysical features and five prediction strategies is presented. The contribution weight of different features such as free air gravity anomaly, seamount distance, seafloor age, and Moho depth in SVR, KNN, Kriging interpolation, Bagging, and Boosting strategies is quantified by color depth and numerical proportion. The main geological features corresponding to each strategy are clearly defined. Figure 3 The feature-strategy association Sankey diagram visually illustrates the contribution direction and association strength of various geological features to the five prediction strategies, using line thickness to intuitively demonstrate the correlation. The two diagrams corroborate each other from the dimensions of quantitative proportion and association flow, jointly revealing the differences in the dominant geological mechanisms corresponding to different prediction strategies. They visually present the spatial heterogeneity of heat flow prediction patterns, verifying the geological rationality of the adaptive strategy selection in this invention and providing clear geological interpretability support for the method. This can provide a visual basis for analyzing the dominant heat flow factors in different tectonic units.

[0053] Specifically, Figure 3 The five types of strategies are Figure 1The heterogeneous baseline models are categorized according to their core modeling approaches. The SVR category corresponds to Support Vector Regression in Table 2, the KNN category corresponds to K-Nearest Neighbor Regression in Table 2, the Kriging category corresponds to Kriging Interpolation in Table 2, the Bagging category includes two parallel ensemble models in Table 2: Random Forest and Extreme Random Tree, and the Boosting category includes four serial iterative ensemble models in Table 2: Adaptive Boosting Algorithm, Gradient Boosting Regression Tree, Extreme Gradient Boosting, and Lightweight Gradient Boosting. These five strategies rely on different technical logics such as kernel function nonlinear mapping, local similarity of feature space, spatial autocorrelation statistics, bootstrap sampling to reduce variance, and residual iteration to reduce bias, forming differentiated modeling capabilities that adapt to different data distributions and construction scenarios. Together, they constitute a comprehensive candidate strategy pool.

[0054] In summary, in the verification of this invention using 1130 measured heat flow samples and 11-dimensional geological and geophysical characteristics in the South China Sea, the coefficient of determination R... 2 It can reach 0.63, with a mean absolute error as low as 9.66 mW / m 2 The root mean square error is as low as 13.58 mW / m 2 Compared with traditional single models and static ensemble methods, the prediction accuracy is significantly improved. At the same time, it can effectively identify spatially heterogeneous heat flow prediction patterns among different tectonic units, and has good generalization ability and geological interpretability. It effectively solves the core technical problems such as high prediction uncertainty in unsampled areas caused by sparse and spatially uneven measured heat flow data in marginal seas, difficulty of traditional global homogeneous models to adapt to the differences in heat flow control mechanisms of different tectonic units, and inability of static ensemble strategies to dynamically adjust model weights according to local features. It provides robust technical support for high-precision reconstruction of heat flow fields in sparse marginal seas.

[0055] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the technical solutions of the present invention, and these modifications or equivalent substitutions cannot cause the modified technical solutions to deviate from the spirit and scope of the technical solutions of the present invention.

Claims

1. A spatial prediction method for seafloor heat flow based on directed reward adaptive ensemble learning, characterized in that, Includes the following steps: S1. Based on the measured sample set of geothermal heat flow and the preset set of heterogeneous base models, the prediction error of each base model is calculated sample by sample through V-fold cross-validation and sorted in ascending order of error to obtain the expert strategy ranking label corresponding to each sample. S2. Based on expert strategy ranking labels and measured geothermal flow sample set, by identifying boundary samples with strategy discrimination below the boundary width threshold and applying directional perturbation to the feature neighborhood of the boundary samples, a set of boundary pseudo-samples with explicit optimal strategy labels is obtained. S3. An enhanced training set is constructed based on the measured sample set of geothermal flow and the boundary pseudo sample set. The feedforward neural network is combined with the ranking constraint and the metric constraint for joint training to obtain a policy learner from the original geological and geophysical feature space to the base model policy reward space. S4. Based on the trained policy learner, the directed reward value of the base model is output by the policy learner and transformed into adaptive fusion weights. The heat flow prediction results of the base model are weighted and fused to obtain the geothermal heat flow prediction value of the location to be predicted. Step S4 specifically includes: Based on the feature vectors of the geological and geophysical feature space of the location to be predicted, the directed reward values ​​of each base model are output by the policy learner, converted into normalized fusion weights by the Softmax function with temperature parameters, and the heat flow prediction values ​​of each base model are weighted and summed to obtain the geothermal flow prediction result of the location to be predicted. The calculation method for fusion weights and predicted values ​​is as follows: ; ; in, For the first The directed reward value of each base model The temperature-adjusted hyperparameter for fusing weights in the Softmax function. For the first Fusion weights of individual base models For the first Heat flow predictions from the basic model This is the final predicted heat flow value; Used to control the sharpness of the weight distribution. When the value approaches 0, it degenerates into an optimal single-model hard choice. When it approaches infinity, it degenerates into equal-weighted average fusion.

2. The spatial prediction method for seafloor heat flow based on directed reward adaptive ensemble learning according to claim 1, characterized in that: Step S1 specifically includes: Based on a set of base models including support vector regression, K-nearest neighbor regression, Kriging interpolation, random forest, extreme random tree, extreme gradient boosting, lightweight gradient boosting, and gradient boosting regression tree, the squared prediction error of each sample is calculated on each validation subset through V-fold cross-validation. The base models are then sorted in ascending order of error to obtain the expert strategy ranking label for each sample.

3. The spatial prediction method for seafloor heat flow based on directed reward adaptive ensemble learning according to claim 2, characterized in that: The specific process of identifying boundary samples in step S2 is as follows: Based on the squared prediction error of each base model in the base model set on each sample, the normalized error difference between the optimal policy and the suboptimal policy is calculated and compared with the boundary width threshold to obtain the boundary sample set where the policy discrimination is lower than the threshold. The normalized error gap is calculated as follows: ; in, For the sample The squared prediction error corresponding to the optimal strategy, For the sample The squared prediction error corresponding to the suboptimal strategy, To prevent small constants with denominators of 0, For the sample Strategy differentiation The smaller the value, the higher the uncertainty in strategy selection.

4. The spatial prediction method for seafloor heat flow based on directed reward adaptive ensemble learning according to claim 3, characterized in that: The specific process of generating and filtering boundary pseudo-samples in step S2 is as follows: Based on the original feature vector of the boundary sample, the feature vector is perturbed by applying a random direction and a random step size and then clipped to the feature value range to obtain the candidate pseudo sample features. Based on the characteristics of candidate pseudo samples, the heat flow labels of pseudo samples are calculated by the inverse distance weighting method and the prediction errors of each base model are evaluated. Pseudo samples with a screening strategy discrimination higher than the screening threshold are selected to obtain the final boundary pseudo sample set. The weights for inverse distance weighting are calculated as follows: ; in, For each boundary sample Generate the first in its neighborhood A random perturbation candidate spurious sample For the boundary sample set, The feature vectors of neighboring samples in the original training set. Neighboring samples The weight.

5. The spatial prediction method for seafloor heat flow based on directed reward adaptive ensemble learning according to claim 3, characterized in that: The process of constructing the forward inference structure of the policy learner in step S3 is as follows: Based on the original features of the samples in the enhanced training set, a nonlinear mapping is performed through an L-layer ReLU activated feedforward neural network with Dropout, and then the directed reward value vectors corresponding to each base model are obtained through linear transformation of the output layer, thus completing the construction of the forward inference structure of the policy learner. The calculation process for the directed reward vector is as follows: ; ; ; in, For the input sample feature vector, For the first Hidden layer output, , The first Layer weight matrix and bias vector, The output is a K-dimensional directed reward vector. The higher the reward value, the stronger the applicability of the corresponding basis model. This represents the total number of hidden layers.

6. The spatial prediction method for seafloor heat flow based on directed reward adaptive ensemble learning according to claim 5, characterized in that: The sorting constraints in step S3 are implemented through a sorting loss function, specifically: Based on the expert policy ranking for each sample and the reward vector output by the policy learner, the ranking loss function value is obtained by constructing the margin constraint of adjacent order pairs and calculating the penalty term, which is used to drive the policy learner to reproduce the preference ranking of the expert policy. The sorting loss function is: ; in, The total number of training samples, As the total number of base models, For the interval hyperparameter, For the sample No. The reward value corresponding to the ranking strategy is such that the difference in rewards between adjacent strategies is less than 1. Punishment will be imposed at that time.

7. The spatial prediction method for seafloor heat flow based on directed reward adaptive ensemble learning according to claim 6, characterized in that: The metric constraint in step S3 is implemented through a metric learning loss function, specifically as follows: Based on the feature vectors output by the hidden layer of the policy learner, the projection head is used to map them to a normalized low-dimensional space. The cosine similarity comparison loss between samples with the same policy and samples with different policies is calculated to obtain the metric learning loss function value, which is used to enhance the policy separability of the feature space. The metric learning loss function is: ; in, For the sample The feature vector after mapping and normalization by the projection head, To be consistent with the sample A set of positive samples sharing the same optimal strategy. To measure the temperature-adjusted hyperparameter in the contrastive loss.

8. The spatial prediction method for seafloor heat flow based on directed reward adaptive ensemble learning according to claim 7, characterized in that: The joint training process in step S3 is as follows: Based on the ranking loss function value and the metric learning loss function value, the total loss function is obtained by weighted summation of hyperparameters. The network parameters are iteratively optimized based on the backpropagation algorithm to obtain the trained policy learner. The total loss function is: ; in, To balance hyperparameters, and This is used to control the relative contribution of the metric learning loss.

9. The spatial prediction method for seafloor heat flow based on directed reward adaptive ensemble learning according to claim 1, characterized in that: The geological and geophysical feature vectors include high-precision water depth, lithosphere thickness, Moho depth, magnetic anomaly, upper mantle density anomaly, lithosphere-asthenosphere boundary depth, Bouguer gravity anomaly, free air gravity anomaly, seafloor age, volcanic distance, and seamount distance.

Citation Information

Patent Citations

  • Geothermal resource prediction method, device, equipment and medium

    CN121031864A

  • Landslide susceptibility evaluation method based on dynamic adaptive weighted integrated model

    CN122196488A