Soil compartment pressure prediction model transfer learning method, device, equipment and storage medium

By adopting transfer learning method in the soil cabin pressure prediction model, iterative training and parameter adjustment is performed using the dimensionless source and target domain data, the problem of insufficient generalization ability of the soil cabin pressure prediction model in cross-section engineering is solved, and higher prediction accuracy and cross-regional applicability are achieved.

CN118643735BActive Publication Date: 2025-04-01HUNAN UNIV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410672680.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2025-04-01
Estimated Expiration
2044-05-28

AI Technical Summary

Technical Problem

The prior art earth chamber pressure prediction model has poor generalization ability in cross-section shield machine engineering, resulting in poor prediction effect of models trained in one project in another.

Method used

By obtaining sample data from multiple source domains and target domains, performing dimensionless processing, and inputting these data into the basic soil chamber pressure prediction model of the source domain for iterative training, we obtain the soil chamber pressure prediction model of the source domain. Then, the model is migrated to the target domain, and the model parameters are adjusted based on the data of the target domain to obtain the soil chamber pressure prediction model of the target domain.

Benefits of technology

The generalization ability of the soil cabin pressure prediction model is improved, cross-region prediction accuracy is achieved, and the problem of different prediction effects of the model in different projects is effectively solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118643735B_ABST
    Figure CN118643735B_ABST
Patent Text Reader

Abstract

The present invention provides a soil cabin pressure prediction model transfer learning method, device, equipment and storage medium in the field of shield tunneling technology. The soil cabin pressure prediction model transfer learning method includes: obtaining first sample data of multiple source domains and second sample data of multiple target domains; wherein the first sample data and the second sample data are dimensionless processed; the first sample data and the second sample data are input into the basic soil cabin pressure prediction model of the source domain for iterative training to obtain the soil cabin pressure prediction model of the source domain; wherein a maximum average difference adaptation layer is provided in the basic soil cabin pressure prediction model; the soil cabin pressure prediction model of the source domain is transferred to the target domain, and the parameters of the soil cabin pressure prediction model are adjusted based on the second sample data to obtain the soil cabin pressure prediction model of the target domain. The present application enhances the generalization ability of the trained soil cabin pressure prediction model by dimensionless processing of the sample data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of shield tunneling, and in particular to a soil compartment pressure prediction model transfer learning method, device, equipment and storage medium. Background Art

[0002] The soil compartment pressure of the shield machine is a key parameter in shield tunneling, and plays a key role in maintaining the stability of the tunnel face and preventing surface settlement. In the existing practice, soil compartment pressure prediction data models are set up to achieve accurate prediction of soil compartment pressure. However, these models have poor generalization ability in cross-interval shield machine projects, that is, the model trained in project A has poor prediction effect in project B. On the one hand, this is due to the inconsistent geometry, geological conditions and excavation parameter control protocols of the shield machines used in different shield projects. The spatial distribution of the soil compartment pressure of the shield machine shows different patterns in different projects, and there are large probability distribution differences between data sets; on the other hand, there is not enough labeled data for training in the target prediction interval. So far, there is rarely a transfer learning method to solve the generalization ability of the soil compartment pressure prediction model. Summary of the invention

[0003] The present invention provides a soil compartment pressure prediction model transfer learning method, device, equipment and storage medium, which are used to solve the defect of poor generalization ability of the soil compartment pressure prediction model in the prior art and achieve the technical effect of improving the generalization ability of the soil compartment pressure prediction model.

[0004] The present invention provides a soil compartment pressure prediction model transfer learning method, comprising the following steps:

[0005] Acquire a plurality of first sample data of source domains and a plurality of second sample data of target domains; wherein the first sample data and the second sample data are dimensionless processed;

[0006] Inputting the first sample data and the second sample data into a basic soil compartment pressure prediction model of a source domain for iterative training, thereby obtaining a soil compartment pressure prediction model of the source domain; wherein a maximum average difference adaptation layer is provided in the basic soil compartment pressure prediction model;

[0007] The soil compartment pressure prediction model of the source domain is migrated to the target domain, and the parameters of the soil compartment pressure prediction model are adjusted based on the second sample data to obtain the soil compartment pressure prediction model of the target domain.

[0008] According to a soil compartment pressure prediction model transfer learning method provided by the present invention, the first sample data includes first training data and first label data, and the second sample data includes second training data and second label data; the first sample data and the second sample data are input into the basic soil compartment pressure prediction model of the source domain for iterative training, comprising:

[0009] Inputting the first training data and the second training data into the basic soil compartment pressure prediction model for processing, obtaining soil compartment pressure prediction data corresponding to the first training data, a first output value of the first training data at the maximum average difference adaptation layer, and a second output value of the second training data at the maximum average difference adaptation layer;

[0010] Calculate a training loss value according to the soil cabin pressure prediction data, the first label data, the first output value, and the second output value;

[0011] The basic soil compartment pressure prediction model will be iteratively trained according to the training loss value.

[0012] According to a soil compartment pressure prediction model transfer learning method provided by the present invention, the calculating of the training loss value according to the soil compartment pressure prediction data, the first label data, the first output value and the second output value includes: calculating the first loss value according to the soil compartment pressure prediction data and the first label data;

[0013] Calculate a second loss value according to the first output value and the second output value;

[0014] The training loss value is calculated according to the first loss value and the second loss value.

[0015] According to a soil compartment pressure prediction model transfer learning method provided by the present invention, the soil compartment pressure prediction model includes a parameter feature convolution module, a time series feature extraction module, a feature series prediction module and a maximum average difference adaptation layer; the output end of the parameter feature convolution module and the output end of the time series feature extraction module are respectively connected to the input end of the feature series prediction module, and the maximum average difference adaptation layer is arranged in the feature series prediction module.

[0016] According to a soil compartment pressure prediction model transfer learning method provided by the present invention, after adjusting the parameters of the soil compartment pressure prediction model based on the second sample data to obtain the soil compartment pressure prediction model of the target domain, the method further includes:

[0017] Acquire a first construction parameter, a first geological parameter, and a first soil compartment pressure parameter in the target domain within a preset time step range from the current moment, and acquire a second construction parameter and a second geological parameter of the current time step;

[0018] performing dimensionless processing on the first construction parameter, the first geological parameter, the first soil compartment pressure parameter, the second construction parameter, and the second geological parameter respectively, and inputting the dimensionless-processed first construction parameter and the first geological parameter into the parameter feature convolution module for processing to obtain a third output value; and

[0019] Inputting the dimensionless processed first soil compartment pressure parameter into the time series feature extraction module for processing to obtain a fourth output value;

[0020] The dimensionless processed second construction parameter and the second geological parameter, as well as the third output value and the fourth output value are input into the characteristic series prediction module for processing to obtain a predicted value of the target soil compartment pressure at the current time step.

[0021] According to a soil compartment pressure prediction model transfer learning method provided by the present invention, before obtaining a plurality of first sample data in source domains and a plurality of second sample data in target domains, the method further includes:

[0022] Acquire a plurality of original construction parameters and original soil compartment pressure parameters of the source domain and the target domain;

[0023] Obtaining a dimensionless processing strategy corresponding to the original construction parameters and the original soil compartment pressure parameters;

[0024] The original construction parameters and the original soil compartment pressure parameters are respectively dimensionally processed by the corresponding dimensionless processing strategy to obtain the first sample data and the second sample data.

[0025] According to a soil cabin pressure prediction model transfer learning method provided by the present invention, the dimensionless processing strategy corresponding to the original soil cabin pressure parameters is to obtain the characteristic coefficients of the mean term, the upper and lower gradient terms, the left and right gradient terms and the local heterogeneous terms through the physical characteristic function that describes the spatial distribution of the soil cabin pressure, and calculate the corresponding dimensionless value based on the characteristic coefficients.

[0026] The present invention also provides a soil compartment pressure prediction model transfer learning device, comprising the following modules:

[0027] A first acquisition module is configured to acquire first sample data of multiple source domains and second sample data of multiple target domains; wherein the first sample data and the second sample data are dimensionless processed;

[0028] A training module is configured to input the first sample data and the second sample data into a basic soil compartment pressure prediction model of a source domain for iterative training to obtain a soil compartment pressure prediction model of the source domain; wherein the basic soil compartment pressure prediction model is provided with a maximum average difference adaptation layer;

[0029] The migration module is configured to migrate the soil compartment pressure prediction model of the source domain to the target domain, and adjust the parameters of the soil compartment pressure prediction model based on the second sample data to obtain the soil compartment pressure prediction model of the target domain.

[0030] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the soil compartment pressure prediction model transfer learning method as described in any one of the above is implemented.

[0031] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the soil compartment pressure prediction model transfer learning method as described in any one of the above is implemented.

[0032] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the soil compartment pressure prediction model transfer learning methods described above.

[0033] The present invention provides a soil cabin pressure prediction model transfer learning method, device, equipment and storage medium, which inputs the first sample data and the second sample data after dimensionless processing into the basic soil cabin pressure prediction model of the source domain for iterative training to obtain the soil cabin pressure prediction model of the source domain, and then migrates the soil cabin pressure prediction model of the source domain to the target domain, and adjusts the parameters of the soil cabin pressure prediction model based on the second sample data to obtain the soil cabin pressure prediction model of the target domain. The dimensionless processing can replace the unit removal of the physical quantity in the sample data with a suitable variable, realize the feature alignment of the data and eliminate the influence of certain parameter threshold ranges, provide a data basis for subsequent migration, and improve the generalization ability of the soil cabin pressure prediction model. At the same time, a maximum average difference adaptation layer is set in the basic soil cabin pressure prediction model, and the maximum average difference adaptation layer can pull in the distribution difference between the source domain and the target domain, which can improve the generalization ability of the soil cabin pressure prediction model, realize cross-regional prediction of the same model, and effectively improve the prediction accuracy of the model. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0035] Figure 1 It is one of the flow charts of the soil compartment pressure prediction model transfer learning method provided by the present invention.

[0036] Figure 2 It is a schematic diagram of the migration architecture of the soil compartment pressure prediction model migration learning method provided by the present invention.

[0037] Figure 3 It is a flowchart of step 120 in the embodiment provided by the present invention.

[0038] Figure 4 This is the second flow chart of the soil compartment pressure prediction model transfer learning method provided by the present invention.

[0039] Figure 5 It is a schematic diagram of calculating the predicted value of the target soil compartment pressure in the embodiment provided by the present invention.

[0040] Figure 6 It is a mapping diagram of parameters and dimensionless processing strategies in the embodiments provided in this application.

[0041] Figure 7 It is a structural schematic diagram of the soil compartment pressure prediction model transfer learning device provided by the present invention.

[0042] Figure 8 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0044] Combine the following Figure 1-Figure 5 The soil compartment pressure prediction model transfer learning method of the present invention is described.

[0045] Figure 1 FIG. 1 is a flow chart showing a method for transferring and learning a soil compartment pressure prediction model according to an exemplary embodiment. Figure 1 As shown, in an exemplary embodiment, the soil compartment pressure prediction model transfer learning method includes steps 110 to 130, which are described in detail as follows.

[0046] Step 110, obtaining a plurality of first sample data of source domains and a plurality of second sample data of target domains; wherein the first sample data and the second sample data are dimensionless processed.

[0047] In the embodiment of the present invention, due to the different models and / or construction areas of shield machines in various projects, the meaning and number of shield machine measurement parameters are inconsistent, which creates difficulties for the transfer learning model, that is, the original data features are inconsistent with the feature dimensions. When training the model, the present invention performs dimensionless processing on each data. Dimensionless (nondimensionalize / dimensionless) refers to removing part or all of the units of an equation involving physical quantities by replacing them with a suitable variable to achieve the purpose of simplifying experiments or calculations. Through dimensionless data, feature alignment of data is achieved and the influence of certain parameter threshold ranges is eliminated, providing a data basis for subsequent migration.

[0048] The source domain has more first sample data, while the target domain is in the early stage of the project and has only a small amount of second sample data with labeled data. It is an engineering task that requires migrating the soil compartment pressure prediction model of the source domain.

[0049] Step 120: input the first sample data and the second sample data into a basic soil compartment pressure prediction model of a source domain for iterative training to obtain a soil compartment pressure prediction model of the source domain; wherein a maximum average difference adaptation layer is provided in the basic soil compartment pressure prediction model.

[0050] In an embodiment of the present invention, a large amount of first sample data and a small amount of second sample data are input into a basic soil cabin pressure prediction model in a source domain for iterative training to obtain a soil cabin pressure prediction model in the source domain. A maximum mean discrepancy adaptation layer (Maximum Mean Discrepancy, MMD) is provided in the basic soil cabin pressure prediction model, and the basic soil cabin pressure prediction model adopts a CNN-GRU (Convolutional Neural Network-Gated Recurrent Unit) model.

[0051] Step 130 : Migrate the soil compartment pressure prediction model of the source domain to the target domain, and adjust the parameters of the soil compartment pressure prediction model based on the second sample data to obtain the soil compartment pressure prediction model of the target domain.

[0052] In an embodiment of the present invention, the soil cabin pressure prediction model of the source domain obtained through training is migrated to the target domain, and the parameters of the soil cabin pressure prediction model are fine-tuned through a small amount of second sample data to obtain the soil cabin pressure prediction model of the target domain. The soil cabin pressure prediction model of the source domain and the soil cabin pressure prediction model of the target domain have the same model structure and differ only in specific parameters.

[0053] In the embodiment of the present invention, Figure 2As shown in the figure, the first sample data and the second sample data after dimensionless processing are input into the basic soil cabin pressure prediction model of the source domain for iterative training to obtain the soil cabin pressure prediction model of the source domain, and then the soil cabin pressure prediction model of the source domain is migrated to the target domain, and the parameters of the soil cabin pressure prediction model are adjusted based on the second sample data to obtain the soil cabin pressure prediction model of the target domain. Dimensionless processing can replace the unit removal of the physical quantity in the sample data with a suitable variable, realize the feature alignment of the data and eliminate the influence of certain parameter threshold ranges, provide a data basis for subsequent migration, and improve the generalization ability of the soil cabin pressure prediction model. At the same time, a maximum average difference adaptation layer is set in the basic soil cabin pressure prediction model. The maximum average difference adaptation layer can pull in the distribution difference between the source domain and the target domain, which can improve the generalization ability of the soil cabin pressure prediction model, realize cross-regional prediction of the same model, and effectively improve the prediction accuracy of the model.

[0054] In an exemplary embodiment of the present invention, the first sample data includes first training data and first label data, and the second sample data includes second training data and second label data; see Figure 3 In step 120, the first sample data and the second sample data are input into the basic soil compartment pressure prediction model of the source domain for iterative training, including steps 310 to 330, which are described in detail as follows.

[0055] Step 310: input the first training data and the second training data into the basic soil compartment pressure prediction model for processing to obtain the soil compartment pressure prediction data corresponding to the first training data, the first output value of the first training data at the maximum average difference adaptation layer, and the second output value of the second training data at the maximum average difference adaptation layer.

[0056] In the embodiment of the present invention, Figure 2 As shown, a large amount of first training data in the source domain and a small amount of second training data in the target domain are input into the basic soil compartment pressure prediction model for training. After the first training data is processed by the basic soil compartment pressure prediction model, the predicted soil compartment pressure prediction data is finally output. The first training data has corresponding first label data, and the first label data is the data of the real soil compartment pressure corresponding to the first training data after dimensionless processing.

[0057] When the first training data and the second training data pass through the maximum mean difference adaptation layer, corresponding output values ​​will be obtained.

[0058] Step 320: Calculate a training loss value based on the soil compartment pressure prediction data, the first label data, the first output value, and the second output value.

[0059] In the embodiment of the present invention, the training loss value is calculated based on the first label data, the soil compartment pressure prediction data obtained after being processed by the basic soil compartment pressure prediction model, the first output value, and the second output value. During the model training process, the training loss value includes the classification loss generated by the first sample data of the source domain and the difference between the source domain and the target domain generated by the maximum mean difference adaptation layer with MMD metric, thereby narrowing the distribution difference between the source domain and the target domain.

[0060] Step 330: iteratively train the basic soil compartment pressure prediction model according to the training loss value.

[0061] In the embodiment of the present invention, the foundation soil compartment pressure prediction model is iteratively trained according to the training loss value. When the training loss value is less than the set loss threshold, the training is terminated.

[0062] In an exemplary embodiment of the present invention, in step 320, the soil compartment pressure prediction model transfer learning calculates the training loss value according to the soil compartment pressure prediction data, the first label data, the first output value and the second output value, including the following steps, which are described in detail as follows.

[0063] A first loss value is calculated according to the soil compartment pressure prediction data and the first label data.

[0064] A second loss value is calculated according to the first output value and the second output value.

[0065] The training loss value is calculated according to the first loss value and the second loss value.

[0066] In the embodiment of the present invention, Figure 2 As shown, after obtaining the predicted data of the soil compartment pressure, the first loss value L is calculated based on the predicted data and the first label data. C Then calculate the second loss value L according to the first output value and the second output value MMD , and then calculate the training loss value L (Train Loss) based on the first loss value and the second loss value.

[0067] Specifically, the calculation formula for the training loss value is as follows.

[0068] L=L C +λL MMD

[0069] Among them, λ represents a hyperparameter. Through the above formula for calculating the training loss value, the loss can be minimized as much as possible, not only minimizing the distance between domains (or maximizing domain confusion), but also obtaining a representation that is conducive to training a strong classifier. Such a representation can learn a strong classifier that is easy to transfer across domains.

[0070] In the embodiment of the present application, directly training the classifier using only sample data of the source domain usually leads to overfitting of the distribution of the source domain, resulting in performance degradation during the test when identifying the target domain. Therefore, the present invention learns a representation that can minimize the distance between the source domain distribution and the target domain distribution. The classifier can be trained on the sample data of the source domain and directly applied to the target domain with minimal accuracy loss. In order to minimize the domain difference between the distribution of the source domain and the target domain, the standard distribution distance metric, namely the maximum mean difference (MMD), is considered. Using a feature mapping function (·), by X S represents the first sample data set of the source domain, and the first sample data set has multiple first sample data x s , through X T represents a second sample data set of the target domain, and the second sample data set has multiple second sample data x t , calculate the first sample data x in the source domain s ∈X S and the second sample data x of the target domain t ∈X T The maximum average difference can be used to obtain the corresponding second loss value. The calculation formula of the second loss value is as follows.

[0071] The calculation formula for the first loss value is as follows.

[0072] In the above formula, N represents the number of predicted data of soil compartment pressure. Represents the label data corresponding to the i-th sample data, represents the predicted data of the soil compartment pressure of the i-th sample data, |X S | represents the number of first sample data in the first sample data set, |X T | represents the number of second sample data in the second sample data set.

[0073] In an exemplary embodiment of the present invention, see Figure 3 The soil compartment pressure prediction model transfer learning includes a parameter feature convolution module, a time series feature extraction module, a feature series prediction module and a maximum average difference adaptation layer; the output end of the parameter feature convolution module and the output end of the time series feature extraction module are respectively connected to the input end of the feature series prediction module, and the maximum average difference adaptation layer is arranged in the feature series prediction module.

[0074] In the embodiment of the present invention, the model structure of the soil compartment pressure prediction model is as follows: Figure 2As shown in the figure, it is mainly composed of three modules: parameter feature convolution module, time series feature extraction module and feature series prediction module. The parameter feature convolution module consists of convolution layer, pooling layer and fully connected layer. There are two convolution layers, using two-dimensional convolution (Conv2D) to extract the correlation features of construction parameters and geological parameters. The Dropout layer needs to be connected after the pooling layer to reduce the redundancy of parameters and prevent model overfitting. There are four fully connected layers to learn the nonlinearity of correlation features. The time series feature extraction module consists of GRU layer (gated recurrent unit) and fully connected layer. There are two GRU layers, and the structure of the fully connected layer in the time series feature extraction module is the same as that of the fully connected layer in the parameter feature convolution module. The feature series prediction module consists of series layer and fully connected layer, which can fuse the input features. The maximum average difference adaptation layer is set between the series layer and the fully connected layer of the feature series prediction module, and there are four fully connected layers in the feature series prediction module.

[0075] When migrating the soil compartment pressure prediction model in the source domain to the soil compartment pressure prediction model in the target domain and adjusting the parameters of the model, first freeze all parameters in the model except the fully connected layer and the maximum average difference adaptation layer in the feature series prediction module, and use the second sample data with labeled data in the target domain to update the parameters of the fully connected layer and the maximum average difference adaptation layer in the feature series prediction module. Then, use the test sample data in the target domain to calculate the determination coefficient R2 of the soil compartment pressure prediction model in the target domain. In this way, the knowledge learned by the soil compartment pressure prediction model in the source domain can be migrated to the target domain, and only a small amount of second sample data in the target domain is needed for fine-tuning (Finetune).

[0076] The hyperparameters involved in the soil cabin pressure prediction model also include the hyperparameters of each module network, such as the dimension of the input data of each module and the size, number and activation function of each layer, and the hyperparameters of model training and optimization, such as learning rate and number of rounds.

[0077] In an exemplary embodiment of the present invention, see Figure 4 In step 130, the soil compartment pressure prediction model transfer learning adjusts the parameters of the soil compartment pressure prediction model based on the second sample data to obtain the soil compartment pressure prediction model of the target domain. The method further includes steps 410 to 440, which are described in detail as follows.

[0078] Step 410, obtaining a first construction parameter, a first geological parameter, and a first soil compartment pressure parameter within a preset time step range from the current moment in the target domain, and obtaining a second construction parameter and a second geological parameter of the current time step.

[0079] In the embodiment of the present invention, Figure 5As shown in FIG. 1 , after obtaining the soil compartment pressure prediction model of the target domain, the first construction parameter, the first geological parameter, and the first soil compartment pressure parameter in the target domain within the preset time step range from the current moment are obtained. The preset time step range is as follows: Figure 5 The time step q-(Q-1) to q-1 shown in FIG. 1 is used to obtain the second construction parameter and the second geological parameter of the current time step, such as Figure 5 The time step q shown. Specifically, the preset time step range can be set to 8 time steps (min) from the current moment.

[0080] Step 420, respectively perform dimensionless processing on the first construction parameter, the first geological parameter, the first soil compartment pressure parameter, the second construction parameter and the second geological parameter, and input the dimensionless processed first construction parameter and the first geological parameter into the parameter feature convolution module for processing to obtain a third output value.

[0081] In the embodiment of the present invention, each parameter obtained is dimensionlessly processed. Figure 5 In the above, the dimensionless construction parameters and geological parameters are uniformly expressed as characteristic parameters. represents the Mth characteristic parameter at the time step Q. After dimensionless processing, the soil cabin pressure parameter is the dimensionless value of the soil cabin pressure spatial characteristic coefficient at the corresponding time step (U a , U b , U c , U d ).

[0082] The dimensionless first construction parameter and the first geological parameter are then input into the parameter feature convolution module for processing to obtain a third output value.

[0083] Step 430: Input the dimensionless processed first soil compartment pressure parameter into the time series feature extraction module for processing to obtain a fourth output value.

[0084] In the embodiment of the present invention, the dimensionless first soil compartment pressure parameter is simultaneously input into the time series feature extraction module for processing to obtain a fourth output value.

[0085] Step 440: Input the dimensionless processed second construction parameter and the second geological parameter, as well as the third output value and the fourth output value into the characteristic series prediction module for processing to obtain a predicted value of the target soil compartment pressure at the current time step.

[0086] In the embodiment of the present invention, the dimensionless second construction parameter and the second geological parameter, as well as the third output value and the fourth output value are input into the concatenation word of the feature series prediction module for feature fusion, and processed through the maximum average difference adaptation layer and the full connection layer to obtain the target soil cabin pressure prediction value of the current time step. The result output by the feature series prediction module is the corresponding soil cabin pressure spatial characteristic function (U a , U b , U c , U d ), and then guide its characteristic parameters to obtain the final predicted value of the target soil compartment pressure.

[0087] In another embodiment of the present invention, the dimensionless processed second geological parameter, the active control value in the second construction parameter, and the third output value and the fourth output value can also be input into the characteristic series prediction module for processing to obtain the target soil compartment pressure prediction value. The construction parameters and geological parameters are the same as the subsequent construction parameters and geological data, and are not described in detail here.

[0088] In an exemplary embodiment of the present invention, before the soil compartment pressure prediction model transfer learning obtains the first sample data of multiple source domains and the second sample data of multiple target domains in step 110, the method further includes the following steps, which are described in detail as follows.

[0089] A plurality of original construction parameters and original soil compartment pressure parameters of the source domain and the target domain are obtained.

[0090] A dimensionless processing strategy corresponding to the original construction parameters and the original soil compartment pressure parameters is obtained.

[0091] The original construction parameters and the original soil compartment pressure parameters are respectively dimensionally processed by the corresponding dimensionless processing strategy to obtain the first sample data and the second sample data.

[0092] In the embodiment of the present invention, the original construction parameters include bentonite flow, foam liquid flow, foam air flow, A / C group cylinder pressure eccentricity, B / D group cylinder pressure eccentricity, propulsion speed and cutter disc speed, upper unloading door opening, lower unloading door opening, screw machine speed, cutter disc torque, foam gun pressure, upper and lower cylinder strokes, left and right cylinder strokes, roll, and inclination. The original construction parameters can be divided into two categories: active control values ​​and passive control values, wherein the active control values ​​include bentonite flow, foam liquid flow, foam air flow, A / C group cylinder pressure eccentricity, B / D group cylinder pressure eccentricity, propulsion speed and cutter disc speed, upper unloading door opening, lower unloading door opening, and screw machine speed. Passive control values ​​include cutter disc torque, foam gun pressure, upper and lower cylinder strokes, left and right cylinder strokes, roll, and inclination. The original soil compartment pressure parameter is the soil compartment pressure. The dimensionless processing strategies corresponding to each original construction parameter and the original soil compartment pressure parameter are as follows: Figure 6 shown.

[0093] The original geological parameters include burial depth, groundwater level, static soil pressure, tunnel face compressive strength, and tunnel face standard penetration. The original geological parameters do not need to be dimensionally processed.

[0094] In the embodiment of the present invention, when constructing the first sample data and the second sample data, in the source domain, the original geological parameters and the original construction parameters after dimensionless processing within the preset time step range, and the original geological parameters and the original construction parameters after dimensionless processing of the next time step adjacent to the preset time step range are used as the first training data of a first sample data. That is, when the preset time step range is 8, the original geological parameters and the original construction parameters after dimensionless processing of the 8th time step and the 9th time step are used as the first training data. The original soil compartment pressure data after dimensionless processing within the corresponding preset time step range, and the original soil compartment pressure data after dimensionless processing of the next time step adjacent to the preset time step range are used as the first label data.

[0095] In the target domain, the original geological parameters and the dimensionless original construction parameters within the preset time step range, as well as the original geological parameters and the dimensionless original construction parameters of the next time step adjacent to the preset time step range are used as second training data of a second sample data. The dimensionless original soil compartment pressure data within the corresponding preset time step range, as well as the dimensionless original soil compartment pressure data of the next time step adjacent to the preset time step range are used as second label data.

[0096] When the training samples are input into the basic soil compartment pressure prediction model for training, the process of inputting the data in the training samples into each module of the basic soil compartment pressure prediction model is similar to the aforementioned steps 410 to 440.

[0097] In an exemplary embodiment of the present invention, the dimensionless processing strategy corresponding to the original soil compartment pressure parameters is to obtain the characteristic coefficients of the mean term, the upper and lower gradient terms, the left and right gradient terms and the local heterogeneous terms by describing the physical characteristic function of the spatial distribution of the soil compartment pressure, and calculate the corresponding dimensionless values ​​based on the characteristic coefficients.

[0098] In the embodiment of the present invention, a physical characteristic function suitable for describing the spatial distribution of soil cabin pressure is constructed, which can decouple the spatial distribution characteristics of soil cabin pressure, thereby realizing the dimensionless prediction of the target variable. The physical characteristic function divides the soil cabin pressure into four items, including the mean item, the upper and lower gradient item, the left and right gradient item, and the local heterogeneous item, as shown in the following formula.

[0099] P(θ,r)=[a+bcos(θ)+csin(θ)+dcos(θ)]g(r)

[0100] In the above formula: P(θ, r) represents the soil tank pressure, the coordinate system is a polar coordinate system with the geometric center of the soil tank as the pole and the vertical upward as the polar axis; θ is the polar angle; r is the polar diameter; g(r) is the radial coefficient; a, b, c, d are the characteristic coefficients of the mean term, upper and lower gradient term, left and right gradient term and local heterogeneous term of the soil tank pressure field respectively. Calculate the dimensionless value U of the spatial characteristic coefficient of soil tank pressure a , U b , U c , U d The calculation formula is as follows.

[0101] U a =a / static earth pressure.

[0102] U b =b / static earth pressure.

[0103] U c =c / static earth pressure.

[0104] U d =d / static earth pressure.

[0105] Based on this process, the soil cabin pressure parameters per minute are dimensionally processed to obtain the dimensionless values ​​of the characteristic coefficients of the physical characteristic functions of the spatial distribution of the soil cabin pressure per minute.

[0106] The soil compartment pressure prediction model transfer learning device provided by the present invention is described below. The soil compartment pressure prediction model transfer learning device described below and the soil compartment pressure prediction model transfer learning method described above can be referred to each other. It should be noted that the device provided in the following embodiment and the method provided in the above embodiment belong to the same concept, and the specific way in which each module and unit performs the operation has been described in detail in the method embodiment, which will not be repeated here.

[0107] In an exemplary embodiment of the present invention, see Figure 7 , Figure 7 A soil compartment pressure prediction model transfer learning device is shown according to an exemplary embodiment, including the following modules.

[0108] The first acquisition module 710 is configured to acquire first sample data of multiple source domains and second sample data of multiple target domains; wherein the first sample data and the second sample data are dimensionless processed.

[0109] The training module 720 is configured to input the first sample data and the second sample data into the basic soil compartment pressure prediction model of the source domain for iterative training to obtain the soil compartment pressure prediction model of the source domain; wherein the basic soil compartment pressure prediction model is provided with a maximum average difference adaptation layer.

[0110] The migration module 730 is configured to migrate the soil compartment pressure prediction model of the source domain to the target domain, and adjust the parameters of the soil compartment pressure prediction model based on the second sample data to obtain the soil compartment pressure prediction model of the target domain.

[0111] In an exemplary embodiment of the present invention, the first sample data includes first training data and first label data, and the second sample data includes second training data and second label data; the training module 720 includes the following submodules.

[0112] The input submodule is configured to input the first training data and the second training data into the basic soil compartment pressure prediction model for processing, so as to obtain the soil compartment pressure prediction data corresponding to the first training data, the first output value of the first training data at the maximum average difference adaptation layer, and the second output value of the second training data at the maximum average difference adaptation layer.

[0113] A calculation submodule is configured to calculate a training loss value based on the soil compartment pressure prediction data, the first label data, the first output value and the second output value.

[0114] The training submodule is configured to iteratively train the basic soil compartment pressure prediction model according to the training loss value.

[0115] In an exemplary embodiment of the present invention, the calculation submodule includes the following submodules:

[0116] The first calculation unit is configured to calculate a first loss value according to the soil compartment pressure prediction data and the first label data.

[0117] The second calculation unit is configured to calculate a second loss value according to the first output value and the second output value.

[0118] A third calculation unit is configured to calculate the training loss value according to the first loss value and the second loss value.

[0119] In an exemplary embodiment of the present invention, the soil compartment pressure prediction model includes a parameter feature convolution module, a time series feature extraction module, a feature series prediction module and a maximum average difference adaptation layer; the output end of the parameter feature convolution module and the output end of the time series feature extraction module are respectively connected to the input end of the feature series prediction module, and the maximum average difference adaptation layer is arranged in the feature series prediction module.

[0120] In an exemplary embodiment of the present invention, the soil compartment pressure prediction model transfer learning device also includes the following modules.

[0121] The second acquisition module is configured to acquire the first construction parameter, the first geological parameter and the first soil compartment pressure parameter in the target domain within a preset time step range from the current moment, and to acquire the second construction parameter and the second geological parameter of the current time step.

[0122] The first dimensionless processing module is configured to perform dimensionless processing on the first construction parameter, the first geological parameter, the first soil compartment pressure parameter, the second construction parameter and the second geological parameter respectively, and input the first construction parameter and the first geological parameter after dimensionless processing into the parameter feature convolution module for processing to obtain a third output value.

[0123] The first input module is configured to input the dimensionless processed first soil compartment pressure parameter into the time series feature extraction module for processing to obtain a fourth output value.

[0124] The second input module is configured to input the dimensionless processed second construction parameter and the second geological parameter, as well as the third output value and the fourth output value into the characteristic series prediction module for processing to obtain a target soil compartment pressure prediction value for a current time step.

[0125] In an exemplary embodiment of the present invention, the soil compartment pressure prediction model transfer learning device also includes the following modules.

[0126] The second acquisition module is configured to acquire a plurality of original construction parameters and original soil compartment pressure parameters of the source domain and the target domain.

[0127] The third acquisition module is configured to obtain the dimensionless processing strategy corresponding to the original construction parameters and the original soil compartment pressure parameters.

[0128] The second dimensionless processing module is configured to perform dimensionless processing on the original construction parameters and the original soil compartment pressure parameters respectively through the corresponding dimensionless processing strategy to obtain the first sample data and the second sample data.

[0129] In an exemplary embodiment of the present invention, the dimensionless processing strategy corresponding to the soil compartment pressure parameters is to obtain the characteristic coefficients of the mean term, the upper and lower gradient terms, the left and right gradient terms and the local heterogeneous terms by describing the physical characteristic function of the spatial distribution of the soil compartment pressure, and calculate the corresponding dimensionless values ​​according to the characteristic coefficients.

[0130] Figure 8 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 8 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820 and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute the soil cabin pressure prediction model transfer learning method, the method comprising: obtaining a plurality of first sample data of source domains and a plurality of second sample data of target domains; wherein the first sample data and the second sample data are dimensionless processed; inputting the first sample data and the second sample data into the basic soil cabin pressure prediction model of the source domain for iterative training to obtain the soil cabin pressure prediction model of the source domain; wherein the basic soil cabin pressure prediction model is provided with a maximum average difference adaptation layer; migrating the soil cabin pressure prediction model of the source domain to the target domain, and adjusting the parameters of the soil cabin pressure prediction model based on the second sample data to obtain the soil cabin pressure prediction model of the target domain.

[0131] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0132] On the other hand, the present invention also provides a computer program product, which includes a computer program, and the computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the soil cabin pressure prediction model transfer learning method provided by the above methods, and the method includes: obtaining first sample data of multiple source domains and second sample data of multiple target domains; wherein the first sample data and the second sample data are dimensionless processed; the first sample data and the second sample data are input into the basic soil cabin pressure prediction model of the source domain for iterative training to obtain the soil cabin pressure prediction model of the source domain; wherein a maximum average difference adaptation layer is provided in the basic soil cabin pressure prediction model; the soil cabin pressure prediction model of the source domain is migrated to the target domain, and the parameters of the soil cabin pressure prediction model are adjusted based on the second sample data to obtain the soil cabin pressure prediction model of the target domain.

[0133] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the soil cabin pressure prediction model transfer learning method provided by the above-mentioned methods, the method comprising: obtaining first sample data of multiple source domains and second sample data of multiple target domains; wherein the first sample data and the second sample data are dimensionlessly processed; the first sample data and the second sample data are input into a basic soil cabin pressure prediction model of the source domain for iterative training to obtain a soil cabin pressure prediction model of the source domain; wherein a maximum average difference adaptation layer is provided in the basic soil cabin pressure prediction model; the soil cabin pressure prediction model of the source domain is migrated to the target domain, and the parameters of the soil cabin pressure prediction model are adjusted based on the second sample data to obtain a soil cabin pressure prediction model of the target domain.

[0134] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0135] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0136] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A soil compartment pressure prediction model transfer learning method, characterized in that: include: Acquire a plurality of first sample data of source domains and a plurality of second sample data of target domains; wherein the first sample data and the second sample data are dimensionless processed; Inputting the first sample data and the second sample data into a basic soil compartment pressure prediction model of a source domain for iterative training, thereby obtaining a soil compartment pressure prediction model of the source domain; wherein a maximum average difference adaptation layer is provided in the basic soil compartment pressure prediction model; Migrating the soil compartment pressure prediction model of the source domain to the target domain, and adjusting the parameters of the soil compartment pressure prediction model based on the second sample data to obtain the soil compartment pressure prediction model of the target domain; The soil cabin pressure prediction model includes a parameter feature convolution module, a time series feature extraction module, a feature series prediction module and a maximum average difference adaptation layer; the output end of the parameter feature convolution module and the output end of the time series feature extraction module are respectively connected to the input end of the feature series prediction module, and the maximum average difference adaptation layer is arranged in the feature series prediction module; After adjusting the parameters of the soil compartment pressure prediction model based on the second sample data to obtain the soil compartment pressure prediction model of the target domain, the method further includes: Acquire a first construction parameter, a first geological parameter, and a first soil compartment pressure parameter in the target domain within a preset time step range from the current moment, and acquire a second construction parameter and a second geological parameter of the current time step; performing dimensionless processing on the first construction parameter, the first geological parameter, the first soil compartment pressure parameter, the second construction parameter, and the second geological parameter respectively, and inputting the dimensionless-processed first construction parameter and the first geological parameter into the parameter feature convolution module for processing to obtain a third output value; and Inputting the dimensionless processed first soil compartment pressure parameter into the time series feature extraction module for processing to obtain a fourth output value; The dimensionless processed second construction parameter and the second geological parameter, as well as the third output value and the fourth output value are input into the characteristic series prediction module for processing to obtain a predicted value of the target soil compartment pressure at the current time step.

2. The soil compartment pressure prediction model transfer learning method according to claim 1 is characterized in that: The first sample data includes first training data and first label data, and the second sample data includes second training data and second label data; and the step of inputting the first sample data and the second sample data into the basic soil compartment pressure prediction model in the source domain for iterative training includes: Inputting the first training data and the second training data into the basic soil compartment pressure prediction model for processing, obtaining soil compartment pressure prediction data corresponding to the first training data, a first output value of the first training data at the maximum average difference adaptation layer, and a second output value of the second training data at the maximum average difference adaptation layer; Calculate a training loss value according to the soil cabin pressure prediction data, the first label data, the first output value, and the second output value; The basic soil compartment pressure prediction model will be iteratively trained according to the training loss value.

3. The soil compartment pressure prediction model transfer learning method according to claim 2 is characterized in that: The calculating of the training loss value according to the soil cabin pressure prediction data, the first label data, the first output value and the second output value includes: Calculate a first loss value according to the soil compartment pressure prediction data and the first label data; Calculate a second loss value according to the first output value and the second output value; The training loss value is calculated according to the first loss value and the second loss value.

4. The soil compartment pressure prediction model transfer learning method according to any one of claims 1 to 3, characterized in that: Before acquiring the first sample data of the plurality of source domains and the second sample data of the plurality of target domains, the method further includes: Acquire a plurality of original construction parameters and original soil compartment pressure parameters of the source domain and the target domain; Obtaining a dimensionless processing strategy corresponding to the original construction parameters and the original soil compartment pressure parameters; The original construction parameters and the original soil compartment pressure parameters are respectively dimensionally processed by the corresponding dimensionless processing strategy to obtain the first sample data and the second sample data.

5. The soil compartment pressure prediction model transfer learning method according to claim 4 is characterized in that: The dimensionless processing strategy corresponding to the original soil cabin pressure parameters is to obtain the characteristic coefficients of the mean term, the upper and lower gradient terms, the left and right gradient terms and the local heterogeneous terms by describing the physical characteristic function of the spatial distribution of the soil cabin pressure, and calculate the corresponding dimensionless values ​​according to the characteristic coefficients.

6. A soil compartment pressure prediction model transfer learning device, characterized in that: include: A first acquisition module is configured to acquire first sample data of multiple source domains and second sample data of multiple target domains; wherein the first sample data and the second sample data are dimensionless processed; A training module is configured to input the first sample data and the second sample data into a basic soil compartment pressure prediction model of a source domain for iterative training to obtain a soil compartment pressure prediction model of the source domain; wherein the basic soil compartment pressure prediction model is provided with a maximum average difference adaptation layer; a migration module configured to migrate the soil compartment pressure prediction model of the source domain to the target domain, and adjust the parameters of the soil compartment pressure prediction model based on the second sample data to obtain the soil compartment pressure prediction model of the target domain; The soil cabin pressure prediction model includes a parameter feature convolution module, a time series feature extraction module, a feature series prediction module and a maximum average difference adaptation layer; the output end of the parameter feature convolution module and the output end of the time series feature extraction module are respectively connected to the input end of the feature series prediction module, and the maximum average difference adaptation layer is arranged in the feature series prediction module; The soil compartment pressure prediction model transfer learning device also includes: A second acquisition module is configured to acquire, in the target domain, a first construction parameter, a first geological parameter, and a first soil compartment pressure parameter within a preset time step range from a current moment, and to acquire a second construction parameter and a second geological parameter of a current time step; a first dimensionless processing module, configured to perform dimensionless processing on the first construction parameter, the first geological parameter, the first soil compartment pressure parameter, the second construction parameter and the second geological parameter respectively, and input the dimensionless processed first construction parameter and the first geological parameter into the parameter feature convolution module for processing to obtain a third output value; A first input module is configured to input the dimensionless processed first soil compartment pressure parameter into the time series feature extraction module for processing to obtain a fourth output value; The second input module is configured to input the dimensionless processed second construction parameter and the second geological parameter, as well as the third output value and the fourth output value into the characteristic series prediction module for processing to obtain a target soil compartment pressure prediction value for a current time step.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the soil compartment pressure prediction model transfer learning method as described in any one of claims 1 to 5 is implemented.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the soil compartment pressure prediction model transfer learning method as described in any one of claims 1 to 5 is implemented.