Multi-modal prediction method and system for soil environment in extremely cold freeze-thaw period
By constructing a multi-source heterogeneous dataset and combining Kalman state estimation and a physically constrained neural network, the uncertainty problem of soil state prediction under extreme cold freeze-thaw conditions was solved, achieving high-precision prediction of soil temperature, moisture and mechanical state, and enhancing the utilization of spatiotemporal coupling information during the freeze-thaw process.
Patent Information
- Application Number
- CN202611379508.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-07
- Publication Date
- 2026-11-24
AI Technical Summary
In extremely cold freeze-thaw environments, the estimation of front-end observation status and the prediction of back-end soil environment lack the feedback coupling of prediction uncertainty under the quality changes of multi-source observations. The prediction process is not fully constrained by the physical laws of freeze-thaw and the phase transition characteristics of the zero-temperature zone, resulting in insufficient prediction accuracy of soil temperature, moisture and mechanical state.
By constructing a multi-source heterogeneous dataset, performing Kalman state estimation and spatiotemporal multi-head attention fusion, and using a physically constrained neural network for prediction, a random deactivation mechanism and a dynamic sampling mechanism are maintained during the prediction stage. Combined with thermodynamic entropy yield residual loss and zero-temperature zone attention mask matrix, a closed-loop feedback mechanism is formed to improve prediction accuracy.
It achieves high-precision prediction of soil temperature, moisture and mechanical state under extremely cold freeze-thaw conditions, reduces prediction uncertainty, enhances the utilization of spatiotemporal coupling information during freeze-thaw processes, and improves the consistency and stability of prediction results.
Smart Images

Figure CN123158121A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical fields of soil environment monitoring in cold regions, frozen soil multi-physical field prediction and computer data processing, and particularly relates to a multi-modal prediction method and system for soil environment in an extremely cold and freezing-thawing period. BACKGROUND
[0002] Soil in an extremely cold environment can undergo repeated freezing and thawing under the influence of seasonal changes and meteorological forcing. During the freezing process, the phase change of pore water, the migration of the freezing front, and the formation of ice bodies can change the temperature, moisture, and mechanical state of the soil interior. During the thawing process, the phase change state, water migration, and soil deformation continue to change. Therefore, continuous monitoring and prediction of the soil environment state during freezing and thawing has practical technical significance for the analysis of the state of engineering foundations in cold regions, the monitoring of freezing and thawing changes, and related environmental management.
[0003] The state of frozen and thawed soil has obvious spatial differences and temporal continuity. Satellite remote sensing data can provide surface state information at a large spatial scale, in-situ sensors can obtain temperature, moisture, and mechanical observation information at different depths, and meteorological observations can reflect external forcing conditions. Soil physical and chemical properties are related to water and heat migration and phase change state. A single data source cannot simultaneously represent information of different scales and different physical meanings, so multi-source data can be used to describe the soil environment during the freezing and thawing period.
[0004] On the other hand, the extremely cold environment can change the statistical state of noise in ground in-situ monitoring data. When using fixed observation noise parameters for time series state estimation, changes in observation quality can cause deviations between filtered data and actual state. If subsequent prediction is only performed according to the fixed forward data flow, the uncertainty reflected by the back-end prediction result cannot act on the front-end observation processing, and the front-end state estimation parameters are therefore difficult to adjust according to the changes in input credibility exposed in the prediction stage.
[0005] For a scheme that uses a neural network to predict the soil state, if the model only forms an output according to the statistical relationship between samples, and the prediction process does not constrain the output space using physical relationships such as frozen heat conduction, phase change latent heat, and water migration, then in the case of reduced input data quality or insufficient training data coverage, the predicted state may not be consistent with the actual frozen and thawing physical process. In addition, if only parallel splicing is performed between multi-source features without data dependencies between spatial nodes, time steps, and physical quantities, it is also not conducive to utilizing the spatio-temporal coupling information in the freezing and thawing process.
[0006] During the sustained phase of the water-ice phase transition, soil temperature can remain near the critical temperature for a considerable period, forming a zero-temperature zone. At this point, the temperature gradient characteristics change relative to ordinary cooling or warming phases, while latent heat release or absorption and water phase changes continue. If the spatiotemporal feature fusion process only assigns time-related weights based on the magnitude of temperature characteristic changes, the phase transition correlation between consecutive time steps in the zero-temperature zone may be weakened. Furthermore, if physical constraints only include energy and mass conservation without constraining predicted states with negative entropy yields, predicted states inconsistent with thermodynamically irreversible processes may still occur during the strongly nonlinear phase transition phase.
[0007] Therefore, in the context of the coupling between environmental changes and soil hydrothermal state in multi-source observations under extremely cold freeze-thaw conditions, the problem that needs to be solved is how to establish a feedback process with a clear data correspondence between the front-end observation state estimation and the back-end soil environment prediction, and how to use the physical laws of freeze-thaw to limit the prediction results while maintaining the correlation of phase transition characteristics between continuous time steps in the zero-temperature zone. Summary of the Invention
[0008] The purpose of this invention is to provide a multimodal prediction method and system for soil environment during extreme cold freeze-thaw periods. It solves the technical problems of insufficient prediction accuracy of soil temperature, moisture and mechanical state due to the lack of prediction uncertainty feedback coupling between front-end observation state estimation and back-end soil environment prediction under the condition of multi-source observation quality changes during extreme cold freeze-thaw periods, and the fact that the prediction process is not fully constrained by the physical laws of freeze-thaw and the phase transition characteristics of the zero-temperature zone.
[0009] To solve the above-mentioned technical problems, the technical solution adopted by the present invention is as follows: This invention provides a multimodal prediction method for soil environment during extreme cold freeze-thaw periods. It acquires satellite remote sensing data, ground in-situ monitoring data, meteorological data, and soil physicochemical property data of the monitoring area, and constructs a multi-source heterogeneous dataset based on the temporal information and spatial location of the satellite remote sensing data, ground in-situ monitoring data, meteorological data, and soil physicochemical property data. Kalman state estimation is performed on the continuous time-series observation channels of soil temperature, soil moisture, and soil pressure in the multi-source heterogeneous dataset. The Kalman state estimation results are then organized with the remaining data in the multi-source heterogeneous dataset according to a spatiotemporal index to form a standard time-series observation matrix. Based on the standard time-series observation matrix, a physical feature set reflecting the freeze-thaw state is formed. This physical feature set includes thermal features formed by spatial changes in soil temperature, moisture phase change features formed by freezing fronts and moisture phase change states, and deformation response features formed by phase change volume changes and soil pressure states. The physical feature set is organized into a multidimensional state tensor according to feature channels, spatial grids, and time series.
[0010] As a preferred embodiment of the present invention, the multidimensional state tensor is fused through spatiotemporal multi-head attention to establish weighted correlations between different spatial nodes, different time steps, and different physical features, while maintaining the index relationship between the spatiotemporal fused features and the original spatial nodes and time steps. The spatiotemporal fused features are input into a physically constrained neural network to output a soil environment prediction matrix for future time periods. The soil environment prediction matrix includes a soil temperature field, a moisture field, and a stress field. The moisture field includes predicted unfrozen water state and predicted volumetric ice state for physical residual calculation. During training, the physically constrained neural network simultaneously utilizes data fitting loss from historical observations, freeze-thaw energy conservation residual loss, and moisture mass conservation residual loss to constrain the network weight parameters.
[0011] Furthermore, the physical constraint neural network maintains a random deactivation mechanism during the prediction phase, performing multiple independent forward inferences on the same spatiotemporal fusion features. The prediction variance of each predictor variable at each spatial node and each prediction time step is obtained from the output of these multiple forward inferences. A deterministic index correspondence is established between the predictor variable, the predicted spatial node, and the actual continuous temporal observation channel. Variance components corresponding to the continuous temporal observation channels for soil temperature, soil moisture, and earth pressure are selected from the prediction variance. Time-dimensional aggregation is performed on multiple variance components of the same predictor variable and the same spatial node within the prediction time window, and an observation channel noise adjustment matrix is formed based on the time-dimensional aggregation result.
[0012] In a preferred embodiment of the present invention, the observation channel noise adjustment matrix is fed back to the Kalman state estimation to update the observation noise covariance matrix. After the observation noise covariance matrix is updated, the soil environment prediction matrix from the previous round is not directly reused. Instead, the original continuous time-series observation data is reprocessed using the updated observation noise covariance matrix to regenerate the standard time-series observation matrix, recalculate the physical feature set, re-execute the spatiotemporal multi-head attention fusion, and re-form the soil environment prediction matrix and the prediction variance, thereby forming a closed-loop data path from the prediction end back to the observation processing end. When the convergence statistic corresponding to the prediction variance reaches the preset convergence condition, the current soil environment prediction matrix is output.
[0013] As a preferred embodiment of the present invention, the ground-based in-situ monitoring data employs a dynamic sampling mechanism controlled by information entropy. Edge computing nodes adjust the sensor sampling frequency based on the information entropy of the short-time window soil temperature sequence, and synchronize the adjusted sampling period as the discrete time step of the Kalman state estimation, ensuring that the physical acquisition period and the time scale upon which the state transition model is based remain consistent.
[0014] As a preferred technical solution of the present invention, an elastic weight consolidation mechanism is used during the incremental training of the physical constraint neural network across the freeze-thaw stage, and the constraint strength of the historical convergent network weight parameters is adjusted by using the convergence statistic corresponding to the prediction variance. This allows for a larger adjustment space for the network weight parameters when the convergence statistic corresponding to the prediction variance increases, and strengthens the maintenance of the historical convergent network weight parameters when the convergence statistic corresponding to the prediction variance decreases.
[0015] As a preferred embodiment of the present invention, the training loss of the physically constrained neural network further includes a thermodynamic entropy production rate residual loss. The predicted temperature state output by the physically constrained neural network is uniformly converted into a predicted absolute thermodynamic temperature. The local entropy production rate is calculated based on the spatial gradient of the predicted absolute thermodynamic temperature, the predicted absolute thermodynamic temperature, the thermal conductivity, the water-ice phase transition equilibrium temperature, and the rate of change of the predicted volumetric ice-containing state relative to time. A linear rectification function is used to extract the negative portion of the local entropy production rate to form a training penalty, thus subjecting spatial nodes and time steps with negative entropy production rates to additional constraints during the training of the physically constrained neural network.
[0016] As a preferred embodiment of the present invention, a zero-temperature zone attention mask matrix is introduced into the spatiotemporal multi-head attention fusion. Based on the soil temperature state corresponding to each time step in the standard time-series observation matrix, it is determined whether consecutive time steps are within the critical temperature range of water-ice phase transition, and a zero-temperature zone identifier is formed. For time steps corresponding to query features that are within the zero-temperature zone, the zero-temperature zone attention mask matrix masks key feature time steps outside the zero-temperature zone, and a preset non-decay threshold constraint is applied to the attention weights within the zero-temperature zone, ensuring that the latent heat of water phase transition within the zero-temperature zone continuously participates in the spatiotemporal multi-head attention fusion.
[0017] The present invention also provides a multimodal prediction system, electronic device, computer-readable storage medium and computer program product for the soil environment during the extreme cold freeze-thaw period, corresponding to the above-mentioned multimodal prediction method for the soil environment during the extreme cold freeze-thaw period.
[0018] Compared with the prior art, the present invention has the following beneficial effects: The multimodal prediction method and system for soil environment during extreme cold freeze-thaw periods provided by this invention establishes a correspondence between the prediction variance formed by the physical constraint prediction end and the actual continuous time-series observation channel according to the prediction variables, spatial nodes and prediction time steps. It also performs time dimension aggregation on the prediction variance of the same prediction variable and the same spatial node within the prediction time window, and applies the time dimension aggregation result to the observation noise covariance matrix of the front-end Kalman state estimation. This causes the observation variables or spatial nodes with increased prediction uncertainty to change their observation weights in the state update accordingly, thereby enabling the back-end prediction state to participate in the front-end data credibility adjustment.
[0019] This invention re-executes Kalman state estimation, physical feature set calculation, spatiotemporal multi-head attention fusion, and physical constraint neural network prediction after updating the observed noise covariance matrix. This allows the feedback effect to alter the actual state information and physical characteristics received by the physical constraint neural network, forming a closed-loop coupling between prediction uncertainty and the input state. The physical constraint neural network introduces residual losses due to freeze-thaw energy conservation and water mass conservation. By predicting temperature state, volumetric ice-containing state, unfrozen water state, and corresponding spatiotemporal derivatives, it limits the network output space, reducing predicted states inconsistent with the freeze-thaw hydrothermal process. The physical feature set includes thermal features, latent heat of water phase change features, and volume expansion response features. Spatiotemporal multi-head attention fusion establishes dependencies between different spatial nodes and time steps, allowing multi-source monitoring data to participate in prediction after physical state transformation. The dynamic sampling mechanism links the sensor sampling frequency with the discrete time step of the Kalman state estimation, reducing bias caused by time scale inconsistencies.
[0020] This invention's elastic weight consolidation mechanism utilizes prediction variance to adjust the constraint strength of historical convergent network weight parameters, balancing adaptation to new freeze-thaw states with preservation of existing state representations. The thermodynamic entropy yield residual loss applies a training penalty to the negative portion of the local entropy yield, increasing thermodynamic irreversibility constraints. The zero-temperature zone attention mask matrix determines the zero-temperature zone identifier based on the temperature state in the standard time-series observation matrix, shielding attention competition at time steps outside the zero-temperature zone, and applying a preset non-decay threshold constraint to the attention weights within the zero-temperature zone, maintaining the characteristic correlation of latent heat of water phase change in continuous time steps within the zero-temperature zone. Overall, the closed-loop feedback mechanism, physical constraints, dynamic sampling, elastic weight consolidation, thermodynamic entropy yield constraints, and zero-temperature zone attention mask collectively improve the consistency and stability of soil temperature, moisture, and mechanical state predictions under extreme freeze-thaw environments. Attached Figure Description
[0021] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained from these drawings without creative effort.
[0022] Figure 1 This is the main flowchart of the method of the present invention.
[0023] Figure 2 This is a flowchart of the feedback closed-loop execution sub-process of the present invention.
[0024] Figure 3 This is a flowchart of a sub-process of the dynamic sampling mechanism of the present invention. Detailed Implementation
[0025] In the following description, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments can be modified in various ways without departing from the spirit or scope of the embodiments of the invention. Therefore, the drawings and description are considered to be exemplary in nature and not restrictive.
[0026] The embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
[0027] Example 1: This example provides a multimodal prediction method for soil environment during extreme cold freeze-thaw periods. In specific implementation, the data sources for the monitoring area include satellite remote sensing data, ground in-situ monitoring data, meteorological data, and soil physicochemical property data.
[0028] The satellite remote sensing data includes synthetic aperture radar (SAR) data and optical remote sensing image data. The SAR data is used to obtain remote sensing results related to the surface dielectric state and topsoil volumetric water content; the optical remote sensing image data, after radiometric calibration and atmospheric correction, forms snow cover information and surface temperature information. The satellite remote sensing data also includes corresponding imaging time and spatial location information.
[0029] The in-situ ground monitoring data is obtained through a network of in-situ ground sensors deployed at different soil depths, and includes continuous time-series data on soil temperature, soil moisture, and soil pressure. Each piece of in-situ ground monitoring data includes the observation time, sensor location, soil depth, type of observed variable, and observed value. The continuous time-series soil moisture data uses soil volumetric water content as the moisture observation.
[0030] The meteorological data includes air temperature, wind speed, precipitation, shortwave radiation flux, and longwave radiation flux. This meteorological data participates in multi-source state characterization and also serves as the meteorological forcing input in the Kalman state estimation.
[0031] The soil physicochemical properties data are retrieved from the soil physicochemical properties database, including soil sand composition, soil silt composition, soil clay composition, porosity, and soluble salt information. The medium parameters used for physical residual calculations are retrieved from the soil physicochemical properties database and corresponding model parameter records according to the freeze-thaw hydrothermal model. Medium parameters related to the soil in the monitoring area are determined based on the soil physicochemical properties data and corresponding model parameter records; physical constants are pre-stored as model parameters.
[0032] The satellite remote sensing data, the ground in-situ monitoring data, the meteorological data, and the soil physicochemical property data are indexed based on time information and spatial location. For the ground in-situ monitoring data with continuous sampling characteristics, the continuous temporal structure is preserved; for the satellite remote sensing data, the meteorological data, and the soil physicochemical property data, corresponding spatiotemporal indexes are written according to the corresponding time and spatial location, thereby obtaining the multi-source heterogeneous dataset.
[0033] In specific implementation, a discrete state-space model is established for the continuous time-series data of soil temperature, soil moisture, and soil pressure. The state prediction relationship and measurement relationship are as follows:
[0034] in, For the first The soil state vector to be estimated at time step 1. For discrete time indexes, For the first The state transition matrix used at each time step For the first The soil state vector at time t. This is the mapping matrix from meteorological forcing input to the soil state vector. For the first The meteorological forcing input vector formed from the meteorological data at any given time, For the first The process noise vector corresponding to time step 1. For the first The actual observed vector at time t, The observation matrix is the result of mapping the soil state vector to the actual observation vector. For the first The observation noise vector at time step, For covariance calculation, For the first The observation noise covariance matrix used at each time step.
[0035] The Kalman state estimation first uses the previous posterior state estimate, the state transition matrix, and the meteorological forced input to obtain the current prior state estimate. Then, based on the prior error covariance matrix, the observation matrix, and the observation noise covariance matrix, it determines the correction weights of the actual observation vector on the prior state estimate and forms the current posterior state estimate.
[0036] For the continuous time-series data of soil temperature, soil moisture, and soil pressure at the same spatial node, the continuous time-series observation channel number is saved respectively. The continuous time-series observation channel number is used to determine the corresponding predictor variable and the corresponding spatial node during subsequent prediction variance feedback, so as to avoid applying the prediction uncertainty corresponding to one spatial node or one predictor variable to other continuous time-series observation channels.
[0037] The continuously output posterior state estimates are arranged in spatial location, soil depth and time order, and a common spatiotemporal index is established with the satellite remote sensing data, the meteorological data and the soil physicochemical property data to form the standard time series observation matrix.
[0038] When a certain continuous time series observation channel does not generate a valid observation value at the current time, the ungenerated valid observation value is not included in the measurement update at the current time; the Kalman state estimation uses the posterior state estimation of the previous time and the obtained meteorological forced input to form the prior state estimation at the current time; after the corresponding continuous time series observation channel re-obtains a valid observation value, the re-obtained valid observation value is restored for subsequent measurement updates.
[0039] In practical implementation, the temperature state of adjacent soil layer depths is read from the standard time-series observation matrix, and a vertical temperature gradient feature is formed based on the temperature difference and vertical distance between adjacent soil layer depths. For cases with multiple observation nodes within a horizontal grid, a horizontal temperature gradient feature is formed based on adjacent spatial nodes. The vertical and horizontal temperature gradient features together constitute the thermal features.
[0040] The water phase transition characteristics are jointly formed by temperature and water state. The "unfrozen water state" used to calculate the water phase transition characteristics at the current moment is obtained by converting the volumetric water content measured by a soil moisture sensor, combined with the current soil temperature state, using a pre-calibrated soil freezing characteristic curve (such as the Clapeyron equation or empirical formula). The freezing front is tracked based on the positional relationship of the change from unfrozen to frozen state at different soil depths, and the phase transition state change rate is obtained by combining this with the change in the unfrozen water state within the corresponding time period. This phase transition state change rate, together with the water phase transition latent heat parameter, forms the water phase transition latent heat characteristic.
[0041] The deformation response characteristics are formed based on the theoretical volume change state of pore water phase change during freezing and the earth pressure change at the same spatial node. In this embodiment, an ice lens growth model based on the balance of pore ice pressure and overlying load is used to describe the volume change relationship between water migration and ice formation near the freezing front. The core inputs of this model include: the movement rate of the freezing front, the migration flux of unfrozen water to the freezing front (obtained by the Richards equation), and the effective stress of the overlying soil. The model determines the formation thickness of the condensed ice by solving the mechanical equilibrium condition at the ice lens (i.e., the ice pressure equals the sum of the overlying stress and the soil skeleton strength), and then calculates the resulting volume expansion. By establishing a correspondence between the volume change state caused by pore water phase change and the earth pressure change at the corresponding spatiotemporal location, the volume expansion response characteristics are obtained.
[0042] The temperature gradient feature, the latent heat of water phase change feature, and the volume expansion response feature respectively store the corresponding spatial node and time step index, so that the physical feature set and the observation data that form the physical feature set maintain a spatiotemporal correspondence.
[0043] In specific implementation, the temperature gradient features, the latent heat of water phase change features, and the volume expansion response features are organized into a multidimensional state tensor according to the feature channel dimension. The dimensions of the multidimensional state tensor are arranged according to the feature channels, the spatial grid in the first horizontal direction, the spatial grid in the second horizontal direction, and the time series.
[0044] Each spatiotemporal location in the multidimensional state tensor corresponds to a feature unit formed by the physical feature set. The spatiotemporal multi-head attention fusion includes an input projection layer, multiple parallel attention heads, and an output linear mapping layer. The input projection layer uses independent trainable weight matrices to convert the multidimensional state tensor into the query feature, the key feature, and the value feature. Each parallel attention head receives the corresponding query feature, key feature, and value feature, calculates the attention weights between different spatial nodes and different time steps, and weights the value feature according to the attention weights. The outputs of the multiple parallel attention heads are concatenated along the feature dimension, and the output linear mapping layer maps the concatenated features to the spatiotemporal fusion feature.
[0045] The trainable weight matrix of the input projection layer, the projection parameters corresponding to the parallel attention heads, and the weight parameters of the output linear mapping layer are used as trainable parameters for the spatiotemporal multi-head attention fusion. The spatiotemporal multi-head attention fusion does not cancel the index information of the spatial grid and the time step, and the spatiotemporal fusion features continue to retain the index relationship between the corresponding spatial nodes and the corresponding time steps.
[0046] In its implementation, the physical constraint neural network receives the spatiotemporal fusion features and the corresponding spatial and temporal coordinates. The physical constraint neural network employs a multilayer perceptron structure, including an input layer, multiple cascaded fully connected hidden layers, differentiable nonlinear activation units positioned between adjacent fully connected hidden layers, and an output layer. The input layer receives the spatiotemporal fusion features, the spatial coordinates, and the temporal coordinates; the output of the preceding fully connected hidden layer serves as the input to the following fully connected hidden layer; the output layer receives the output of the last fully connected hidden layer and forms the soil environment prediction matrix.
[0047] The output layer includes at least one output node corresponding to the predicted temperature state, the predicted unfrozen water state, the predicted volumetric ice-containing state, and the predicted stress state. The predicted temperature state constitutes the soil temperature field; the predicted unfrozen water state and the predicted volumetric ice-containing state constitute the moisture field and are used for subsequent physical residual calculations; the predicted stress state constitutes the stress field. The trainable parameters of the physically constrained neural network include the connection weight parameters and bias parameters of each of the fully connected hidden layers and the output layer.
[0048] In the construction of model training data, the standard time-series observation matrix and the physical feature set formed within a historical time window are used as the input data for the current training samples, and the actual soil temperature observation data, soil moisture observation data, and earth pressure observation data acquired after the historical time window are used to form the supervision data for the corresponding prediction period. This embodiment uses mean square error to form the data fitting loss. The mean square error between the predicted unfrozen water state and the soil moisture observation data (volume water content) in the supervision data is calculated by mapping using a differentiable soil freezing characteristic curve model to ensure that the network output (unfrozen water state) and the sensor observation (volume water content) are compared under the same physical dimensions. The mean square error between the predicted temperature state and the corresponding soil temperature observation data, the mean square error between the mapped predicted unfrozen water state and the corresponding soil moisture observation data, and the mean square error between the predicted stress state and the corresponding earth pressure observation data together form the data fitting loss.
[0049] In this embodiment, the physical constraint neural network adopts a multilayer perceptron structure, containing four fully connected hidden layers with 256, 128, 64, and 32 neurons per layer, respectively. The ReLU activation function is used between hidden layers. The network is trained using the Adam optimizer with an initial learning rate of 1e-3, and cosine annealing is used for learning rate adjustment. The batch size is set to 64, and the maximum number of training epochs is 500. The weights for data fitting loss (wd), freeze-thaw energy conservation residual loss (wT), and water mass conservation residual loss (wW) in the total model training loss are configured as 1.0, 0.1, and 0.05, respectively. Early stopping is used in model training; training terminates when the validation set loss does not decrease within 50 epochs.
[0050] The training spatiotemporal nodes used for calculating the freeze-thaw energy conservation residuals and the water mass conservation residuals are formed by the spatial grid nodes and time steps corresponding to the current training sample. The spatial coordinates and the time coordinates correspond one-to-one with the training spatiotemporal nodes.
[0051] During training, the physically constrained neural network performs forward propagation to form the soil environment prediction matrix based on the current training samples. It then calculates the data fitting loss based on the soil environment prediction matrix and the supervised data. Automatic differentiation is performed based on the soil environment prediction matrix and the corresponding spatial and temporal coordinates to form the freeze-thaw energy conservation residual and the water mass conservation residual. The data fitting loss, the freeze-thaw energy conservation residual loss, and the water mass conservation residual loss are combined according to their corresponding loss weights to form the total model training loss. Backpropagation is used to calculate the gradient of the total model training loss relative to the trainable parameters of the spatiotemporal multi-head attention fusion and the trainable parameters of the physically constrained neural network, and gradient descent is used to update the trainable parameters. The forward propagation, loss calculation, backpropagation, and parameter update are repeated until the total model training loss meets the convergence condition set during the training phase. The converged trainable parameters are then saved for use in the prediction phase.
[0052] When calculating the physical residuals, the predicted temperature state is uniformly converted to the predicted absolute thermodynamic temperature under the absolute thermodynamic temperature scale. The expressions for the total model training loss, freeze-thaw energy conservation residuals, and moisture mass conservation residuals are as follows:
[0053] in, The total loss during model training. To fit the loss weights to the data, For data fitting loss, Weighting of residual loss due to freeze-thaw energy conservation. For the freeze-thaw energy conservation residual, Assign weights to the residual loss due to moisture quality conservation. For the moisture conservation residuals, the overline indicates the arithmetic mean of the squared residuals over all training time-space nodes. For the density of mixed soil, For the specific heat capacity of the mixed soil, To predict absolute thermodynamic temperature, For time, The latent heat of water phase change parameter, The density of the ice phase. To predict the ice-containing state of a volume, Thermal conductivity, For spatial differential operators, To predict the state of unfrozen water, For soil moisture diffusion parameters, This parameter represents the effect of temperature gradient on moisture migration under non-isothermal conditions. To predict the partial derivative of absolute thermodynamic temperature with respect to time, To predict the partial derivative of the volumetric ice-containing state with respect to time, To predict the partial derivative of the unfrozen water state with respect to time, To predict the spatial gradient of absolute thermodynamic temperature, To predict the spatial gradient of unfrozen water, This is for spatial divergence calculation.
[0054] The data fitting loss weight, the freeze-thaw energy conservation residual loss weight, and the water mass conservation residual loss weight are determined during the training parameter configuration phase and are read as training parameters during the corresponding training process. The mixed soil density, the mixed soil specific heat capacity, the thermal conductivity, the soil moisture diffusion parameters, and the parameters of the influence of temperature gradient on water migration under non-isothermal conditions are read from the soil physicochemical property database and the corresponding model parameter records; the water phase change latent heat parameter and the ice phase density are read from the pre-stored physical property parameter records.
[0055] The partial derivatives of the predicted absolute thermodynamic temperature, the predicted volumetric ice state, and the predicted unfrozen water state with respect to the time and spatial coordinates are obtained by the automatic differentiation function of the computation graph of the physical constraint neural network. During training, backpropagation is performed on the total training loss of the model, so that the trainable parameters of the physical constraint neural network are simultaneously constrained by actual observation data, the freeze-thaw energy conservation relationship, and the water mass conservation relationship.
[0056] For the stress field, the predicted stress state utilizes the earth pressure observation data to form the corresponding error term in the data fitting loss, and uses the volume expansion response features in the physical feature set to provide the input state related to freeze-thaw deformation. The predicted stress state does not include the freeze-thaw energy conservation residual or the moisture mass conservation residual that are not recorded as stress physical residuals.
[0057] In a specific implementation, a random deactivation layer is set between multiple cascaded fully connected hidden layers of the physically constrained neural network. The random deactivation ratio of the random deactivation layer is determined during the prediction parameter configuration stage. After the physically constrained neural network completes training, the random deactivation layer remains active during the prediction stage, so that each forward inference forms a different effective network connection state according to the random deactivation ratio.
[0058] For the same spatiotemporal fusion feature, perform multiple independent forward inferences, and form the prediction mean and prediction variance from all forward inference results. The prediction variance, observation channel noise adjustment matrix, observation noise covariance matrix updates, and convergence criteria are as follows:
[0059] in, The mean of predictions obtained from multiple forward inferences. This represents the total number of independent forward inferences. This is the forward inference sequence number. For the first The soil environment prediction matrix obtained by the forward inference. The prediction variance is saved according to the predictor variable, spatial node, and prediction time step. For feedback iteration rounds, For the first The prediction variance obtained from round feedback iteration, Select a mapping for the observation channel. For the first The noise adjustment matrix of the observation channel formed by the wheel, This is an operation to form a diagonal matrix from an input vector. For the first Wheel of Life The observation noise covariance matrix used at each time step. For discrete time indexes, For the first Wheel of Life The observation noise covariance matrix used at each time step. To provide feedback for adjusting the step size, For the first The convergence statistic of the round prediction variance. For matrix trace operations, This involves expanding the prediction variance into a vector according to the determined order of predictor variables, spatial nodes, and prediction time steps. The preset convergence threshold for predicting variance.
[0060] The observation channel selection mapping selects the variance components with actual continuous temporal observation channels from the prediction variance based on the predictor variable type, spatial node number, and prediction time step. For cases where the same predictor variable and the same spatial node have multiple prediction time steps within the prediction time window, the observation channel selection mapping also performs time dimension aggregation. In this embodiment, the time dimension aggregation uses the arithmetic mean of the prediction variances of all prediction time steps for the same predictor variable and the same spatial node within the prediction time window, and arranges the time dimension aggregation results according to the order of continuous temporal observation channels of the actual observation vectors in the Kalman state estimation.
[0061] The observation channel selection mapping is used to address the issue of discrepancies between the predicted spatial grid dimension, the predicted time step dimension, and the actual number of continuous time-series observation channels. When the soil environment prediction matrix covers all spatial grids and multiple predicted time steps, but the soil temperature sensor is only located at some spatial nodes, only the temperature prediction variance corresponding to the spatial node where the actual soil temperature sensor is located is selected. The aforementioned time dimension aggregation is then performed on the temperature prediction variance to form the observation channel noise adjustment matrix. The prediction variance corresponding to spatial grids that do not have actual continuous time-series observation channels is not written into the observation noise covariance matrix.
[0062] The feedback adjustment step size is determined during the feedback control parameter configuration stage. The observation channel noise adjustment matrix and the observation noise covariance matrix have the same continuous time-series observation channel arrangement order. Each diagonal element in the observation channel noise adjustment matrix corresponds only to the diagonal element of the same continuous time-series observation channel in the observation noise covariance matrix.
[0063] The convergence statistic is calculated using the prediction variance before the time dimension aggregation is performed, so that the convergence statistic simultaneously reflects the prediction uncertainty of each predictor variable, each spatial node, and each prediction time step.
[0064] After updating the observation noise covariance matrix, the Kalman state estimation reuses the original continuous temporal observation data and the updated observation noise covariance matrix to perform state estimation. The reconstructed standard temporal observation matrix serves as the input for recalculating the physical feature set. The recalculated physical feature set serves as the input for reconstructing the multidimensional state tensor. The reconstructed multidimensional state tensor serves as the input for re-executing the spatiotemporal multi-head attention fusion. The newly obtained spatiotemporal fusion features serve as the input for re-predicting the physical constraint neural network, thereby forming the soil environment prediction matrix and prediction variance for the next round.
[0065] When the convergence statistic is not higher than the preset convergence threshold, the current feedback process is stopped, and the soil environment prediction matrix corresponding to the current feedback iteration is used as the output result.
[0066] In practice, the converged soil environment prediction matrix is stored according to prediction time steps, spatial nodes, and prediction variables. For any prediction time step, a temperature scalar field, a moisture scalar field, and a mechanical state field are formed respectively.
[0067] When a 3D display result needs to be generated, the prediction result output program organizes adjacent spatial nodes according to the spatial grid, combines 8 adjacent 3D spatial nodes into a basic voxel, and uses the moving cube method to determine the scalar state of each basic voxel vertex.
[0068] For the temperature scalar field, temperature isosurfaces are formed by interpolation on the boundaries of the basic voxels according to the set temperature isosurface state; for the moisture scalar field, moisture distribution isosurfaces are formed according to the same spatial grid correspondence.
[0069] For the expression of volumetric deformation, the volumetric expansion response features in the physical feature set are organized according to a predicted spatial grid, and a volumetric change state is formed based on the reference volume corresponding to each spatial grid cell, generating a volumetric deformation distribution in a 3D coordinate system. The temperature isosurface, the moisture distribution isosurface, and the volumetric deformation distribution are superimposed and displayed under the same spatial coordinate reference.
[0070] The 3D display results are part of the output representation of the soil environment prediction matrix and do not participate in the feedback update of the observation noise covariance matrix.
[0071] In one specific deployment method of this embodiment, the in-situ ground sensor network is deployed in the monitoring area, and soil temperature sensors, soil moisture sensors, and soil pressure sensors are installed at multiple soil depths. The soil temperature sensor, soil moisture sensor, and soil pressure sensor are respectively installed at depths of 0.5m, 1.0m, 1.5m, and 2.0m underground. The soil temperature sensor is a low-temperature resistant temperature sensor, the soil moisture sensor is a moisture sensor based on the time-domain reflectometry principle, and the soil pressure sensor is a strain gauge soil pressure sensor.
[0072] The satellite remote sensing data includes the synthetic aperture radar data and the optical remote sensing image data. The synthetic aperture radar data is used to generate spatial data related to surface soil moisture, and the optical remote sensing image data is used to generate snow cover information and surface temperature information.
[0073] The meteorological station reads the air temperature, wind speed, precipitation, shortwave radiation flux, and longwave radiation flux. The soil particle composition, porosity, and soluble salt content information previously obtained in the laboratory are stored in the soil physicochemical properties database.
[0074] The satellite remote sensing data, the ground in-situ monitoring data, the meteorological data, and the soil physicochemical property data carry corresponding time information. The multi-source data management program establishes a spatiotemporal correspondence based on the sensor spatial location, remote sensing spatial grid, and time information.
[0075] The Kalman state estimation is performed on the continuous time-series data of soil temperature, soil moisture, and soil pressure, with the meteorological data used as the meteorological forcing input for state prediction. The first prediction uses the observation noise covariance matrix formed during system initialization.
[0076] The posterior state estimate output by the Kalman state estimation forms the standard time-series observation matrix according to spatial nodes and time steps.
[0077] For adjacent soil layer depths, the temperature gradient feature is formed by the ratio of temperature difference to the vertical distance between nodes. Based on the temperature and moisture states, the migration relationship of the freezing state with depth and time is identified, forming the freezing front. The latent heat of water phase change is obtained based on the changes in the unfrozen water state. The volumetric expansion response feature is formed by combining the phase change volumetric change state described by the ice lens growth model with the corresponding soil pressure changes.
[0078] The temperature gradient feature, the latent heat of water phase change feature, and the volume expansion response feature are combined into the multidimensional state tensor according to the feature channel dimension. The multidimensional state tensor is fed into the spatiotemporal multi-head attention fusion, where multiple parallel attention heads process the correlation between different spatial nodes and different time steps, and output the spatiotemporal fusion feature that retains the original spatiotemporal index.
[0079] The spatiotemporal fusion features, along with their corresponding spatial and temporal coordinates, are input into the physical constraint neural network. During the training phase, the loss is calculated based on the total training loss of the aforementioned model, the freeze-thaw energy conservation residual, and the water mass conservation residual, and the trainable parameters of the spatiotemporal multi-head attention fusion and the physical constraint neural network are updated accordingly.
[0080] During the prediction phase, the random deactivation layer is activated, and multiple independent forward inferences are performed on the same spatiotemporal fusion features. Each forward inference forms a soil environment prediction matrix with the same data structure but different predicted values, and the prediction variances of each prediction variable, each spatial node, and each prediction time step are obtained according to the aforementioned prediction variance calculation process.
[0081] The feedback control program reads the observation channel mapping record. When a soil temperature sensor and a soil moisture sensor are set at the same time for one underground space node, the predicted variance of temperature and the predicted variance of moisture in the prediction time window of the underground space node are selected respectively, and the time dimension aggregation is performed on the variance in the corresponding prediction time window; when a prediction space grid does not have a corresponding actual sensor, the prediction variance of the prediction space grid is not directly entered into the observation noise covariance matrix.
[0082] The selected prediction variance is aggregated along the time dimension to form the observation channel noise adjustment matrix and update the observation noise covariance matrix. Then, the Kalman state estimation is re-executed, and the standard time-series observation matrix, the physical feature set, the multidimensional state tensor, the spatiotemporal fusion feature, the soil environment prediction matrix, and the prediction variance are sequentially re-formed.
[0083] When the convergence statistic of the predicted variance reaches the preset convergence threshold, the current closed-loop prediction ends and the soil environment prediction matrix is output. The soil environment prediction matrix is further converted into a 3D representation of temperature, moisture, and volume deformation at each prediction time step.
[0084] Example 2: This example is a further optimization based on Example 1. In this example, the linkage between the sensor dynamic sampling frequency and the state transition time step of the Kalman state estimation is added.
[0085] Edge computing nodes are connected to soil temperature sensors at different soil depths. Each edge computing node acquires a short-time window soil temperature sequence according to a base sampling frequency. The short-time window soil temperature sequence consists of soil temperature samples arranged in chronological order within a preset short-time window.
[0086] The temperature range of the short-time window soil temperature sequence is divided into multiple discrete state intervals. The frequency of the short-time window soil temperature sequence falling into each discrete state interval is statistically analyzed, and each frequency is normalized to form a probability distribution. The Shannon information entropy corresponding to the probability distribution is calculated using a base-2 logarithm to form the information entropy feature value of the current short-time window soil temperature sequence.
[0087] The edge computing node stores the basic sampling frequency, the maximum information entropy reference value, and the frequency expansion sensitivity coefficient. The maximum information entropy reference value is obtained by using the same discrete state interval division method and Shannon information entropy calculation method as the current short-time window soil temperature sequence for historical short-time window soil temperature sequences, and the maximum information entropy value in the historical calculation results is pre-stored as the maximum information entropy reference value.
[0088] The target sampling frequency is formed according to the following processing relationship: The current information entropy feature value is divided by the maximum information entropy reference value to form a normalized entropy value, which is restricted to the interval [0,1]. The normalized entropy value is multiplied by the frequency expansion sensitivity coefficient, the resulting product is added to the value 1, and then multiplied by the base sampling frequency to form the target sampling frequency. Furthermore, the generated target sampling frequency is restricted to a range [F] determined jointly by the sensor hardware capabilities and monitoring task requirements. min , F max Within the frequency range.
[0089] The edge computing node modifies the data sampling interruption period according to the target sampling frequency, so that subsequent soil temperature observations enter the multi-source heterogeneous dataset according to the updated data sampling interruption period.
[0090] The reciprocal of the target sampling frequency is used as the current dynamic discrete time step. The continuous-time thermodynamic state model forms a continuous-state Jacobian matrix in the current operating state. This continuous-state Jacobian matrix is multiplied by the dynamic discrete time step, and matrix exponentiation is performed on the multiplication result to generate a new state transition matrix. Therefore, when the soil temperature sensor changes its data sampling interruption period, the Kalman state estimation synchronously adopts the state transition matrix corresponding to the actual data sampling interruption period.
[0091] When the probability distribution of the short-time window soil temperature sequence changes, causing the information entropy feature value to increase, the target sampling frequency changes according to the aforementioned processing relationship; when the short-time window soil temperature sequence is relatively stable, the target sampling frequency is adjusted according to the same processing relationship. Each time the target sampling frequency changes, its reciprocal is used as the new dynamic discrete time step and passed to the Kalman state estimate.
[0092] Therefore, the target sampling frequency has two downstream applications: the first is to control the data sampling interruption period of the soil temperature sensor, and the second is to determine the dynamic discrete time step of the Kalman state estimation. The same target sampling frequency output by the edge computing node simultaneously enters both the data sampling control process of the soil temperature sensor and the state transition matrix reconstruction process of the Kalman state estimation.
[0093] The ground in-situ monitoring data obtained using the dynamic sampling mechanism are then used to continue the Kalman state estimation, physical feature set calculation, spatiotemporal multi-head attention fusion, physical constraint neural network prediction, and prediction variance feedback process described in Example 1.
[0094] Example 3: This example is based on the same principles as Example 1, except that in this example, an elastic weight consolidation mechanism is used for the incremental training of the physical constraint neural network during the continuous deployment process across freeze-thaw phases.
[0095] The freeze-thaw monitoring process includes a freezing stage, a deep freezing stage, and a thawing stage. Meteorological forcing inputs, soil temperature, moisture content, and phase transition states change during different freeze-thaw stages. To enable the physically constrained neural network to continue training based on monitoring data from the next freeze-thaw stage, and to limit the unconstrained deviation of network weight parameters from the historical convergent network weight parameters formed in the previous freeze-thaw stage, this embodiment uses the elastic weight consolidation mechanism.
[0096] Once the training in the previous freeze-thaw phase meets the convergence conditions set in the training phase, the historical converged network weight parameters are saved.
[0097] For each network weight parameter to be updated in the physically constrained neural network, the gradient of the predicted distribution log-likelihood relative to the corresponding network weight parameter is calculated using historical training samples from the previous freeze-thaw stage. The square of the gradient corresponding to each historical training sample is calculated, and then the arithmetic mean of the squared gradients of all historical training samples is taken. The resulting arithmetic mean is used as the parameter importance of the corresponding network weight parameter. The parameter importance of all network weight parameters together constitutes the diagonalized parameter importance information.
[0098] The predicted log-likelihood is formed based on the supervised data of historical training samples and the corresponding prediction results of the physical constraint neural network. For example, in this embodiment, where mean squared error is used as the data fitting loss, a fixed variance Gaussian output model can be used to establish the probabilistic relationship between the prediction results and the supervised data, and the predicted log-likelihood is calculated based on the probabilistic relationship; the fixed variance remains unchanged in the same parameter importance calculation stage.
[0099] After entering the next freeze-thaw stage, the data fitting loss, the freeze-thaw energy conservation residual loss, and the water mass conservation residual loss are calculated based on the new multidimensional state tensor and corresponding observation data actually obtained in the next freeze-thaw stage, and the elastic weight consolidation penalty term is added to the training loss.
[0100] For each network weight parameter, calculate the squared difference between the current network weight parameter and the corresponding historical converged network weight parameter, and multiply the squared difference by the corresponding parameter importance; accumulate the products corresponding to all network weight parameters, and then scale the accumulated result using the current elastic weight consolidation weight to form the elastic weight consolidation penalty term.
[0101] The current elastic weight consolidation weight is adjusted based on the convergence statistic of the prediction variance obtained in the closed-loop prediction process of Example 1. The convergence statistic is multiplied by a preset uncertainty decay parameter, the product is inversely taken and subjected to natural exponential mapping, and then the preset basic consolidation weight is scaled using the natural exponential mapping result to form the current elastic weight consolidation weight.
[0102] When the convergence statistic increases, the current elastic weight consolidation weight decreases, allowing the current network weight parameters to change significantly relative to the corresponding historical converged network weight parameters during the subsequent freeze-thaw training phase. As the subsequent freeze-thaw training and loop closure prediction proceed, when the convergence statistic decreases, the current elastic weight consolidation weight increases, strengthening the restriction on the network weight parameters with higher parameter importance relative to the corresponding historical converged network weight parameters.
[0103] In this embodiment, the preset base consolidation weight of the Elastic Weight Consolidation (EWC) penalty term is set to 500.
[0104] The prediction variance has two downstream applications in this embodiment. The first downstream application is used to form the observation channel noise adjustment matrix in Embodiment 1. The second downstream application is used to adjust the weights corresponding to the elastic weight consolidation penalty term in this embodiment. Both downstream applications use the prediction variance output by the random inactivation uncertainty calculation program.
[0105] Example 4: This example is a further optimization based on Example 1. In this example, the thermodynamic entropy production rate residual loss is added to the physical constraint neural network, and the zero-temperature zone attention mask matrix is added during the spatiotemporal multi-head attention fusion process.
[0106] During freeze-thaw cycles, the transformation between the water and ice phases is accompanied by the release or absorption of latent heat. In macroscopic temperature observations, this manifests as a slow, continuous change in soil temperature within a range close to the critical temperature for the water-ice phase transition—a state known as the zero-temperature zone. This embodiment addresses the state where the temperature gradient characteristics weaken while the water-ice phase transition continues during the zero-temperature zone. It adds the zero-temperature zone attention mask matrix and the thermodynamic entropy yield residual loss to the spatiotemporal multi-head attention fusion and the physical constraints of the physical constraint neural network described in Embodiment 1, respectively.
[0107] In specific implementation, the satellite remote sensing data, the ground in-situ monitoring data, the meteorological data, and the soil physicochemical property data are aligned according to spatial location and temporal information to form the multi-source heterogeneous dataset. The continuous time-series data of soil temperature, soil moisture, and soil pressure from the multi-source heterogeneous dataset are input into the Kalman state estimation. The Kalman state estimation uses the posterior state estimate from the previous discrete time step and the state transition matrix to generate the prior state estimate for the current time step, and then uses the actual observation vector, the observation matrix, and the observation noise covariance matrix to correct the prior state estimate, outputting the updated posterior state estimate.
[0108] The posterior state estimate and the remaining data in the multi-source heterogeneous dataset form the standard time-series observation matrix using a common spatiotemporal index. The thermal features, the water phase transition features, and the deformation response features are calculated from the standard time-series observation matrix. The thermal features, water phase transition features, and deformation response features are cascaded according to feature channel dimensions to form the multidimensional state tensor.
[0109] The multidimensional state tensor is incorporated into the spatiotemporal multi-head attention fusion. The input projection layer converts the multidimensional state tensor into the query feature, the key feature, and the value feature, respectively. For each parallel attention head, the dot product between the query feature and the key feature is calculated and scaled according to the feature dimension of the key feature to form the original dot product matrix.
[0110] In this embodiment, the soil temperature time series corresponding to each spatial node in the standard time series observation matrix is read, and it is determined whether the corresponding time step is within the critical temperature range of the water-ice phase transition based on the soil temperature state at each time step. The generation of the zero-temperature zone identifier uses the soil temperature state already obtained in the standard time series observation matrix, and does not use the future predicted temperature that has not yet been formed.
[0111] In one specific setting of this embodiment, the critical temperature range for the water-ice phase transition is set to -0.5°C to 0.5°C. A Boolean-type zero-temperature zone identifier is generated for each time step in which the soil temperature continuously falls within the critical temperature range for the water-ice phase transition. The critical temperature range for the water-ice phase transition serves as the judgment parameter for generating the zero-temperature zone identifier in this embodiment.
[0112] The zero-temperature zone attention mask matrix is constructed based on whether the time step corresponding to the query feature and the time step corresponding to the key feature have the zero-temperature zone identifier. When the time step corresponding to the query feature has the zero-temperature zone identifier, and the time step corresponding to the key feature also has the zero-temperature zone identifier, the zero-temperature zone attention mask matrix does not set the preset mask value at the corresponding dot product position, allowing the corresponding original dot product score to participate in subsequent attention weight allocation; when the time step corresponding to the query feature has the zero-temperature zone identifier, but the time step corresponding to the key feature does not have the zero-temperature zone identifier, the zero-temperature zone attention mask matrix sets the preset mask value at the corresponding dot product position; when the time step corresponding to the query feature does not have the zero-temperature zone identifier, the preset mask value is not set at the corresponding dot product position, allowing non-zero-temperature zone query time steps to process the association between different time steps according to the spatiotemporal multi-head attention fusion processing described in Example 1.
[0113] The preset masking value is represented by a negative infinity mask. The dot product position of the element with the preset masking value is excluded from the calculation of the normalized exponential function in the current query time step and does not participate in the attention weight allocation of the current query time step.
[0114] The zero-temperature zone attention mask matrix is superimposed on the original dot product matrix, and the superposition result is input into the normalized exponential function. For the case where the time step corresponding to the query feature has the zero-temperature zone identifier, the attention weights of all corresponding zero-temperature zone valid key time steps are read after normalization. Since both the query feature and the key feature are generated from the same multidimensional state tensor, the key time step identical to the current query time step is considered as one zero-temperature zone valid key time step in the calculation; therefore, the number of zero-temperature zone valid key time steps is at least one.
[0115] The preset non-decaying threshold is determined during the spatiotemporal multi-head attention fusion parameter configuration phase. To ensure that the preset non-decaying threshold constraint can be executed, the preset non-decaying threshold is set to be no greater than the reciprocal of the number of valid key time steps in the zero-temperature zone corresponding to the current query time step.
[0116] For each zero-temperature zone effective bond time step, a base attention weight not lower than the preset non-decay threshold is first reserved for the corresponding zero-temperature zone effective bond time step. After the base attention weights for all zero-temperature zone effective bond time steps are determined, the remaining allocable attention weights obtained by subtracting all base attention weights from the total attention weights are redistributed according to the proportions among the attention weights of each zero-temperature zone effective bond time step initially obtained from the normalized exponential function. After redistribution, the sum of the attention weights corresponding to each zero-temperature zone effective bond time step is 1, and the attention weight corresponding to each zero-temperature zone effective bond time step is not lower than the preset non-decay threshold.
[0117] In this embodiment, the preset non-attenuation threshold is set to 0.15.
[0118] After fulfilling the preset non-decay threshold constraint, the attention weight corresponding to the current query time step is weighted and calculated with the value feature to form the spatiotemporal fusion feature with zero temperate zone temporal correlation. The spatiotemporal fusion feature continues to maintain the index relationship between the corresponding spatial node and the corresponding time step.
[0119] The spatiotemporal fusion features, along with the corresponding spatial and temporal coordinates, are input into the physical constraint neural network. The physical constraint neural network performs forward propagation according to the input layer, multiple cascaded fully connected hidden layers, differentiable nonlinear activation units, and output layer described in Example 1, and forms the predicted temperature state, the predicted unfrozen water state, the predicted volumetric ice-containing state, and the predicted stress state.
[0120] Based on the data fitting loss, the freeze-thaw energy conservation residual loss, and the moisture mass conservation residual loss, this embodiment further calculates the thermodynamic entropy yield residual loss.
[0121] In specific implementation, the predicted temperature state is converted into the predicted absolute thermodynamic temperature in K. This temperature scale conversion only changes the reference temperature scale used for the temperature value, without altering the data index relationships of the corresponding spatial nodes, time steps, and spatial gradients. Utilizing the automatic differentiation function of the physical constraint neural network computation graph, the predicted absolute thermodynamic temperature is spatially differentiated to form its spatial gradient, and the predicted volumetric ice-containing state is temporally differentiated to form its partial derivative with respect to time.
[0122] The water-ice phase transition equilibrium temperature is determined from the soil physicochemical property data and the corresponding water-ice phase transition model parameter records. The water-ice phase transition equilibrium temperature and the predicted absolute thermodynamic temperature use the same absolute thermodynamic temperature scale.
[0123] The local entropy yield is:
[0124] in, For local entropy production rate, Thermal conductivity, To predict the spatial gradient of absolute thermodynamic temperature, To predict absolute thermodynamic temperature, The latent heat of water phase change parameter, The density of the ice phase. The equilibrium temperature of the water-ice phase transition was determined based on soil physicochemical properties data and a water-ice phase transition model. To predict the ice-containing state of a volume, For time, To predict the partial derivative of the volumetric ice-containing state with respect to time.
[0125] The first term in the local entropy production rate reflects the entropy contribution caused by heat conduction dissipation corresponding to the temperature spatial gradient. The second term in the local entropy production rate uses the direction of the thermodynamic driving force between the water-ice phase transition equilibrium temperature and the predicted absolute thermodynamic temperature, as well as the direction of change of the predicted volume of ice-containing state relative to time, to jointly characterize the entropy contribution corresponding to the water-ice phase transition. When the phase transition direction in the predicted state is inconsistent with the corresponding thermodynamic driving force direction and causes the local entropy production rate to become negative, the corresponding spatial node and the corresponding time step enter the penalty range of the thermodynamic entropy production rate residual loss.
[0126] The local entropy productivity is calculated for all spatial nodes and time steps participating in the training. For spatial nodes and time steps with a local entropy productivity greater than or equal to 0, no negative entropy productivity penalty is generated; for spatial nodes and time steps with a local entropy productivity less than 0, the absolute value of the negative local entropy productivity is extracted using a linear rectification function. All negative absolute values are statistically aggregated and multiplied by a preset entropy productivity penalty weight to form the thermodynamic entropy productivity residual loss.
[0127] The linear rectification function is only used to extract the negative part from the local entropy production rate to form the thermodynamic entropy production rate residual loss, and is not used as a limitation of the differentiable nonlinear activation unit of the physical constraint neural network in Example 1.
[0128] The preset entropy production penalty weight is determined during the training parameter configuration phase of the physically constrained neural network. The thermodynamic entropy production rate residual loss, along with the data fitting loss, freeze-thaw energy conservation residual loss, and water mass conservation residual loss described in Example 1, are collectively included in the total model training loss. Backpropagation is used to calculate the gradient of the total model training loss after incorporating the thermodynamic entropy production rate residual loss relative to the spatiotemporal multi-head attention fusion and the trainable parameters of the physically constrained neural network, and the trainable parameters are updated according to the parameter update process described in Example 1.
[0129] In this embodiment, the physical constraint neural network keeps the random deactivation layer on during the prediction phase. Fifty independent forward inferences are performed on the same spatiotemporal fusion feature, with each forward inference using a 10% random deactivation ratio. The 50 independent forward inferences output 50 sets of soil environment prediction matrices with identical data structures but different predicted values.
[0130] According to the prediction variance calculation process described in Example 1, the prediction mean and prediction variance of the 50 sets of soil environment prediction matrices are calculated using the prediction variable, spatial node and prediction time step as indexes.
[0131] Select the variance components corresponding to the continuous time-series data of soil temperature, soil moisture, and soil pressure from the prediction variance. Take the arithmetic mean of the prediction variances of the same predictor variable and the same spatial node within the prediction time window. The resulting arithmetic mean is used to form the observation channel noise adjustment matrix according to the order of the continuous time-series observation channels.
[0132] The observation channel noise adjustment matrix is scaled using the feedback adjustment step size, and the scaled observation channel noise adjustment matrix is used to update the observation noise covariance matrix of the Kalman state estimation. The Kalman state estimation then re-performs state estimation on the same original multi-source heterogeneous dataset using the updated observation noise covariance matrix, so that continuous time-series observation channels with high prediction uncertainty have observation weights re-determined based on the corresponding prediction variance in subsequent state fusion.
[0133] The reformed standard time-series observation matrix continues to drive the calculation of the physical feature set, the generation of the zero-temperature zone attention mask matrix, the spatiotemporal multi-head attention fusion, and the physical constraint neural network to perform the next round of prediction, and reformulates the prediction variance.
[0134] The closed-loop feedback is executed continuously according to the above process. The predicted variance obtained in each round is expanded according to the determined order of predicted variables, spatial nodes, and prediction time steps, and the convergence statistic for the current feedback iteration is obtained according to the convergence statistic calculation process described in Example 1. When the convergence statistic is lower than or equal to the preset convergence threshold, the current closed-loop feedback is terminated, and the soil environment prediction matrix for the current feedback iteration is output.
[0135] In the validation data provided in this embodiment, engineering monitoring data of frozen soil in cold regions are used to validate the multimodal prediction method for soil environment during extreme cold freeze-thaw periods, which incorporates the zero-temperature zone attention mask matrix and the thermodynamic entropy yield residual loss. The test period spans from October of the current year to May of the following year, covering the cycles of cooling and freezing, continuous deep freezing, and warming and thawing. The spatial grid resolution is set to 2m × 2m in the horizontal direction and 0.1m in the depth direction. The evaluation indicators are the root mean square error of temperature, the root mean square error of unfrozen water volume content, and the average number of convergence iterations. The prediction performance comparison data is shown in Table 1. This validation test involves three independent monitoring stations, each containing data from three complete freeze-thaw cycles from 2019 to 2021. All data are divided in chronological order, with the data from the first two years used for training and the data from the last year used for validation. The values reported in Table 1 are the average of the prediction results on the validation set of the three stations.
[0136] Table 1. Comparison of prediction performance under physical residuals and mask constraints;
[0137]
[0138] In the validation data shown in Table 1, the root mean square error of temperature represents the square root of the mean square error between the predicted temperature and the corresponding measured temperature, in °C; the root mean square error of unfrozen water volume content represents the square root of the mean square error between the predicted unfrozen water volume content and the corresponding measured unfrozen water volume content, in m³. 3 / m 3 The average number of convergence iterations represents the average number of feedback iterations that each prediction task undergoes from the initial formation of the prediction variance to the point where the convergence statistic satisfies the preset convergence threshold.
[0139] The verification results shown in Table 1 indicate that, under the conditions of the verification data and parameters, when both the zero-temperature zone attention mask matrix and the thermodynamic entropy yield residual loss are applied, the root mean square error of temperature, the root mean square error of unfrozen water volume content, and the average number of convergence iterations are all lower than under the prediction model configuration conditions without the application of the zero-temperature zone attention mask matrix and the thermodynamic entropy yield residual loss. These verification results demonstrate that the zero-temperature zone attention mask matrix and the thermodynamic entropy yield residual loss can jointly participate in the formation process of the soil environment prediction matrix.
[0140] The resulting soil environment prediction matrix continues to be used as the prediction data output for the soil temperature field, the moisture field, and the stress field, and can generate corresponding prediction result expressions according to the 3D display result formation method described in Example 1.
[0141] In specific implementation, the multimodal prediction system for soil environment during extreme cold freeze-thaw periods includes the data acquisition interface, the processor, the memory, and the prediction result output interface.
[0142] The data acquisition interface is communicatively connected to the satellite remote sensing data source, the ground in-situ sensor network, the meteorological observation data source, and the soil physical and chemical properties database.
[0143] The processor is communicatively connected to the memory. The memory stores the multi-source data management program, the Kalman state estimation program, the physical feature extraction program, the spatiotemporal multi-head attention fusion program, the physically constrained neural network program, the random deactivation uncertainty calculation program, and the feedback control program.
[0144] The multi-source data management program receives the satellite remote sensing data, the ground in-situ monitoring data, the meteorological data, and the soil physical and chemical properties data obtained from the data acquisition interface, and establishes the multi-source heterogeneous dataset according to a common time reference and spatial location.
[0145] The Kalman state estimation program receives the continuous time-series data of soil temperature, soil moisture, and soil pressure, as well as the meteorological forcing input, and outputs the posterior state estimate to form the standard time-series observation matrix.
[0146] The physical feature extraction program reads the standard time-series observation matrix and forms the thermal features, the water phase change features, and the deformation response features, and constructs the multidimensional state tensor from the thermal features, the water phase change features, and the deformation response features.
[0147] The spatiotemporal multi-head attention fusion procedure includes the input projection layer, the multiple parallel attention heads, and the output linear mapping layer. The spatiotemporal multi-head attention fusion procedure receives the multidimensional state tensor and outputs the spatiotemporal fusion feature that maintains the correspondence between spatial nodes and time steps.
[0148] The physical constraint neural network program includes the input layer, the plurality of cascaded fully connected hidden layers, the differentiable nonlinear activation units, the random deactivation layer, and the output layer. The physical constraint neural network program receives the spatiotemporal fusion features along with corresponding spatial and temporal coordinates to form the soil environment prediction matrix.
[0149] The random deactivation uncertainty calculation program controls the physical constraint neural network program to keep the random deactivation layer on during the prediction phase, performs multiple forward inferences on the same spatiotemporal fusion features, and forms the prediction variance organized according to the prediction variables, spatial nodes, and prediction time steps.
[0150] The feedback control program reads the predicted variance and the actual continuous time-series observation channel index, selects the corresponding variance component, performs time dimension aggregation on the corresponding variance component within the prediction time window, forms the observation channel noise adjustment matrix from the time dimension aggregation result, updates the observation noise covariance matrix of the Kalman state estimation program, and controls the Kalman state estimation program, the physical feature extraction program, the spatiotemporal multi-head attention fusion program, the physically constrained neural network program, and the random inactivation uncertainty calculation program to be re-executed.
[0151] After the feedback control program determines that the convergence statistic corresponding to the prediction variance meets the preset convergence threshold, it transmits the current soil environment prediction matrix to the prediction result output interface.
[0152] In the multimodal prediction system for soil environment during extreme cold freeze-thaw periods described in Example 2, the data acquisition interface is also communicatively connected to the edge computing node. The edge computing node calculates the information entropy feature value of the short-time window soil temperature sequence, forms the target sampling frequency, and sends the target sampling frequency to the data sampling control process of the soil temperature sensor and the state transition matrix reconstruction process of the Kalman state estimation program, respectively.
[0153] In the multimodal prediction system for soil environment during the extreme cold freeze-thaw period described in Example 4, the spatiotemporal multi-head attention fusion procedure further includes a zero-temperature zone identifier generation unit, a zero-temperature zone attention mask matrix generation unit, and an attention weight constraint unit. The zero-temperature zone identifier generation unit reads the temperature state from the standard time-series observation matrix and generates the zero-temperature zone identifier based on the critical temperature range of the water-ice phase transition. The zero-temperature zone attention mask matrix generation unit forms the zero-temperature zone attention mask matrix based on the zero-temperature zone identifiers at the time steps corresponding to the query features and the key features. The attention weight constraint unit performs the preset non-decay threshold constraint and reallocates the remaining allocable attention weights within the zero-temperature zone.
[0154] In the multimodal prediction system for soil environment during extreme cold freeze-thaw periods described in Example 4, the physically constrained neural network program further includes a thermodynamic entropy production rate residual calculation unit. This unit reads the predicted absolute thermodynamic temperature, the spatial gradient of the predicted absolute thermodynamic temperature, the partial derivative of the predicted volumetric ice-containing state with respect to time, the thermal conductivity, the latent heat parameter of water phase change, the ice phase density, and the water-ice phase change equilibrium temperature. It then calculates the local entropy production rate for each training spatial node and time step, and generates the thermodynamic entropy production rate residual loss for the negative portion of the local entropy production rate.
[0155] In a specific implementation, the electronic device includes the processor, the memory, the communication interface, and the communication bus.
[0156] The memory is used to store the computer program and the multi-source heterogeneous dataset, the standard time-series observation matrix, the physical feature set, the multidimensional state tensor, the spatiotemporal fusion features, the soil environment prediction matrix, the prediction variance, and the observation noise covariance matrix generated during the prediction process.
[0157] The processor reads the computer program through the communication bus and executes multi-source data management, Kalman state estimation, physical feature set calculation, spatiotemporal multi-head attention fusion, physical constraint neural network prediction, random inactivation uncertainty calculation, and feedback control in any of the foregoing embodiments.
[0158] The communication interface is used to receive the satellite remote sensing data, the ground in-situ monitoring data, the meteorological data, and the soil physicochemical properties data, and to send the soil environmental prediction matrix to the prediction result display device or environmental monitoring device.
[0159] When executing the computer program corresponding to Embodiment 4, the processor also reads the temperature state in the standard time-series observation matrix to generate the zero-temperature zone identifier, forms the zero-temperature zone attention mask matrix based on the zero-temperature zone identifier, applies the preset non-decay threshold constraint to the attention weights inside the zero-temperature zone, and calculates the thermodynamic entropy production rate residual loss during the training phase of the physical constraint neural network.
[0160] In specific implementation, the computer-readable storage medium stores a computer program or instructions. When the computer program or instructions are read and executed by the processor, the processor reads the multi-source heterogeneous dataset of the monitoring area, performs the Kalman state estimation on the continuous time-series observation channels to form the standard time-series observation matrix, calculates the physical feature set and forms the multidimensional state tensor, performs the spatiotemporal multi-head attention fusion, uses the physical constraint neural network to form the soil environment prediction matrix, performs random deactivation multiple inferences to form the prediction variance organized according to the prediction variables, spatial nodes and prediction time steps, selects the prediction variance components according to the observation variables and spatial nodes and performs time dimension aggregation, uses the time dimension aggregation result to form the observation channel noise adjustment matrix, updates the observation noise covariance matrix, and re-executes the Kalman state estimation, the physical feature set calculation, the spatiotemporal multi-head attention fusion and the physical constraint neural network prediction until the convergence statistic meets the preset convergence threshold, and outputs the soil environment prediction matrix.
[0161] When the computer program or instructions execute the processing procedure corresponding to Embodiment 4, the processor is also instructed to generate the zero-temperature zone identifier based on the temperature state in the standard time-series observation matrix, form the zero-temperature zone attention mask matrix based on the zero-temperature zone identifier, mask the key feature corresponding time steps outside the zero-temperature zone when the time step corresponding to the query feature is in the zero-temperature zone, and apply the preset non-decay threshold constraint to the attention weights inside the zero-temperature zone; at the same time, the local entropy production rate is calculated based on the predicted absolute thermodynamic temperature, the spatial gradient of the predicted absolute thermodynamic temperature, the partial derivative of the predicted volumetric ice state with respect to time, and the corresponding physical parameters, and the thermodynamic entropy production rate residual loss is formed based on the negative part of the local entropy production rate.
[0162] In specific implementation, the computer program product includes a computer program or instructions. When the computer program or instructions are executed by a processor, the processor implements the multimodal prediction method for soil environment during extreme cold freeze-thaw periods according to the aforementioned data dependencies.
[0163] The prediction variance used for feedback is generated by the random inactivation uncertainty calculation procedure in the same prediction process; the observation noise covariance matrix used for updating belongs to the Kalman state estimation process that generates the standard time-series observation matrix; the posterior state estimate formed after updating the observation noise covariance matrix continues to be used as input for the subsequent calculation of the physical feature set, the physical feature set continues to be used as input for the multidimensional state tensor, the multidimensional state tensor continues to be used as input for the spatiotemporal multi-head attention fusion, and the spatiotemporal fusion features continue to be used as input for the physically constrained neural network, thereby maintaining the data closure relationship between each processing stage.
[0164] When the computer program or instructions corresponding to Embodiment 4 are executed, the zero-temperature zone identifier is derived from the observed temperature state in the standard time-series observation matrix. The zero-temperature zone attention mask matrix is applied to the dot product result between the query feature and the key feature in the spatiotemporal multi-head attention fusion. The thermodynamic entropy production rate residual loss is derived from the predicted state and corresponding physical parameters output by the physical constraint neural network. The thermodynamic entropy production rate residual loss continues to enter the training loss of the physical constraint neural network, thereby maintaining the data correspondence between the input source, processing process, intermediate results and downstream applications in the newly added constraints.
[0165] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including both the preferred embodiments and all changes and modifications falling within the scope of the invention.
[0166] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. It should be noted that any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A multimodal prediction method for soil environment during extreme cold freeze-thaw periods, characterized in that, include: Step 1: Acquire satellite remote sensing data, ground in-situ monitoring data, meteorological data, and soil physicochemical property data of the monitoring area, and construct a multi-source heterogeneous dataset according to a common time reference and spatial location; Step 2: Perform Kalman state estimation on the continuous time-series observation channels of soil temperature, soil moisture and soil pressure in the multi-source heterogeneous dataset. Reorganize the state estimation results with the remaining data in the multi-source heterogeneous dataset according to the spatiotemporal index to form a standard time-series observation matrix. Calculate a physical feature set containing thermal features, moisture phase change features and deformation response features from the standard time-series observation matrix. Step 3: Construct a multidimensional state tensor from the physical feature set, and obtain a spatiotemporal fusion feature that retains the correspondence between spatial nodes and time steps through spatiotemporal multi-head attention fusion. Input the spatiotemporal fusion feature into a physical constraint neural network constrained by freeze-thaw energy conservation residuals and water mass conservation residuals to obtain a soil environment prediction matrix containing future soil temperature field, water field and stress field. Perform multiple inferences on the same input under random inactivation on state to obtain the prediction variance organized according to the prediction variables, spatial nodes and prediction time steps. Step 4: Select the variance components corresponding to the predictor variables and spatial nodes of the continuous time-series observation channel from the predicted variance. Perform time-dimensional aggregation on the variance components corresponding to the same predictor variable and the same spatial node within the prediction time window to form the observation channel noise adjustment matrix and update the observation noise covariance matrix of the Kalman state estimation. Based on the updated observation noise covariance matrix, re-execute the Kalman state estimation, physical feature calculation and prediction until the convergence statistic of the predicted variance meets the preset convergence threshold, and output the converged soil environment prediction matrix.
2. The multimodal prediction method for soil environment during extreme cold freeze-thaw periods according to claim 1, characterized in that, The satellite remote sensing data includes surface soil moisture information obtained from synthetic aperture radar data, as well as snow cover information and surface temperature information obtained from optical remote sensing images; the ground in-situ monitoring data includes continuous time-series data of soil temperature, soil moisture, and soil pressure at different soil depths; the meteorological data includes air temperature, wind speed, precipitation, and radiation flux; the soil physicochemical property data includes soil particle composition, porosity, and soluble salt information; time information is added to the satellite remote sensing data, the ground in-situ monitoring data, the meteorological data, and the soil physicochemical property data, and corresponding them according to spatial location to form the multi-source heterogeneous dataset.
3. The multimodal prediction method for soil environment during extreme cold freeze-thaw periods according to claim 1, characterized in that, The Kalman state estimation obtains the prior state estimate of the current time based on the state estimate of the previous time step, the state transition matrix, and the meteorological forced input. It determines the weight of the observation information on the state update based on the observation matrix, the prior error covariance matrix, and the observation noise covariance matrix, and outputs the posterior state estimate. In the feedback iteration, a correspondence between the predicted variance components and the diagonal elements of the observation noise covariance matrix is established according to the type of predicted variable and the sensor spatial node. The predicted variance components of the same predicted variable and the same sensor spatial node within the prediction time window are aggregated in the time dimension, so that the observation weight of each continuous time series observation channel is adjusted according to the corresponding time dimension aggregation result.
4. The multimodal prediction method for soil environment during extreme cold freeze-thaw periods according to claim 1, characterized in that, The thermal characteristics include temperature gradient characteristics obtained by finite difference processing based on the temperature state of adjacent soil layers; the water phase change characteristics include latent heat of water phase change characteristics obtained based on changes in the position of the freezing front and changes in the state of unfrozen water. The deformation response characteristics include volume expansion response characteristics based on volume changes caused by pore water phase change and combined with earth pressure changes.
5. The multimodal prediction method for soil environment during extreme cold freeze-thaw periods according to claim 1, characterized in that, The spatiotemporal multi-head attention fusion includes: organizing the multidimensional state tensor according to feature channels, spatial grids, and time series dimensions; generating query features, key features, and value features respectively; calculating the correlation weights between different spatial nodes and different time steps in multiple attention heads; and cascading and linearly mapping the outputs of multiple attention heads to obtain the spatiotemporal fusion features, wherein the spatiotemporal fusion features maintain the index relationship with the corresponding spatial nodes and time steps.
6. The multimodal prediction method for soil environment during extreme cold freeze-thaw periods according to claim 1, characterized in that, The training loss of the physical constraint neural network includes data fitting loss, freeze-thaw energy conservation residual loss, and water mass conservation residual loss. The data fitting loss is formed by the observation data of soil temperature, soil moisture, and soil pressure corresponding to the prediction period in the historical monitoring time series and the corresponding prediction results of the physical constraint neural network. The freeze-thaw energy conservation residual is formed based on the predicted temperature state, the predicted volume ice state, the latent heat of phase change, and the heat conduction state. The water mass conservation residual is formed based on the predicted unfrozen water state, the spatial gradient of the predicted unfrozen water state, the spatial gradient of the predicted temperature state, and the soil moisture migration state, and the partial derivatives of the predicted physical quantities with respect to the time coordinates and spatial coordinates are obtained by automatic differentiation.
7. The multimodal prediction method for soil environment during extreme cold freeze-thaw periods according to claim 1, characterized in that, During the prediction phase of the physical constraint neural network, the random deactivation layer is kept on, and multiple independent forward inferences are performed on the same spatiotemporal fusion feature. The prediction mean and prediction variance of each prediction variable at each spatial node and each prediction time step are calculated respectively. The variance components of the prediction variance corresponding to the continuous time-series observation channels of soil temperature, soil moisture and soil pressure are aggregated in the time dimension to form the observation channel noise adjustment matrix, and the observation noise covariance matrix is updated using a preset feedback adjustment step size. The sum of the prediction variance components corresponding to each prediction variable, each spatial node and each prediction time step is used as the convergence statistic.
8. The multimodal prediction method for soil environment during extreme cold freeze-thaw periods according to any one of claims 1 to 7, characterized in that, The ground-based in-situ monitoring data is also acquired using a dynamic sampling mechanism: edge computing nodes acquire short-time window soil temperature sequences according to a basic sampling frequency, calculate information entropy feature values based on the probability distribution of the short-time window soil temperature sequences in multiple discrete state intervals, determine the target sampling frequency based on the ratio of the information entropy feature values to the pre-stored maximum information entropy reference value, and adjust the data acquisition cycle according to the target sampling frequency; the reciprocal of the target sampling frequency is used as the dynamic discrete time step of the Kalman state estimation, and the state transition matrix is reconstructed using the dynamic discrete time step.
9. The multimodal prediction method for soil environment during extreme cold freeze-thaw periods according to claim 1, characterized in that, When incrementally training the physically constrained neural network across freeze-thaw stages, the importance of the network weights after convergence in the previous freeze-thaw stage is calculated based on historical training samples. In the training loss of the subsequent freeze-thaw stage, an elastic weight consolidation penalty term is added to limit the deviation of the current network weights from the historical converged network weights based on the parameter importance. The weight of the elastic weight consolidation penalty term is dynamically adjusted according to the convergence statistic of the prediction variance, so that when the convergence statistic of the prediction variance increases, the constraint on the historical converged network weights is reduced, and when the convergence statistic of the prediction variance decreases, the constraint on the historical converged network weights is strengthened.
10. A multimodal prediction system for soil environment during extreme freeze-thaw periods, used to execute the multimodal prediction method for soil environment during extreme freeze-thaw periods as described in any one of claims 1-9, characterized in that, include: The data acquisition interface is connected to satellite remote sensing data sources, ground in-situ sensor networks, meteorological observation data sources, and soil physical and chemical properties databases, respectively. processor; A memory, communicatively connected to the processor, stores a multi-source data management program, a Kalman state estimation program, a physical feature extraction program, a spatiotemporal multi-head attention fusion program, a physically constrained neural network program, a random inactivation uncertainty calculation program, and a feedback control program executed by the processor. Prediction result output interface; The multi-source data management program is used to receive data acquired by the data acquisition interface and construct a multi-source heterogeneous dataset according to a common time reference and spatial location. The Kalman state estimation program is used to perform Kalman state estimation on continuous time-series observation channels of soil temperature, soil moisture and soil pressure and form a standard time-series observation matrix. The physical feature extraction program is used to form thermal features, water phase change features and deformation response features from the standard time series observation matrix, and to construct a multidimensional state tensor from the thermal features, the water phase change features and the deformation response features; The spatiotemporal multi-head attention fusion program is used to perform spatiotemporal multi-head attention fusion on the multidimensional state tensor and output spatiotemporal fusion features that maintain the correspondence between spatial nodes and time steps. The physical constraint neural network program is used to receive the spatiotemporal fusion features and the corresponding spatial and temporal coordinates, and obtain the soil environment prediction matrix under the constraints of freeze-thaw energy conservation residuals and water mass conservation residuals. The random deactivation uncertainty calculation program is used to perform multiple inferences on the same spatiotemporal fusion feature under the random deactivation enabled state, and obtain the prediction variance organized according to the prediction variable, spatial node and prediction time step; The feedback control program is used to select the prediction variance components corresponding to the observation variables and spatial nodes of the ground in-situ sensor network, perform time-dimensional aggregation on the prediction variance components corresponding to the same prediction variable and the same spatial node within the prediction time window to form an observation channel noise adjustment matrix, update the observation noise covariance matrix used by the Kalman state estimation program using the observation channel noise adjustment matrix, and control the Kalman state estimation program, the physical feature extraction program, the spatiotemporal multi-head attention fusion program, the physical constraint neural network program, and the random inactivation uncertainty calculation program to be re-executed until the prediction variance meets the convergence condition. The prediction result output interface is used to output the converged soil environment prediction matrix.
