Prediction Method of TBM Tunneling Parameters Based on Bi-GRU-ATT Model

With tunnel boring machines (TBMs) widely used in tunnel construction, the adaptable adjustment of TBM operating status has become a research focus. Since the prediction of tunnel geological conditions is still challenging before excavating, the prediction of important TBM operating parameters plays an important role in the research on TBM adaptable adjustment. This paper proposes an intelligent prediction method of TBM tunneling parameters based on bidirectional gate recurrent unit incorporating attention mechanism (Bi-GRU-ATT) and selects a complete tunneling cycle to predict the tunneling parameters of the TBM complete tunneling cycle. Relying on the TBM3 bid section of Jilin Water Supply Project, 21 key parameters of the complete tunneling cycle are selected as the input features of the model to realize the prediction of four tunneling parameters in the complete driving cycle section of TBM. Compared with the Bi-GRU, GRU, and Long Short-Term Memory (LSTM) models, it can be seen that the Bi-GRU-ATTmodel has a goodness of ﬁt for predicting TBM tunneling parameters above 0.92, and the average absolute percentage error is less than 1.8%. The results show that the prediction method of TBM tunneling parameters based on Bi-GRU-ATTmodel proposed in this paper has stronger learning and prediction capabilities. This prediction method provides a more feasible auxiliary intelligent decision-making method for TBM aided intelligent construction.


Introduction
Tunnel boring machine (TBM) integrating the functions of excavation, support, slag discharge, and transportation is one of the most advanced types of equipment for a variety of tunnel constructions, e.g., traffic, municipal, water conservancy, water supply, and gas transmission pipelines [1].TBM has gradually replaced the traditional blasting excavation in various tunnel projects due to its high efficiency, safety, and environmental protection [2].However, the adaptability of TBM is often limited by complex geological conditions, the poor matching of tunneling parameters and rock mass state parameters, and the high requirements on the experience of construction personnel, making it difficult to effectively solve the prediction of TBM tunneling parameters [3,4].erefore, correct evaluation and prediction of TBM tunneling parameters are important issues in efficient tunnel excavation, which is of great significance for ensuring the safety and efficient construction of TBM.
In recent years, scholars have conducted a lot of research on the prediction of TBM tunneling parameters [5][6][7] and have achieved certain results.At present, TBM tunneling parameter prediction methods are mainly summarized into empirical formula method (combined with experiment) [8], theoretical analysis method [9], numerical simulation method [10], and machine learning method [11].In the early empirical method research, Krause [12][13][14] proposed an empirical model for TBM load prediction, which is of great significance to TBM load calculation.Avunduk and Copur [15] divided the tunnel alignment into three general sections according to geological and geotechnical conditions and proposed an empirical performance prediction model for Earth pressure balance (EPB) TBM.Ates et al. [6] recommended empirical models for predicting torque, thrust, and other design parameters.With the continuous improvement of test equipment, multifactor prediction models represented by the Norwegian University of Science and Technology (NTNU) model [16,17] have been widely used.In addition to the above empirical methods, many scholars have also made some research progress in theoretical analysis methods.e Colorado School of Mines (CSM) has developed a well-known theoretical model [18], which analyzes the cutting force estimated through full-scale laboratory cutting tests, so that the maximum PR can be determined by theoretical derivation.Based on this, a number of scholars [19][20][21][22] extended the theoretical prediction models.In addition, some scholars predict tunneling performance based on numerical simulation methods.Kasper and Meschke [23] conducted a numerical sensitivity study to analyze the influence of TBM operating parameters and design parameters.Afrasiabi et al. [24] used numerical simulation to study the influence of different factors on TBM tunneling performance.e above studies have proved that the three methods have a certain guiding effect on the prediction of TBM tunneling parameters, but there are still great limitations when facing the complex problems related to TBM tunnels.
e empirical formula method can only provide a series of TBM parameter values and cannot sensitively capture the small changes, so its applicability is extremely limited; the theoretical analysis method cannot explain the complex and changeable geology conditions in the various rock types encountered during tunnel construction; the numerical simulation method can only provide the value range of the load parameters, and the calculation is time-consuming, so it cannot provide real-time and effective guidance for the actual construction.
With the development of artificial intelligence technology [25,26], several scholars use machine learning algorithms to analyze complex data problems generated in actual engineering and gradually introduce machine learning algorithms into the research of TBM tunneling parameter prediction.Zhou et al. [27] proposed a support vector machine (SVM) model based on particle swarm optimization (PSO) to predict the energy consumption of shield tunnels.Zhang [28] applied the extreme gradient lifting method to predict the ground settlement caused by the excavation of the EPB shield.In addition.Sun et al. [29] used the random forest to achieve TBM load prediction.Yang et al. [30] utilized support vector regression (SVR) to predict the PR of TBM and took a tunnel in China as an example to study the parameters affecting TBM performance.Wang et al. [31] established a model based on the XGBoost algorithm to implement TBM intelligent decisionmaking.Although machine learning methods can effectively predict TBM tunneling parameters, they cannot consider the time variation characteristics and temporal correlations between TBM tunneling data.For example, the output of SVR or random forest is determined only by the current input without resorting to the network status at the previous moment, and they cannot fully utilize the real-time parameters of TBM tunneling.erefore, they cannot realize the real-time analysis of TBM tunnels.
To solve this problem, deep learning methods such as recurrent neural networks (RNN) [32] have been developed to model the time series data in the TBM tunnel.Compared with traditional machine learning methods, deep learning is more suitable for learning complex models from high-dimensional data.RNN is a kind of neural network that uses the sequence propagation method to process sequence data.Gao et al. [33] compared and analyzed the effects of different deep learning methods on real-time prediction of TBM tunneling parameters, and the results showed that as an improvement of the RNN network, the recurrent neural network algorithms with gate operations (such as long-short term memory (LSTM) [34] and gate recurrent unit (GRU) [35]) can well solve the problems of gradient explosion and gradient disappearance in RNN networks, and the prediction effect is better than that of the traditional RNN algorithms.However, the GRU network and the LSTM network only consider the association between the sequences in one direction and do not consider the two-way nature of information dissemination, and there are great limitations in dealing with the problem of sequence data with strong correlation before and after.In addition, if the input information is too long, the fixed-length feature vector of the neural network cannot fully store all the context information, which will cause part of the information to be lost or early historical information to be overwritten.To this end, this paper improves its network structure and propagation method and optimizes the model based on the self-attention mechanism, so that the model learns the weight distribution of input information by itself and improves its feature extraction efficiency and learning ability for long-sequence data.Based on this, an intelligent prediction method based on Bi-GRU-ATT integrated with an attention mechanism to solve this problem is proposed.
is paper divides the data set based on the TBM3 bid section of the Jilin Water Supply Project and selects the complete tunneling cycle section data to realize the parameter prediction of the complete tunneling cycle section.Using Pearson correlation analysis, twenty-one parameters with the highest correlation with the predicted parameters are selected as the input characteristics of the model from 199-dimensional tunneling parameters of the complete tunneling cycle section.
e data is processed by constructing a binary state discriminant function, eliminating nonworking state and abnormal data, the complete tunneling cycle is extracted, and then the Adam optimizer is used to train the model.e comparative analysis of the Bi-GRU model, unidirectional LSTM model, and unidirectional GRU model verifies the accuracy and effectiveness of the Bi-GRU-ATT model in this paper, which has certain guiding significance for TBM intelligent construction.

Recurrent Neural Network
2.1.Bidirectional Gate Recurrent Unit.Gated Recurrent Unit (GRU), as an improvement of Recurrent Neural Network (RNN), introduces a special gating mechanism to control the retention and forgetting of information, which can effectively deal with the disappearance and/or explosion of 2 Advances in Civil Engineering gradients in variable-length sequences, wait for long-term dependence on the problem, and fall into the problem of local optimal solutions.However, the GRU network can only propagate along the sequence in one direction.When calculating the output of the target vector, the subsequent time information cannot be used.e two-way nature of information propagation is not considered.ere is a relatively major limitation in dealing with the sequence data with strong correlation before and after processing.To solve the above problems, some scholars have improved the propagation mode of the GRU network and proposed a bidirectional GRU network.As shown in Figure 1, the Bi-GRU neural network adds a backpropagation layer to the GRU network structure to control forward and backward output, respectively, thereby improving the accuracy of information classification and realizing two-way processing of context information.e forward propagation layer calculates the sequence information at the current moment from front to back, and the backpropagation layer calculates the same sequence information from back to forward.e two network layers are connected to an output layer.e forward sequence and the reverse sequence are calculated in parallel, and the output result of the target vector is obtained by synthesizing the output of the forward and reverse sequence.
As shown in Figure 1, the structure contains two parallel layers, namely, a forward propagation layer and a backpropagation layer.Each layer is an independent GRU structure.e two structures are symmetrical, and the direction of information transmission is opposite.e input layer information propagates from front to back along the forward sequence, and the reverse sequence is calculated from back to front at the same time.e two are calculated independently and do not interfere with each other.Finally, the output values of the output layer are obtained by synthesizing the output values of the forward and reverse sequence.e calculation equation [36] is as follows: e forward sequence and the reverse sequence are calculated by equations ( 1) and (2), respectively, and finally, the output of the output layer is obtained by equation (3).Among them, h t ′ represents the state of the forward propagation hidden layer at time t; h t represents the state of the hidden layer backpropagation at time t; H t represents the output value; x t represents the input value; ⊕ represents the vector stitching operation; w 1 , w 2 , w 3 , and w 4 represent the weights to propagate along with the time series.

Self-Attention Mechanism.
In the process of TBM tunneling parameter prediction, the influence of each parameter on the prediction results is different.By analyzing and identifying the importance of each sequence data, the model complexity and prediction performance are optimized.In this paper, the self-attention mechanism layer is introduced to redistribute the weight of the output vector processed by Bi-GRU.Attention mechanism originates from the research in the field of human vision.It can be understood as an encoding-encoding structure in essence.It is manifested in that this mechanism imitates the sequential information processing method of the human brain, which only focuses on key details and ignores unnecessary information when dealing with complex external information.is method can effectively avoid the waste of feature information caused by the direct transmission of the output vector of the Bi-GRU layer to the fully connected layer and indirectly improve the ability of the model to capture key information and improve the prediction efficiency of the model.e self-attention mechanism is an improvement of the traditional attention mechanism, which reduces the dependence on external information and is better at capturing the internal correlation of data information.e core of this mechanism is the introduction of weight coefficients.By taking the hidden state set of all time steps in the Bi-GRU layer as the model input, the attention vector c is output, which is mainly divided into two calculation processes: weight calculation and weighted summation.
e weight calculation equation [37] is as follows: where a t represents the probability of attention distribution; x t represents the output vector of the Bi-GRU layer; e t A represents the unnormalized attention score.e higher the attention score, the higher the matching degree between the input vector and the target vector; ω, A and b represent the weight matrix and bias of the attention model, respectively.According to the attention distribution a t , the input vector of the attention layer is weighted and summed to obtain the output vector c of the attention model [37]: (5)

Bi-GRU Network with Self-Attention Mechanism.
Figure 2 shows the development framework of the hybrid model.e framework module includes configuration

Reverse layer
Forward layer Advances in Civil Engineering module, data processing module, and algorithm module, and the operation and modification of each module will not affect each other.First, read the algorithm type and algorithm parameters from the configuration module to determine the algorithm required by the model.is module does not need to modify the main frame, classify the external data, and store the training data in the specified directory according to the preprocessing method; according to the data source and different training methods and algorithms, save the training model to the automatically generated path, load the training model to execute prediction instructions, output the prediction result curve, and export the corresponding log file.

Feature Selection.
e construction conditions in the process of TBM tunneling are usually complex, often accompanied by a variety of uncertain factors that affect the prediction accuracy of TBM tunneling parameters.erefore, it is necessary to analyze and extract the TBM tunneling parameter prediction model based on Bi-GRU.e TBM operating data contains 199-dimensional tunneling parameters, but some of them are greatly affected by human factors and have a poor linear correlation.erefore, this paper only selects four indexes of the TBM complete excavation cycle section, namely, total thrust, penetration, cutterhead torque, and cutterhead power, as the output characteristics of the model.e selection of input features is also of great significance to the prediction performance of the model, which can better reflect the operating status of the model under different working conditions and improve the prediction accuracy.
erefore, this paper uses Pearson correlation analysis to identify the 199-dimensional tunneling parameters of the complete tunneling cycle input by the model, eliminates irrelevant parameter variables, and selects key model parameters.e Pearson correlation coefficient is calculated as follows: where X is the average value of the data sample X; Y is the average value of the data sample Y. e Bi-GRU-based TBM tunneling parameter prediction model constructed in this paper uses the complete tunneling cycle data to predict the four parameters of the TBM complete excavation cycle section, namely, total thrust, penetration, cutterhead torque, and cutterhead power.According to the correlation analysis results, the 199-dimensional tunneling parameters of the complete tunneling cycle are sorted, and the 21 key parameters with the highest correlation with a certain TBM tunneling parameter to be predicted are extracted as the input features of the model, to improve the prediction accuracy of the model.e identification result of the input features of the model is shown in Figure 3.    (1) Input layer.After the original data is preprocessed by Pearson correlation analysis method, triple standard deviation method, and other data processing techniques, 21 key parameters with the highest correlation with the prediction parameters are selected as the input vector of the model and input to the Bi-GRU layer according to the Pearson correlation analysis results.
(2) Bi-GRU layer.Input the input vector to the forward propagation GRU layer and the backpropagation GRU layer, respectively.e two parallel layers mainly characterize the correlation between sequence data and generalize the input of each layer.By updating the gate to control the extent to which the state information at the previous moment is brought into the current state, the input features are trained along the forward sequence and the reverse sequence, respectively, and the training vectors of the forward and reverse sequences are synthesized to obtain the output vector of the Bi-GRU layer.
(3) Attention mechanism and fully connected layer.e attention layer performs weighting operations on the output vector processed by Bi-GRU, then outputs it to the fully connected layer, and maps the distributed features to the sample label space.(4) Output layer.Output predicted values, namely, total thrust, penetration, cutterhead torque, and cutterhead power in the complete driving cycle section of TBM.
e specific algorithm flow of the Bi-GRU-ATT prediction model is as follows: first, the data set is divided into a training set and a test set at a ratio of 17 : 1. e training set is used to train the model and optimize the model parameters; the test set is used to predict the TBM tunneling parameters; the 21 key parameters with the highest correlation in the data of the complete tunneling cycle section are selected as the input of the input layer, and the basic structure and hyperparameters of the Bi-GRU-ATT model are set, including time step and iteration times.Adam optimizer is used to train the network model, and the mean square error (MSE) function is used as the loss function to automatically adjust model weights, iteratively optimize model parameters, generate and load model files, and output model prediction results.Finally, an appropriate evaluation function is selected to evaluate the prediction effect of the model and to verify the prediction performance of the model in this paper.

6
Advances in Civil Engineering

Engineering Data Set
4.1.Project Overview.e TBM3 bid section of the Jilin Water Supply Project is the control bid section with the longest single construction section, the most unexpected geological disasters, and the most difficult construction in the entire central water diversion project in Jilin Province.It is located between Chalu River and Wende River in Yongji County, Jilin City, with a total length of 22.955 km.Tunnel excavation is mainly based on full-face TBM construction, of which the TBM construction section is 20.198 km long.e stratigraphic lithology involved in this section can be roughly divided into limestone and granite, which are mainly distributed between grades II and V.According to the statistics of geological data, the proportion of the surrounding rock grade (grades II to V) of the construction section is 5.9%, 66.13%, 23.72%, and 4.25%, respectively; the distribution ratio of limestone area to granite area is 1.58 : 1.As shown in Figure 5(a), the proportions of four types of the surrounding rock grade in limestone are 5.19%, 66.70%, 22.83%, and 5.28%, respectively.Figure 5(b) shows that the proportions of the surrounding rock grade in granite are 7.03%, 65.23%, 25.14%, and 2.6%.e data in this paper are selected from a construction section in the TBM3 bid section, with a total length of 7.5 km.TBM operating data are collected in second, and 86400 pieces of data are collected in a day, including 199dimensional tunneling parameters such as total thrust, penetration, cutterhead torque, and cutterhead power.In this project, TBM construction usually divides the tunneling cycle according to the cylinder stroke, with about 10～20 tunneling cycles per day.Among them, the variation curve of TBM tunneling parameters on a certain day is shown in Figure 6.

Tunneling Cycle Extraction.
It can be seen from Figure 6 that TBM is not always in the working state, and there is a huge amount of shutdown section data that cannot be used for machine learning between each tunneling cycle.erefore, it is necessary to determine the working state of TBM at each time by constructing a binary state function to extract the complete tunneling cycle data.e judgment formula [38] is as follows: where N is the speed of the cutter head; F is the total thrust; T is the cutterhead torque; V is the propulsion speed; I is the state discrimination function.
When I � 1, it is determined that the TBM is in the tunneling state, and when � 0, it is judged that TBM is in the shutdown state.According to the judgment results of the TBM working status at each time, valid data samples are extracted.Each group of continuous tunneling sequences corresponds to a complete tunneling cycle, and the data between adjacent tunneling cycles corresponds to a set of shutdown data.As shown in Figure 7, the TBM tunneling process can be divided into an ascending section and a complete tunneling cycle.
In the traditional TBM tunneling process, the operator generally predicts the parameters of the complete tunneling cycle according to the data change law of the ascending section [39].Due to the complexity of the TBM tunneling construction environment, the driver needs to spend a lot of time identifying and extracting the ascending section data to adjust the TBM operating state, and the effective tunneling efficiency is low.To ensure safe and efficient tunneling of TBM, reduce redundant operations during the driver's operation, and optimize and adjust the current tunneling parameters, this paper selects the data of the complete tunneling cycle section to predict the four tunneling parameters, namely, the total thrust, penetration, cutterhead torque, and cutterhead power in the complete driving cycle section of TBM. Figure 8 shows the comparison between the traditional ascending segment prediction method and the full-period prediction method.

Data Processing.
Due to a large amount of invalid data in the field engineering data, it is necessary to preprocess the original data in the database to extract valid data samples.First, it is necessary to identify and read the original data in the database, including the total thrust, cutterhead torque, and other tunneling parameters, and judge the data.Take the total thrust as an example; the first non-zero data of the total thrust in the input original data needs to be found and marked as P1, and then the second data with zero of the total thrust is found and marked as P2.Subsequently, it needs to be analyzed and judged whether the number of rows between data P1 and data P2 is within the range of [500 s, 5000 s].If so, the data will be discarded; otherwise, the data will be output to the specified file, and each file can have a maximum of 300 cycles.According to this method, all the data are read successively until all the effective data are extracted, and the data processing process is completed.e specific data processing flow is shown in Figure 9.
In the process of data processing, affected by the construction environment, construction equipment, and construction experience of construction personnel during the TBM tunneling process, there are many abnormal values in the original data, which affect the prediction effect of the model.To eliminate the above-mentioned abnormal working data, the original data was processed by the triple standard deviation method.Taking the four parameters to be predicted in this paper as an example, it is necessary to calculate the mean μ and standard deviation σ of the four tunneling parameters in the entire tunneling progress.en, it is judged whether the distance between the parameter value and the mean value is greater than μ + 3σ; if it is greater, it is regarded as an abnormal value and replaced by the average value of 5 data points near the abnormal value.
where X represents the predicted data sample; μ represents the sample mean; σ represents the sample standard deviation.

Advances in Civil Engineering
Rising section prediction process

Stable section
Identify and extract rising section data

Rising section data
Rising section real-time data

Prediction data of stable section
Bi-GRU model

Model file
Bi-GRU model between P1 and P2 is greater than 500s and less than 5000s Output the data of P1 and P2 to the specified file, each file has a maximum of 300 cycles Are all data extracted?take the average of 5 nearby is greater than  + 3 by using

Advances in Civil Engineering
In addition, to eliminate the influence of dimensional differences in the data, the data samples need to be normalized before model training [40]: where x * represents the normalized data; x max and x min represent the maximum and minimum value of the data, respectively.

Model Evaluation Index.
In order to verify the prediction effect of the model, four evaluation indexes commonly used in regression analysis are used to quantify the estimation error of the model, namely, mean absolute percentage error (MAPE), goodness of fit (R 2 ), mean absolute error (MAE), and root-mean-square error (RMSE), and the calculation formula is as follows: where y i is the true value; y * i is the predicted value of the model; i is the sample number; n is the total number of samples in the test set.

Model Application.
According to the results of data processing, the nonworking status and abnormal data are eliminated, and the parameters of the complete tunneling section are averaged to obtain the data set for modeling.To improve the training model to learn the data operation law, improve the generalization ability of the model, and prevent the model from overfitting, it is necessary to increase the model training sample.erefore, the sample set and the test sample set are divided into training according to 17 : 1. e total number of samples is 9900, and the number of training samples and the number of test samples are 9350 and 550, respectively.
e training samples are used to train the model and optimize the model parameters; the test samples are used for prediction, and an appropriate evaluation function is selected to verify the prediction effect of the model.e 21 key parameters in the complete tunneling cycle that has the highest correlation with a certain tunneling parameter to be predicted are selected as the input parameters of the Bi-GRU-ATT model.e four key parameters, namely, the total thrust, penetration, cutterhead torque, and cutterhead power, are tested and verified.Figure 10 shows the prediction results of the stable section in the complete excavation cycle section of the selected Bi-GRU-ATT model with four excavation parameters.
It can be seen from the comparison curve between the predicted value and the measured value in Figure 10 that the predicted values of the four TBM tunneling parameters are in good agreement with the measured values, and the change of the predicted value curve is less than that of the measured value curve, indicating that this model can better predict the tunneling parameters of TBM complete tunneling cycle.To evaluate the prediction accuracy of the network model, it is necessary to analyze and predict the goodness of fit R 2 and MAPE of the four tunneling parameters.By calculating the prediction samples, it can be seen from Table 1 that the MAPE of each parameter is within 1.8%, and the goodness of fit R 2 is also above 0.92, which shows that the prediction model has good network generalization promotion ability and prediction accuracy and has certain guiding significance for the judgment of TBM tunneling state and the optimization and adjustment of parameters.

Model Comparison.
A set of data samples are used to test the performance of Bi-GRU, GRU, and LSTM, and their errors are compared and analyzed.Figures 11-13 are the prediction result curves of the stable section in the complete excavation cycle section of the selected three models.It can be seen from the prediction results that the overall trend of the predicted value change curve and the actual measured value change curve in Bi-GRU, GRU, and LSTM models is the same, but there will be a large deviation from the actual measured value in some samples.Among them, the prediction of total thrust and penetration is in good agreement with the actual measurement results; the prediction of cutterhead torque and cutterhead power is relatively low in agreement with the actual measurement results.
For the sake of quantitatively analyzing and comparing the prediction performance of the four models, MAPE and the goodness of fit R 2 are used as the evaluation indexes to measure the prediction accuracy of the model.e comparison of prediction results of different models is shown in Table 2. e prediction accuracy of the four models for TBM tunneling parameters is Bi-GRU-ATT, Bi-GRU, GRU, and LSTM from high to low.
It can be seen from the comparison in Table 2 that the bidirectional cyclic neural network is better than the unidirectional cyclic neural network with the same structure; that is, the Bi-GRU network is better than the GRU network.As a cyclic neural network, GRU neural network has memory capabilities and can effectively process input data with time series characteristics, thereby accurately predicting the tunneling parameters of the complete tunneling cycle.e Bi-GRU neural network is equivalent to adding a backpropagation layer on the basis of the GRU neural network, which controls the forward and backward output, respectively, making full use of the time sequence information before and after the sample data, and reducing the error.
It can be seen from Table 2 that the Bi-GRU-ATT model has achieved the best prediction effect, with a 10 Advances in Civil Engineering goodness of fit R 2 of up to 0.944, and the minimum MAPE is 1.01%.Compared with the Bi-GRU model without attention mechanism, the highest goodness of fit R 2 is improved by up to 0.06. is shows that when the attention mechanism is added to the model, the prediction accuracy will be improved to a certain extent, which verifies the excellent performance of the attention mechanism in the TBM tunneling parameters.In addition, the prediction accuracy of unidirectional GRU is similar to that of unidirectional LSTM, but unidirectional GRU is better than unidirectional LSTM.e reason is that the unidirectional GRU only has two gate control structures, the update gate and the reset gate, which not only make its output faster than LSTM and have better performance, but also can effectively avoid the overfitting phenomenon of the model in non-high-dimensional prediction tasks.
To sum up, the Bi-GRU-ATT intelligent prediction model established in this paper has stronger learning and prediction capabilities than the other three recurrent neural network prediction models and provides a more feasible auxiliary intelligent decision-making method for TBM safe and efficient tunneling construction.

Engineering Application Effect Analysis.
In the traditional TBM tunneling construction, the selection of tunneling parameters basically relies on human experience to make judgments and adjustments.e matching of tunneling parameters and rock mass state parameters is poor.Once complicated geological conditions are encountered, it is      Advances in Civil Engineering 13 proposed in this study uses an adaptive algorithm to automatically adjust the processing method, processing sequence, and boundary conditions in the data processing and analysis stage according to the characteristics of the preprocessed data, so as to make it consistent with the structural characteristics and statistics of the processed data.e distribution characteristics are adapted to ensure the extraction of the rockmachine interaction relationship under real-time rock mass conditions, so as to realize the real-time prediction of the tunneling performance of the model under the given TBM control parameters, in order to promote the intelligent development of TBM tunneling; in addition, the Bi -GRU-ATT model can reflect the current rock mass state through the change law of the excavation parameter value in the complete excavation cycle and adjust and optimize the current excavation parameters in real time according to the current rock mass state information to ensure safe and efficient excavation of TBM.Although this model is based on a huge amount of construction data of TBM tunnel projects that have been built or under construction, the unknown rock mass status information still needs to be obtained through on-site drilling core sampling, in situ experiments, etc.; artificial intelligence technology represented by this model is only used as an example. is kind of auxiliary intelligent decision-making method, the steps of planning of the excavation task, and control of the excavation state in the excavation process still inevitably require human intervention.erefore, to further improve the intelligent prediction model of TBM tunneling parameters to adapt to the TBM tunneling construction of different engineering geological conditions is a problem that we urgently need to solve.

Conclusions
is paper proposes a prediction method of TBM tunneling parameter based on the Bi-GRU-ATT model and selects the normalized complete tunneling cycle section data to predict the tunneling parameters of the complete tunneling cycle.
e training set and test set are divided by the operation data of the TBM3 bid section of the Jilin Water Supply Project, the nonworking state and abnormal data are eliminated, and the complete excavation cycle is extracted.Based on Pearson correlation analysis, the 199-dimensional tunneling parameters selected from the complete tunneling cycle are sorted, and the 21 key parameters with the highest correlation with a certain TBM tunneling parameter to be predicted are extracted as the input features of the model, so as to predict four TBM tunneling parameters (total thrust, penetration, cutterhead torque, and cutterhead power) in the complete driving cycle section.e advantages of this model are verified by comparing the Bi-GRU-ATT model with Bi-GRU, unidirectional LSTM, and unidirectional GRU models.e main conclusions are as follows: (1) Bi-GRU-ATT is trained based on the complete cycle data of the TBM tunneling cycle, and the intelligent prediction method based on the Bi-GRU-ATT model is constructed, which can effectively predict four key TBM tunneling parameters.e average absolute percentage error (MAPE) of the prediction results of each parameter is less than 1.8%, and the goodness of fit R 2 is greater than 0.92, which verifies the accuracy and effectiveness of this model.e results show that this model has a good guiding significance for realizing the real-time prediction of TBM tunneling parameters and assisting the optimization and adjustment of TBM tunneling parameters.
(2) Compared with the existing methods of using ascending section data of TBM tunneling cycle to predict the tunneling parameters of the stable section, this paper selects the data of complete tunneling cycle section to predict the tunneling parameters of the complete tunneling cycle, which can significantly improve the complexity and difficulty of data processing in the TBM tunneling process and then greatly improve the preprocessing efficiency of massive TBM tunneling data.(3) Comparing and analyzing the prediction results of recurrent neural network models, it can be seen that the Bi-GRU-ATT model proposed in this paper has better prediction performance than the other three prediction models.is model is helpful for the intelligent regulation of TBM tunneling parameters and provides a more feasible auxiliary intelligent decision-making method for TBM safe and efficient tunneling construction.

Data Availability
e data used to support the findings of this study are included within the article and can be available from the corresponding author upon request.
the log: Yes Whether to perform training: Yes Whether to perform Prediction: Yes Whether to output prediction screenshots: No Output information Perform training Output model Return training results Load the model: the model is only loaded once Output prediction result graph Perform prediction Return prediction result

Figure 3 :
Figure 3: Identification results of input features of Bi-GRU model.(a) Model identification result of total thrust.(b) Model identification result of penetration.(c) Model identification result of cutterhead torque.(d) Model identification result of cutterhead power.

Figure 7 :
Figure 7: A complete tunneling cycle in TBM construction.

Figure 8 :
Figure 8: Comparison of complete tunneling cycle and ascending section.(a) Ascending segment prediction.(b) Full-period prediction.

Figure 10 :
Figure 10: Prediction results of Bi-GRU-ATT model.(a) Prediction results of total thrust F. (b) Prediction results of penetration e. (c) Prediction results of cutterhead power P. (d) Prediction results of cutterhead torque T.

Figure 11 :
Figure 11: Prediction results of Bi-GRU model.(a) Prediction results of total thrust F. (b) Prediction results of penetration e. (c) Prediction results of cutterhead power P. (d) Prediction results of cutterhead torque T.

Figure 12 :Figure 13 :
Figure 12: Prediction results of GRU model.(a) Prediction results of total thrust F. (b) Prediction results of penetration e. (c) Prediction results of cutterhead power P. (d) Prediction results of cutterhead torque T.

Table 1 :
Evaluation indexes of prediction results of Bi-GRU-ATT model.

Table 2 :
Comparison of evaluation indexes of prediction resultsamong different recurrent neural network models.