Abstract

Earthquakes cause significant damage to bridges, which have a very strategic location in transportation services. The destruction of a bridge will seriously hinder emergency rescue. Rapid assessment of bridge seismic damage can help relevant departments to make judgments quickly after earthquakes and save rescue time. This paper proposed a rapid assessment method for bridge seismic damage based on the random forest algorithm (RF) and artificial neural networks (ANN). This method evaluated the relative importance of each uncertain influencing factor of the seismic damage to the girder bridges and arch bridges, respectively. The input variables of the ANN model were the factors with higher importance value, and the output variables were damage states. The data of the Wenchuan earthquake were used as a testing set and a training set, and the data of the Tangshan earthquake were used as a validation set. The bridges under serious and complete damage states are not accessible after earthquakes and should be overhauled and reinforced before earthquakes. The results demonstrate that the proposed approach has good performance for assessing the damage states of the two bridges. It is robust enough to extend and improve emergency decisions, to save time for rescue work, and to help with bridge construction.

1. Introduction

Seismic events cause tremendous damage to humans and socioeconomic impacts [14]. In order to reduce the loss, it is necessary to formulate a postearthquake rescue plan in a timely and scientific manner [5]. However, developing a rescue plan requires an understanding of the traffic situation around the disaster area [6]. The small amount of information obtained from the postearthquake field survey cannot guide the rescue work alone. At the same time, lifeline systems have been of growing concern, especially the vulnerability to risk-induced damage [7]. The transportation infrastructure is one of the most vital lifeline systems of society [8]. If the earthquake damage assessment of the bridge can be carried out before the disaster, the traffic capacity can be quickly judged after the earthquake [9]. This can help the government and save valuable rescue time [6]. Moreover, accurate preearthquake assessments can also identify areas of earthquake resistance in the region for prevention and reinforcement, thereby reducing the potential damage caused by the earthquake. Hence, how to carry out accurate seismic damage assessment has become an important practical issue.

Although there are many factors that affect the damage of bridges, not each one has a vital role. Hence, it is vital to choose an appropriate technique to assess the importance of different factors. Linear methods are often applied to evaluate factor importance [10]. Mangalathu et al. have established the correlation between bridge fragility and factors applying the linear technique [11]. However, because of the ambiguity of each correlation feature [12], ensemble models of machine learning are raised by some studies and used for factor correlation evaluation problems [1315] for increasing the precise and generalized performance of the empirical methods [16]. It has been proven that the results of the ensemble models are better than the empirical methods [10]. A recent study has given the relative importance of each uncertain input parameter on the fragility curves of skewed bridges based on three-layer neural networks [11]. However, no studies have used ensemble methods to assess the feature importance in the seismic risk area. One of the most widely used ensemble learning techniques is the RF method, which has the best overall performance compared to other algorithms, such as AdaBoost, logistic regression, and Classification and Regression Tree (CART) [17].

Different methodologies have been proposed to assess the fragility [18] or the damage of a bridge. Some of the previous studies have evaluated individual bridges in detail by using different methods, such as multipoint acceleration measurement and ANNs [19], assessing the relative risks of the failure modes of a bridge and the limitations of risk priority numbers (RPNs) associated with individual failure modes [20], as well as the Bayesian method [21]. Some studies present the assessment methods of bridge components [22]. However, emergency work needs a great deal of evaluation results of bridges to be obtained in a short period of time. Most studies used linear models or some evaluation systems, for example, Risk Priority Numbers (RPNs) [20], Hazards United States Multi‐Hazard (HAZUS) [23], and the Failure Mode and Effect Analysis (FMEA) system [24]. These evaluation systems can give a risk assessment of a single bridge and give specific forms of damage, such as the ineffective angle, ineffective position, and ineffective number of structures. The evaluation procedure of the seismic performance of a highway bridge is divided into three branches: topological analysis, vulnerability analysis, and traffic flow analysis [6]. The study can serve as a tool for the decision-making of postemergency response management and seismic retrofit of the highway bridge. Nevertheless, statistical models often proposed linear techniques that were assessed by establishing functions [25], which may be difficult to formulate for structures subjected to large inelastic deformations [26]. These disadvantages can be overcome by ANNs. ANNs have a good predictability even if all the attributes are mixed together to estimate demand models [11].

Owing to their accuracy, versatility, and robustness, ANNs have been applied to a variety of problems including pattern recognition, data mining, and image processing [19]. With the rapid development of artificial intelligence, many studies estimating fragility based on the ANN method have begun to emerge [27]. It was used to assess the fragility of some different bridges [11]. The multiparameter fragility methodology helps to generate fragility curves for a specific skew angle and a set of bridge parameters. However, the fragility curves are obtained in a complex manner and cannot be obtained in a few minutes [11]. The steps are as follows: (1) estimating the demand based on the ANN, (2) using the Latin Hypercube Sampling (LHS) method to estimate the capacity, and (3) using logistic regression to get fragility curves. Hence, although the estimation can help the bridge inspection workers to prioritize their recovery methods following an earthquake, it cannot help the emergency rescue work.

This study presents an approach for the damage assessment of girder bridges and arch bridges considering the different importance of the features of seismic bridge damage. Unlike previous studies on the application of ANN for single or several bridges or bridge components assessment [11], this research explores the use of ANN for estimation of the damage state of most of the bridges in the entire disaster area. Also, unlike previous studies on the application of linear regression for bridge seismic assessment [5], this research uses the machine learning techniques to select features and propose the new model, which can avoid making assumptions and using empirical formulas and even can avoid the subjective impact of expert experience.

The main contribution of this paper includes the following: (1) considering the importance of features and applying the RF algorithms as the calculation model, which provides a different viewpoint for selecting the features as the input variables; (2) the fact that the damage states of a large quantity of bridges are obtained through improved ANN models of several deep learning algorithms. It provides an alternative method for developing the traditional preearthquake maintenance of bridges and decision-making for postearthquake emergency rescue.

This study evaluates the importance of the features by applying the RF model and using the data from the Wenchuan earthquake in 2008. Then, the ANN damage evaluation model is processed according to the results of the previous work on a girder bridge and the arch bridge, respectively. To examine the accuracy and applicability of the assessment model, this research selects the linear regression model [5] and 40 bridges in the Tangshan earthquake in 1976. Finally, the future extensions and limitations of the proposed method are discussed.

2. Data

The 12 May, 2008, Mw7.9 Wenchuan earthquake, with wide and significant influence, had great destructive power and the aftershocks lasted for a long time. After the earthquake, the China Earthquake Administration dispatched experts to conduct on-site investigations and set up 4,150 investigation sites with an investigation area of 500,000 square kilometers [5]. The survey data are comprehensive, standardized, detailed, and complete in comparing the data of the Tangshan earthquake and the Haicheng earthquake. Therefore, they are suitable for statistical analysis, and this study used the bridge data of the Wenchuan earthquake.

The investigation scope of the Wenchuan earthquake was based on the nationally identified severely affected areas, the national trunk highways in extremely severe disaster areas, and all the bridges on some county and township roads. It covers 10 counties and cities in Sichuan, Shanxi, and Gansu provinces: Wenchuan County, Beichuan County, Mianzhu City, Shifang City, Qingchuan County, Mao County, Anxian County, Dujiangyan City, Pingwu County, and Pengzhou City, making a total of 47 highways and national highways. The survey area covers the intensity as the VI–XI degree area. The seismic precautionary intensity of the bridges in most of the hardest and most severe areas before the earthquake is VII. A total of 2,154 bridges were surveyed: 746 in the VI degree area, 287 in the VII area, 175 in the IX degree area, and 168 in the X and XI areas. Among them, 1,525 were girder bridges and 590 were arch bridges, and the remaining bridges were cable-stayed bridges and suspension bridges. Hence, this paper chose the girder bridges and arch bridges.

The investigation is divided into three stages. (1) The emergency rushing stage was from 12 May, 2008, to 27 May, 2008. The characteristic was that it enters the disaster area for the first time after the earthquake. The seismic damage data obtained could best reflect the earthquake damage of the highway bridge after the earthquake, and the timeliness was strong. The scope of investigation was limited to the life passage leading to the most severely affected areas. Basically, no equipment was used. Experts assessed the capacity of the bridge through earthquake damage to meet emergency traffic demand. (2) The ensured bridge capacity stage was from 23 May, 2008, to the end of July 2008. The competent transportation department coordinated and arranged this, and the investigation was extensive and comprehensive, including all highways and national and provincial trunk highway bridges in the disaster area. In the investigation, the instrument was used for comprehensive testing, and the system’s postearthquake bridge test report was formed. (3) The supplementary investigation stage was from August 2008 to May 2009. On the basis of the survey data and data of the first two stages of the verification, a supplementary investigation was conducted on some bridges in the first two stages, where the earthquake damage investigation was insufficient and the inaccessible areas were not included. At this stage, some roads, bridges, and municipal bridges in counties and townships were also investigated. At the same time, the bridge design data, bridge coordinates, and bridge axis directions were collected.

Table 1 shows the investigation of the main seismic damage to the girder bridges and arch bridges. Figure 1 shows the damage pictures of a typical bridge in Wenchuan County: the Caopo 3rd bridge. The first picture is before the earthquake, and the others are after the damage. The second picture in the first row presents the seventh span of the bridge moving 32 cm to the left; the first picture in the second row shows the rupture of the joint between the left block and the coping of the pier coping girder. The crack developed from the top to the left (the root is cut and penetrated). The crack is about 0.7–1.2 m, and the width is about 0.15–0.35 m. The last picture shows that the cone slopes on both sides of the abutment have local cracking, some joints fell off, the cone slope sinks as a whole, and the settlement height is 0.1–0.4 m.

3. Features

3.1. Select Features

A crucial problem in seismic damage estimation projects is whether or not the features are indeed helpful for the evaluation. There are many features influencing the damage of bridges [2830], for example, the intensity of seismic activity, the parameters of the bridge, and the environment around the bridge. Nevertheless, some features lack sufficient data. This study selected some factors as follows: structural types, bridge pier types, foundation types, bearing types, bridge linear, bridge scales, the type of site, soil, seismic precautionary intensity, and the practical intensity of earthquakes. Table 2 presents the sorts of features.(I)Different structural types have different reasonable spans, methods of force transmission, and principles of bearing load. Girder bridges are classified as the simply supported girder bridge, steel girder bridge (continuous girder bridge), and cantilever girder bridge in this study. A simply supported girder bridge has the following characteristics: (1) the force manners are simple and the method of force transmission is clear; (2) the deformation of the bridge cannot produce redistributed stress; and (3) the bridges are mostly used for small spans. A continuous girder bridge is suitable for larger spans and the deformability is poor with negative moment segments. Arch bridges are classified according to the material of the arch rings(II)A bridge pier with larger stiffness is not conducive to absorbing vibration energy, and diagonal cracks will occur under seismic conditions [18], while a bridge pier with smaller stiffness is more easily deformed than the standard and becomes unstable. Therefore, the bridge pier, an important component that transmits the load from the superstructure to the foundation, has a very important influence on the bridge damage. The piers of the girder bridge are classified as five types: no pier, masonry solid pier, bent pier, rectangular thin-wall pier, and single column pier(III)The influence of the foundation on the bridge’s seismic damage is mainly due to the transmission of force [31]. Compared with the spread foundation, the open caisson foundation, and the multirow piles foundation, the bent pile foundation and tall platform pile foundation are prone to broken piles and pile detachment under the action of horizontal load. In addition, if the girder falls, it is also possible for it to break the pier or cover the pile cap. Therefore, the foundation is vital to the bridge damage(IV)The bearings, important devices for transmitting force from the main beam to the pier, are classified as rubber bearing, steel bearing, concrete bearing, and tetrafluoroethylene bearing according to the material. The deformation capacity of the bearing has a certain influence on the bridge damage, and it is also an important component in the local seismic scheme [3234]. For a bridge with bearing, the shock absorption support is usually used to reduce the impact of the earthquake on the bridge. The shock absorption bearing provides shock absorbers and uses the damping force generated by the viscosity of the medium or the elasticity of the rubber. Rubber bearing with a strong deformation ability is better than a concrete bearing with poor deformation ability. Therefore, the bearing type was also considered a factor(V)The bridge linearity refers to the geometry of the main beam and the type of intersection angle with the riverbank. The internal force distribution of a skew bridge under external force is very complicated, and there are large reactions and negative moments in the obtuse angle region. There are large differences and uncoordinated internal forces between the obtuse and acute angle regions under dynamic loading in deformation and internal force. This can easily cause damage to the bridge deck. Therefore, the seismic performance of a skew bridge is much worse than that of an orthogonal bridge(VI)Due to the large mass, a bridge with a larger span has greater inertia force under the action of seismic acceleration. The lateral load is larger, and lateral slip occurs more easily. In addition, the mid-span deflection of a bridge with a larger span is also large under the vertical load, which makes it easy for the main beam to crack or even break. Hence, the bridge scale is vital to seismic damage [11](VII)Site soil refers to the soil layer where the bridge is located. It can be classified as four categories. Site soil affects the bearing capacity of the foundation and the foundation failure. The failure from the class I site soil to the class IV site soil gradually increased under the same seismic intensity. Additionally, the foundation failure means that the load from the superstructure is difficult to bear on the foundation, which often causes serious damage to the bridge. Therefore, the type of site soil is also an important factor affecting the earthquake damage of the bridge(VIII)The intensity scale consists of a series of certain key responses such as people awakening, the movement of furniture, damage to chimneys, and finally total destruction. The precautionary intensity refers to the highest intensity of earthquakes in a certain area for many years and is the main indicator for earthquake resistance in bridge construction. Seismic precautionary intensity is an indicator that comprehensively reflects the level of bridge construction and seismic performance. It involves the effects of seismic factors such as seismic checking, layout, and local seismic components. These factors cannot be divided in detail, but they have a certain degree of influence on the seismic performance of the bridge(IX)The practical seismic intensity is an important factor affecting the degree of bridge damage. This means the designed seismic intensity and is not associated with the design ground acceleration or peak ground acceleration (PGA) of an earthquake. Obviously, from the overall trend, the higher the seismic intensity under other conditions, the more serious the damage of the bridge. Although the results also include other factors, the degree of intensity and damage is positively correlated to the overall trend. In addition, the earthquake damage assessment must give the intensity. Therefore, the seismic intensity should be used as a factor

3.2. Default Processing

There is default value in the data set. This study chose the K-Nearest Neighbor (KNN) algorithm to treat the default value. KNN, a simple machine learning algorithm, is mainly used to solve classification problems. In the process of assuming a default value, it is necessary to calculate the Euclidean distance (equation (1)) of all the data sets for each predicted object. The Euclidean distance can describe the true distance (physical distance) of two points in n-dimensional space. There are two n-dimensional vectors and , where x is the default value and y is the data with complete features. The Euclidean distances of x and y are expressed as

The results are sorted, and the K points closest to the predicted data are selected to form the decision set C. S is the default value set. We fill in the default value by averaging

3.3. Importance of Factors

The damage states were divided into five states as per previous studies [6, 36] (Table 3): no damage, slightly damaged, moderately damaged, seriously damaged, and completely damaged. There are many seismic damage state assessment methods; for example, expert-based/judgmental, empirical, experimental, analytical, and hybrid methods. The expert-based and empirical methods do not need the demand/capacity ratio and ductility deformation ratio. The damage states of this study are based on the in situ inspections and can obtain much information about bridges quickly. The RF algorithm was proposed by Breiman [37] and had been proven to achieve suitable results in the application of feature selection [38]. The RF algorithm was chosen as the classifier to assess the importance of nine features, and the Classification and Regression Tree (CART) algorithm was applied to classify the data [14]. CART is a technique that is used in supervised learning for solving classification and regression tasks; a CART model learns simple decision rules that are inferred from the features by using a tree-like graph to demonstrate the course of actions. Each branch of a decision tree represents a possible decision, occurrence, or reaction in terms of statistical probability. The Gini index () based feature selection can achieve both dimension reduction and the elimination of noise from the classification task [39]. The RF model was processed along with the Gini index in the Spyder module, which is a scientific Python development environment. The number of trees was classified to be 82 according to the running tests. The steps of the RF model are as follows: find the contribution of each feature on each tree in the RF, take an average, and finally compare the contribution between the features. The contribution indicates the importance of a factor. This algorithm uses VIM to represent the variable importance measures and GI to represent the Gini index. Suppose there are m features . Then, each feature Xj is calculated. The Gini index score is , which is the average change of the j-th feature’s node splitting impurity in all RF decision trees. is expressed aswhere m is the number of the features (nodes), K is the number of classifiers, and pmk is the proportion of k in m. The change in before and after m is expressed aswhere is the change in and and indicate the Gini index of the two new nodes after the branch, respectively. If the node where the feature j appears in the decision tree is in the set M, then the importance of the feature j at the ith number is

If there are n trees of the RF model, the importance value of the feature j, , is expressed as

Finally, all the importance scores normalized are obtained:

The average accuracy (mean scores) of the classification of the random forest algorithm is 0.8304, and the standard deviation of random forest classifier is 0.0124. This accuracy is greatly improved compared with the classification accuracy of the logistic regression model, 0.7879, with the same parameters. The importance of different factors in girder bridge and arch bridge seismic damage assessment is presented in Figure 2. The range is between 0.0 (min) and 1.0 (max) for the two types of bridges. This is normalized and the sum of all features equals 1.0. During the entire RF model experiments, three experiments were selected randomly. The order of the features of the three experiments is the same, and it can be seen that the results of each time are almost the same. Figure 2 also shows the results of three experiments. The I–IX values on the abscissa represent nine features, and the ordinate is the importance value of the features. This proves that the RF algorithm can obtain a suitable evaluation of the problem of feature correlation [15].

4. Assessment Model

Seven features were selected as the variables of the girder bridge and arch bridge assessment models, respectively (Table 4). The choice of the input parameters depended on the importance of the priority, preferring more important parameters. The importances of structural types and bridge linearity were 0.014 and 0.027 of the girder bridge model. The importances of the foundation types and bridge liners were 0.004 and 0.031 for the arch bridge. The features mentioned above were not selected because of their low importance.

The Wenchuan earthquake had several characteristics that were higher than other huge earthquakes: intensity, scope of impact, and level of data collection. Therefore, there were 1525 girder bridges and 590 arch bridges of the Wenchuan earthquake in 2008 selected as the data set. The samples were preprocessed by the openpyxl function of the Anaconda Navigator environment. In the girder bridges model, there were 1300 bridges as the training set and 225 bridges as the testing set. In the arch bridges model, there were 400 bridges as the training set and 190 bridges as the testing set.

The ANN consists of an input layer, multiple hidden layers, and an output layer. Once the input data are given to the ANN, the output values are computed sequentially along the layers of the network. At each layer, the input vector comprising the output values of each unit in the layer below is multiplied by the weight vector for each unit in the current layer to produce the weighted sum. Then, a nonlinear function, such as a sigmoid, hyperbolic tangent, or rectified linear unit (ReLU), is applied to the weighted sum to compute the output values of the layer. The computation in each layer transforms the representations in the layer below into slightly more abstract representations. Based on the types of layers used in ANN and the corresponding learning method, ANN can be classified into multilayer perceptrons, which are based on the feed-forward neural network (FFNN), Stacked AutoEncoders (SAEs), or deep belief networks. For an intricate problem, the method can solve the problem well when it has 5 to 20 layers [40]. A five-layer ANN was decided due to the data set of the Wenchuan earthquake. The number of neurons in the middle layers was selected to obtain suitable and satisfactory results [41]. In order to obtain these, the running process started from 10, 3, and 2, respectively. The processes were repeated for more neurons. Through training, it was finally decided to take 40, 20, and 5 neurons as the number of neurons in the middle layers for decreasing the difficulty and training time of the method. There are several ways of controlling the training of ANN to prevent overfitting in the training phase. The most common form of regularization, L2 regularization, was chosen. Using the gradient descent parameter update, L2 regularization signifies that every weight will be decayed linearly towards zero. The hyperparameters were acquired as presented in Table 5.

The moving average model, adaptive moment estimation (Adam), and small batch gradient descent were selected as the optimization algorithms of the ANN model. The Adam method addressed problems in large data sets and high-dimensional parameter spaces [42]. It could overcome the shortcomings of random gradient descent and maintain a single learning rate to update ownership, and the learning rate did not change during the training process. It designed an independent adaptive learning rate for the parameters. The mini-batch gradient descent can overcome the shortcomings of batch gradient descent and random gradient descent [43] by dividing the data into some training pools and update the parameters according to the pool. Therefore, choosing the appropriate training pool size can achieve the purpose of algorithm optimization, less computation, faster calculation, improved proficiency, and accelerated convergence [44] and cannot effectively control the data of turbulence and gradient descent. The number of samples of this study was no more than 2000. Therefore, 16 bridges were decided upon for the experimental pool. The moving average model is designed to avoid mutations as the process of parameters updating [45]. This can improve the accuracy of the ANN model on the test set to a certain extent. This is achieved by the exponential moving average function in the TensorFlow framework [46], which maintains a shadow variable for each variable. The initial value of the shadow variable is the initial value of the corresponding variable, and the values of the shadow variables ( and b) are updated. The decay rate determines the update speed of the model. The greater the attenuation, the greater the proportion of shadow variables.

The TensorFlow framework [46] was used for the model. The forward propagation, structure of the network, and initial weights were decided. The normal distribution and the ReLU function [40] were chosen as the weight generating function and the activation function, respectively. The ReLU function was applied in the second and third layers. It is slightly faster to compute than other activation functions, and gradient descent does not get stuck on plateaus as much when compared to the logistic function or the hyperbolic tangent function that usually saturates at 1. The fourth layer and the fifth layer were processed as the linear regression. The Adam technique was chosen as the back-propagation method. The mean square error loss function was chosen because of the function usually being applied with the ReLU activation function.

5. Results

The results of the model were compared with those of the linear regression model based on the Wenchuan earthquake in 2008, and equation (8) presents the regression equation (5):where Y is the damage index of the bridges, corresponding to five damage levels, separately. The indexes are as follows from no damage to completely damaged: 0.00 ≤ Y< 0.10, 0.10 ≤ Y< 0.30, 0.30 ≤ Y< 0.55, 0.55 ≤ Y< 0.85, and 0.85 ≤ Y< 1.00; c is the constant coefficient; and aij are the regression coefficients in the j-th subclass of the i-th class in the identified classification via Statistical Product and Service Solutions software (SPSS). Because of the collinearity problem between the independent variables, Yu selected one of each feature to set an initial coefficient and then subtracted the coefficient from the dependent variable [5]; xij is the value of the parameter of the j-th subclass in the i-th class of the bridge, the bridge meets the set parameter value of 1, and the nonconformity is 0. Table 6 presents the comparative results of the girder bridges and arch bridges between the ANN model and the linear regression model. In actual emergency rescue, it is acceptable to have a difference between the actual value and the predicted value (one level). However, if the predicted result differs from the actual value by two levels or even more than two levels, it will affect the decision of the relevant government institution. The results of the study show that the optimization algorithms have good performance in terms of improving running time. The precision of the ANN models (92.3% and 88.5%) is far greater than those in the linear regression models (71.9% and 71.5%) of an equal level. Similarly, the proportion of one level difference (5.6% and 8.2%) is much smaller than the linear model (26.4% and 27.6%). The prediction precision of the girder bridge is higher than the arch bridge for the ANN models, and the results of the two types of bridges of the linear regression model are similar.

There were 40 bridges including girder bridges and arch bridges in the Tangshan earthquake in 1976 which were chosen as the validation set. The type of site soil was deleted for the occurrence of sand liquefaction phenomena. Since this earthquake happened more than 40 years ago, the specification has been updated for generations. Therefore, the seismic precautionary intensity and the bridge scale are deleted because they are not applicable. Table 7 shows the data of 40 bridges and the prediction results. Among them, the results of a total of nine bridges are different from the true value. However, all exhibit one-level difference. The result of the four bridges is that they were seriously damaged, but the true values were moderately damaged; the other five bridges resulted to be slightly damaged, with the true value of the four bridges being moderately damaged and the other being no damage. The probability that the damage of the simply supported girder bridge is different from the true value is 5/19 (23.3%), that of the continuous girder bridge is 2/5 (40.0%), and the arch bridge is 2/16 (12.5%).

6. Discussions

6.1. Importance of Different Features

In this study, the bridge data of the Wenchuan earthquake were used to detect the importance of different influencing factors of the two bridges applying the random forest algorithm. When analyzing a single bridge or its components, it is possible to analyze the importance of the influencing factors and take all factors into account to get better results [19]. The main purpose of this study is to analyze a large number of bridges in a certain area, so it is meaningful to conduct feature importance analysis. This fully proved the importance of the practical intensity of earthquakes, seismic precautionary intensity, the type of site soil, bridge pier types, bridge scales, and bearing types of the girder bridges and arch bridges. The importance of the six factors is more than 90% for the two bridges. Therefore, the six features mentioned above were first as the input variables. Then, the seventh feature for each of the two bridges will be discussed. The orders of importance of the characteristics of the two bridges are similar. This is because, even though the type and construction process of the bridge are different, the design principles of the bridge are the same, the components are similar, and the earthquake is the same, so the results are similar.

The foundation type is ranked seventh for the girder bridge and is ranked ninth for the arch bridge. The foundation type was used for the girder bridge model but not for the arch bridge model because the feature importance is 5% in the former and 0.4% in the latter. Besides, the results accord with the experience of some researchers. Arch structures are very sensitive to the deformations and the strength of foundations, especially in the case of earthquake (horizontal direction) load. The foundation type is vital to the seismic damage of an arch bridge. However, the result of the RF model shows that this is not important, which is the shortcoming of the model. There are many reasons for this phenomenon: (1) the more classes are distinguished by a feature, the more significant the feature is [15]. There are only two types of foundation; (2) the RF model is a black box, and the results might be different from the experience of experts, which is one of the biggest flaws of the model; (3) the results obtained by this model are of relative importance value and are the result of several feature comparisons and not the importance of independence. The structural type is ranked ninth for the girder bridge (1%) and is ranked fifth for the arch bridge (6%). Therefore, the structural type was the factor for the arch bridge model but not for the girder bridge model. In summary, the features selected by the RF experiments are consistent with those used by other scholars to study the earthquake damage of bridges [11]. There were seven features for the two types of bridges, respectively. It can also be seen from these results that it is still meaningful to do this work. If the importance of these factors is not analyzed, less important factors are taken into account. This will greatly affect the emergency rescue time, thus increasing economic losses and casualties. At the same time, this study only removed two factors that have less impact on the two bridges. In practical applications, if a bridge in an earthquake has some factors that cannot be obtained due to some reasons, such as age, data loss, and other human factors, the corresponding influencing factors can be deleted and the model can be modified in a short time.

The RF model performs better than the other ensemble algorithms [17]. The reason for this may be that it works better with categorical features than the other methods. Also, since it uses implicit feature selection, overfitting was reduced significantly. Using logistic regression is a convenient probability score for observations. However, it does not perform well when the feature space is large, and it does not handle a large number of categorical features well. It also solely relies on transformations for nonlinear features. Using a Support Vector Machine (SVM) model, we would be able to handle a large feature space with nonlinear feature interactions without relying on the entire dataset. However, this is not very good for a large number of observations. Nevertheless, it can sometimes be difficult to find an appropriate kernel.

6.2. Assessment Model of Bridge Damage

This paper developed a bridge seismic damage state evaluation method based on previous work. The accuracy is the sum of the predicted values, and the true values differ by one or the same probability. The accuracy of the Wenchuan earthquake test is as high as 97.9%, while the accuracy of the Tangshan earthquake test is slightly reduced at 95%. The data in the training set come from the Wenchuan earthquake, so the expression on the Wenchuan earthquake test set is better. In general, this model can be used in the assessment of bridge damage in other areas, and the accuracy is acceptable. The training effect on the arch bridge is not as good as that of the girder bridge because the training set of the arch bridge is less than the girder bridge. When the predicted value is inconsistent with the true value, there is more chance of moderate damage because it occurs most frequently in the entire training set. The results of the assessment of the IX and X degrees of the practical intensity of earthquakes are always lower than the actual damage. An earthquake with a practical intensity greater than the VIII degree has a greater destructive power, and the factors affecting bridge damage are more complicated, such as earthquake secondary disasters, the bridge being been damaged before the earthquake, geological impact, and scouring effect [5]. Even if these factors have a certain impact on the bridge damage, the model does not consider these factors. This is because these factors are very complicated. Secondary disasters are difficult to obtain in the few minutes after the earthquake, and the current technology cannot accurately predict this in advance. Bridges may be eroded before the earthquake, such as by construction defects, or they are sometimes not repaired after damage from natural disasters. These conditions can only rely on daily monitoring and relevant departments should monitor the status of important bridges in time. Geological factors cannot be obtained in a short period of time, and some of them may even need to be investigated after the earthquake. The scouring effect is not considered in this study, which is one of the reasons leading to the reduction of the accuracy of the model. Erosion may cause reinforcement corrosion, spalling of concrete, and damage to foundations and platforms. However, not all the samples selected in this study were affected by scouring, so they were not considered. Hence, these factors were neglected.

The accuracy of the two bridges in the prediction of the equal level of failure and phase difference is much higher than that of the linear model [5]. The accuracy of being two levels greater or equal level is slightly lower than the linear model, but both are between 0% and 4%, which is within the acceptable range in emergency work [5]. In summary, the performance of the ANN model is better than the linear model. The reason for the small difference in accuracy between the two bridges of the linear model is that the regression technique initially has some assumptions that increase the accuracy. The ANN model does not require any assumptions throughout the process of establishment [47]. The results of the linear model must be fully calculated before they can be obtained. The ANN model can improve the training speed by setting the training rounds and steps according to the accuracy and the requirements of the specific situation, because it is more convenient and faster than the linear model.

In the practical application of the whole method, there are still some problems and challenges. (1) Since it is a rapid assessment, in addition to the speed of the model calculation, it is necessary to collect data faster. This is very difficult in practice and requires extensive experience from experts, scholars, and engineers. (2) When a bridge is less damaged, this method needs to be combined with experts and experienced decision-makers in order to improve the performance of the ANN model. (3) In practice, it is necessary to combine this method with the road to conducting an overall assessment of the road network to obtain an optimal rescue path.

6.3. Main Contributions and Significance

The method has some significance in engineering and science. The main contributions and significance of this study are as follows:(1)The proposed method selects suitable and easily available input features based on the RF ensemble model rather than choosing features directly according to expert experiences [5] or statistical methods [11].(2)This study uses some optimization algorithms to improve the performance of the ANN model, and the accuracy, rationality, and speed are better than the traditional back-propagation neural network [40].(3)This study shows that an estimation of the damage states of many bridges in a few minutes can be achieved, while previous studies usually evaluate the performance of one bridge [21, 22] or some components [19].(4)This method can be used under both preearthquake and postearthquake conditions. When it is used before an earthquake, the practical intensity of earthquakes can be obtained according to the historical maximum earthquake or seismological predictions. When the government conducts disaster prevention and mitigation planning, the formulation of relevant laws and regulations, bridge seismic damage assessment can be carried out. This can help the organization to judge the damage of bridges in the whole region on a macroscopic basis, to plan and establish the lifeline facilities in advance, and to prevent the traffic capacity of the traffic network from being affected by the damage of the bridge after the earthquake. When evaluating after the earthquake, it is possible to quickly assess the damage of the bridge in the entire earthquake zone and select the optimal path for rescue to save valuable rescue time due to the impassibility of the bridge.

7. Conclusions

The intention of this research is to propose a new model using the RF algorithm and ANN method for the evaluation of bridge damage states. The features of girder bridges and arch bridges are assessed using the RF algorithm. The practical intensity of earthquakes, seismic precautionary intensity, type of site, soil, bridge pier type, and bridge scales are very important to the damage of the two bridges. The bearing types contribute more than the foundation types of the girder bridge, and the opposite is presented for the arch bridge. The different features are selected as the input variables in the ANN model through the results of the assessment of the feature importance. The output variables are the five damage states.

The results show that the RF model has good stability and accuracy, the accuracy and calculation speed of the ANN model are better than the linear model, and the model still performs well for other earthquakes. The proposed method of this study can serve as a tool for disaster prevention and mitigation planning, daily bridge maintenance inspections, and decision-making for postearthquake emergency response projects.

The limitations and future works of the method are as follows. (1) There are only two types of bridges in the study: girder bridges and arch bridges. Other bridges should be further investigated to make the method more applicable, such as suspension bridges and cable-stayed bridges. (2) Some features are neglected for different reasons, which will affect the applicability and accuracy of the method. The features ought to be further expanded upon to meet engineering needs. (3) The data come only from Wenchuan earthquake and Tangshan earthquake. The existing bridges in the two earthquakes were used for many years, and the performance deterioration of the materials due to corrosion and fatigue would decrease the load-bearing capacity and the ductility of the structures, consequently reducing the seismic performance and affecting the damage analysis results of the bridges. This issue should also be investigated in the future to expand the available data. (4) The RF model is a black box operation and will be influenced by the data, which might reduce the accuracy of the importance value. This issue also can be overcome by expanding the data set in the future. The model also can be improved by acting on hyperparameters or changing its architecture. For a more comprehensive analysis, additional study is needed to extend the earthquake data and determine suitable features of bridge damage.

Data Availability

The data used to support the findings of this study belong to the Ministry of Transport of the People's Republic of China and Department of Transportation of Sichuan Province. The data can be made available from the first author upon request.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

The authors acknowledge the Department of Transportation of Sichuan Province for offering the data. This research was funded by Science Foundation of Institute of Engineering Mechanics, China Earthquake Administration (CEA) (Grant no. 2018A02) and Heilongjiang Provincial Key Laboratory of Underground Engineering Technology Open Project of China (Grant no. 2017-HXYKF-06).