Highway tunnel rock mass deterioration evaluation system based on multi-physical constraint cross-modal fusion deep learning
By using a multi-physical constraint cross-modal fusion deep learning system, which combines thermal temperature and pore fractal dimension, the problem of insufficient feature correlation in existing thermal degradation evaluation systems is solved, and accurate quantitative evaluation of thermal degradation of highway tunnel rock mass is achieved.
Patent Information
- Application Number
- CN202611665198.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-27
- Publication Date
- 2026-11-24
AI Technical Summary
Existing highway tunnel rock mass degradation evaluation systems are unable to effectively correlate thermal temperature, pore fractal dimension and local spatial features of CT images, making the identification of local damage features and porosity prediction under different thermal degradation states easily affected by image similarity and imaging noise.
An evaluation system based on multi-physical constraint cross-modal fusion deep learning is adopted. By constructing a three-dimensional pore binary matrix and pore fractal dimension, combined with thermal temperature, features are extracted using a visual encoder and a physical encoder, and feature fusion is performed through cross-attention units. Finally, porosity regression is performed to quantitatively evaluate the degree of thermal degradation of the rock mass.
It improves the accuracy and reliability of rock mass thermal degradation evaluation, enables quantitative evaluation of different thermal states and pore topological complexity, and reduces feature confusion caused by similar local image morphology.
Smart Images

Figure CN123158144A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of evaluation and intelligent detection technology of surrounding rock deterioration in mountain highway tunnels, specifically to a highway tunnel rock mass deterioration evaluation system based on multi-physical constraint cross-modal fusion deep learning. Background Technology
[0002] When highway tunnels traverse complex geological rock masses, the minerals within the surrounding rock undergo damage evolution under the long-term influence of environmental factors such as high ground stress, groundwater, temperature changes, and wet-dry cycles. This induces the continuous initiation, expansion, and connection of micropores and microcracks. The evolution of the internal pore structure of the rock mass affects the strength, deformation, and seepage characteristics of the surrounding rock, which is crucial to the long-term operational stability of the highway tunnel. Therefore, a quantitative evaluation of the degree of rock mass deterioration is urgently needed. Porosity, as a core indicator characterizing internal damage defects in the rock mass, is a key parameter for determining the deterioration state of the tunnel surrounding rock. CT technology can acquire continuous fault images of the rock mass under non-destructive conditions, which can be used to identify the pore and fracture structure of the rock mass. Existing rock mass deterioration evaluation systems mostly employ grayscale threshold segmentation, pore pixel statistics, and three-dimensional reconstruction methods to extract porosity and fracture geometric parameters. However, in CT imaging of tunnel rock mass, the grayscale of pores and rock matrix areas overlaps. At the same time, it is affected by X-ray scattering, detector noise, on-site sampling and imaging parameter fluctuations. Traditional image processing methods with fixed thresholds and manual parameter adjustment have poor stability in identifying micropores and complex cracks, making it difficult to accurately characterize the pore structure evolution characteristics of highway tunnel rock mass under different thermal conditions. This cannot meet the needs of intelligent evaluation of the long-term stability of surrounding rock in mountainous highway tunnels.
[0003] To improve the processing efficiency of CT images, existing evaluation systems employ deep learning models such as convolutional neural networks and Transformers to extract features and predict physical parameters from rock mass CT images. These systems primarily rely on grayscale, texture, and edge information from CT images to build predictive models. However, CT slices under different thermal conditions may exhibit similar local image morphologies, and similar or identical porosities may correspond to different three-dimensional pore structures such as isolated pores, dispersed cracks, or through cracks. Therefore, relying solely on the visual features of a single CT image is insufficient to simultaneously reflect both the thermal state of the rock mass and the overall spatial complexity of the pore network, easily leading to feature confusion between different thermal states.
[0004] Thermal temperature reflects the macroscopic thermal state of a rock mass, while pore fractal dimension characterizes the spatial filling degree and topological complexity of the pore-crack network. Existing multi-source evaluation systems, even when incorporating physical information such as temperature and pore structure parameters, typically fuse image features with physical parameters through direct stitching, uniform weighting, or feature merging at the model's end. Since thermal temperature and pore fractal dimension are global physical parameters, direct stitching fails to clearly define the interaction between these physical parameters and different spatial locations in CT images. This prevents targeted selection and enhancement of image features in pore, crack, and matrix regions based on the current thermal state and pore topological complexity of the rock mass.
[0005] Furthermore, there is a strong spatial correlation between adjacent CT slices. If existing evaluation systems randomly divide individual CT slices during model training, highly similar slices from adjacent axial regions of the same sample may end up in the training and test sets respectively, causing data leakage and preventing the model's evaluation metrics from accurately reflecting its generalization ability for unknown rock mass samples. Some evaluation systems only output porosity prediction values and cannot display the regions in the CT images that have the main influence on the prediction results, making it difficult to verify whether the model has focused on the actual pore and crack regions.
[0006] In summary, existing highway tunnel rock mass deterioration evaluation systems still have shortcomings in multi-source data collaborative processing. They struggle to effectively correlate thermal temperature (characterizing macroscopic thermal effects), pore fractal dimension (characterizing three-dimensional pore topological complexity), and local spatial features of CT images. This makes the system's identification of local damage features and porosity prediction under different thermal deterioration states susceptible to influences from image similarity, imaging noise, and data segmentation methods. Therefore, it is necessary to provide a system capable of targeted fusion of thermal temperature, pore fractal dimension, and CT image spatial features, and using porosity prediction values to quantitatively evaluate the degree of rock mass thermal deterioration. Summary of the Invention
[0007] To address the problem that existing highway tunnel rock mass deterioration evaluation systems struggle to effectively correlate the thermal temperature (characterizing macroscopic thermal effects), the pore fractal dimension (characterizing three-dimensional pore topological complexity), and the local spatial features of CT images, leading to the susceptibility of local damage feature identification and porosity prediction under different thermal deterioration states to the influence of local image morphological similarity, this invention provides a highway tunnel rock mass deterioration evaluation system based on multi-physical constraint cross-modal fusion deep learning. The specific technical solution is as follows: A highway tunnel rock mass deterioration evaluation system based on multi-physical constraint cross-modal fusion deep learning, the highway tunnel rock mass deterioration evaluation system comprising: The data acquisition module is used to acquire target CT slices of the rock sample to be evaluated that have been subjected to heat, to acquire a continuous CT slice sequence that includes the target CT slices and originates from the rock sample to be evaluated, and to acquire the heat treatment temperature experienced by the rock sample to be evaluated. A multi-physics constraint construction module is used to construct a three-dimensional pore binary matrix based on the continuous CT slice sequence, determine the pore fractal dimension based on the three-dimensional pore binary matrix, and construct a multi-physics constraint vector based on the thermal temperature and the pore fractal dimension. A cross-modal fusion prediction module includes a visual encoder, a physical encoder, a cross-attention unit, and a regression output unit. The visual encoder extracts spatial visual feature sequences from the target CT slice. The physical encoder maps the multi-physical constraint vectors to physical query vectors. The cross-attention unit uses the physical query vectors as queries and the key vector sequences and value vector sequences corresponding to the spatial visual feature sequences as keys and values to obtain attention weights for each spatial location in the target CT slice. It then weights the value vector sequences according to the attention weights to obtain cross-modal fusion features. The regression output unit performs porosity regression based on the cross-modal fusion features to obtain the predicted porosity value of the target CT slice. The degradation evaluation output module is used to use the predicted porosity value as a quantitative characterization result of the degree of thermal degradation of the rock sample to be evaluated at the corresponding position of the target CT slice.
[0008] In a preferred implementation, the highway tunnel rock mass deterioration evaluation system further includes a data preprocessing module, which is used to perform grayscale normalization processing on the target CT slice; The formula for grayscale normalization of the target CT slice is as follows:
[0009] in, and The spatial coordinate index of the target CT slice; The target CT slice in spatial coordinates The grayscale value at that location; The global minimum gray value of the dataset is determined in advance by statistically analyzing the gray values of all CT slices in the CT scan dataset; The global maximum gray value of the dataset is determined in advance by statistically analyzing the gray values of all CT slices in the CT scan dataset; The normalized grayscale value; derived from the values at each spatial coordinate. The normalized target CT slice is constructed according to its spatial position in the target CT slice, and the visual encoder uses the normalized target CT slice as input. The data preprocessing module is also used to normalize the thermal effect temperature; The formula for normalizing the heat treatment temperature is:
[0010] The multi-physics constraint construction module is used to construct the multi-physics constraint vector; The formula for constructing the multi-physics constraint vector is as follows:
[0011] in, The temperature at which the heat is applied; To preset the maximum thermal action temperature and ; Normalized temperature; The fractal dimension of the pores; Let be the multi-physics constraint vector; the superscript T indicates transpose.
[0012] In a preferred implementation, the highway tunnel rock mass deterioration evaluation system further includes a training dataset construction module; The training dataset construction module is used to obtain the continuous CT slice sequences corresponding to each of the training rock samples treated with different thermal temperatures, and to divide the corresponding continuous CT slice sequences into multiple non-overlapping continuous physical blocks along the axial direction of each training rock sample. The complete continuous physical block is used as the smallest allocation unit, and the training set, validation set and test set are divided according to a preset slice number ratio, so that the CT slice in any continuous physical block belongs to only one of the training set, the validation set and the test set.
[0013] In a preferred implementation, the highway tunnel rock mass deterioration evaluation system further includes a model training module; The model training module is used to establish a unified sample index, which includes multiple sample records that correspond one-to-one with each training CT slice in the training set. Each sample record includes the storage path of the corresponding training CT slice, as well as the normalized temperature, pore fractal dimension, and true porosity labels corresponding to that training CT slice. The model training module is also used to read the corresponding training CT slice, normalized temperature, pore fractal dimension, and true porosity labels according to each sample record. The model training module is also used to update the network parameters of the cross-modal fusion prediction module for each sample record by using the mean square error between the predicted porosity value of the CT slice corresponding to the sample record and the true porosity label in the sample record as the loss function, so that the multi-physical constraint vector participates in the parameter update of the visual encoder through the cross attention unit.
[0014] In a preferred implementation, the multi-physics constraint construction module is used to construct a three-dimensional pore binary matrix based on the continuous CT slice sequence, and to determine the pore fractal dimension based on the three-dimensional pore binary matrix, specifically including: The continuous CT slice sequence is subjected to filtering and noise reduction processing and contrast enhancement processing. A preset grayscale threshold is used to distinguish between the rock matrix region and the pore or crack region. The processed continuous CT slices are then binarized and segmented. The pixel values of the rock matrix region are set to 0, and the pixel values of the pore or crack region are set to 1, resulting in continuous two-dimensional binary slices. The continuous two-dimensional binary slices are stacked layer by layer along the axial direction of the rock sample to be evaluated to construct the three-dimensional pore binary matrix. The three-dimensional pore binary matrix is divided by multiple sets of cubic meshes with different side lengths. The number of non-empty boxes with a voxel value of 1 in each set of cubic meshes is counted. The logarithm of the number of non-empty boxes is linearly fitted to the logarithm of the reciprocal of the side length of the corresponding cubic mesh, and the slope of the fitted line is determined as the pore fractal dimension.
[0015] In a preferred implementation, the visual encoder includes a plurality of sequentially connected residual convolutional blocks; The first residual convolutional block takes the target CT slice as input, and the remaining residual convolutional blocks take the output features of the previous residual convolutional block as input. Each residual convolutional block is used to sequentially perform convolutional feature extraction, feature normalization, nonlinear activation and spatial downsampling on its input features to extract visual features at different spatial scales step by step. The last residual convolutional block outputs a spatial visual feature map with channel dimension, height dimension and width dimension. The visual encoder is further configured to flatten the height and width dimensions of the spatial visual feature map into spatial position dimensions, and to permutate the channel dimension and the spatial position dimension to obtain a spatial visual feature sequence with the spatial position dimension as the sequence dimension and the channel dimension as the feature dimension. The spatial visual feature sequence is composed of multiple local visual feature vectors corresponding to spatial positions.
[0016] In a preferred implementation, the physical encoder includes a multilayer perceptron and a first linear mapping layer. The multilayer perceptron is used to map the multi-physical constraint vector to the same feature dimension as the local visual feature vector to obtain a physical embedding vector. The first linear mapping layer is used to map the physical embedding vector to the physical query vector. The cross-attention unit includes a second linear mapping layer and a third linear mapping layer, which are used to map the spatial visual feature sequence into a key vector sequence and a value vector sequence, respectively, and make the feature dimensions of the physical query vector, the key vector sequence and the value vector sequence the same.
[0017] In a preferred implementation, the cross-attention unit is based on the relational expression Calculate the spatial attention weight matrix A, and according to the relation... Calculate cross-modal fusion features ; Where Q is the physical query vector; It is the transpose of the key vector sequence K; A represents the feature dimensions of the physical query vector Q and the key vector sequence K; V represents the value vector sequence; and each element in A represents the matching weight between the physical query vector and the key vector of the corresponding spatial location.
[0018] In a preferred implementation, the degradation evaluation output module further includes an interpretability output unit; The interpretable output unit is used to calculate the gradient of the porosity prediction value relative to each feature map output by the last convolutional layer of the visual encoder at each spatial location, perform spatial averaging on the gradients corresponding to each feature map to obtain the channel weights of the corresponding feature maps, perform weighted summation on each feature map according to the channel weights and process it with a linear rectified function to obtain an initial heatmap, and adjust the initial heatmap to the size of the target CT slice through bilinear interpolation to generate an interpretable heatmap that characterizes the contribution of each spatial location in the target CT slice to the porosity prediction value.
[0019] In a preferred implementation, the cross-modal fusion prediction module further includes a Transformer encoder disposed between the cross-attention unit and the regression output unit; the Transformer encoder includes two cascaded coding layers, employs a four-head attention mechanism, has a feedforward network dimension of 256, and a random inactivation rate of 0.2, and is used to perform nonlinear transformation and feature reshaping on the cross-modal fusion features; The regression output unit includes a first fully connected layer, a LeakyReLU activation layer, and a second fully connected layer connected in sequence. The first fully connected layer is used to compress the 128-dimensional features output by the Transformer encoder into 64-dimensional features, and the second fully connected layer is used to map the 64-dimensional features into a one-dimensional porosity prediction value.
[0020] Compared with the prior art, the beneficial effects of the present invention are: (1) The present invention utilizes the target CT slice to provide local two-dimensional visual information of the location to be evaluated, and uses a continuous CT slice sequence containing the target CT slice to construct a three-dimensional pore binary matrix and determine the pore fractal dimension. At the same time, the thermal temperature experienced by the rock sample to be evaluated is introduced, which can incorporate local image features, three-dimensional pore topological complexity and macroscopic thermal state into the same evaluation process, reducing the loss of thermal state information and pore spatial structure information caused by relying only on a single CT slice.
[0021] (2) The present invention maps the multi-physical constraint vector composed of thermal temperature and pore fractal dimension into a physical query vector. The physical query vector is used to query the visual features of each spatial location in the target CT slice and determine the corresponding attention weights. This allows the global physical information representing the thermal state and the pore topological complexity to participate in the selection and weighting of local spatial visual features during the feature fusion stage. This enables the visual response related to pores or cracks to be strengthened for different thermal states and pore topological complexity, and reduces feature confusion caused by similar local image shapes.
[0022] (3) The present invention outputs the porosity prediction value of the target CT slice based on the cross-modal fusion characteristics, and uses the porosity prediction value as the quantitative characterization result of the degree of thermal degradation of the rock sample to be evaluated at the corresponding position of the target CT slice, thereby providing a clear quantitative evaluation basis for the degree of thermal degradation of underground engineering rock mass, which is conducive to improving the accuracy and reliability of rock mass thermal degradation evaluation. Attached Figure Description
[0023] The present invention will now be described in further detail with reference to the accompanying drawings and specific embodiments.
[0024] Figure 1 This is a schematic diagram of the structure of a visual encoder in one embodiment of the present invention; Figure 2 This is a schematic diagram of a multilayer perceptron structure of a physical encoder in one embodiment of the present invention; Figure 3 This is a schematic diagram of the structure and operation process of the cross-attention unit in one embodiment of the present invention. Detailed Implementation
[0025] The present invention will be further described below with reference to the accompanying drawings and specific embodiments. The following specific embodiments are used to illustrate the technical solutions of the present invention, and are not intended to unduly limit the scope of protection of the present invention.
[0026] The target CT slice referred to in this invention is a computed tomography slice obtained from a rock sample to be evaluated that has been subjected to heat and used to output the predicted porosity value at the corresponding location. A continuous CT slice sequence is a series of computed tomography (CT) slices taken continuously along the axial direction of the same rock sample to be evaluated, containing CT slices of the target.
[0027] Target CT slices are used to extract two-dimensional local visual features, while sequential CT slice sequences are used to reconstruct the three-dimensional spatial distribution of pores and cracks and determine the fractal dimension of the pores. The thermal treatment temperature is the actual heat treatment temperature experienced by the rock sample to be evaluated. The predicted porosity value is used to quantitatively characterize the degree of thermal degradation of the rock sample to be evaluated at the corresponding location in the target CT slice. This invention does not presuppose that porosity changes monotonically with temperature, but rather uses image features, thermal treatment state, and spatial complexity of the pore network to jointly characterize the nonlinear thermal degradation process.
[0028] like Figures 1 to 3 As shown, this invention provides a highway tunnel rock mass deterioration evaluation system based on multi-physical constraint cross-modal fusion deep learning, including a data acquisition module, a multi-physical constraint construction module, a cross-modal fusion prediction module, and a deterioration evaluation output module. It further includes a data preprocessing module, a training dataset construction module, a model training module, and an interpretable output unit. In this specific embodiment, the data preprocessing module and the multi-physical constraint construction module together form the multi-modal data input part; the visual encoder and physical encoder respectively extract visual features and physical prior features, forming a two-dimensional feature independent extraction structure; the cross-attention unit adopts a physics-inspired spatial cross-attention mechanism; the cross-modal fusion prediction module adopts the multi-physical prior cross-attention model PI-CAN, and completes global feature deep inference and porosity regression through a Transformer encoder and a regression output unit. The above modules, divided according to data processing functions, jointly complete the thermal deterioration evaluation of the rock sample to be evaluated.
[0029] The data acquisition module is used to acquire target CT slices of the rock sample to be evaluated that have been subjected to heat, to acquire a continuous CT slice sequence that includes the target CT slices and originates from the rock sample to be evaluated, and to acquire the heat treatment temperature experienced by the rock sample to be evaluated. To generate experimental data usable for establishing and validating the system, this embodiment uses cement mortar to prepare rock-like training specimens. The raw material is 42.5 grade ordinary Portland cement, with a cement, river sand, and water mass ratio of 1:3:1. After weighing according to the above ratio, the mixture is uniformly mixed, layered into the mold, and compacted layer by layer. Excess mortar is scraped off and the surface is smoothed. After standing indoors for 24 hours, the mold is removed, and the specimens are cured under standard curing conditions for 28 days. After curing, the specimens are cut and ground into 100mm × 50mm × 25mm cuboid specimens, and a 15mm long cross-shaped pre-fabricated crack is prepared in the center of the specimen. The specimen side length error is less than 0.02mm, the end face unevenness error is less than 0.02mm, the perpendicularity error of adjacent faces is less than 0.25°, and the non-parallelism error of relative end faces is less than 0.02mm. To reduce specimen variability, training specimens are taken from the same area in the center of the mold and cut and marked in the same direction.
[0030] Training rock samples were treated at 25℃, 250℃, 500℃, 750℃, and 1000℃, respectively, with a heating rate controlled at 5–10℃ / min. After reaching the preset temperature, the samples were held at that temperature for 2 hours and then allowed to cool naturally to room temperature. The 25℃ group was used to characterize the room temperature state. This yielded training rock samples treated at different thermal temperatures.
[0031] A nanoVoxel 4000 high-precision 3D measuring instrument was used to perform CT scans on each training rock sample. The spatial resolution was 20.73 μm, the test voltage was 200 kV, and the test current was 130 μA. During the scan, the sample was fixed and rotated 360°, and X-ray projection data from different angles were continuously acquired. The data was then reconstructed to obtain a continuous CT slice sequence arranged along the sample axis. The data acquisition module selected the slice to be predicted from the continuous CT slice sequence as the target CT slice and established the correlation between the target CT slice, its continuous CT slice sequence, and the corresponding thermal treatment temperature. The pre-fabricated fracture at the center of the sample was only used as a spatial reference and was excluded from the calculation of the true porosity label and pore fractal dimension in this embodiment.
[0032] Analysis of continuous CT slices at different thermal temperatures revealed that the porosity of the rock samples did not increase monotonically with increasing thermal temperature. The overall porosity at 250℃ decreased compared to 25℃, began to increase at 500℃, reached a high level at 750℃, and then decreased again at 1000℃. Pore scale analysis showed that the area around 500℃ was a turning point in porosity evolution; at 750℃, the number of newly formed pores and cracks increased significantly; and at 1000℃, some adjacent micropores merged to form larger pores. These nonlinear evolution results indicate that relying solely on local visual information from the target CT slices is insufficient to fully characterize the thermal degradation state of the rock samples; both thermal temperature and pore fractal dimension need to be introduced as physical priors.
[0033] Before model training, a CT scan dataset was pre-established. This dataset consisted of 5910 CT slices of training rock samples taken at the five aforementioned thermal temperatures using the same scanning equipment and parameters, which were then incorporated into the model construction. The data preprocessing module statistically analyzed the grayscale values of all CT slices in the dataset, determining the minimum and maximum grayscale values as the global minimum grayscale values for the dataset. and the global maximum grayscale value of the dataset .
[0034] The data preprocessing module is used to normalize the grayscale of the target CT slices according to the following formula:
[0035] in, and Index the spatial coordinates of the target CT slice. In spatial coordinates of the target CT slice grayscale value at that location It is the visual modality tensor formed by the normalized gray values at each spatial coordinate of the target CT slice according to their corresponding spatial positions. For the visual modality tensor In spatial coordinates The element value at that location is the normalized grayscale value at the corresponding spatial coordinates. The visual modality tensor satisfies... In this embodiment, the number of channels C=1, and the spatial size H=W=512 pixels; the visual encoder uses the visual modality tensor As input.
[0036] The CT scan dataset is used to predetermine the model before training. and This is not the input data that the system needs to reacquire when performing a thermal degradation evaluation on the rock sample to be evaluated. When performing the thermal degradation evaluation, the data preprocessing module uses pre-defined... and The target CT slices are grayscale normalized; the data acquired during system operation are still the target CT slices of the rock sample to be evaluated, the continuous CT slice sequence containing the target CT slices, and the thermal effects experienced by the rock sample to be evaluated.
[0037] The data preprocessing module is also used to... Normalize the thermal effect temperature; Where T is the thermal temperature experienced by the rock sample to be evaluated. To preset the maximum thermal action temperature and , For the normalized temperature, in this embodiment =1000℃. Temperature normalization brings the temperature features and the grayscale-normalized visual input into a numerical range that can both participate in network training.
[0038] The multi-physics constraint construction module is used to construct a three-dimensional pore binary matrix based on a continuous CT slice sequence, determine the pore fractal dimension based on the three-dimensional pore binary matrix, and construct a multi-physics constraint vector based on the thermal temperature and the pore fractal dimension. Specifically, the multi-physics constraint construction module performs filtering and noise reduction processing and contrast enhancement processing on the continuous CT slice sequence. Using a preset grayscale threshold to distinguish between the rock matrix region and the pore or crack region, the processed continuous CT slices are binarized. Pixel values in the rock matrix region are set to 0, and pixel values in the pore or crack region are set to 1, resulting in continuous two-dimensional binary slices. These continuous two-dimensional binary slices are then stacked layer by layer along the axial direction of the rock sample to be evaluated in the actual order, constructing a three-dimensional pore binary matrix reflecting the spatial distribution of pores and cracks within the sample. The pixels in each two-dimensional binary slice correspond to voxels in the three-dimensional pore binary matrix after stacking.
[0039] A three-dimensional pore binary matrix is divided using multiple sets of cubic meshes with different side lengths. Each cubic mesh cell containing at least one voxel with a value of 1 is considered a non-empty box. The number of non-empty boxes in each set of cubic meshes is counted. A linear fit is performed between the logarithm of the number of non-empty boxes and the logarithm of the reciprocal of the corresponding cubic mesh side length, and the slope of the fitted line is determined as the pore fractal dimension. The relationship between the number of non-empty boxes and the mesh side length is expressed as:
[0040] in, Let the side length of the cube grid be . It is a proportionality constant. The fractal dimension to be determined This indicates the current scale. Below, the total number of non-empty boxes containing cracks or pores. Let... , For multiple groups Perform a linear least squares fit and calculate the slope of the fitted line according to the following formula:
[0041] Where n is the number of sets of cube grid side lengths, and the slope is... The pore fractal dimension was determined. To verify the effectiveness of the linear fit, the coefficient of determination was calculated using the following formula:
[0042] in, , in order to adopt the first Group cube grid side length The logarithm of the number of non-empty boxes actually obtained when dividing the three-dimensional pore binary matrix; To be The fitted value of the logarithm of the number of non-empty boxes obtained after substituting into the linear fitting equation; For each actual observation value The arithmetic mean. The coefficient of determination for fit. The closer it is to 1, the better it indicates that within the range of the adopted grid scale, and The higher the linear fit between the values, the more significant the fractal characteristics of the corresponding pore-crack network. Table 1 shows the pore fractal dimension and fitting coefficient of determination for each temperature group. Table 1. Fractal dimension and coefficient of determination of pores under different thermal temperatures
[0043] As shown in Table 1, the coefficients of determination for each temperature group range from 0.976 to 0.990, indicating that the corresponding three-dimensional pore-crack network has a good fractal fit within the scale range adopted. The pore fractal dimension does not change monotonically with the thermal temperature, and can be used to supplement the spatial topological complexity that cannot be expressed by a single porosity.
[0044] In this embodiment, the pore fractal dimension is not a two-dimensional fractal dimension calculated for a single pore or a single target CT slice, but rather a global physical parameter calculated for the overall three-dimensional pore structure of the rock sample. For rock samples subjected to target temperature treatments of 25℃, 250℃, 500℃, 750℃, and 1000℃, respectively, layer-by-layer two-dimensional CT slices of the corresponding rock samples were obtained using a high-precision CT scanner. The two-dimensional CT slices were subjected to grayscale threshold binarization to extract pore features. The processed continuous CT slices were then stacked three-dimensionally along the axial direction of the rock sample to reconstruct the overall three-dimensional pore structure of the corresponding rock sample. The three-dimensional pore structure obtained from the reconstruction was calculated using the three-dimensional box counting method to obtain the global three-dimensional pore fractal dimension of the corresponding rock sample under the corresponding thermal state. The pore fractal dimensions in Table 1 represent the complexity of the overall three-dimensional pore structure of the rock sample after treatment at the corresponding target temperature.
[0045] The multi-physics constraint building block uses the following formula to normalize the temperature. With pore fractal dimension Combine along the feature dimensions to construct a multi-physical constraint vector:
[0046] in, This is a multi-physics constraint vector, with the superscript T indicating transpose. Given a two-dimensional real vector space, normalized temperature Pore fractal dimension is used to characterize the macroscopic thermal states experienced by a sample. Used to characterize the spatial filling degree and topological complexity of pore-crack networks revealed by sequential CT slice sequences.
[0047] The training dataset construction module is used to divide the corresponding continuous CT slice sequences of multiple training rock samples treated with different thermal temperatures into multiple non-overlapping continuous physical blocks along the axial direction of each training rock sample. Each continuous physical block contains multiple adjacent CT slices. Using the complete continuous physical block as the smallest allocation unit, the training set, validation set, and test set are constructed according to a slice ratio of 7:1:2, ensuring that the CT slices in any continuous physical block belong to only one of the training set, validation set, and test set. This avoids data leakage caused by randomly splitting highly similar adjacent slices within the same continuous physical block into different data subsets.
[0048] In this embodiment, 5910 CT slices were physically allocated at the block level according to a slice ratio of approximately 7:1:2, and the results are shown in Table 2. The validation set did not participate in backpropagation and parameter updates, while the test set remained isolated during model training and model selection.
[0049] Table 2 Number of slices for training, validation, and test sets
[0050] For each CT slice used for supervised learning, the two-dimensional porosity after excluding the influence of the central pre-fabricated crack is calculated, and this two-dimensional porosity is used as the true porosity label for that CT slice. Specifically, the original two-dimensional single-channel grayscale CT slice is first filtered for noise reduction and contrast enhancement, and then converted into a binary image using threshold segmentation. Pixel values in the rock matrix region are set to 0, and pixel values in the pore or crack region are set to 1. Subsequently, a 15mm long cross-shaped pre-fabricated crack region at the center of the sample is removed using masking. This cross-shaped pre-fabricated crack is only used as a spatial reference and is not included in the true porosity. After masking, the total number of remaining effective pore or crack pixels within the rock slice cross-section and the total number of effective pixels within the rock slice cross-section are counted. The ratio of the total number of effective pore or crack pixels to the total number of effective pixels is determined as the true porosity of the CT slice, and this true porosity is recorded in a global CSV file as the supervised learning label for the corresponding CT slice.
[0051] The model training module uses a global CSV file as a unified sample index, associating the storage path, corresponding normalized temperature, pore fractal dimension, and true porosity label of each training CT slice in the training set into a single sample record. Each row corresponds to one training CT slice. The pore fractal dimension is a global physical property of the corresponding rock sample; for consecutive CT slices from the same rock sample, their normalized temperature and pore fractal dimension are identical. Each training CT slice has its own storage path and true porosity label. The division of continuous physical blocks is used for data allocation between the training, validation, and test sets, without changing the normalized temperature and pore fractal dimension corresponding to each CT slice of the same rock sample. During data loading, the corresponding data is read as a whole for each row of sample records to prevent misalignment of CT slices, physical parameters, and true porosity labels.
[0052] The cross-modal fusion prediction module includes a visual encoder, a physical encoder, a cross-attention unit, and a regression output unit. The visual encoder extracts spatial visual feature sequences from the target CT slice. The physical encoder maps multi-physical constraint vectors to physical query vectors. The cross-attention unit uses the physical query vector as the query and the key vector sequence and value vector sequence corresponding to the spatial visual feature sequence as the key and value, respectively, to obtain the attention weights for each spatial location in the target CT slice. The value vector sequence is then weighted according to the attention weights to obtain the cross-modal fusion features. The regression output unit performs porosity regression based on the cross-modal fusion features to obtain the predicted porosity value of the target CT slice. like Figure 1As shown, the visual encoder includes multiple residual convolutional blocks connected in sequence. The first residual convolutional block takes the target CT slice as input, and the remaining residual convolutional blocks take the output features of the previous residual convolutional block as input. Each residual convolutional block is used to sequentially perform convolutional feature extraction, feature normalization, nonlinear activation and spatial downsampling on its input features to extract visual features at different spatial scales step by step. The final residual convolutional block outputs a spatial visual feature map with channel dimension, height dimension and width dimension. The visual encoder also flattens the spatial visual feature map along the spatial dimension and performs dimensional permutation. Specifically, it flattens the height and width dimensions of the spatial visual feature map into spatial position dimensions and permutates the channel dimension and spatial position dimension to obtain a serialized visual tensor composed of local visual feature vectors corresponding to multiple spatial positions. In this embodiment, the serialized visual tensor is called the spatial visual feature sequence.
[0053] The basic operations of each residual convolution block are represented as follows:
[0054] in, and These are the input and output features of the residual convolutional block, respectively. This represents a nonlinear residual mapping consisting of two 3×3 convolutional layers. The convolution weights are the corresponding residual convolutional blocks. It is a non-linear activation function.
[0055] This embodiment employs four convolutional feature extraction stages. Each stage uses a 3×3 convolutional kernel and gradually expands the receptive field through spatial downsampling. The first stage extracts the boundary and overall contour, the middle stage extracts the intersection and expansion features of micropores and microcracks, and the last stage forms high-dimensional semantic features. After four convolutional extractions, the visual encoder outputs a spatial visual feature map in the form of a three-dimensional tensor. .
[0056]
[0057] in, This represents the convolution process; Spatial visual feature maps The number of channels, height, and width are taken in this embodiment. , .
[0058] In this embodiment, the spatial visual feature map F v After flattening along the spatial dimensions and performing dimensional permutations, a serialized visual tensor is formed, which is then used as a spatial visual feature sequence. The spatial visual feature sequence is composed of... It consists of several local visual feature vectors, each with a size of 1024×128. Each local visual feature vector corresponds to a downsampled spatial location in the target CT slice.
[0059] The degradation evaluation output module is used to output the predicted porosity value, which serves as a quantitative characterization result of the degree of thermal degradation of the rock sample to be evaluated at the corresponding location on the target CT slice.
[0060] like Figure 2 and Figure 3 As shown, the physical encoder includes a multilayer perceptron and a first linear mapping layer, wherein, Figure 2 The structure of a multilayer perceptron is shown. Figure 3 The first linear mapping layer is shown. The multilayer perceptron is used to map the multi-physical constraint vectors to the same feature dimension as the local visual feature vectors, obtaining the physical embedding vectors; the first linear mapping layer is used to map the physical embedding vectors to the physical query vector Q. The operation of the multilayer perceptron is represented as follows:
[0061] in, The normalized temperature Tnorm and the pore fractal dimension are used to determine the pore size. The two-dimensional macroscopic physical vector formed; This represents the mapping operation performed by the multilayer perceptron; and These are the weight matrix and bias vector of the first fully connected layer, respectively. and These are the weight matrix and bias vector of the second fully connected layer, respectively. Represents the LeakyReLU nonlinear activation function; The feature dimension of the physical embedding vector; This is the physical embedding vector output by the multilayer perceptron. In this embodiment, , , , , =128, therefore, the multilayer perceptron maps the two-dimensional macroscopic physical vector Xp to a 128-dimensional physical embedding vector Fp.
[0062] See Figure 3 The physical embedding vector is mapped to the physical query vector Q through the first linear mapping layer, and the spatial visual feature sequence is mapped to the key vector sequence K and the value vector sequence V through the second and third linear mapping layers, respectively. Figure 3 middle, This represents the input used to generate the physical query vector Q. and Let K and V represent the inputs used to generate the key vector sequence K and value vector sequence V, respectively; where, Provided by the physical embedding vector, and All are provided by spatial visual feature sequences. The first linear mapping layer uses a weight matrix. Physical embedding vector The mapping is to a physical query vector Q; both the second and third linear mapping layers take a serialized visual tensor, i.e., a sequence of spatial visual features, as input. The second linear mapping layer uses a weight matrix... Mapping it to a key vector sequence K, the third linear mapping layer uses a weight matrix This is mapped to a value vector sequence V, and Q, K, and V are placed in a unified feature space where similarity calculation can be performed. In this embodiment, the size of Q is 1×128, and the sizes of K and V are both 1024×128. T The size of the spatial attention weight matrix A is 128×1024, and the size of the spatial attention weight matrix A is 1×1024.
[0063] The cross-attention unit calculates the spatial attention weight matrix A according to the following formula, and calculates the cross-modal fusion features. :
[0064]
[0065] in, This is the transpose of the key vector sequence K; In this embodiment, the feature dimensions of the physical query vector Q and the key vector sequence K are... Normalized along 1024 spatial locations, each element in A represents the matching weight between the physical query vector Q and the key vector of the corresponding spatial location. Multiplying A by the value vector sequence V yields a cross-modal fusion feature that simultaneously incorporates thermal state, pore space complexity, and local visual information of the target CT slice.
[0066] Thermal treatment temperature and pore fractal dimension are global physical parameters at the sample level or continuous slice sequence level. For target CT slices originating from the same rock sample and under the same thermal treatment state, their normalized temperature and pore fractal dimension are the same, thus the corresponding physical query vector Q remains the same. The differences in different spatial locations within the target CT slices are reflected by the spatial features preserved by the key vector sequence K and the value vector sequence V. During model training, Q participates in the calculation of attention weights and prediction loss. The prediction loss is backpropagated to the visual encoder via cross-attention units, causing the update of the visual encoder's convolution parameters to be jointly affected by normalized temperature and pore fractal dimension. Therefore, multi-physics constraints are not simply concatenated with the predicted values at the network end, but rather participate in the selection of spatial visual features and the learning of visual encoder parameters via cross-attention units.
[0067] The Transformer encoder in the cross-modal fusion prediction module consists of two cascaded encoding layers employing a four-head attention mechanism. The feedforward network has a dimension of 256 and a random inactivation rate of 0.2, used for nonlinear transformation and feature reshaping of the cross-modal fusion features. The regression output unit comprises a first fully connected layer, a leaky linear rectified function activation layer, and a second fully connected layer connected in sequence. The first fully connected layer compresses the 128-dimensional features output by the Transformer encoder into 64-dimensional features, and the second fully connected layer maps the 64-dimensional features to a one-dimensional porosity prediction value.
[0068] The model training module establishes a unified sample index based on a global CSV file. This unified sample index includes multiple sample records corresponding one-to-one with each training CT slice in the training set. Each sample record includes the storage path of the corresponding training CT slice, as well as the normalized temperature, pore fractal dimension, and true porosity label for that training CT slice. The model training module also reads the corresponding training CT slice, normalized temperature, pore fractal dimension, and true porosity label based on each sample record. Specifically, the model training module can read the normalized target CT slice, normalized temperature, pore fractal dimension, and true porosity label sequentially or in batches, and then perform visual feature extraction, physical feature dimensionality enhancement, cross-attention fusion, global feature deep inference, and porosity regression in sequence. The model training module uses the mean squared error between the predicted porosity value and the true porosity label for each training CT slice as the loss function, and updates the network parameters of the visual encoder, physical encoder, cross-attention unit, Transformer encoder, and regression output unit through backpropagation. Since the physical query vector Q participates in the calculation of the spatial attention weight matrix A, the gradient propagated back to the key vector sequence K is influenced by Q, thus enabling the multi-physical constraint vectors to participate in the parameter update of the visual encoder via the cross-attention unit. The validation set does not participate in backpropagation and parameter update, and the test set is only used for independent performance evaluation after the model training is completed.
[0069] After model training, the same system is used to evaluate the thermal degradation of the rock sample under thermal effects. The data acquisition module obtains a continuous CT slice sequence of the rock sample, designates a slice at the location to be evaluated as the target CT slice, and reads the thermal effects experienced by the rock sample. The target CT slice and the continuous CT slice sequence originate from the same rock sample, and the target CT slice is contained within the continuous CT slice sequence.
[0070] The multi-physics constraint construction module constructs a three-dimensional pore binary matrix from continuous CT slice sequences, following the aforementioned filtering and noise reduction, contrast enhancement, threshold segmentation, and axial stacking methods. Then, it determines the corresponding pore fractal dimension Df through box counting and double log-linear fitting of multiple sets of cubic meshes. The data preprocessing module utilizes data pre-saved during the model construction phase. and The target CT slices were normalized in grayscale, and then... The thermal temperatures experienced by the rock samples to be evaluated are normalized; the multi-physics constraint building module is formed accordingly. This evaluation process does not require re-entry or iteration for statistical purposes. and The complete CT scan dataset.
[0071] The cross-modal fusion prediction module inputs the normalized target CT slice into the visual encoder to obtain a sequential visual tensor, i.e., a spatial visual feature sequence; it inputs the multi-physical constraint vector into the physical encoder to obtain a physical query vector; using the physical query vector as the query and the key vector sequence and value vector sequence corresponding to the spatial visual feature sequence as the key and value, it calculates the attention weights for each spatial location and forms a cross-modal fusion feature; the cross-modal fusion feature is then processed by the Transformer encoder and the regression output unit to obtain the predicted porosity value of the target CT slice. The degradation evaluation output module outputs this predicted porosity value as a quantitative characterization result of the degree of thermal degradation of the rock sample to be evaluated at the corresponding location of the target CT slice.
[0072] The degradation evaluation output module also includes an interpretable output unit, which employs Grad-weighted class activation mapping (Grad-CAM) technology. The interpretable output unit calculates the gradient of the predicted porosity value relative to each feature map output from the last convolutional layer of the visual encoder at each spatial location, and spatially averages the gradient corresponding to each feature map to obtain the channel weights of that feature map. Based on these channel weights, the corresponding feature maps are weighted and summed, and a ReLU linear rectified function is used to retain feature responses that positively contribute to the predicted porosity value, resulting in an initial heatmap. Subsequently, bilinear interpolation is used to adjust the initial heatmap to the size of the target CT slice, and the adjusted interpretable heatmap is superimposed on the target CT slice to demonstrate the cross-modal fusion prediction module's focus on pore or crack regions. Grad-CAM interpretable heatmaps at different thermal temperatures show that the higher response regions of the PI-CAN model are mainly distributed in the pore and crack regions of the target CT slice, while the response in the rock matrix region is relatively low, indicating that the model primarily focuses on spatial regions related to pores and cracks when predicting porosity.
[0073] The system was trained and tested using the aforementioned dataset and physical block partitioning method. To evaluate the system's porosity prediction performance, the coefficient of determination was used. The mean square error (MSE), root mean square error (RMSE), mean absolute error (MAE), and mean absolute percentage error (MAPE) were used as evaluation indicators. The coefficient of determination (R²) was used to characterize the overall fit between the predicted and actual porosity values. The closer the value is to 1, the better the overall fit. Mean square error (MSE) characterizes the average level of the squared error between the predicted and actual porosity values. Root mean square error (RMSE) characterizes the root mean square level of the prediction error. Mean absolute error (MAE) characterizes the average level of the absolute value of the prediction error. Mean absolute percentage error (MAPE) characterizes the average percentage deviation of the predicted porosity value from the actual porosity. The porosity prediction results of the system on the training, validation, and test sets are shown in Table 3.
[0074] Table 3 Porosity prediction results of the system of the present invention on different data subsets
[0075] As can be seen from Table 3, the test set The values of 0.991111, RMSE of 0.038585, and MAPE of 2.109105% indicate that, under the condition of data partitioning with physical block isolation, the system can output prediction results that are relatively consistent with the actual porosity for physical blocks not used for training.
[0076] In addition to the evaluation results of the PI-CAN model on the training, validation, and test sets mentioned above, to further verify the prediction performance of the multi-physics prior cross-attention model PI-CAN, this implementation also uses the ResNet34 model and the ViT-Tiny model as pure visual comparison models for test set comparison experiments. The comparison experiments show that the ResNet34 model... The R² of the ViT-Tiny model is 0.9757, and the RMSE is 0.0638. The R² of the PI-CAN model is 0.9825, and the RMSE is 0.05406. The accuracy is 0.9911 and the RMSE is 0.0386. These results demonstrate that, under the dataset and physical block partitioning conditions used in this embodiment, introducing normalized temperature, pore fractal dimension, and a physically inspired spatial cross-attention mechanism can reduce porosity prediction error.
[0077] The prediction results for different thermal action temperatures in the test set are shown in Table 4.
[0078] Table 4. Predicted results for different thermal temperatures in the test set.
[0079] The total number of samples in the five groups in Table 4 is 1180, consistent with the total number of samples in the test set. (Groups ranging from 25 to 750℃) All are greater than 0.936, 1000℃ group The value is 0.899901. This result reflects that the system can cover the nonlinear pore evolution under different thermal temperatures. However, the prediction difficulty increases after pores and cracks have fully developed, penetrated, or merged at 1000℃. The test results for different physical inputs or fusion methods are shown in Table 5.
[0080] Table 5. Comparison results of different physical inputs or fusion methods on the test set.
[0081] Table 5 shows that introducing normalized temperature and / or pore fractal dimension can reduce testing error compared to pure visual input. The model using only pore fractal dimension has prediction results close to the PI-CAN model on the test set; the PI-CAN model's prediction results on the validation set... The MSE, RMSE, MAE, and MAPE values were 0.989805, 0.002893, 0.053791, 0.037304, and 1.956661%, respectively, which are better than the models using only the porosity fractal dimension, which achieved 0.988530, 0.003255, 0.057056, 0.043649, and 2.360513% on the validation set. The prediction results of the dual-physical constraint and the Concat splicing method on the test set were close, but the validation loss curve of the Concat splicing method fluctuated significantly. The PI-CAN model uses a physics-inspired spatial cross-attention mechanism to establish a matching relationship between the physical query vector and the key vectors at each spatial location. While maintaining the accuracy of porosity prediction, it obtains a relatively stable training process and attention weights that can be spatially interpreted.
[0082] To verify the stability of the PI-CAN model's region of interest under image degradation conditions, this embodiment superimposes zero-mean Gaussian noise onto the normalized target CT slices and uses a truncation function to restrict the pixel values after superimposing Gaussian noise to the range of [0,1].
[0083] in, To normalize the target CT slice in spatial coordinates Pixel value at that location, The pixel value after adding Gaussian noise. With a mean of 0 and a variance of Gaussian random variable, The standard deviation of Gaussian noise. The boundary truncation function is used to set pixel values less than 0 to 0 and pixel values greater than 1 to 1, keeping the pixel values after Gaussian noise addition within the range of [0,1]. Under test conditions with Gaussian noise of different intensities, the normalized temperature and porosity fractal dimension do not change with the Gaussian noise superimposed on the target CT slice, and the multi-physics constraint vector still participates in the weighting of spatial visual features through the cross-attention unit. The Grad-CAM interpretability heatmap shows that the PI-CAN model can still maintain a high response to the real pore or crack areas in the target CT slice when subjected to image noise interference. This noise validation is used to evaluate the interpretability and response stability of the PI-CAN model under image degradation conditions, without changing the composition of the input data when the system normally performs rock mass deterioration evaluation.
[0084] Therefore, this embodiment provides local two-dimensional visual information through the target CT slice, provides three-dimensional porosity topology information through a continuous CT slice sequence containing the target CT slice, and provides macroscopic thermal state through thermal temperature. The physical encoder and cross-attention unit enable the above-mentioned global physical information to participate in the selection of spatial visual features and the parameter update of the visual encoder, and finally output the porosity prediction value and interpretable heat map of the corresponding position of the target CT slice.
[0085] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the present invention. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in the present invention should still be covered by the claims of the present invention.
Claims
1. A highway tunnel rock mass deterioration evaluation system based on multi-physical constraint cross-modal fusion deep learning, characterized in that, The highway tunnel rock mass deterioration evaluation system includes: The data acquisition module is used to acquire target CT slices of the rock sample to be evaluated that have been subjected to heat, to acquire a continuous CT slice sequence that includes the target CT slices and originates from the rock sample to be evaluated, and to acquire the heat treatment temperature experienced by the rock sample to be evaluated. A multi-physics constraint construction module is used to construct a three-dimensional pore binary matrix based on the continuous CT slice sequence, determine the pore fractal dimension based on the three-dimensional pore binary matrix, and construct a multi-physics constraint vector based on the thermal temperature and the pore fractal dimension. A cross-modal fusion prediction module includes a visual encoder, a physical encoder, a cross-attention unit, and a regression output unit. The visual encoder extracts spatial visual feature sequences from the target CT slice. The physical encoder maps the multi-physical constraint vectors to physical query vectors. The cross-attention unit uses the physical query vectors as queries and the key vector sequences and value vector sequences corresponding to the spatial visual feature sequences as keys and values to obtain attention weights for each spatial location in the target CT slice. It then weights the value vector sequences according to the attention weights to obtain cross-modal fusion features. The regression output unit performs porosity regression based on the cross-modal fusion features to obtain the predicted porosity value of the target CT slice. The degradation evaluation output module is used to use the predicted porosity value as a quantitative characterization result of the degree of thermal degradation of the rock sample to be evaluated at the corresponding position of the target CT slice.
2. The highway tunnel rock mass deterioration evaluation system based on multi-physics-constrained cross-modal fusion deep learning according to claim 1, characterized in that, The highway tunnel rock mass deterioration evaluation system also includes a data preprocessing module, which is used to perform grayscale normalization on the target CT slice. The formula for grayscale normalization of the target CT slice is as follows: in, and The spatial coordinate index of the target CT slice; The target CT slice in spatial coordinates The grayscale value at that location; The global minimum gray value of the dataset is determined in advance by statistically analyzing the gray values of all CT slices in the CT scan dataset; The global maximum gray value of the dataset is determined in advance by statistically analyzing the gray values of all CT slices in the CT scan dataset; The normalized grayscale value; derived from the values at each spatial coordinate. The normalized target CT slice is constructed according to its spatial position in the target CT slice, and the visual encoder uses the normalized target CT slice as input. The data preprocessing module is also used to normalize the thermal effect temperature; The formula for normalizing the heat treatment temperature is: The multi-physics constraint construction module is used to construct the multi-physics constraint vector; The formula for constructing the multi-physics constraint vector is as follows: in, The temperature at which the heat is applied; To preset the maximum thermal action temperature and ; Normalized temperature; The fractal dimension of the pores; Let be the multi-physics constraint vector; the superscript T indicates transpose.
3. The highway tunnel rock mass deterioration evaluation system based on multi-physics-constrained cross-modal fusion deep learning according to claim 2, characterized in that, The highway tunnel rock mass deterioration evaluation system also includes a training dataset construction module; The training dataset construction module is used to obtain the continuous CT slice sequences corresponding to each of the training rock samples treated with different thermal temperatures, and to divide the corresponding continuous CT slice sequences into multiple non-overlapping continuous physical blocks along the axial direction of each training rock sample. The complete continuous physical block is used as the smallest allocation unit, and the training set, validation set and test set are divided according to a preset slice number ratio, so that the CT slice in any continuous physical block belongs to only one of the training set, the validation set and the test set.
4. The highway tunnel rock mass deterioration evaluation system based on multi-physics-constrained cross-modal fusion deep learning according to claim 3, characterized in that, The highway tunnel rock mass deterioration evaluation system also includes a model training module; The model training module is used to establish a unified sample index, which includes multiple sample records that correspond one-to-one with each training CT slice in the training set. Each sample record includes the storage path of the corresponding training CT slice, as well as the normalized temperature, pore fractal dimension and true porosity labels corresponding to the training CT slice. The model training module is also used to read the corresponding training CT slices, normalized temperature, pore fractal dimension and true porosity label according to each of the sample records; The model training module is also used to update the network parameters of the cross-modal fusion prediction module for each sample record by using the mean square error between the predicted porosity value of the CT slice corresponding to the sample record and the true porosity label in the sample record as the loss function, so that the multi-physical constraint vector participates in the parameter update of the visual encoder through the cross attention unit.
5. The highway tunnel rock mass deterioration evaluation system based on multi-physics-constrained cross-modal fusion deep learning according to claim 1, characterized in that, The multi-physics constraint construction module is used to construct a three-dimensional pore binary matrix based on the continuous CT slice sequence, and to determine the pore fractal dimension based on the three-dimensional pore binary matrix, specifically including: The continuous CT slice sequence is subjected to filtering and noise reduction processing and contrast enhancement processing. A preset grayscale threshold is used to distinguish between the rock matrix region and the pore or crack region. The processed continuous CT slices are then binarized and segmented. The pixel values of the rock matrix region are set to 0, and the pixel values of the pore or crack region are set to 1, resulting in continuous two-dimensional binary slices. The continuous two-dimensional binary slices are stacked layer by layer along the axial direction of the rock sample to be evaluated to construct the three-dimensional pore binary matrix. The three-dimensional pore binary matrix is divided by multiple sets of cubic meshes with different side lengths. The number of non-empty boxes with a voxel value of 1 in each set of cubic meshes is counted. The logarithm of the number of non-empty boxes is linearly fitted to the logarithm of the reciprocal of the side length of the corresponding cubic mesh, and the slope of the fitted line is determined as the pore fractal dimension.
6. The highway tunnel rock mass deterioration evaluation system based on multi-physics constraint cross-modal fusion deep learning according to claim 1, characterized in that: The visual encoder includes multiple residual convolutional blocks connected in sequence; The first residual convolutional block takes the target CT slice as input, and the remaining residual convolutional blocks take the output features of the previous residual convolutional block as input. Each residual convolutional block is used to sequentially perform convolutional feature extraction, feature normalization, nonlinear activation and spatial downsampling on its input features to extract visual features at different spatial scales step by step. The final residual convolutional block outputs a spatial visual feature map with channel dimension, height dimension and width dimension. The visual encoder is further configured to flatten the height and width dimensions of the spatial visual feature map into spatial position dimensions, and to permutate the channel dimension and the spatial position dimension to obtain a spatial visual feature sequence with the spatial position dimension as the sequence dimension and the channel dimension as the feature dimension. The spatial visual feature sequence is composed of multiple local visual feature vectors corresponding to spatial positions.
7. The highway tunnel rock mass deterioration evaluation system based on multi-physics-constrained cross-modal fusion deep learning according to claim 6, characterized in that: The physical encoder includes a multilayer perceptron and a first linear mapping layer. The multilayer perceptron is used to map the multi-physical constraint vector to the same feature dimension as the local visual feature vector to obtain a physical embedding vector. The first linear mapping layer is used to map the physical embedding vector to the physical query vector. The cross-attention unit includes a second linear mapping layer and a third linear mapping layer, which are used to map the spatial visual feature sequence into a key vector sequence and a value vector sequence, respectively, and make the feature dimensions of the physical query vector, the key vector sequence and the value vector sequence the same.
8. The highway tunnel rock mass deterioration evaluation system based on multi-physics-constrained cross-modal fusion deep learning according to claim 7, characterized in that, The cross-attention unit is based on the relational formula Calculate the spatial attention weight matrix A, and according to the relation... Calculate cross-modal fusion features ; Where Q is the physical query vector; It is the transpose of the key vector sequence K; A represents the feature dimensions of the physical query vector Q and the key vector sequence K; V represents the value vector sequence; and each element in A represents the matching weight between the physical query vector and the key vector of the corresponding spatial location.
9. The highway tunnel rock mass deterioration evaluation system based on multi-physics-constrained cross-modal fusion deep learning according to claim 6, characterized in that, The degradation evaluation output module also includes an interpretable output unit; The interpretable output unit is used to calculate the gradient of the porosity prediction value relative to each feature map output by the last convolutional layer of the visual encoder at each spatial location, perform spatial averaging on the gradients corresponding to each feature map to obtain the channel weights of the corresponding feature maps, perform weighted summation on each feature map according to the channel weights and process it with a linear rectified function to obtain an initial heatmap, and adjust the initial heatmap to the size of the target CT slice through bilinear interpolation to generate an interpretable heatmap that characterizes the contribution of each spatial location in the target CT slice to the porosity prediction value.
10. The highway tunnel rock mass deterioration evaluation system based on multi-physics-constrained cross-modal fusion deep learning according to claim 1, characterized in that, The cross-modal fusion prediction module further includes a Transformer encoder disposed between the cross-attention unit and the regression output unit; the Transformer encoder includes two cascaded coding layers, adopts a four-head attention mechanism, has a feedforward network dimension of 256, and a random inactivation rate of 0.2, and is used to perform nonlinear transformation and feature reshaping on the cross-modal fusion features; The regression output unit includes a first fully connected layer, a LeakyReLU activation layer, and a second fully connected layer connected in sequence. The first fully connected layer is used to compress the 128-dimensional features output by the Transformer encoder into 64-dimensional features, and the second fully connected layer is used to map the 64-dimensional features into a one-dimensional porosity prediction value.
