A multi-task learning approach for bridge structure damage detection and overweight vehicle identification
Through multi-task learning methods and multi-layer neural networks, bridge structural health monitoring data are used for sliding window label construction and network training, which solves the problems of data utilization and information dependence in the existing technology, and realizes bridge structure damage detection and overweight vehicle identification. Efficiency, automation and adaptability.
Patent Information
- Application Number
- CN202111559352.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-20
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-12-20
AI Technical Summary
Existing bridge structural health monitoring methods are difficult to effectively utilize massive data and require additional information such as vehicle speed and axle. Moreover, deep learning methods only consider a single influencing factor and cannot comprehensively identify bridge structural damage and overweight vehicles.
A multi-task learning method is used to construct samples and labels through sliding windows, and a multi-task learning network composed of attention mechanism, convolutional network and long short-term memory neural network is constructed to detect bridge structural damage and identify overweight vehicles, using sensor response data. Training and prediction.
It realizes bridge structure damage detection and overweight vehicle identification without interrupting traffic flow, makes full use of massive data, reduces dependence on additional information, automatically mines spatio-temporal relationship features, adapts to complex scenarios, and reduces costs and professional knowledge thresholds.
Smart Images

Figure CN114358149B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of bridge structure damage detection and overweight vehicle identification, and in particular to a multi-task learning method for bridge structure damage detection and overweight vehicle identification. Background Art
[0002] Bridges are important hubs in the transportation network. Once a disaster occurs, it will seriously threaten the lives and safety of the people and cause huge economic losses. Therefore, monitoring the structural health of bridges will help to eliminate safety hazards in a timely manner, avoid disasters and accidents, and protect the lives and property of the people.
[0003] With the development of the transportation industry, various methods for detecting structural health have been widely used in various transportation infrastructures. In particular, the method of structural health monitoring (SHM) has become increasingly mature. For a bridge, when a bridge structural health monitoring system is used to monitor the bridge, even if only a small number of sensors are deployed, a large amount of response data can be collected in a short time.
[0004] At present, the methods based on SHM to ensure the health of bridge structures are mainly divided into two aspects: structural damage detection and overweight vehicle identification. For structural damage detection, traditional signal analysis technology often has difficulty in utilizing massive health monitoring data, and when machine learning methods are used, their effectiveness is often affected by the quality of artificially designed features. For overweight vehicle identification, the use of weighing technology has the disadvantage of interrupting traffic flow, while the use of signal processing methods requires additional information such as vehicle speed and axles.
[0005] With the development of deep learning, structural damage detection and overweight vehicle identification have begun to use deep learning methods. However, both structural damage detection and overweight vehicle identification only focus on a single factor that affects the health of the bridge structure, without considering the correlation characteristics between multiple factors. They do not conform to the complex scenarios in which bridges are actually located and cannot be truly applied to actual projects. Therefore, a multi-task learning method for bridge structure damage detection and overweight vehicle identification is proposed, which has very important practical significance and application value. Summary of the invention
[0006] The purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art and propose a multi-task learning method for bridge structure damage detection and overweight vehicle identification to solve the technical problems in the existing bridge structure health monitoring methods: traditional signal processing methods are difficult to utilize massive health monitoring data and require additional information such as vehicle speed and axle; machine learning methods are heavily dependent on the quality of artificially designed features; and deep learning methods only consider single influencing factors such as damage factors or load factors.
[0007] To achieve the above object, the technical solution provided by the present invention is: a multi-task learning method for bridge structure damage detection and overweight vehicle identification, comprising the following steps:
[0008] 1) Obtain the response data of the bridge structure health monitoring system, construct samples through the sliding window method, and divide them into training sets and test sets;
[0009] 2) Construct a multi-task learning network for bridge structure damage detection and overweight vehicle identification, and use the constructed training set for network training;
[0010] 3) Input the test set into the trained multi-task learning network for bridge structure damage detection and overweight vehicle identification, and output the results of bridge structure damage detection and overweight vehicle identification.
[0011] Furthermore, in step 1), the acquired response data of the bridge structure health monitoring system is used to construct samples through a sliding window method, and the process of dividing the training set and the test set is as follows:
[0012] 1.1) Determine the sliding window size as T;
[0013] 1.2) Use a sliding window to truncate all response data into a series of samples of length T, sample X t It is expressed as follows:
[0014]
[0015] Where n represents the number of sensors, and the subscript t represents the time when the response data is collected. represents the response data collected by the nth sensor at time t, sample X t It contains the response data collected by n sensors in T time periods from time t-T+1 to time t;
[0016] 1.3) Determine sample labels, including damage location labels, damage degree labels, and overweight vehicle labels;
[0017] Divide the bridge into a units, then the damage location label Y location It is expressed as follows:
[0018] Ylocation =[y loc_0 ,y loc_1 ,y loc_2 ,y loc_3 ,…,y loc_a ]
[0019] Among them, Y location It contains a+1 components, each of which can only be 0 or 1, and only one component can be 1 at the same time. loc_0 The sample at the current moment is not damaged, and the other components represent the damage of each unit, that is, y loc_a represents the damage of the ath unit; when the sample at the current moment is not damaged, y loc_0 Set to 1, indicating that no damage occurs, otherwise, y loc_0 is set to 0, and the component corresponding to the location where the damage occurs is set to 1;
[0020] The damage degree of the bridge is quantified into b damage levels, and the damage degree label Y degree It is expressed as follows:
[0021] Y degree =[y deg_0 ,y deg_1 ,y deg_2 ,y deg_3 ,…,y deg_b-1 ]
[0022] Among them, Y degree It contains b components, each of which can only be 0 or 1, and only one component can be 1 at the same time; component y deg_0 represents the 0th level of damage, that is, the sample at the current moment has no damage, and the component y deg_b-1 represents the highest level of damage; when the sample at the current moment is not damaged, y deg_0 Set to 1, indicating that no damage has occurred, otherwise, y deg_0 is set to 0, and the component corresponding to the level of damage is set to 1;
[0023] Consider overweight vehicle identification as a binary classification problem, and let the overweight vehicle label be Y overload , the value of this label can only be 0 or 1; when there is no overweight vehicle at the current moment, Y overload Set it to 0, otherwise set it to 1;
[0024] Finally, 80% of the samples are randomly selected from all the constructed samples as the training set and 20% of the samples are selected as the test set.
[0025] Further, in step 2), the constructed multi-task learning network for bridge structure damage detection and overweight vehicle identification is composed of an attention mechanism layer Attention, a one-dimensional convolutional network layer CNN, a long short-term memory neural network layer LSTM and three parallel multi-layer perceptron layers MLP; wherein the attention mechanism layer Attention, the one-dimensional convolutional network layer CNN, and the long short-term memory neural network layer LSTM together constitute the shared layer of the multi-task learning network, and the three parallel multi-layer perceptron layers MLP are used as specific task layers, respectively for predicting damage location labels, damage degree labels and overweight vehicle labels; the constructed multi-task learning network training process for bridge structure damage detection and overweight vehicle identification is as follows:
[0026] 2.1) Sample X t Input to the attention mechanism layer Attention, get X t Importance score S t , the formula is as follows:
[0027] S t =Attention(X t ,θ Attention )=[s t-T+1 ,s t-T+2 ,s t-T+3 ,…,s t ]
[0028] In the formula, sample X t It contains the response data collected by n sensors in T time periods from t-T+1 to t; θ Attention Represents the parameter matrix that the attention mechanism layer Attention can train, s t Represents the importance score of the response data collected at the tth moment;
[0029] 2.2) Obtained importance score S t Same as X t After multiplication, the data is input into the one-dimensional convolutional network layer CNN to extract spatial features and obtain the output cnn_output. The formula is as follows:
[0030] cnn_output = CNN(X t *S t ,θ cnn )
[0031] In the formula, θ cnn Represents the parameter matrix that can be trained for the one-dimensional convolutional network layer CNN;
[0032] 2.3) Then, cnn_output is input into the long short-term memory neural network layer LSTM to extract the time feature and obtain the output lstm_output of the long short-term memory neural network layer LSTM. The formula is as follows:
[0033] lstm_output=LSTM(cnn_output,θ lstm )
[0034] In the formula, θ lstm Represents the parameter matrix that can be trained for the long short-term memory neural network layer LSTM;
[0035] 2.4) After obtaining the output lstm_output from the previous steps 2.1) to 2.3), take the vector lstm_output_laststamp of the last time step as the shared feature and input it into three parallel multi-layer perceptron layers MLP to obtain their respective outputs Y location_pred , Y degree_pred , Y overload_pred , the formula is as follows:
[0036] Y location_pred =MLP_LOCATION(lstm_output_laststamp,θ mlp_location )
[0037] Y degree_pred =MLP_DEGREE(lstm_output_laststamp,θ mlp_degree )
[0038] Y overload_pred =MLP_OVERLOAD(lstm_output_laststamp,θ mlp_overload )
[0039] Where Y location_pred To predict the damage location, Y degree_pred To predict the extent of damage, Y overload_pred To predict overweight vehicles, θ mlp_location ,θ mlp_degree ,θ mlp_overload Respectively represent the parameter matrices that can be trained in each multi-layer perceptron layer MLP;
[0040] 2.5) In the damage location detection task and the damage extent detection task, categorical_crossentropy is used as the loss function for each task, while binary_crossentropy is used as the loss function for the overweight vehicle recognition task. The predicted damage location Y obtained in step 2.4) is location_pred , predict the damage degree Ydegree_pred , predict overweight vehicle Y overload_pred The loss is calculated based on the real labels in the training set, and the parameters in the multi-task learning network for bridge structure damage detection and overweight vehicle recognition are updated through the Adam optimization algorithm.
[0041] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0042] 1. The present invention can detect bridge structure damage and identify overweight vehicles without interrupting traffic flow, thus not affecting normal traffic order.
[0043] 2. The present invention can make full use of the massive data collected by the bridge structure health monitoring system to mine valuable potential information.
[0044] 3. The present invention does not need to rely on additional information other than sensor response data, such as vehicle speed, axle information, etc., thereby saving the software and hardware costs required to collect such information.
[0045] 4. The present invention does not need to rely on manually designed features and can automatically mine important spatiotemporal relationship features from data, so there is no need to limit the professional knowledge level threshold of users who use the present invention.
[0046] 5. The present invention can model the relationship between various complex factors that affect the health of bridge structures, explore the potential correlation characteristics among various factors, conform to real scenarios, and be more conducive to promotion and use.
[0047] 6. The one-dimensional convolutional network layer CNN, the long short-term memory neural network layer LSTM and the multi-layer perceptron layer MLP in the multi-task learning network for bridge structure damage detection and overweight vehicle identification constructed by the present invention can be replaced with other neural networks as needed, and have high adaptability. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 The figure is a logic principle block diagram of the method of the present invention. DETAILED DESCRIPTION
[0049] The present invention is further described in detail below in conjunction with embodiments and drawings, but the embodiments of the present invention are not limited thereto.
[0050] A bridge structure health monitoring system is deployed on the bridge, that is, certain sensors are deployed on the bridge to collect response data at each moment (unit: second) from the sensors. In this embodiment, the number of sensors is 15.
[0051] like Figure 1As shown, the multi-task learning method for bridge structure damage detection and overweight vehicle identification provided in this embodiment is as follows:
[0052] 1) Obtain the response data of the bridge structure health monitoring system, construct samples through the sliding window method, and divide the training set and test set as follows:
[0053] 1.1) The sliding window size is determined to be the average time required for a vehicle to enter the bridge and completely leave the bridge, which is 47 seconds.
[0054] 1.2) Use a sliding window of length 47 to truncate all response data into a series of samples of length T. The dimension of each sample is (47, 15). Sample X t It is expressed as follows:
[0055]
[0056] 1.3) Determine the sample labels, including damage location labels, damage degree labels, and overweight vehicle labels. The bridge is divided into 44 units according to location, so the damage location label Y location for:
[0057] Y location =[y loc_0 ,y loc_1 ,y loc_2 ,y loc_3 ,…,y loc_44 ]
[0058] When the sample at the current moment is not damaged, y loc_0 Set to 1, indicating that no damage occurs, otherwise, y loc_0 is set to 0, and the component corresponding to the location where the damage occurs is set to 1;
[0059] At the same time, the damage degree of the bridge is quantified into five damage levels: intact, 10% damage, 20% damage, 30% damage, and 40% damage. The damage degree label Y degree It is expressed as follows:
[0060] Y degree =[y deg_0 ,y deg_1 ,y deg_2 ,y deg_3 ,…,y deg_b-1 ]
[0061] When the sample at the current moment is not damaged, y deg_0 Set to 1, indicating that no damage has occurred, otherwise, y deg_0 is set to 0, and the component corresponding to the level of damage is set to 1;
[0062] At the same time, the overweight vehicle identification is regarded as a binary classification problem, and the overweight vehicle label is Y overload , the value of this label can only be 0 or 1; when there is no overweight vehicle at the current moment, Y overload Set it to 0, otherwise set it to 1;
[0063] Finally, 80% of the samples are randomly selected from all the constructed samples as the training set and 20% of the samples are selected as the test set.
[0064] 2) Construct a multi-task learning network for bridge structure damage detection and overweight vehicle identification, and use the constructed training set for training, as follows:
[0065] The constructed multi-task learning network for bridge structure damage detection and overweight vehicle identification consists of an attention mechanism layer Attention, a one-dimensional convolutional network layer CNN, a long short-term memory neural network layer LSTM, and three parallel multi-layer perceptron layers MLP. Among them, the attention mechanism layer Attention, the one-dimensional convolutional network layer CNN, and the long short-term memory neural network layer LSTM together constitute the shared layer of the multi-task learning network, while the three parallel multi-layer perceptron layers MLP serve as specific task layers, which are used to predict damage location labels, damage degree labels, and overweight vehicle labels, respectively. The training process of the constructed multi-task learning network for bridge structure damage detection and overweight vehicle identification is as follows:
[0066] 2.1) Sample X t Input to the attention mechanism layer Attention, get X t Importance score S t , the formula is as follows:
[0067] S t =Attention(X t ,θ Attention )=[s t-47+1 ,s t-47+2 ,s t-47+3 ,…,s t ]
[0068] In the formula, θ Attention Represents the parameter matrix that can be trained for the attention mechanism layer Attention;
[0069] 2.2) Obtained importance score S t Same as X t After multiplication, the data is input into the one-dimensional convolutional network layer CNN to extract spatial features. The convolution kernel size is set to 1, the convolution step is set to 1, and the number of channels is set to 128 to obtain the output cnn_output. The formula is as follows:
[0070] cnn_output = CNN(X t *S t ,θ cnn )
[0071] In the formula, θ cnn Represents the parameter matrix that can be trained for the one-dimensional convolutional network layer CNN;
[0072] 2.3) Then, cnn_output is input to the long short-term memory neural network layer LSTM to extract the time feature, and the hidden layer unit of LSTM is set to 256 to obtain the output lstm_output of the long short-term memory neural network layer LSTM. The formula is as follows:
[0073] lstm_output=LSTM(cnn_output,θ lstm )
[0074] In the formula, θ lstm Represents the parameter matrix that can be trained for the long short-term memory neural network layer LSTM;
[0075] 2.4) After obtaining the output lstm_output from the previous steps 2.1) to 2.3, take the vector lstm_output_47 of the last time step as the shared feature and input it into three parallel multi-layer perceptron layers MLP to obtain their respective outputs Y location_pred , Y degree_pred , Y overload_pred , the formula is as follows:
[0076] Y location_pred =MLP_LOCATION(lstm_output_47,θ mlp_location )
[0077] Y degree_pred =MLP_DEGREE(lstm_output_47,θ mlp_degree )
[0078] Y overload_pred =MLP_OVERLOAD(lstm_output_47,θ mlp_overload )
[0079] Where Y location_pred To predict the damage location, Y degree_pred To predict the extent of damage, Y overload_pred To predict overweight vehicles, θ mlp_location ,θ mlp_degree ,θ mlp_overload Respectively represent the parameter matrices that can be trained in each multi-layer perceptron layer MLP;
[0080] 2.5) In the damage location detection task and the damage extent detection task, categorical_crossentropy is used as the loss function for each task, while binary_crossentropy is used as the loss function for the overweight vehicle recognition task. The predicted damage location Y obtained in step 2.4) is location_pred , predict the damage degree Y degree_pred , predict overweight vehicle Y overload_pred The loss is calculated with the real labels in the training set, and the parameters in the multi-task learning network for bridge structure damage detection and overweight vehicle recognition are updated through the Adam optimization algorithm. The Adam learning rate is set to 0.001, and the training adopts an early stopping mechanism, that is, the training is stopped if the loss of the training set does not decrease after 10 rounds of training. The batch size of the training is set to 128, and the number of training rounds is set to 200.
[0081] 3) Input the test set into the trained multi-task learning network for bridge structure damage detection and overweight vehicle identification, and output the results of bridge structure damage detection and overweight vehicle identification.
[0082] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.
Claims
1. A multi-task learning method for bridge structure damage detection and overweight vehicle identification, characterized in that: The following steps are involved: 1) Obtain the response data of the bridge structure health monitoring system, construct samples through the sliding window method, and divide them into training sets and test sets; The acquired response data of the bridge structure health monitoring system is used to construct samples through the sliding window method, and the process of dividing the training set and the test set is as follows: 1.1) Determine the sliding window size as T; 1.2) Use a sliding window to truncate all response data into a series of samples of length T, sample X t It is expressed as follows: Where n represents the number of sensors, and the subscript t represents the time when the response data is collected. represents the response data collected by the nth sensor at time t, sample X t It contains the response data collected by n sensors in T time periods from time t-T+1 to time t; 1.3) Determine sample labels, including damage location labels, damage degree labels, and overweight vehicle labels; Divide the bridge into a units, then the damage location label Y location It is expressed as follows: AND location =[and loc_0 ,and loc_1 ,and loc_2 ,and loc_3 ,…,and loc_a ] Among them, Y location It contains a+1 components, each of which can only be 0 or 1, and only one component can be 1 at the same time. loc_0 The sample at the current moment is not damaged, and the other components represent the damage of each unit, that is, y loc_a represents the damage of the ath unit; when the sample at the current moment is not damaged, y loc_0 Set to 1, indicating that no damage occurs, otherwise, y loc_0 is set to 0, and the component corresponding to the location where the damage occurs is set to 1; The damage degree of the bridge is quantified into b damage levels, and the damage degree label Y degree It is expressed as follows: AND degree =[and deg_0 ,and deg_1 ,and deg_2 ,and deg_3 ,…,and deg_b-1 ] Among them, Y degree It contains b components, each of which can only be 0 or 1, and only one component can be 1 at the same time; component y deg_0 represents the 0th level of damage, that is, the sample at the current moment has no damage, and the component y deg_b-1 represents the highest level of damage; when the sample at the current moment is not damaged, y deg_0 Set to 1, indicating that no damage has occurred, otherwise, y deg_0 is set to 0, and the component corresponding to the level of damage is set to 1; Consider overweight vehicle identification as a binary classification problem, and let the overweight vehicle label be Y overload , the value of this label can only be 0 or 1; when there is no overweight vehicle at the current moment, Y overload Set it to 0, otherwise set it to 1; Finally, 80% of the samples are randomly selected from all the constructed samples as training sets and 20% of the samples are selected as test sets; 2) Construct a multi-task learning network for bridge structure damage detection and overweight vehicle identification, and use the constructed training set for network training; The constructed multi-task learning network for bridge structure damage detection and overweight vehicle identification consists of an attention mechanism layer Attention, a one-dimensional convolutional network layer CNN, a long short-term memory neural network layer LSTM and three parallel multi-layer perceptron layers MLP; among them, the attention mechanism layer Attention, the one-dimensional convolutional network layer CNN, and the long short-term memory neural network layer LSTM together constitute the shared layer of the multi-task learning network, while the three parallel multi-layer perceptron layers MLP serve as specific task layers, which are used to predict damage location labels, damage degree labels and overweight vehicle labels respectively; the training process of the constructed multi-task learning network for bridge structure damage detection and overweight vehicle identification is as follows: 2.1) Sample X t Input to the attention mechanism layer Attention, get X t Importance score S t , the formula is as follows: S t =Attention(X t ,i Attention )=[s t-T+1 ,s t-T+2 ,s t-T+3 ,…,s t ] In the formula, sample X t It contains the response data collected by n sensors in T time periods from t-T+1 to t; θ Attention Represents the parameter matrix that the attention mechanism layer Attention can train, s t Represents the importance score of the response data collected at the tth moment; 2.2) Obtained importance score S t Same as X t After multiplication, the data is input into the one-dimensional convolutional network layer CNN to extract spatial features and obtain the output cnn_output. The formula is as follows: cnn_output=CNN(X t *S t ,θ cnn ) In the formula, θ cnn Represents the parameter matrix that can be trained for the one-dimensional convolutional network layer CNN; 2.3) Then, cnn_output is input into the long short-term memory neural network layer LSTM to extract the time feature and obtain the output lstm_output of the long short-term memory neural network layer LSTM. The formula is as follows: lstm_output=LSTM(cnn_output,θ lstm ) In the formula, θ lstm Represents the parameter matrix that can be trained for the long short-term memory neural network layer LSTM; 2.4) After obtaining the output lstm_output from the previous steps 2.1) to 2.3), take the vector lstm_output_laststamp of the last time step as the shared feature and input it into three parallel multi-layer perceptron layers MLP to obtain their respective outputs Y location_pred , Y degree_pred , Y overload_pred , the formula is as follows: Y location_pred =MLP_LOCATION(lstm_output_laststamp,θ mlp_location ) Y degree_pred =MLP_DEGREE(lstm_output_laststamp,θ mlp_degree ) Y overload_pred =MLP_OVERLOAD(lstm_output_laststamp,θ mlp_overload ) where Y location_pred To predict the damage location, Y degree_pred To predict the extent of damage, Y overload_pred To predict overweight vehicles, θ mlp_location ,θ mlp_degree ,θ mlp_overload Respectively represent the parameter matrices that can be trained in each multi-layer perceptron layer MLP; 2.5) In the damage location detection task and the damage extent detection task, categorical_crossentropy is used as the loss function for each task, while binary_crossentropy is used as the loss function for the overweight vehicle recognition task. The predicted damage location Y obtained in step 2.4) is location_pred , predict the damage degree Y degree_pred , predict overweight vehicle Y overload_pred The loss is calculated based on the real labels in the training set, and the parameters in the multi-task learning network for bridge structure damage detection and overweight vehicle recognition are updated through the Adam optimization algorithm. 3) Input the test set into the trained multi-task learning network for bridge structure damage detection and overweight vehicle identification, and output the results of bridge structure damage detection and overweight vehicle identification.
Citation Information
Patent Citations
Method for dynamically recognizing overweight vehicle in bridge monitoring system
CN107766877A
Bridge damage early warning method based on LSTM temperature-displacement correlation model
CN113723010A
