A bridge bearing static displacement prediction method integrating expert experience
By integrating expert experience and knowledge through the Bayesian-entropy Gaussian process model, the problem of insufficient prediction accuracy in bridge bearing disease detection is solved, and more efficient bearing static displacement prediction and lower computational complexity are achieved.
Patent Information
- Application Number
- CN202410498861.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-24
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-04-24
AI Technical Summary
Existing bridge bearing disease detection methods have poor safety, heavy workload, low efficiency, and the inability to effectively integrate expert experience and knowledge, resulting in insufficient prediction accuracy.
The Bayesian-entropy Gaussian process model is used to encode expert experience knowledge into the Gaussian process regression model. Through the Bayesian-entropy posterior distribution and Lagrangian function optimization framework, expert knowledge is integrated to improve the prediction of bearing static displacement. accuracy and extrapolation capabilities.
The prediction accuracy and extrapolation ability of the Gaussian process model are improved, the training cost is reduced, and the computational complexity is simplified through the double-loop optimization framework, achieving more accurate prediction of the static displacement of the bearing.
Smart Images

Figure CN118395550B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of bridge service status assessment, and in particular to a bridge bearing static displacement prediction method integrating expert experience. Background Art
[0002] The bearing is an important component that connects the upper and lower components of the bridge, transfers loads, and adjusts deformation. It is easily damaged by changes in the environment and loads during service. Damage to the bearing will change the stress of the bridge structure. In severe cases, it will cause structural damage to the bridge deck and piers, seriously affecting the safety of the bridge structure and shortening the service life of the bridge. Traditional bearing disease detection has problems such as poor safety, heavy workload, and low efficiency. In addition, due to the influence of the observation angle, there may be blind spots in the inspection and it is highly subjective. In recent years, data-driven bearing performance monitoring and abnormal warning technology have been widely studied. Based on the massive monitoring data obtained by the bridge health monitoring system, the evaluation index of the operation status of the bridge bearing is established according to different types of data. By comparing the evaluation index with the established threshold, the operation status of the bearing can be judged, and the bearing disease can be quickly detected. Compared with the traditional bearing disease detection method, the data-driven method has lower cost and the advantages of strong versatility and high sensitivity.
[0003] Gaussian process regression is a nonparametric probability model based on statistical theory, which can effectively handle complex system modeling problems with high dimensionality and nonlinear characteristics. Compared with traditional data-driven models, Gaussian process regression models have the advantages of adaptive acquisition of hyperparameters, probabilistic output, and easy implementation. In addition, incorporating additional observation information into the Gaussian process regression model can improve prediction accuracy and reduce computational costs. However, experienced experts in engineering may have empirical knowledge of some input and output values, such as the rate of change of bearing displacement under temperature gradient. This information describes the underlying physical laws of the model, but cannot be directly incorporated into the Gaussian process regression model. The Bayesian-entropy method has been proven to be able to handle multiple types of information by adding exponential terms to the Bayesian equation to encode additional information as constraints. Therefore, how to encode expert experience knowledge into the Gaussian process regression model using the Bayesian-entropy method based on long-term monitoring data such as main beam temperature and bearing static displacement collected by the bridge health monitoring system, and propose a bridge bearing static displacement prediction method that integrates expert experience is a technical problem that needs to be solved urgently. Summary of the invention
[0004] The purpose of the present invention is to provide a bridge bearing static displacement prediction method integrating expert experience to effectively solve the above technical problems.
[0005] To achieve the above object, the present invention adopts the following technical solution:
[0006] The present invention provides a bridge bearing static displacement prediction method integrating expert knowledge, comprising the following steps:
[0007] Step 1: Obtain the monitoring data of the main beam temperature and support displacement through the bridge health monitoring system, extract the main beam temperature data and the support static displacement data y as the training set data D = (X, y), and assume that the test set data is D* = (X*, y*); under the Gaussian process framework, construct the joint distribution of the support static displacement prediction value f in the training set and the support static displacement prediction value f* in the test set according to the covariance function, and the covariance function contains the undetermined hyperparameter θ. According to the joint distribution, the conditional distribution of the support static displacement prediction value f* in the test set under the support static displacement prediction value f in the training set is obtained. According to the joint distribution and the conditional distribution, the posterior distribution of the support static displacement prediction value f* when the main beam temperature data X* is in the test set is derived and the posterior distribution is used as the undetermined Gaussian regression model. According to the conditional distribution p(y|X,θ) of y under the given main beam temperature X and hyperparameter θ, the logarithmic marginal likelihood function l(θ) of the hyperparameter θ is established;
[0008] Step 2: Based on the Bayesian prior distribution of the hyperparameter θ and the logarithmic marginal likelihood function l(θ), the Bayesian posterior distribution p(θ) is obtained. The empirical data of experts on the static displacement of the bearing in bridge monitoring are converted into numerical constraints and derivative constraints. Assume that the Bayesian-entropy posterior distribution is p BE (θ), establish the Bayesian-entropy posterior distribution p BE The negative relative entropy between (θ) and the Bayesian posterior distribution p(θ) is used to construct a Lagrangian function based on the negative relative entropy and the constraints, and the Bayesian-entropy posterior p(θ) of the hyperparameter θ under the given constraints is derived. BE (θ; η);
[0009] Step 3: Arbitrarily give an initial solution η* of the Lagrange multiplier and an initial solution of the hyperparameter The maximum a posteriori estimation method is used to construct an error function that measures the error between the prediction result of the undetermined Gaussian regression model and the expert experience value, and a double-loop optimization framework is constructed to solve the Lagrange multiplier η and the hyperparameter θ. The inner loop of the double-loop optimization framework is to maximize the Bayesian-entropy posterior distribution under the given initial solution η* of the Lagrange multiplier. Solve the hyperparameter θ. The outer loop of the double loop optimization framework is to solve the Lagrange multiplier η by minimizing the error function according to the hyperparameter θ obtained in the inner loop. After multiple cycles until the value of the error function is less than or equal to the threshold Y, the final solution of the Lagrange multiplier is obtained. The final solution for the hyperparameters The preferred threshold value Y≤0.01;
[0010] Step 4: The final solution of the hyperparameters obtained in step 3 Substitute it into the undetermined Gaussian regression model in step 1 to obtain the support static displacement Bayesian-entropy Gaussian process regression model, and transform the main beam temperature data in the given test set into The static displacement of bridge bearings is predicted by substituting it into the Bayesian-entropy Gaussian process regression model of bearing static displacement.
[0011] It should be noted that in step 1, based on the training set data D = (X, y) and the test set data D* = (X*, y*) of the main beam temperature and the support static displacement, under the Gaussian process framework, the joint distribution of the support static displacement prediction value f in the training set and the support static displacement prediction value f* in the test set is determined according to formula (1.1):
[0012]
[0013] Where: f is the predicted value vector of the static displacement of the support in the training set; μ = m (X) is the mean vector of the main beam temperature in the training set, and X is the main beam temperature data in the training set; f* is the predicted value vector of the static displacement of the support in the test set; P (f, f*) is the joint distribution of f and f*; μ* = m (X*) is the mean vector of the main beam temperature in the test set; X* is the main beam temperature data in the test set; Σ = k (X, X) is the covariance matrix of the main beam temperature data in the training set; Σ* = k (X, X*) is the covariance matrix between the main beam temperature data in the training set and the main beam temperature data in the test set; Σ** = k (X*, X*) is the covariance matrix of the main beam temperature data in the test set;
[0014] Among them, the Gaussian process prior distribution of the static displacement prediction value f of the support in the training set is determined according to formula (1.2):
[0015] f=f(x)~N(μ,Σ) (1.2)
[0016] Where: f(x) is the prior distribution basis function;
[0017] Among them, the mean vector μ = m(X) is obtained according to the polynomial basis function defined by the input dimension n according to formula (1.3):
[0018] μ=m(X)=F(X)β=[f(x 1 )···f(x n )] T β (1.3)
[0019] Where: F(X) is the basis matrix of the main beam temperature data of the training set; x 1 ,···,x n ∈X; β is the regression coefficient;
[0020] Among them, the regression coefficient β can be determined by the least squares method according to the main beam temperature data of the training set and the hyperparameter θ according to formula (1.4):
[0021] β=(F T Σ -1 F)-1 F T Σ -1 y (1.4)
[0022] Where: Σ -1 is the inverse matrix of Σ; F is the simplified expression of F(X); F T is the transposed matrix of F;.
[0023] Among them, the covariance function including the undetermined hyperparameter θ is determined in the form of a square exponential kernel function according to formula (1.5):
[0024]
[0025] Where: k(x,x′) is the covariance function; x and x′ are two input sample sets of the main beam temperature. For example, when x=X and x′=X*, then δ mn is the Kronecker function. When m = n, then δ mn =1, otherwise 0; θ = [σ y ,l,σ n ] is a set of hyperparameters (referred to as hyperparameters θ in this patent), σ y ,l,σ n are the variance, length scale and noise variance in the covariance function, respectively.
[0026] It should be noted that in step 1, according to the joint distribution of the support static displacement prediction value f in the training set and the support static displacement prediction value f* in the test set under the Gaussian process framework, the conditional distribution of the support static displacement prediction value f* in the test set under the support static displacement prediction value f in the training set is obtained according to formula (1.6):
[0027] P(f*|f)~N(μ*+Σ* T Σ -1 (f-μ),Σ**-Σ* T Σ -1 Σ*) (1.6)
[0028] Where: P(f*|f) is the conditional distribution of the predicted static displacement value f* of the support in the test set under the predicted static displacement value f of the support in the training set; Σ* T is the transposed matrix of Σ*; Σ -1 is the inverse matrix of Σ.
[0029] It should be noted that in step 1, according to the main beam temperature data X* in the test set, the posterior distribution of the predicted value f* of the static displacement of the support in the test set follows the normal distribution N(m t ,k t ), where the mean and variance can be calculated according to formula (1.7) and (1.8):
[0030] m t =m t (θ; X, y, X*) = μ* + Σ* T Σ -1 (y-μ)=m(X*)+k(X,X*) T k(X,X) -1 (ym(X))(1.7)
[0031] k t =k t (θ; X, y, X*) = Σ**-Σ* T Σ -1 Σ*=k(X*,X*)-k(X,X*) T k(X,X) -1 k(X,X*)(1.8)
[0032] Where: m t =m t (θ; X, y, X*) is a normal distribution N(m t ,k t )’s mean; k t =k t (θ; X, y, X*) is a normal distribution N(m t ,k t )’s variance; θ=[σ y ,l,σ n ] is a set of hyperparameters; k(X,X*) T is the transposed matrix of k(X,X*); k(X,X) -1 is the inverse matrix of k(X,X).
[0033] It should be noted that in step 1, the logarithmic marginal likelihood function l(θ) of the hyperparameter θ in the Gaussian process framework is determined according to formula (1.9):
[0034]
[0035] Where: l(θ) is the logarithmic marginal likelihood function of the hyperparameter θ in the Gaussian process framework; p(y|X,θ) is the conditional distribution of y given the main beam temperature X and the hyperparameter θ (that is, the likelihood function of y); (y-μ) T is the transposed matrix of y-μ.
[0036] It should be noted that in step 2, based on the empirical data of experts on the static displacement of the bearings in bridge monitoring, the numerical constraints and derivative constraints are determined according to formulas (2.1) and (2.2) respectively:
[0037] ∫m t (θ; X, y, x i )BE (θ)dθ=y i (2.1)
[0038]
[0039] Where: p BE (θ) is the Bayesian-entropy posterior distribution of the hyperparameter θ; y i For x = x i The numerical constraints at (y i For a given main beam temperature x i The static displacement data of the support obtained based on the experience of experts), i = 1, 2, 3...; For x = x j The derivative constraint at ( For a given main beam temperature x j The change rate of the static displacement data of the support obtained based on the experience of experts), j = 1, 2, 3...; m t (θ; X, y, x i ) is the given main beam temperature x i The mean of the posterior distribution of the predicted value f* of the static displacement of the support when m t (θ; X, y, x j ) is the given main beam temperature x j The mean of the posterior distribution of the predicted value f* of the static displacement of the support.
[0040] It should be noted that in step 2, the Bayesian-entropy posterior distribution p BE The negative relative entropy between (θ) and the Bayesian posterior distribution p(θ) is determined according to formula (2.3):
[0041]
[0042] Where: p BE (θ) is the Bayesian-entropy posterior distribution of the hyperparameter θ; p(θ) is the Bayesian posterior distribution of the hyperparameter θ; S[p BE (θ),p(θ)] is p BE The negative relative entropy between (θ) and p(θ); Θ is the domain of the hyperparameter θ;
[0043] Among them, the Bayesian posterior distribution p(θ) of the hyperparameter θ is determined according to formula (2.4):
[0044] p(θ)∝p 0 (θ)l(θ) (2.4)
[0045] Where: p 0 (θ) is the Bayesian prior distribution of the hyperparameter θ, and θ is often assumed to be a non-informative prior (i.e., assuming that p 0 (θ) is uniform distribution).
[0046] It should be noted that in step 2, according to the negative relative entropy and the constraint conditions, the Lagrangian function is constructed according to formula (2.5):
[0047]
[0048] Where: F[p BE (θ), P(θ), η] is the Lagrangian function; η is the Lagrangian multiplier, η=[η i ,η j ],η i and η j are the Lagrange multipliers corresponding to the i numerical constraints and j derivative constraints respectively.
[0049] It should be noted that in step 2, according to the Lagrangian function, under given numerical constraints and derivative constraints, the Bayesian-entropy posterior distribution p of the hyperparameter θ is BE (θ; η) is determined according to formula (2.6):
[0050]
[0051] Where: p BE (θ; η) is the Bayesian-entropy posterior distribution of the hyperparameter θ under the given constraints.
[0052] It should be noted that in step 3, the maximum a posteriori estimation method is used, and the error function that measures the error between the prediction result of the undetermined Gaussian regression model and the expert experience value is constructed according to formula (3.1):
[0053]
[0054] Where: e is the error between the prediction result of the undetermined Gaussian regression model and the expert experience value; is the initial solution for any given hyperparameter; For a given main beam temperature x i , the solution of hyperparameters The mean of the posterior distribution of the predicted value of the static displacement of the support f*; For a given main beam temperature x j , the solution of hyperparameters The mean of the posterior distribution of the predicted value f* of the static displacement of the support.
[0055] It should be noted that in step 3, it is assumed that the hyperparameter θ is an uninformative prior (i.e., assuming that p 0 (θ) is uniformly distributed), given the initial solution η* of the Lagrange multiplier, the initial solution of the hyperparameters under the given constraints The Bayesian-entropy posterior distribution of is determined according to formula (3.2):
[0056]
[0057] Where: Initial solution for hyperparameters under given constraints The Bayesian-entropy posterior distribution of ; η* is the initial solution of any given Lagrange multiplier, and are the Lagrange multipliers corresponding to the given i numerical constraints and j derivative constraints respectively;
[0058] It should be noted that in step 3, the inner loop of the double-loop optimization framework is: maximizing the Bayesian-entropy posterior distribution under the given initial solution η* of the Lagrange multiplier to obtain the final solution of the hyperparameters The process is carried out according to formula (3.3):
[0059]
[0060] Where: is the final solution of the hyperparameters; η* is the initial solution of any given Lagrange multiplier; The function that solves θ for maximizing (·) in a double-loop optimization framework.
[0061] The outer loop of the double loop optimization framework is: Minimize the error function based on the hyperparameter θ obtained in the inner loop to obtain the final Lagrange multiplier solution The process is carried out according to formula (3.4):
[0062]
[0063] Where: is the final solution of the Lagrange multiplier; The function that solves η for minimization (·) in a double-loop optimization framework.
[0064] It should be noted that in step 4, the final solution of the hyperparameters obtained in step 3 is The support static displacement Bayesian-entropy Gaussian process regression model is determined according to formula (4.1):
[0065]
[0066] Where: For the main beam temperature data in a given test set The predicted value vector of static displacement of the support when and are the mean and variance of the Bayesian-entropy Gaussian process regression model respectively;
[0067] Among them, the mean and variance Determine according to formula (4.2) and (4.3):
[0068]
[0069]
[0070] Where: The final solution for the hyperparameters obtained by the double-loop optimization framework; For the main beam temperature of a given test set The mean vector of k(X,X) is the covariance matrix of the main beam temperature data in the training set, k(X,X) -1 is the inverse matrix of k(X,X); The main beam temperature data of the training set and the main beam temperature data of the given test set The covariance matrix between for The transposed matrix of For a given test set of main beam temperature data The covariance matrix of .
[0071] Compared with the prior art, the present invention has the following beneficial effects:
[0072] 1. The present invention is based on the Bayesian-entropy Gaussian process model, and encodes expert knowledge as constraints into the support static displacement Gaussian process regression model. Additional information such as physical laws and boundary conditions in the expert experience knowledge can improve the prediction accuracy and extrapolation ability of the Gaussian process model.
[0073] 2. The present invention can incorporate the underlying physical laws when there are limited samples in a certain area of the main beam temperature input domain, divide the training sample set into multiple small sample sets to establish independent local Gaussian models respectively, and smoothly connect multiple Gaussian process models based on the Bayesian-entropy Gaussian process model to reduce the training cost of constructing the Gaussian process model of the entire training set.
[0074] 3. The present invention proposes a double-loop optimization framework for solving Lagrange multipliers and hyperparameters. The inner loop maximizes the Bayesian entropy posterior to solve the hyperparameters under given Lagrange multipliers, and the outer loop solves the Lagrange multipliers by minimizing the error function based on the obtained hyperparameters, thereby reducing the computational complexity of the Lagrange function nonlinear equation group and the numerical approximation of the hyperparameter integral. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] Figure 1 A flow chart of a bridge bearing static displacement prediction method integrating expert knowledge according to the present invention;
[0076] Figure 2 A double-loop optimization framework for solving Lagrange multipliers and hyperparameters for the present invention. DETAILED DESCRIPTION
[0077] The technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings.
[0078] like Figure 1 , Figure 1 The flowchart of the bridge bearing static displacement prediction method integrating expert knowledge of the present invention.
[0079] The present invention provides a bridge bearing static displacement prediction method integrating expert knowledge, comprising the following steps:
[0080] Step 1: Obtain the monitoring data of the main beam temperature and support displacement through the bridge health monitoring system, extract the main beam temperature data X and the support static displacement data y as the training set data D = (X, y), and assume that the test set data is D* = (X*, y*); under the Gaussian process framework, construct the joint distribution of the support static displacement prediction value f in the training set and the support static displacement prediction value f* in the test set according to the covariance function, the covariance function contains the undetermined hyperparameter θ, and derive the conditional distribution of the support static displacement prediction value f* in the test set under the support static displacement prediction value f in the training set according to the joint distribution. Derived the posterior distribution of the support static displacement prediction value f* when the main beam temperature data X* in the test set according to the joint distribution and the conditional distribution and used the posterior distribution as the undetermined Gaussian regression model, and established the logarithmic marginal likelihood function l(θ) of the hyperparameter θ according to the conditional distribution p(y|X,θ) of y under the given main beam temperature X and hyperparameter θ;
[0081] The bridge health monitoring system is a conventional technical means in this field; the process of extracting bearing static displacement data from bearing displacement data using Littlewood-Paley and Meyer wavelet theory can be found in the invention patent application with application number "202410045611.1", which will not be repeated here.
[0082] It should be noted that in step 1, based on the training set data D = (X, y) and the test set data D* = (X*, y*) of the main beam temperature and the support static displacement, under the Gaussian process framework, the joint distribution of the support static displacement prediction value f in the training set and the support static displacement prediction value f* in the test set is determined according to formula (1.1):
[0083]
[0084] Where: f is the predicted value vector of the static displacement of the support in the training set; μ = m (X) is the mean vector of the main beam temperature in the training set, and X is the main beam temperature data in the training set; f* is the predicted value vector of the static displacement of the support in the test set; P (f, f*) is the joint distribution of f and f*; μ* = m (X*) is the mean vector of the main beam temperature in the test set; X* is the main beam temperature data in the test set; Σ = k (X, X) is the covariance matrix of the main beam temperature data in the training set; Σ* = k (X, X*) is the covariance matrix between the main beam temperature data in the training set and the main beam temperature data in the test set; Σ** = k (X*, X*) is the covariance matrix of the main beam temperature data in the test set;
[0085] Among them, the Gaussian process prior distribution of the static displacement prediction value f of the support in the training set is determined according to formula (1.2):
[0086] f=f(x)~N(μ,Σ) (1.2) Among them, the mean vector μ=m(X) is obtained according to the polynomial basis function defined by the input dimension n according to formula (1.3):
[0087] μ=m(X)=F(X)β=[f(x 1 )···f(x n )] T β (1.3)
[0088] Where: F(X) is the basis matrix of the main beam temperature data of the training set; x 1 ,···,x n ∈X; β is the regression coefficient;
[0089] Among them, the regression coefficient β can be determined by the least squares method according to the main beam temperature data of the training set and the hyperparameter θ according to formula (1.4):
[0090] β=(F T Σ -1 F) -1 F T Σ -1 y (1.4)
[0091] Where: Σ -1 is the inverse matrix of Σ; F is the simplified expression of F(X); F T is the transposed matrix of F.
[0092] Among them, the covariance function including the undetermined hyperparameter θ is determined in the form of a square exponential kernel function according to formula (1.5):
[0093]
[0094] Where: k(x,x′) is the covariance function; x and x′ are two input sample sets of the main beam temperature. For example, when x=X and x′=X*, then δ mn is the Kronecker function. When m = n, then δ mn =1, otherwise 0; θ = [σ y ,l,σ n ] is a set of hyperparameters (referred to as hyperparameters θ in this patent), σ y ,l,σ n are the variance, length scale and noise variance in the covariance function, respectively.
[0095] It should be noted that in step 1, according to the joint distribution of the support static displacement prediction value f in the training set and the support static displacement prediction value f* in the test set under the Gaussian process framework, the conditional distribution of the support static displacement prediction value f* in the test set under the support static displacement prediction value f in the training set is obtained according to formula (1.6):
[0096] P(f*|f)~N(μ*+Σ* T Σ -1 (f-μ),Σ**-Σ* T Σ -1 Σ*) (1.6)
[0097] Where: P(f*|f) is the conditional distribution of the predicted static displacement value f* of the support in the test set under the predicted static displacement value f of the support in the training set; Σ* T is the transposed matrix of Σ*; Σ -1 is the inverse matrix of Σ.
[0098] It should be noted that in step 1, based on the main beam temperature data X* in the test set, the posterior distribution of the static displacement prediction value f* of the support in the test set is calculated as follows:
[0099]
[0100] Among them, P(f*) follows the normal distribution N(m t ,k t ), where the mean and variance can be calculated according to formula (1.7) and (1.8):
[0101] m t =m t (θ; X, y, X*) = μ* + Σ* T Σ -1 (y-μ)=m(X*)+k(X,X*) T k(X,X) -1 (ym(X))(1.7)
[0102] k t =k t (θ; X, y, X*) = Σ**-Σ* T Σ-1 Σ*=k(X*,X*)-k(X,X*) T k(X,X) -1 k(X,X*)(1.8)
[0103] Where: m t =m t (θ; X, y, X*) is a normal distribution N(m t ,k t )’s mean; k t =k t (θ; X, y, X*) is a normal distribution N(m t ,k t )’s variance; θ=[σ y ,l,σ n ] is a set of hyperparameters; k(X,X*) T is the transposed matrix of k(X,X*); k(X,X) -1 is the inverse matrix of k(X,X).
[0104] It should be noted that in step 1, the logarithmic marginal likelihood function l(θ) of the hyperparameter θ in the Gaussian process framework is determined according to formula (1.9):
[0105]
[0106] Where: l(θ) is the logarithmic marginal likelihood function of the hyperparameter θ in the Gaussian process framework; p(y|X,θ) is the conditional probability of y given the main beam temperature X and the hyperparameter θ (that is, the likelihood function of y); (y-μ) T is the transposed matrix of y-μ.
[0107] In fact, the posterior distribution of the predicted value f* of the static displacement of the support when the main beam temperature data X* is given in the test set derived in step one is an undetermined Gaussian regression model that includes the training set data D=(X,y), the main beam temperature data X* in the test set, and the undetermined hyperparameter θ. The subsequent steps are the process of integrating expert experience data to solve the undetermined hyperparameter θ and the process of obtaining the Gaussian regression model of the hyperparameter θ, which predicts the static displacement of the support based on the new main beam temperature data X*.
[0108] Step 2: Based on the Bayesian prior distribution of the hyperparameter θ and the logarithmic marginal likelihood function l(θ), the Bayesian posterior distribution p(θ) is obtained. The empirical data of experts on the static displacement of the bearing in bridge monitoring are converted into numerical constraints and derivative constraints, and the Bayesian-entropy posterior distribution p is established. BE The negative relative entropy between (θ) and the Bayesian posterior distribution p(θ) is used to construct a Lagrangian function based on the negative relative entropy and the constraints, and the Bayesian-entropy posterior p(θ) of the hyperparameter θ under the given constraints is derived.BE (θ; η);
[0109] It should be noted that in step 2, based on the empirical data of experts on the static displacement of the bearings in bridge monitoring, the numerical constraints and derivative constraints are determined according to formulas (2.1) and (2.2) respectively:
[0110] ∫m t (θ; X, y, x i ) BE (θ)dθ=y i (2.1)
[0111]
[0112] Where: p BE (θ) is the Bayesian-entropy posterior distribution of the hyperparameter θ; y i For x = x i The numerical constraints at (y i For a given main beam temperature x i The static displacement data of the support obtained based on the experience of experts), i = 1, 2, 3...; For x = x j The derivative constraint at ( For a given main beam temperature x j The change rate of the static displacement data of the support obtained based on the experience of experts), j = 1, 2, 3...; m t (θ; X, y, x i ) is the given main beam temperature x i The mean of the posterior distribution of the predicted value f* of the static displacement of the support when m t (θ; X, y, x j ) is the given main beam temperature x j The mean of the posterior distribution of the predicted value f* of the static displacement of the support.
[0113] The expert experience involved in the present invention refers to the expert's experience knowledge of the input and output in certain situations, for example: a bridge in summer with a temperature of x 1 , winter temperature is x 2 When the bridge is displaced, experienced experts can estimate that the bridge support displacement is y 1 and 2 (Numerical constraints), and the growth rate of the support displacement under this temperature can also be estimated to be and (derivative constraint). When the numerical constraint and derivative constraint are integrated into the Gaussian regression model, the predicted value of the Gaussian model at the numerical constraint point is y i , the slope at the derivative constraint point is Improved the prediction accuracy of the model (this patent incorporates correct expert experience that complies with physical laws).
[0114] At the same time, the present invention can train local Gaussian models, impose numerical constraints and derivative constraints at the connection points, so as to smoothly connect multiple local Gaussian models (ordinary Gaussian models cannot be effectively connected at the boundaries), reducing the training cost of constructing the Gaussian process model of the entire training set. That is, the mother training set containing all historical monitoring data can be split into multiple different sub-training sets, and the corresponding local Gaussian models can be constructed. According to the expert experience and knowledge, the different sub-training sets are smoothly connected to form the Gaussian model of the corresponding mother training set. This processing method can also better deal with the problem of local missing or distorted monitoring data.
[0115] It should be noted that in step 2, the Bayesian-entropy posterior distribution p BE The negative relative entropy between (θ) and the Bayesian posterior distribution p(θ) is determined according to formula (2.3):
[0116]
[0117] Where: p BE (θ) is the Bayesian-entropy posterior distribution of the hyperparameter θ; p(θ) is the Bayesian posterior distribution of the hyperparameter θ; S[p BE (θ),p(θ)] is p BE The negative relative entropy between (θ) and p(θ); Θ is the domain of the hyperparameter θ;
[0118] Among them, the Bayesian posterior distribution p(θ) of the hyperparameter θ is determined according to formula (2.4):
[0119] p(θ)∝p 0 (θ)l(θ) (2.4)
[0120] Where: p 0 (θ) is the Bayesian prior distribution of the hyperparameter θ, and θ is often assumed to be a non-informative prior (i.e., assuming that p 0 (θ) is uniform distribution).
[0121] It should be noted that in step 2, according to the negative relative entropy and the constraint conditions, the Lagrangian function is constructed according to formula (2.5):
[0122]
[0123] Where: F[p BE (θ), P(θ), η] is the Lagrangian function; η is the Lagrangian multiplier, η=[η i ,η j ],η i and η j are the Lagrange multipliers corresponding to the i numerical constraints and j derivative constraints respectively. The Bayesian-entropy posterior distribution p of the hyperparameter θBE (θ) is an unknown distribution. The purpose of constructing the Lagrangian function is to minimize these two distributions p BE The difference between (θ) and p(θ) is finally obtained BE (θ; η).
[0124] It should be noted that in step 2, according to the Lagrangian function under given numerical constraints and derivative constraints, the Bayesian-entropy posterior distribution p of the hyperparameter θ is BE (θ; η) is determined according to formula (2.6):
[0125]
[0126] Where: p BE (θ; η) is the Bayesian-entropy posterior distribution of the hyperparameter θ under the given constraints.
[0127] Step 3: Arbitrarily give an initial solution η* of the Lagrange multiplier and an initial solution of the hyperparameter The maximum a posteriori estimation method is used to construct an error function that measures the error between the prediction result of the undetermined Gaussian regression model and the expert experience value, and a double-loop optimization framework is constructed to solve the Lagrange multiplier η and the hyperparameter θ. The inner loop of the double-loop optimization framework is to maximize the Bayesian-entropy posterior distribution under the given initial solution η* of the Lagrange multiplier. Solve the hyperparameter θ. The outer loop of the double loop optimization framework is to solve the Lagrange multiplier η by minimizing the error function according to the hyperparameter θ obtained in the inner loop. After multiple cycles until the value of the error function is less than or equal to the threshold Y, the final solution of the Lagrange multiplier is obtained. The final solution for the hyperparameters The preferred threshold value Y≤0.01;
[0128] It should be noted that in step 3, the maximum a posteriori estimation method is used, and the error function that measures the error between the prediction result of the undetermined Gaussian regression model and the expert experience value is constructed according to formula (3.1):
[0129]
[0130] Where: e is the error between the prediction result of the undetermined Gaussian regression model and the expert experience value; is the initial solution for any given hyperparameter; For a given main beam temperature x i , the solution of hyperparameters The mean of the posterior distribution of the predicted value of the static displacement of the support f*; For a given main beam temperature x j , the solution of hyperparameters The mean of the posterior distribution of the predicted value f* of the static displacement of the support.
[0131] In formula (3.1), y i For a given main beam temperature x i The static displacement data of the support obtained based on expert experience (y i For x = x i ), For a given main beam temperature x j The change rate of the static displacement data of the support obtained based on expert experience ( For x = x j derivative constraints at ), i=1,2,3..., j=1,2,3..., represents x=x i The undetermined Gaussian regression model predicts the mean of the distribution at , represents x=x j The rate of change of the mean value of the distribution predicted by the undetermined Gaussian regression model at the temperature is established, and the error expressions of the mean value of the model predicted distribution and the expert experience value, and the rate of change of the mean value of the model predicted distribution and the expert experience value at a certain main beam temperature are established. The error function that measures the error between the undetermined Gaussian regression model and the expert experience value, or the error function between the undetermined Gaussian regression model and the constraint conditions can be established by summing them according to i numerical constraints and j derivative constraints; this error function ensures both the continuity and the smoothness of the undetermined model, and can make the final solution more reasonable.
[0132] It should be noted that in step 3, in the process of solving the undetermined Gaussian regression model, the current common method is to first try to assign a value to the hyperparameter θ, and then train the undetermined Gaussian regression model to output an accurate Gaussian model. If the output Gaussian model is not effective, reassign the hyperparameter θ until the model effect is good. In the process of assigning a value to the hyperparameter θ, for the convenience of calculation, a constant is usually assigned to the hyperparameter θ, so that p 0 (θ) obeys a uniform distribution; in the present invention, it is assumed that the hyperparameter θ is a non-informative prior (i.e., assuming that p 0 (θ) is uniformly distributed), given the initial solution η* of the Lagrange multiplier, the initial solution of the hyperparameters under the given constraints The Bayesian-entropy posterior distribution of Determine according to formula (3.2):
[0133]
[0134] Where: Initial solution for hyperparameters under given constraints The Bayesian-entropy posterior distribution of ; η* is the initial solution of any given Lagrange multiplier, and are the Lagrange multipliers corresponding to the given i numerical constraints and j derivative constraints respectively;
[0135] Get the Bayesian-entropy posterior distribution After that, in order to facilitate the subsequent loop solution, first After normalization, the normalized Bayesian-entropy posterior distribution is also expressed as
[0136] It should be noted that in step 3, the inner loop of the double-loop optimization framework is: maximizing the Bayesian-entropy posterior distribution under the given initial solution η* of the Lagrange multiplier to obtain the final solution of the hyperparameters The process is carried out according to formula (3.3):
[0137]
[0138] Where: is the final solution of the hyperparameters; η* is the initial solution of the given Lagrange multiplier; The function that solves θ for maximizing (·) in a double-loop optimization framework.
[0139] The outer loop of the double loop optimization framework is: Minimize the error function based on the hyperparameter θ obtained in the inner loop to obtain the final Lagrange multiplier solution The process is carried out according to formula (3.4):
[0140]
[0141] Where: is the final solution of the Lagrange multiplier; The function that solves η for minimization (·) in a double-loop optimization framework.
[0142] It should be noted that in step three, when the error function value is less than the threshold value Y, the loop is stopped. The specific threshold value can be determined in combination with the model accuracy and computational efficiency. In this double-loop optimization framework, the hyperparameters and Lagrange multipliers are not obtained at one time. The specific process is as follows: in the first loop, the hyperparameters obtained in the inner loop are substituted into the outer loop to solve the Lagrange multiplier, and the Lagrange multiplier of the first loop is substituted into the inner loop for the second loop. According to the above steps, after multiple loops until convergence (meeting the threshold requirements), the final solution can be obtained.
[0143] The solution of Lagrangian functions and hyperparameters involves the solution of nonlinear equations and integral numerical approximation. Direct solution calculation is very complicated. The double-loop optimization framework for solving Lagrangian multipliers and hyperparameters proposed in this patent does not need to solve nonlinear equations and integral equations, which can improve computational efficiency.
[0144] Step 4: The final solution of the hyperparameters obtained in step 3 Substitute it into the undetermined Gaussian regression model in step 1 to obtain the support static displacement Bayesian-entropy Gaussian process regression model, and transform the main beam temperature data in the given test set into The static displacement of bridge bearings is predicted by substituting it into the Bayesian-entropy Gaussian process regression model of bearing static displacement.
[0145] It should be noted that in step 4, the final solution of the hyperparameters obtained in step 3 is The Bayesian-entropy Gaussian process regression model of the support static displacement is determined according to formula (4.1):
[0146]
[0147] Where: For the main beam temperature data in a given test set The predicted value vector of static displacement of the support when and are the mean and variance of the Bayesian-entropy Gaussian process regression model respectively;
[0148] Among them, the mean and variance Determine according to formula (4.2) and (4.3):
[0149]
[0150]
[0151] Where: The final solution for the hyperparameters obtained by the double-loop optimization framework; For the main beam temperature of a given test set The mean vector of k(X,X) is the covariance matrix of the main beam temperature data in the training set, k(X,X) -1 is the inverse matrix of k(X,X); The main beam temperature data of the training set and the main beam temperature data of the given test set The covariance matrix between for The transposed matrix of For a given test set of main beam temperature data The covariance matrix of .
[0152] The final solution of the hyperparameters obtained in step 3 Substituting the undetermined Gaussian regression model in step 1, the determined Gaussian regression model can be obtained. The obtained model integrates expert experience and knowledge, and has good prediction accuracy and calculation efficiency, and has great application value. Based on the prediction results and measured data, the evaluation index of the operation status of the bridge bearing is established. By comparing the evaluation index with the established threshold, the operation status of the bearing can be judged, and the rapid detection of bearing defects can be achieved.
[0153] The applicant further declares that the present invention illustrates the implementation method of the present invention through the above-mentioned embodiments, but the present invention is not limited to the above-mentioned implementation methods, that is, it does not mean that the present invention must rely on the above-mentioned methods and structures to be implemented. Those skilled in the art should understand that any improvement of the present invention, equivalent replacement of the implementation method selected by the present invention, addition of steps, selection of specific methods, etc., all fall within the protection scope and disclosure scope of the present invention.
[0154] The present invention is not limited to the above-mentioned embodiments, and all embodiments that use structures and methods similar to the present invention to achieve the purpose of the present invention are within the protection scope of the present invention.
Claims
1. A bridge bearing static displacement prediction method integrating expert experience, characterized by: The steps include: Step 1: Obtain the monitoring data of the main beam temperature and the support displacement, extract the main beam temperature data X and the support static displacement data y as the training set data D = (X, y), and assume that the test set data is D* = (X*, y*); under the Gaussian process framework, construct the joint distribution of the support static displacement prediction value f in the training set and the support static displacement prediction value f* in the test set according to the covariance function, and the covariance function contains the undetermined hyperparameter θ; obtain the conditional distribution of f* under f according to the joint distribution, and derive the posterior distribution of the support static displacement prediction value f* when the main beam temperature data X* is in the test set according to the joint distribution and the conditional distribution, and use the posterior distribution as the undetermined Gaussian regression model, and establish the logarithmic marginal likelihood function l(θ) of the hyperparameter θ according to the conditional distribution p(y|X,θ) of y under the given main beam temperature X and the hyperparameter θ; Step 2: Based on the Bayesian prior distribution of the hyperparameter θ and the logarithmic marginal likelihood function l(θ), the Bayesian posterior distribution p(θ) is obtained. The empirical data of experts on the static displacement of the bearing in bridge monitoring are converted into numerical constraints and derivative constraints, and the Bayesian-entropy posterior distribution p is established. BE The negative relative entropy between (θ) and the Bayesian posterior distribution p(θ) is used to construct a Lagrangian function based on the negative relative entropy and the constraints to obtain the Bayesian-entropy posterior p(θ) of the hyperparameter θ under the given constraints. BE (θ; η); Step 3: Arbitrarily give an initial solution η* of the Lagrange multiplier and an initial solution of the hyperparameter The maximum a posteriori estimation method is used to construct an error function that measures the error between the prediction result of the undetermined Gaussian regression model and the expert experience value, and a double-loop optimization framework is constructed to solve the Lagrange multiplier η and the hyperparameter θ. The inner loop of the double-loop optimization framework is to maximize the Bayesian-entropy posterior distribution under the given initial solution η* of the Lagrange multiplier. Solve the hyperparameter θ. The outer loop of the double-loop optimization framework is to minimize the error function according to the hyperparameter θ obtained by the inner loop to solve the Lagrange multiplier η. After multiple cycles until the value of the error function is less than or equal to the threshold Y, the final solution of the hyperparameter is obtained. Step 4: The final solution of the hyperparameters obtained in step 3 Substitute it into the undetermined Gaussian regression model in step 1 to obtain the support static displacement Bayesian-entropy Gaussian process regression model, and transform the main beam temperature data in the given test set into *Substitute it into the bearing static displacement Bayesian-entropy Gaussian process regression model to predict the static displacement of the bridge bearing.
2. The bridge bearing static displacement prediction method integrating expert experience as claimed in claim 1 is characterized by: In step 1, based on the training set data D = (X, y) and the test set data D* = (X*, y*) of the main beam temperature and the static displacement of the support, under the Gaussian process framework, the joint distribution of the static displacement prediction value f in the training set and the static displacement prediction value f* in the test set is determined according to formula (1.1): Where: f is the predicted value vector of the static displacement of the support in the training set; μ = m (X) is the mean vector of the main beam temperature in the training set, and X is the main beam temperature data in the training set; f* is the predicted value vector of the static displacement of the support in the test set; P (f, f*) is the joint distribution of f and f*; μ* = m (X*) is the mean vector of the main beam temperature in the test set; X* is the main beam temperature data in the test set; Σ = k (X, X) is the covariance matrix of the main beam temperature data in the training set; Σ* = k (X, X*) is the covariance matrix between the main beam temperature data in the training set and the main beam temperature data in the test set; Σ** = k (X*, X*) is the covariance matrix of the main beam temperature data in the test set; Among them, the Gaussian process prior distribution of the static displacement prediction value f of the support in the training set is determined according to formula (1.2): f=f(x)~N(μ,Σ) (1.2) Where: f(x) is the prior distribution function; Among them, the mean vector μ = m(X) is obtained according to formula (1.3): μ=m(X)=F(X)β=[f(x1)…f(x n )] T b (1.3) Where: F(X) is the basis matrix of the main beam temperature data of the training set; x1,…,x n ∈X; β is the regression coefficient; Among them, the regression coefficient β is determined by the least squares method according to the main beam temperature data of the training set and the hyperparameter θ according to formula (1.4): β=(F T S -1 F) -1 F T S -1 y (1.4) Where: Σ -1 is the inverse matrix of Σ; F is F(X); F T is the transposed matrix of F; Among them, the covariance function including the undetermined hyperparameter θ is determined in the form of a square exponential kernel function according to formula (1.5): Where: k(x,x′) is the covariance function; x and x′ are two input sample sets of the main beam temperature; δ mn is the Kronecker function; θ=[σ y ,l,σ n ] is a hyperparameter.
3. The bridge bearing static displacement prediction method integrating expert experience as claimed in claim 2 is characterized by: In step 1, according to the joint distribution of the support static displacement prediction value f in the training set and the support static displacement prediction value f* in the test set under the Gaussian process framework, the conditional distribution of the support static displacement prediction value f* in the test set under the support static displacement prediction value f in the training set is obtained according to formula (1.6): P(f*|f)~N(μ * +S* T S -1 (f-μ),Σ**-Σ* T S -1 S*) (1.6) Where: P(f*|f) is the conditional distribution of the predicted static displacement value f* of the support in the test set under the predicted static displacement value f of the support in the training set; Σ* T is the transposed matrix of Σ*; According to the main beam temperature data X* in the test set, the posterior distribution of the predicted static displacement value f* of the support in the test set follows the normal distribution N(m t ,k t ), where the mean value m t and variance k t Calculate according to formula (1.7) and (1.8): m t =m t (θ;X,y,X*)=m(X*)+k(X,X*) T k(X,X) -1 (y-m(X)) (1.7) k t =k t (θ;X,y,X*)=k(X*,X*)-k(X,X*) T k(X,X) -1 k(X,X*) (1.8) Where: m t =m t (θ; X, y, X*) is a normal distribution N(m t ,k t )’s mean; k t =k t (θ; X, y, X*) is a normal distribution N(m t ,k t )’s variance.
4. The bridge bearing static displacement prediction method integrating expert experience as claimed in claim 2 is characterized by: In step 1, the logarithmic marginal likelihood function l(θ) of the hyperparameter θ in the Gaussian process framework is determined according to formula (1.9): Where: l(θ) is the log-marginal likelihood function of the hyperparameter θ in the Gaussian process framework; p(y|X,θ) is the conditional distribution of y given the main beam temperature X and the hyperparameter θ; (y-μ) T is the transposed matrix of y-μ.
5. The bridge bearing static displacement prediction method integrating expert experience as claimed in claim 1 is characterized by: In step 2, based on the empirical data of experts on the static displacement of the bearings in bridge monitoring, the numerical constraints and derivative constraints are determined according to equations (2.1) and (2.2) respectively: ∫m t (θ;X,y,x i )p BE (θ)dθ=y i (2.1) Where: p BE (θ) is the Bayesian-entropy posterior distribution of the hyperparameter θ; y i For a given main beam temperature x i The static displacement data of the support is obtained based on the experience of experts, i = 1, 2, 3...; For a given main beam temperature x j The change rate of the static displacement data of the support obtained according to the experience of experts, j = 1, 2, 3...; m t (θ; X, y, x i ) is the given main beam temperature x i The mean of the posterior distribution of the predicted value of the static displacement of the support when m t (θ; X, y, x j ) is the given main beam temperature x j The mean of the posterior distribution of the predicted value f* of the static displacement of the support.
6. The bridge bearing static displacement prediction method integrating expert experience as claimed in claim 1 is characterized by: In step 2, the Bayesian-entropy posterior distribution p BE The negative relative entropy between (θ) and the Bayesian posterior distribution p(θ) is determined according to formula (2.3): Where: p BE (θ) is the Bayesian-entropy posterior distribution of the hyperparameter θ; p(θ) is the Bayesian posterior distribution of the hyperparameter θ; S[p BE (θ),p(θ)] is p BE The negative relative entropy between (θ) and p(θ); Θ is the domain of the hyperparameter θ; Among them, the Bayesian posterior distribution p(θ) of the hyperparameter θ is determined according to formula (2.4): p(θ)∝p0(θ)l(θ) (2.4) Where: p0(θ) is the Bayesian prior distribution of the hyperparameter θ.
7. The bridge bearing static displacement prediction method integrating expert experience as claimed in claim 1 is characterized by: In step 2, according to the negative relative entropy and constraints, the Lagrangian function is constructed according to formula (2.5): Where: p BE (θ) is the Bayesian-entropy posterior distribution of the hyperparameter θ; p(θ) is the Bayesian posterior distribution of the hyperparameter θ; S[p BE (θ),p(θ)] is p BE Negative relative entropy between (θ) and p(θ); y i For a given main beam temperature x i The static displacement data of the support is obtained based on the experience of experts, i = 1, 2, 3...; For a given main beam temperature x j The change rate of the static displacement data of the support obtained according to the experience of experts, j = 1, 2, 3...; m t (θ; X, y, x i ) is the given main beam temperature x i The mean of the posterior distribution of the predicted value of the static displacement of the support when m t (θ; X, y, x j ) is the given main beam temperature x j The mean of the posterior distribution of the predicted value of the static displacement of the support when f*; F[p BE (θ), P(θ), η] is the Lagrangian function; η is the Lagrangian multiplier, η=[η i ,η j ],η i and η j are the Lagrange multipliers corresponding to i numerical constraints and j derivative constraints respectively; Θ is the domain of the hyperparameter θ; According to the Lagrangian function, under given numerical constraints and derivative constraints, the Bayesian-entropy posterior distribution p of the hyperparameter θ BE (θ; η) is determined according to formula (2.6): Where: p BE (θ; η) is the Bayesian-entropy posterior distribution of the hyperparameter θ under the given constraints.
8. The bridge bearing static displacement prediction method integrating expert experience as claimed in claim 1 is characterized by: In step 3, the maximum a posteriori estimation method is used, and the error function that measures the error between the prediction result of the undetermined Gaussian regression model and the expert experience value is constructed according to formula (3.1): Where: e is the error between the prediction result of the undetermined Gaussian regression model and the expert experience value; is the initial solution of any given hyperparameter; y i For a given main beam temperature x i The static displacement data of the support is obtained based on the experience of experts, i = 1, 2, 3...; For a given main beam temperature x j The change rate of the static displacement data of the support obtained according to the experience of experts, j = 1, 2, 3...; For a given main beam temperature x i , the solution of hyperparameters The mean of the posterior distribution of the predicted value of the static displacement of the support f*; For a given main beam temperature x j , the solution of hyperparameters The mean of the posterior distribution of the predicted value f* of the static displacement of the support.
9. The bridge bearing static displacement prediction method integrating expert experience as claimed in claim 1 is characterized by: In step 3, the inner loop of the double-loop optimization framework is: maximize the Bayesian-entropy posterior distribution under the given initial solution η* of the Lagrange multiplier to obtain the final solution of the hyperparameters The process is carried out according to formula (3.3): Where: is the final solution of the hyperparameters; is the initial solution for any given hyperparameter; η* is the initial solution of any given Lagrange multiplier; Initial solution for hyperparameters under given constraints The Bayesian-entropy posterior distribution of ; The function that solves θ for maximizing (·) in the double-loop optimization framework; The outer loop of the double loop optimization framework is: Minimize the error function based on the hyperparameter θ obtained in the inner loop to obtain the final Lagrange multiplier solution The process is carried out according to formula (3.4): Where: is the final solution of the Lagrange multiplier; e is the error between the prediction result of the undetermined Gaussian regression model and the expert experience value; The function that solves η for minimization (·) in a double-loop optimization framework.
10. The bridge bearing static displacement prediction method integrating expert experience as claimed in claim 1 is characterized by: In step 4, the final solution of the hyperparameters obtained in step 3 is The support static displacement Bayesian-entropy Gaussian process regression model is determined according to formula (4.1): Where: * is the temperature data of the main beam in a given test set *The predicted value vector of static displacement of the support; and are the mean and variance of the Bayesian-entropy Gaussian process regression model, respectively; Among them, the mean and variance Determine according to formula (4.2) and (4.3): Where: The final solution for the hyperparameters obtained by the double-loop optimization framework; For the main beam temperature of a given test set * is the mean vector; k(X,X) is the covariance matrix of the main beam temperature data in the training set, k(X,X) -1 is the inverse matrix of k(X,X); The main beam temperature data of the training set and the main beam temperature data of the given test set *The covariance matrix between for The transposed matrix of For a given test set of main beam temperature data *The covariance matrix.
