Bayesian neural network device operation trend prediction method and system

By using a Bayesian neural network based on channel attention mechanism, combined with power transformer and sensor data for feature extraction and prediction, the problem of insufficient accuracy in predicting equipment operation trends is solved, and more efficient equipment management and maintenance are achieved.

CN117591841BActive Publication Date: 2026-11-20BEIJING UNIV OF CIVIL ENG & ARCHITECTURE
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311525292.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-15
Publication Date
2026-11-20
Estimated Expiration
2043-11-15

AI Technical Summary

Technical Problem

Existing technologies lack the accuracy and reliability of predicting the operating trends of electromechanical equipment, especially in ensuring the safety of temporary facilities such as large-scale sporting events, where it is difficult to effectively predict the future operating status of equipment.

Method used

A Bayesian neural network based on channel attention mechanism is adopted. Sensor data of power transformers and temporary facilities are acquired, preprocessed, and then input into the Bayesian neural network for feature extraction. One-dimensional convolution and Bayesian linear layers are combined for prediction, and the channel attention mechanism is used to enhance feature learning and uncertainty estimation.

Benefits of technology

It improves the accuracy and reliability of equipment operation trend prediction, helping equipment maintenance teams to more accurately predict potential problems and reduce unnecessary downtime and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117591841B_ABST
    Figure CN117591841B_ABST
Patent Text Reader

Abstract

The application provides a kind of bayesian neural network equipment running trend prediction method and system based on channel attention mechanism, the method comprises: obtaining power transformer data and temporary facility sensor data;The data is input into the dimension change operation of pre-processing layer, to map the relationship of adjacent data to high-dimensional space;The data after pre-processing is input into the bayesian neural network added with channel attention mechanism to extract features;The extracted features are input into the last prediction layer, and each channel is convolved by one-dimensional convolution layer, and the features are transmitted to the bayesian linear layer to obtain the final prediction output.The embodiment of the application combines the powerful characteristics of neural network, such as feature learning and complex relationship modeling, and the uncertainty estimation of bayesian thinking, improves the accuracy and reliability of equipment running trend prediction, and has wide application prospect in the field of equipment management and maintenance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of quantitative prediction technology, and more specifically, to a method and system for predicting the operating trend of a Bayesian neural network based on a channel attention mechanism. Background Technology

[0002] For predicting the operational trends of electromechanical equipment, and ensuring the safety of temporary facilities serving large-scale sporting events, it is often necessary to use historical equipment operating data to predict future operating trends. This is crucial for equipment maintenance, reducing downtime, and improving efficiency.

[0003] Existing technologies lack sufficient accuracy and reliability in predicting equipment operation. Summary of the Invention

[0004] To address the aforementioned problems, this invention provides a method for predicting device operation trends using a Bayesian neural network based on a channel attention mechanism. The method includes: acquiring power transformer data and temporary facility sensor data; inputting the data into a preprocessing layer to perform dimensionality transformation operations, mapping the relationship between adjacent data to a high-dimensional space; inputting the preprocessed data into a Bayesian neural network with an added channel attention mechanism for feature extraction; inputting the extracted features into a final prediction layer, performing convolution operations on each channel through a one-dimensional convolutional layer, and passing the features to a Bayesian linear layer to obtain the final prediction output.

[0005] Optionally, the power transformer data includes the corresponding health index of the power transformer under various conditions; the temporary facility sensor data includes: two-dimensional data of the X and Y axes of the tilt sensor and three-dimensional data of the X, Y and Z axes of the vibration sensor.

[0006] Optionally, the step of performing a dimensionality change operation on the data input preprocessing layer to map the relationship between adjacent data to a high-dimensional space includes: assuming the input tensor is x, and the shape of x is (B, C, L), where B represents the batch size; C represents the number of channels; and L represents the length of the input sequence; using the unsqueeze function to change the dimension of the data input, inserting a new dimension into the dimension of the input tensor x, making its dimension (B, 1, L);

[0007] y i,j,k =x i,k

[0008] After applying the above formula, the shape of x becomes (B, 1, L). Then, a one-dimensional convolution operation is performed on the input tensor x to produce the output y, as shown in the following formula:

[0009]

[0010] Where y i represents the i-th element of the output feature map; c represents the channel index; i represents the position index in the output feature map; j represents the element index in the convolution kernel, from 0 to K-1, where K is the size of the convolution kernel; x c,i+j ω represents an element in the input data, where c represents the channel index and i+j represents the position in the input sequence; j represents the weights in the convolution kernel, where j represents the index of the weight; b represents the bias term.

[0011] Optionally, the Bayesian neural network with added channel attention mechanism comprises three parts: a preprocessing layer, a channel attention layer, and a postprocessing layer; optionally, the step of inputting the preprocessed data into the Bayesian neural network with added channel attention mechanism for feature extraction includes: first, defining the neural network model as follows:

[0012] y = f(x; W)

[0013] Where x is the input, y is the output, and W is the network weight; next, the preprocessed data is input to the preprocessing layer; the preprocessing layer includes a linear layer with Bayesian weights, a batch normalization layer, and a ReLU activation function; then, after the data is processed by the preprocessing layer, the processed data is input to the channel attention layer, which includes a one-dimensional convolution, a ReLU activation function, and a Sigmoid activation function; attention weights are generated through convolution operations, and these attention weights are used to weight information at different positions in the input data; finally, the data is input to the postprocessing layer to further process the feature representation from the preprocessing layer to generate the final feature output; the postprocessing layer includes a Bayesian linear layer, a normalization layer, and a ReLU activation function.

[0014] Optionally, inputting the preprocessed data into the preprocessing layer includes: first, mapping the input features to the output features; and second, introducing a prior distribution for each weight before training, as shown in the following formula:

[0015] P(W)~N(θ|μ,σ 2 )

[0016] Where θ is the random variable of the weights; μ is the prior mean of the weights; σ is the prior variance; by observing the training data, the distribution of the weights is updated to obtain the posterior distribution, which is expressed as:

[0017]

[0018] Where D is the observed data, P(θ|D) is the posterior distribution of the weights, P(D|θ) is the likelihood of the data with a given weight, and P(θ) is the marginal probability of the data. The tensor with uncertainty output after passing through the Bayesian linear layer is normalized, and the features are scaled to a distribution with a mean of 0 and a standard deviation of 1. The ReLU activation function is used to set negative values ​​in the normalized data to zero, while keeping positive values ​​unchanged.

[0019] Optionally, after the data is processed by the preprocessing layer, the processed data is input into the channel attention layer, which includes: first, reducing the number of channels of the input data through a one-dimensional convolutional layer, and then increasing the number of channels back to the original number of input channels through a one-dimensional convolution; wherein, the ReLU activation function is used to introduce non-linearity, the Sigmoid activation function is used to limit the output to the range [0, 1], and represents the attention weight, as expressed in the following formula:

[0020] x1 = Conv1D(x, W1, b1)

[0021] x2 = ReLU(x1) = max(0, x1)

[0022] x3 = Conv1D(x2, W2, b2)

[0023]

[0024] Optionally, the step of inputting data into a post-processing layer to further process the feature representation from the pre-processing layer to generate the final feature output includes: a Bayesian linear layer mapping the output features of the pre-processing layer to the same number of output features; a normalization layer normalizing the output of the post-processing layer to ensure that each feature dimension of the output has similar statistical properties; and applying a modified linear unit to the output data through a ReLU activation function to set all negative values ​​to zero and retain positive values.

[0025] Optionally, the prediction layer includes a one-dimensional convolutional layer and a Bayesian linear layer; wherein the one-dimensional convolutional layer is used to perform convolution operations on multiple channels of the input; and the Bayesian linear layer includes prior parameters for generating the final prediction output.

[0026] This invention provides a Bayesian neural network-based device operation trend prediction system based on channel attention mechanism. The system includes: a data acquisition module for acquiring power transformer data and temporary facility sensor data; a prediction module for inputting the data into a preprocessing layer to perform dimensionality transformation operations to map the relationship between adjacent data to a high-dimensional space; inputting the preprocessed data into a Bayesian neural network with added channel attention mechanism for feature extraction; inputting the extracted features into the final prediction layer, performing convolution operations on each channel through a one-dimensional convolutional layer, and passing the features to a Bayesian linear layer to obtain the final prediction output.

[0027] The device operation trend prediction method and system based on the channel attention mechanism provided in this invention combines the powerful characteristics of neural networks, such as feature learning and complex relationship modeling, with the uncertainty estimation of Bayesian thinking, thereby improving the accuracy and reliability of device operation trend prediction and having broad application prospects in equipment management and maintenance. Attached Figure Description

[0028] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0029] Figure 1 This is a flowchart illustrating a method for predicting the operating trend of a Bayesian neural network device based on a channel attention mechanism, as described in an embodiment of the present invention.

[0030] Figure 2 This is a flowchart illustrating the method for predicting the operating trend of a Bayesian neural network device based on the channel attention mechanism in an embodiment of the present invention.

[0031] Figure 3 This is a diagram of the Bayesian neural network structure in an embodiment of the present invention;

[0032] Figure 4 This is a schematic diagram of the structure of a Bayesian neural network device operation trend prediction system based on channel attention mechanism in an embodiment of the present invention. Detailed Implementation

[0033] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0034] This invention provides a method for effectively predicting the operational trends of equipment and facilities. To effectively predict the operational trends of temporary facilities, a model incorporating a channel attention mechanism within a Bayesian neural network is constructed. For example, the effectiveness of this model is demonstrated using centralized power transformer data from the Kaggle public dataset and real-time data provided by the Winter Olympics.

[0035] This invention improves the accuracy of predicting equipment operating trends by introducing a channel attention mechanism and a Bayesian neural network. This helps equipment maintenance teams more accurately predict potential equipment problems, reducing unnecessary downtime and maintenance costs.

[0036] See Figure 1 The flowchart shown in this embodiment of the invention illustrates a method for predicting the operating trend of a Bayesian neural network device based on a channel attention mechanism. The method includes the following steps:

[0037] S1 acquires data from power transformers and temporary facility sensors.

[0038] For example, the power transformer data comes from the original dataset of the Kaggle public dataset "Fault Analysis in Power Transformer Datasets". This dataset contains various conditions of power transformers (e.g., hydrogen, oxygen, etc.) and corresponding health indices. This will be helpful for the health status (index) analysis or regression model prediction of power transformers for experimental and learning purposes. Taking the sensor data of temporary facilities for the Winter Olympics as an example, it includes two-dimensional data on the X and Y axes of tilt sensors and three-dimensional data on the X, Y, and Z axes of vibration sensors.

[0039] S2, the above data is input into the preprocessing layer to perform dimensionality transformation operations, so as to map the relationship between adjacent data to a high-dimensional space.

[0040] First, let the input tensor be x, with shape (B, C, L), where B represents the batch size; C represents the number of channels, typically representing different features or filters in convolutional neural networks; and L represents the length of the input sequence. To ensure proper data preprocessing using a convolutional neural network, the unsqueeze function is needed to change the dimensions of the input data. Therefore, before the preprocessing layer, a new dimension is inserted into the input x, making its dimensions (B, 1, L).

[0041] y i,j,k =X i,k (1.1)

[0042] After applying the above formula, the shape of x becomes (B, 1, L). Then, a one-dimensional convolution operation is performed on x to produce the output y, as shown in the following formula:

[0043]

[0044] Where y i represents the i-th element of the output feature map; c represents the channel index, indicating the channel being processed; i represents the position index in the output feature map; j represents the element index in the convolution kernel, from 0 to K-1, where K is the size of the convolution kernel; x c,i+j ω represents an element in the input data, where c represents the channel index and i+j represents the position in the input sequence; j represents the weights in the convolution kernel, where j represents the index of the weight; b represents the bias term used to adjust the output.

[0045] For example, after the above preprocessing, the raw data of the 14 channels is transformed from a two-dimensional shape of (B, 14) into a three-dimensional feature representation of (B, 14, 14), and the data is mapped to a high-dimensional feature representation.

[0046] S3. The preprocessed data is input into a Bayesian neural network with added channel attention mechanism for feature extraction.

[0047] In this embodiment of the invention, a three-layer Bayesian neural network is designed, consisting of three parts: a preprocessing layer, an attention layer, and a postprocessing layer.

[0048] First, this embodiment of the invention defines a neural network model:

[0049] y = f(x; W) (1.3)

[0050] Where x is the input; y is the output; and W is the network weight.

[0051] The data is then fed into a preprocessing layer consisting of a linear layer with Bayesian weights, a batch normalization layer, and a ReLU activation function. This layer first maps the input features to the output features. Bayesian weights mean that the weights in this layer are uncertain; a prior distribution is introduced for each weight before training. A normal distribution is typically used as the prior distribution, as shown in the following formula:

[0052] P(W)~N(θ|μ,σ 2 (1.4)

[0053] Where θ is the random variable of the weights; μ is the prior mean of the weights; and σ is the prior variance.

[0054] By observing the training data and updating the distribution of the weights, we obtain the posterior distribution. According to Bayes' theorem, the posterior distribution can be expressed as:

[0055]

[0056] Where D is the observed data, P(θ|D) is the posterior distribution of the weights, P(D|θ) is the likelihood of the data with a given weight, and P(θ) is the marginal probability of the data.

[0057] The uncertain tensor output after passing through the Bayesian linear layer is normalized, and the features are scaled to a distribution with a mean of 0 and a standard deviation of 1. Then, the ReLU activation function sets negative values ​​in the normalized data to zero while keeping positive values ​​unchanged. This helps to introduce non-linearity, enabling the network to learn complex functions.

[0058] After a series of data processing steps in the preprocessing layer, the data is input into the channel attention module proposed in this invention. This attention module consists of one-dimensional convolution, ReLU activation function, and Sigmoid activation function. Attention weights are generated through convolution operations. These weights can be used to weight information at different locations in the input data, allowing the model to better focus on certain parts of the input during the preprocessing and postprocessing stages. In summary, the number of channels in the input data is first reduced through a one-dimensional convolutional layer, and then the number of channels is increased back to the original input channel number through another one-dimensional convolution. In this process, the ReLU activation function is used to introduce non-linearity, while the Sigmoid activation function is used to limit the output to the range [0, 1], representing the attention weights. The formula is as follows:

[0059] x1=Conv1D(x, W1, b1) (1.6)

[0060] x2=ReL U(x1)=max(0,x1) (1.7)

[0061] x3=Conv1D(x2,W2,b2) (1.8)

[0062]

[0063] Finally, the data is fed into a post-processing layer to further process the feature representations from the pre-processing layer, generating the final model output. The post-processing layer introduces more non-linearity, increasing the model's representational power. The post-processing layer consists of a Bayesian linear layer, a normalization layer, and a ReLU activation function. The Bayesian linear layer maps the output features of the pre-processing layer to the same number of output features, further processing the pre-processing features to better match the model's target task. The normalization layer then normalizes the output of the post-processing layer, ensuring that each feature dimension of the output has similar statistical properties. Finally, a modified linear unit is applied to the output data using the ReLU activation function, setting all negative values ​​to zero and retaining positive values.

[0064] S4 inputs the extracted features into the final prediction layer, performs convolution operations on each channel through a one-dimensional convolutional layer, and passes the features to a Bayesian linear layer to obtain the final prediction output.

[0065] The feature tensor, which has undergone the above multi-layer processing, is then input into the final prediction layer.

[0066] The prediction layer consists of a one-dimensional convolutional layer and a Bayesian linear layer. The one-dimensional convolutional layer performs a convolution operation on the 14 channels of the input to obtain a feature map for one channel. Assume the output of this layer is y1, where Conv represents the convolution operation, W1 represents the weights of the convolution kernel, and b1 represents the bias. The formula is as follows:

[0067] y1 = Conv(x, W1) + b1 (1.11)

[0068] The one-dimensional feature map is passed through a Bayesian linear layer, which includes prior parameters to generate the final predicted output. Assume the output of this layer is represented as y2, where W2 represents the weights of the linear layer and b2 represents the biases of the linear layer. The formula is as follows:

[0069] y2=W2*y1+b2 (1.12)

[0070] The final output is a scalar value representing the model's prediction of the input data, taking into account the uncertainty inherent in Bayesian inference. This output can be used for regression tasks or other applications that require predicting data.

[0071] Furthermore, the above method may also include the following training steps.

[0072] S5 divides the processed data into training, validation and test sets in a ratio of 3:1:1.

[0073] S6 trains the model using the training set of samples. The best model parameters are obtained through each iteration and saved.

[0074] S7 will save the model and use it for the final test of the model.

[0075] The device operation trend prediction method based on the channel attention mechanism provided in this invention combines the powerful characteristics of neural networks, such as feature learning and complex relationship modeling, with the uncertainty estimation of Bayesian thinking, thereby improving the accuracy and reliability of device operation trend prediction and having broad application prospects in equipment management and maintenance.

[0076] See Figure 2The flowchart shown is a method for predicting device operation trends based on a channel attention mechanism using a Bayesian neural network. It illustrates the preprocessing layer (Prelayer), the Bayesian Neural Network (BNN), and the prediction layer (Pred).

[0077] The BNN consists of three layers of Bayesian neural networks, which are divided into three parts: the preprocessing layer BNN Layer1, the attention layer BNN Layer2, and the postprocessing layer BNN Layer3.

[0078] like Figure 2 As shown, the BNN layer includes a linear layer with Bayesian weights (BayesLinear), a batch normalized layer (LayerNorm) and a ReLU activation function, an attention layer (AttnLinear), a Bayesian linear layer (BayesLinear), a normalized layer (LayerNorm) and a ReLU activation function; the prediction layer Pred includes a one-dimensional convolutional layer (Convld) and a Bayesian linear layer (BayesLinear).

[0079] See Figure 3 The diagram shown illustrates the Bayesian neural network structure, specifically the input layer X1-X on the left. σ The hidden layer in the middle and the output layer y1-y on the right. σ .

[0080] Figure 4 This diagram illustrates the structure of a Bayesian neural network-based device operation trend prediction system according to an embodiment of the present invention. The system includes:

[0081] Data acquisition module 401 is used to acquire power transformer data and temporary facility sensor data;

[0082] The prediction module 402 is used to input the data into the preprocessing layer to perform dimensionality transformation operations so as to map the relationship between adjacent data to a high-dimensional space; input the preprocessed data into a Bayesian neural network with a channel attention mechanism for feature extraction; input the extracted features into the final prediction layer, perform convolution operations on each channel through a one-dimensional convolutional layer, and pass the features to the Bayesian linear layer to obtain the final prediction output.

[0083] The device operation trend prediction method based on the channel attention mechanism provided in this invention combines the powerful characteristics of neural networks, such as feature learning and complex relationship modeling, with the uncertainty estimation of Bayesian thinking, thereby improving the accuracy and reliability of device operation trend prediction and having broad application prospects in equipment management and maintenance.

[0084] Furthermore, the aforementioned system also includes:

[0085] The parameter determination module saves the optimal parameter model using training data from a Bayesian neural network with added channel attention mechanism. This module includes setting parameters for the hidden layers and probability distribution of the Bayesian neural network, initial weights, and thresholds; setting parameters for the channel attention module; and determining the number of iterations for the model using the algorithm parameter submodule.

[0086] The data prediction module is used on processed new samples, which have not been pre-trained and validated. It employs a Bayesian neural network-based device operation trend prediction method based on channel attention mechanism to predict the future trends of electromechanical equipment and temporary facilities.

[0087] The performance evaluation module uses Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and Mean Absolute Percentage Error (MAPE) to evaluate the model prediction results.

[0088] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by computer-controlled devices. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. The storage medium can be a memory, a disk, an optical disk, etc.

[0089] In this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, without necessarily requiring or implying any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0090] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0091] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for predicting device operation trends based on a Bayesian neural network with a channel attention mechanism, characterized in that, The method includes: Acquire data from power transformers and temporary facility sensors; The data is input into a preprocessing layer to perform dimensionality transformation operations, so as to map the relationship between adjacent data to a high-dimensional space; The preprocessed data is then input into a Bayesian neural network with added channel attention mechanism for feature extraction. The extracted features are input into the final prediction layer, and each channel is convolved by a one-dimensional convolutional layer. The features are then passed to a Bayesian linear layer to obtain the final prediction output. The Bayesian neural network with added channel attention mechanism consists of three parts: a preprocessing layer, a channel attention layer, and a postprocessing layer. The step of inputting the preprocessed data into a Bayesian neural network with added channel attention mechanism for feature extraction includes: First, the neural network model is defined as follows: Where x is the input; y is the output; and W is the network weight; Next, the preprocessed data is input into the preprocessing layer; the preprocessing layer includes a linear layer with Bayesian weights, a batch normalization layer, and a ReLU activation function; Then, after the data is processed by the preprocessing layer, the processed data is input into the channel attention layer, which includes one-dimensional convolution, ReLU activation function and Sigmoid activation function; attention weights are generated through convolution operation, and the attention weights are used to weight information at different positions in the input data; Finally, the data is input into a post-processing layer to further process the feature representations from the pre-processing layer to generate the final feature output; the post-processing layer includes a Bayesian linear layer, a normalization layer, and a ReLU activation function.

2. The method according to claim 1, characterized in that, The power transformer data includes the corresponding health index of the power transformer under various conditions. The temporary facility sensor data includes: two-dimensional data of the X and Y axes of the tilt sensor and three-dimensional data of the X, Y and Z axes of the vibration sensor.

3. The method according to claim 1, characterized in that, The step of inputting the data into the preprocessing layer and performing dimensionality transformation operations to map the relationship between adjacent data to a high-dimensional space includes: Let the input tensor be x, and the shape of x be (B, C, L), where B represents the batch size; C represents the number of channels; and L represents the length of the input sequence. The unsqueeze function is used to change the dimension of the data input, inserting a new dimension into the dimension of the input tensor x, making its dimension (B,1,L). After calculation, the shape of x becomes (B, 1, L). Then, a one-dimensional convolution operation is performed on the input tensor x to produce the output y, as shown in the following formula: in represents the i-th element of the output feature map; c represents the channel index; i represents the position index in the output feature map; j represents the element index in the convolution kernel, from 0 to K-1, where K is the size of the convolution kernel; This represents an element in the input data, where c represents the channel index and i+j represents the position in the input sequence; represents the weights in the convolution kernel, where j represents the index of the weight; b represents the bias term.

4. The method according to claim 1, characterized in that, The step of inputting the preprocessed data into the preprocessing layer includes: First, the input features are mapped to the output features; prior distributions are introduced for each weight before training, as shown in the following formula: in, θ It is a random variable for weights; μ It is the prior mean of the weights; σ It is the prior variance; By observing the training data and updating the distribution of the weights, we obtain the posterior distribution, which is represented as: Where D is the observed data, It is the posterior distribution of the weights. It is the likelihood of the data with given weights. It is the marginal probability of the data; The uncertain tensor output after passing through the Bayesian linear layer is normalized, and the features are scaled to a distribution with a mean of 0 and a standard deviation of 1. The ReLU activation function sets negative values ​​to zero in the normalized data while keeping positive values ​​unchanged.

5. The method according to claim 1, characterized in that, The process of inputting the processed data into the channel attention layer after the data has been processed by the preprocessing layer includes: First, a one-dimensional convolutional layer is used to reduce the number of channels in the input data, and then another one-dimensional convolutional layer is used to increase the number of channels back to the original number of input channels. The ReLU activation function is used to introduce non-linearity, the Sigmoid activation function is used to limit the output to the range [0, 1], and the attention weights are represented by the following formula: in, x 1 represents the data obtained after a one-dimensional convolutional layer reduces the number of channels in the input data. x 2 is based on data x 1 is the data calculated using the input data of the ReLU activation function; x 3 is a one-dimensional convolution that converts data x The data obtained after the number of channels in input 2 is increased back to the original number of input channels; x 4 is based on data x 3 is the data calculated using the input data of the Sigmoid activation function, exp( ) is an exponential function.

6. The method according to claim 1, characterized in that, The step of inputting data into the post-processing layer for further processing of the feature representation from the pre-processing layer to generate the final feature output includes: The Bayesian linear layer maps the output features of the preprocessing layer to the same number of output features; The normalization layer normalizes the output of the post-processing layer, ensuring that each feature dimension of the output has similar statistical properties; The ReLU activation function is used to apply a modified linear unit to the output data, setting all negative values ​​to zero and retaining positive values.

7. The method according to claim 1, characterized in that, The prediction layer includes a one-dimensional convolutional layer and a Bayesian linear layer; wherein the one-dimensional convolutional layer is used to perform convolution operations on multiple channels of the input. The Bayesian linear layer includes prior parameters used to generate the final prediction output.

8. A device operation trend prediction system based on a Bayesian neural network with a channel attention mechanism, characterized in that, The system for implementing the method according to any one of claims 1-7 comprises: The data acquisition module is used to acquire data from power transformers and temporary facility sensors. The prediction module is used to input the data into the preprocessing layer to perform dimensionality transformation operations to map the relationship between adjacent data to a high-dimensional space; input the preprocessed data into a Bayesian neural network with a channel attention mechanism for feature extraction; input the extracted features into the final prediction layer, perform convolution operations on each channel through a one-dimensional convolutional layer, and pass the features to the Bayesian linear layer to obtain the final prediction output.

Citation Information

Patent Citations

  • FA-SDAE-BiGRU-based aero-engine residual life prediction method

    CN117034468A