Construction method, system and application of alarm information target model in centralized control system

Through the improved Mamba model and Word2vec model representation, an alarm information target model with small calculation amount and fast training speed is constructed, which solves the problem of manual judgment delaying fault processing in substation monitoring and achieves fast and accurate alarm information processing.

CN118861691AInactive Publication Date: 2024-10-29STATE GRID ANHUI ELECTRIC POWER CO LTD ELECTRIC POWER SCI RES INST +5
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411323609.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2024-10-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing Technology In substation monitoring, traditional monitoring methods rely on manual judgment of signal correlation, which may cause the monitor to miss important information and delay troubleshooting time. Furthermore, the Transformer model has deficiencies in computer memory requirements and test speed.

Method used

Using the improved Mamba model, a Compression Layer is added after the encoder for sentence encoding and compression, and a Recover Layer is added before the decoder for sentence encoding recovery. It is combined with the Word2vec model to represent the preprocessed monitoring alarm information distribution vector, and the construction workload is small. , Alarm information target model with fast training speed.

Benefits of technology

It effectively reduces the model's occupation of computer memory, improves the model's computing speed and accuracy, and ensures rapid processing and accurate classification of alarm information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118861691A_ABST
    Figure CN118861691A_ABST
Patent Text Reader

Abstract

The invention discloses a construction method, system and application of an alarm information target model in a centralized control system. Comprising the following steps: collecting alarm information, preprocessing the alarm information, and removing meaningless words in the alarm information; using a Word2vec model to represent a distribution vector of the preprocessed monitoring alarm information; using a Word2vec model to represent a distribution vector of the preprocessed monitoring alarm information; a Mama model is improved, and training is carried out; and integrating and classifying the alarm information by adopting an improved Mamba model, and extracting key alarm information. According to the improved Mama model, vector information can be compressed, the calculation amount is reduced, and the calculation speed is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of transformer substation alarm information processing, and in particular to a method, system and application for constructing an alarm information target model in a centralized control system. Background Art

[0002] As power grid construction continues to advance, the number of substations is increasing rapidly. Traditional monitoring methods have brought a large amount of alarm information, which has put tremendous pressure on monitoring personnel. The alarms of these independent systems may cause the monitor to miss important information and delay fault handling time. Existing monitoring methods rely on manual experience to judge signal correlation and possible equipment failures, and lack technical means to intuitively understand the impact of equipment failures on the power grid.

[0003] The current language model is the Transformer model, which is a deep learning model for natural language processing and other sequence learning tasks. It was proposed by Google in 2017. The main innovation of the Transformer model is the self-attention mechanism, which allows the model to consider all positions in the input sequence at the same time and maintain good performance when processing long sequences. However, the Transformer model requires a lot of computer memory, and its time and space complexity is O(N 2 ), N is the length of the input time series, and the time and space complexity of the Mamba model is one-time, and its memory requirements for computers are greatly reduced. The Transformer model has a fast training speed, but its test speed is very slow, while the Mamba model has a fast training speed and also maintains a fast test speed. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a method for constructing an alarm information target model with small calculation amount and fast training speed based on the Mamba model.

[0005] The present invention solves the above technical problems through the following technical means: The method for constructing the alarm information target model in the centralized control system includes the following steps: Data processing steps: Use the Word2vec model to represent the distribution vector of the pre-processed monitoring alarm information; Improved Mamba model building: Sentence encoding compression: A Compression Layer is added after the encoder in the Mamba model, and the sentence vector of the alarm information is compressed using the Compression Layer, thereby reducing the length of the alarm information; Sentence encoding recovery: Add a Recover Layer before the decoder in the Mamba model to restore the sentence to its original length; Model training step: manually marking the level of the alarm information on the distribution vector of the pre-processed detection alarm information, making a training set to train the improved Mamba model, and obtaining a target model.

[0006] Furthermore, the specific processing process of using the Word2vec model to represent the distribution vector of the preprocessed monitoring alarm information is as follows: The method of summing and averaging all the input word vectors of the context is used to map from the input layer to the projection layer. Suppose the training sample consists of context (con( ), ) And other c words, the word vector is calculated by the following formula: (1) In the formula, is the center word vector, is the word vector of the context; Convert each monitoring alarm information into a sentence vector: average the vectors of all words in the monitoring alarm information to obtain a distributed vector representation of the monitoring alarm information with the same word vector dimension; the calculation formula is: (2) In the formula Indicates a monitoring alarm message; express The number of words in To monitor the text in the alarm information; express A vector of Distributed vector representation of monitoring alarm messages.

[0007] Furthermore, the improved Mamba model construction process is as follows: Sentence encoding compression: Suppose compression window=n, which means that n adjacent words are compressed together, and stride=m, which means that compression is performed every m words. After compression, the sentence vector of the alarm information will be reduced to the original value. ; During the compression process, each compression window corresponds to a trainable seed parameter , corresponding to the compression window , the weight of each word is calculated by formula (3), and The dot product size of each vector in represents the importance of the current vector, and the dot product is normalized by Softmax to obtain the weight , and then through formula (4) The weighted sum of the vectors in gets the compressed slot , and finally all the slots are stacked together to form a compressed sentence vector; (3) (4) Sentence encoding recovery: According to the window size and weight value during compression, the corresponding slot is assigned to the weight value , ensuring that the sentence information remains unchanged.

[0008] Furthermore, the model training steps specifically include: First, configure the environment of the improved Mamba model: Construct a discrete structured state space model. The state space model of the continuous signal can be expressed by the following formula: (5) In the formula, is the state vector, describing the state of the discrete structured state space model at time t, is the state vector The derivative, which is the rate of change of the state vector, is the output vector, describing the output of the discrete structured state space model at time t, is the state transfer matrix, which describes the change of the state vector of the discrete structured state space model in unit time. is the input matrix, describing the influence of external input on the state of the discrete structured state space model, is the output matrix, describing how the state vector of the discrete structured state space model is mapped to the output vector; The continuous state space expression is discretized using a zero-order holder, (6) Then the discrete form of the state space can be obtained: (7) in, , is the transition matrix, is the step length, is the state vector of the discrete structured state space model at the kth step, is the input vector of the discrete structured state space model at the kth step, is the output vector of the discrete structured state space model at the kth step; The HiPPO matrix is ​​used to initialize the A matrix, and the initialization method is as follows.

[0009] (8) In the formula, is the element in the nth row and kth column of the matrix.

[0010] By iterative formula The expression is: (9) in, As a convolution operator, the model can calculate the convolution kernel in advance in the form of convolution and perform convolution operation with the input to achieve parallel computing, improve the model computing speed, and explore the features in the alarm information through convolution; The S6 algorithm is used to calculate the model parameters. At this point, the improved Mamba model environment is configured. Model training: The historical alarm information set is input into the improved Mamba model with a configured environment for iterative training; after the alarm information is input, the model arranges and classifies the alarm information according to its importance level and outputs the result.

[0011] The present invention also provides a system for constructing an alarm information target model in a centralized control system, which is characterized by comprising: Data processing module: Word2vec model is used to represent the distribution vector of pre-processed monitoring alarm information; Improved Mamba model building module: Sentence encoding compression: A Compression Layer is added after the encoder in the Mamba model, and the sentence vector of the alarm information is compressed using the Compression Layer, thereby reducing the length of the alarm information; Sentence encoding recovery: Add a Recover Layer before the decoder in the Mamba model to restore the sentence to its original length; Model training module: manually marking the level of the alarm information on the distribution vector of the pre-processed detection alarm information, making a training set to train the improved Mamba model, and obtaining a target model.

[0012] Furthermore, the specific processing process of using the Word2vec model to represent the distribution vector of the preprocessed monitoring alarm information is as follows: The method of summing and averaging all the input word vectors of the context is used to map from the input layer to the projection layer. Suppose the training sample consists of context (con( ), ) And other c words, the word vector is calculated by the following formula: (1) In the formula, is the center word vector, is the word vector of the context; Convert each monitoring alarm information into a sentence vector: average the vectors of all words in the monitoring alarm information to obtain a distributed vector representation of the monitoring alarm information with the same word vector dimension; the calculation formula is: (2) In the formula Indicates a monitoring alarm message; express The number of words in To monitor the text in the alarm information; express A vector of Distributed vector representation of monitoring alarm messages.

[0013] Furthermore, the improved Mamba model construction process is as follows: Sentence encoding compression: Suppose compression window=n, which means that n adjacent words are compressed together, and stride=m, which means that compression is performed every m words. After compression, the sentence vector of the alarm information will be reduced to the original value. ; During the compression process, each compression window corresponds to a trainable seed parameter , corresponding to the compression window , the weight of each word is calculated by formula (3), and The dot product size of each vector in represents the importance of the current vector, and the dot product is normalized by Softmax to obtain the weight , and then through formula (4) The weighted sum of the vectors in gets the compressed slot , and finally all the slots are stacked together to form a compressed sentence vector; (3) (4) Sentence encoding recovery: According to the window size and weight value during compression, the corresponding slot is assigned to the weight value , ensuring that the sentence information remains unchanged.

[0014] Furthermore, the model training steps specifically include: First, configure the environment of the improved Mamba model: Construct a discrete structured state space model. The state space model of the continuous signal can be expressed by the following formula: (5) In the formula, is the state vector, describing the state of the discrete structured state space model at time t, is the state vector The derivative, which is the rate of change of the state vector, is the output vector, describing the output of the discrete structured state space model at time t, is the state transfer matrix, which describes the change of the state vector of the discrete structured state space model in unit time. is the input matrix, describing the influence of external input on the state of the discrete structured state space model, is the output matrix, describing how the state vector of the discrete structured state space model is mapped to the output vector; The continuous state space expression is discretized using a zero-order holder, (6) Then the discrete form of the state space can be obtained: (7) in, , is the transition matrix, is the step length, is the state vector of the discrete structured state space model at the kth step, is the input vector of the discrete structured state space model at the kth step, is the output vector of the discrete structured state space model at the kth step; The HiPPO matrix is ​​used to initialize the A matrix, and the initialization method is as follows.

[0015] (8) In the formula, is the element in the nth row and kth column of the matrix.

[0016] By iterative formula The expression is: (9) in, As a convolution operator, the model can calculate the convolution kernel in advance in the form of convolution and perform convolution operation with the input to achieve parallel computing, improve the model computing speed, and explore the features in the alarm information through convolution; The S6 algorithm is used to calculate the model parameters. At this point, the improved Mamba model environment is configured. Model training: The historical alarm information set is input into the improved Mamba model with a configured environment for iterative training; after the alarm information is input, the model arranges and classifies the alarm information according to its importance level and outputs the result.

[0017] The present invention also provides the application of the alarm information target model.

[0018] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the above method.

[0019] The effects of the present invention are: The improved Mamba model of the present invention can help eliminate useless information in the data through data preprocessing, and convert the data from text into vector form; the compression of sentence encoding can greatly reduce the model's occupation of computer memory, reduce the model's calculation amount, and improve the model's operation speed; and by configuring the model's training environment, the speed of model training is increased, so that the model is trained in a better direction, and the accuracy of the model is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 This is the improved Mamba model environment configuration and training process of Embodiment 2 and Embodiment 3 of the present invention.

[0021] Figure 2 This is a diagram of the encoding compression process in Embodiment 1 of the present invention; Figure 3 This is a diagram of the encoding recovery process in Example 1 of the present invention. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described in combination with the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0023] Example 1 Since the Mamba model may be very large, it requires a lot of computing resources for training and reasoning. Therefore, this embodiment provides an improved Mamba model for the problem of alarm information processing, adding a compression layer and a recovery layer to the traditional Mamba model. Specifically: Sentence encoding compression. Figure 2As shown in the figure, the sentence vector of the processed alarm information is compressed, and a Compression Layer is added after the encoder in the model to compress the vectors of adjacent words together, thereby reducing the length of the alarm information. Figure 1 As shown in the figure, the compression window window=3 means that three adjacent words are compressed together, and the jump step is stride=2, which means that every other word is compressed once. After the compression is completed, the sentence vector of the alarm information will be reduced to the original During the compression process, each compression window corresponds to a trainable seed parameter , corresponding to the compression window , the weight of each word is calculated by formula (3), and The dot product size of each vector in represents the importance of the current vector, and the dot product is normalized by Softmax to obtain the weight , and then through formula (4) The weighted sum of the vectors in gets the compressed slot , and finally all the slots are stacked together to form a compressed sentence vector.

[0024] (3) (4) Sentence encoding recovery. Figure 3 As shown in , a Recover Layer is added before the decoder in the model to restore the sentence to its original length. The recovery process is as follows Figure 3 As shown in the figure, the sentence encoding output by the model operation is consistent with Figure 2 The output result structure is the same as that of , so according to the window size and weight value during compression, the distribution is given Figure 1 Slot corresponding to the weight value cell , ensuring that the sentence information remains unchanged.

[0025] Example 2 For the improved Mamba model described in Example 1, its environment needs to be configured before training, as follows: Step 1: Alarm information data is a discrete data type, so a discrete structured state space model is constructed to facilitate training to determine the association between data and the transition probability, as follows: Construct discrete structured state space models (SSMs). The state space model of continuous signals can be expressed by the following formula: (5) In the formula, is the state vector, describing the state of the system at time t, is the state vector The derivative, which is the rate of change of the state vector, is the output vector, describing the output of the system at time t, is the state transfer matrix, which describes the change of the system state vector in unit time. is the input matrix, describing the impact of external input on the system state, is the output matrix, describing how the system state vector is mapped to the output vector.

[0026] The continuous state space expression is discretized using a zero-order holder, (6) Then the discrete form of the state space can be obtained: (7) in, , is the transition matrix, is the step length, is the state vector of the system at step k, is the input vector of the system at the kth step, is the output vector of the system at the kth step.

[0027] Step 2: Initialize the A matrix. In a discretized state space model, the A matrix is ​​usually used to represent the transition probability between states. Initializing the A matrix means determining the probability of transitioning from one state to another under the initial state, so that the model training can proceed in a better direction.

[0028] Initialize the A matrix. Since the randomly initialized matrix has a poor training effect on the model, the HiPPO matrix is ​​used to initialize the A matrix. The initialization method is as follows.

[0029] (8) In the formula, is the element in the nth row and kth column of the matrix.

[0030] Step 3: Convolution parallelization, in order to improve the training efficiency of the model through parallel computing. Through the iterative formula, we get The expression is: (9) in, As a convolution operator, the model can calculate the convolution kernel in advance in the form of convolution and perform convolution operations with the input to achieve parallel computing, improve the model calculation speed, and explore the features in the alarm information through convolution.

[0031] Step 4: Use the S6 algorithm to calculate the model parameters. The S6 algorithm uses a layer of mapping to link the parameter matrix with the input, which can achieve the effect that the parameters change dynamically with the input. In the S6 algorithm, The parameters will change as the model is calculated, thereby strengthening the model's perception and reasoning of alarm information. In addition, the convolution kernel fusion, parallel scanning and repeated calculation techniques are used to avoid the complete iterative calculation caused by the system becoming a time-varying system due to the change of parameters with the calculation, and the S6 algorithm is efficiently implemented. The S6 algorithm calculates the model parameters to achieve rapid updates of the model parameters, including weight matrices, bias terms, etc., so that the model can more accurately approach the target during the training process.

[0032] Example 3 This embodiment is based on the improved Mamba model in the environment configured in Embodiment 2, and constructs a training set and model training. Specifically: Step 1: pre-process the original monitoring alarm information; Step 1.1, word segmentation. Import the substation names and line names derived from the historical monitoring alarm information into the vocabulary and perform word segmentation as a power dictionary. pkuseg is a Chinese word segmentation toolkit based on a new deep learning model and vocabulary, with high word segmentation accuracy and speed. Therefore, the precise model of the pkuseg word segmentation tool is used to start word segmentation and generate a series of Chinese phrases consisting of time-series monitoring alarm information; Step 1.2: Filter meaningless words. Create a meaningless word list to remove meaningless words from alarm information, clean the data, and improve the training effect.

[0033] Step 2: Use the Word2vec model to represent the distribution vector of the preprocessed monitoring alarm information.

[0034] Step 2.1, use the method of summing and averaging all the input word vectors of the context to map from the input layer to the projection layer, assuming that the training sample is composed of context (con( ), ) And other c words, the word vector is calculated by the following formula: (1) In the formula, is the center word vector, is the word vector of the context.

[0035] Step 2.2, convert each monitoring alarm information into a sentence vector. When an alarm event occurs, the monitoring alarm information is represented in the form of a sentence, where a sentence may contain one or more features of the event. The vectors of all words in the monitoring alarm information are averaged to obtain a distributed vector representation of the monitoring alarm information with the same word vector dimension. The calculation formula is: (2) In the formula Indicates a monitoring alarm message; express The number of words in To monitor the text in the alarm information; express A vector of Distributed vector representation of monitoring alarm messages.

[0036] Step 3: manually mark the level of the alarm information on the distribution vector of the detected alarm information after the above processing, make a training set to train the improved Mamba model, and obtain a target model. After inputting the alarm information, the target model arranges and classifies the alarm information according to the importance level of the alarm information, and outputs the result.

[0037] Taking the Mamba model of uncompressed sentence encoding as a benchmark, we can give the memory usage and computing time after compressed sentence encoding, as well as the difference between using the Mamba model and the Transformer model.

[0038] Table 1 Comparison of Mamba model and Transformer model on uncompressed and compressed sentences

[0039] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for constructing an alarm information target model in a centralized control system, characterized in that: The steps include: Data processing steps: Use the Word2vec model to represent the distribution vector of the pre-processed monitoring alarm information; Improved Mamba model building: Sentence encoding compression: A Compression Layer is added after the encoder in the Mamba model, and the sentence vector of the alarm information is compressed using the Compression Layer, thereby reducing the length of the alarm information; Sentence encoding recovery: Add a Recover Layer before the decoder in the Mamba model to restore the sentence to its original length; Model training step: manually marking the level of the alarm information on the distribution vector of the pre-processed detection alarm information, making a training set to train the improved Mamba model, and obtaining a target model.

2. The method for constructing an alarm information target model in a centralized control system according to claim 1, characterized in that: The specific processing process of using the Word2vec model to represent the distribution vector of the preprocessed monitoring alarm information is as follows: The method of summing and averaging all the input word vectors of the context is used to map from the input layer to the projection layer. Suppose the training sample consists of context (con( ), ) And other c words, the word vector is calculated by the following formula: (1) In the formula, is the center word vector, is the word vector of the context; Convert each monitoring alarm information into a sentence vector: average the vectors of all words in the monitoring alarm information to obtain a distributed vector representation of the monitoring alarm information with the same word vector dimension; the calculation formula is: (2) In the formula Indicates a monitoring alarm message; express The number of words in To monitor the text in the alarm information; express A vector of Distributed vector representation of monitoring alarm messages.

3. The method for constructing an alarm information target model in a centralized control system according to claim 1, characterized in that: The improved Mamba model construction process is as follows: Sentence encoding compression: Suppose compression window=n, which means that n adjacent words are compressed together, and stride=m, which means that compression is performed every m words. After compression, the sentence vector of the alarm information will be reduced to the original value. ; During the compression process, each compression window corresponds to a trainable seed parameter , corresponding to the compression window , the weight of each word is calculated by formula (3), and The dot product size of each vector in represents the importance of the current vector, and the dot product is normalized by Softmax to obtain the weight , and then through formula (4) The weighted sum of the vectors in gets the compressed slot , and finally all the slots are stacked together to form a compressed sentence vector; (3) (4) Sentence encoding recovery: According to the window size and weight value during compression, the corresponding slot is assigned to the weight value , ensuring that the sentence information remains unchanged.

4. The method for constructing an alarm information target model in a centralized control system according to claim 1, characterized in that: The model training steps specifically include: First, configure the environment of the improved Mamba model: Construct a discrete structured state space model. The state space model of the continuous signal can be expressed by the following formula: (5) In the formula, is the state vector, describing the state of the discrete structured state space model at time t, is the state vector The derivative, which is the rate of change of the state vector, is the output vector, describing the output of the discrete structured state space model at time t, is the state transfer matrix, which describes the change of the state vector of the discrete structured state space model in unit time. is the input matrix, describing the influence of external input on the state of the discrete structured state space model, is the output matrix, describing how the state vector of the discrete structured state space model is mapped to the output vector; The continuous state space expression is discretized using a zero-order holder, (6) Then the discrete form of the state space can be obtained: (7) in, , is the transition matrix, is the step length, is the state vector of the discrete structured state space model at the kth step, is the input vector of the discrete structured state space model at the kth step, is the output vector of the discrete structured state space model at the kth step; The HiPPO matrix is ​​used to initialize the A matrix, and the initialization method is as follows: (8) In the formula, is the element in the nth row and kth column of the matrix; By iterative formula The expression is: (9) in, As a convolution operator, the model can calculate the convolution kernel in advance in the form of convolution and perform convolution operation with the input to achieve parallel computing, improve the model computing speed, and explore the features in the alarm information through convolution; The S6 algorithm is used to calculate the model parameters. At this point, the improved Mamba model environment is configured. Model training: The historical alarm information set is input into the improved Mamba model with a configured environment for iterative training; after the alarm information is input, the model arranges and classifies the alarm information according to its importance level and outputs the result.

5. The construction system of the alarm information target model in the centralized control system is characterized by: include: Data processing module: Word2vec model is used to represent the distribution vector of pre-processed monitoring alarm information; Improved Mamba model building module: Sentence encoding compression: A Compression Layer is added after the encoder in the Mamba model, and the sentence vector of the alarm information is compressed using the Compression Layer, thereby reducing the length of the alarm information; Sentence encoding recovery: Add a Recover Layer before the decoder in the Mamba model to restore the sentence to its original length; Model training module: manually marking the level of the alarm information on the distribution vector of the pre-processed detection alarm information, making a training set to train the improved Mamba model, and obtaining a target model.

6. The system for constructing an alarm information target model in a centralized control system according to claim 5, characterized in that: The specific processing process of using the Word2vec model to represent the distribution vector of the preprocessed monitoring alarm information is as follows: The method of summing and averaging all the input word vectors of the context is used to map from the input layer to the projection layer. Suppose the training sample consists of context (con( ), ) And other c words, the word vector is calculated by the following formula: (1) In the formula, is the center word vector, is the word vector of the context; Convert each monitoring alarm information into a sentence vector: average the vectors of all words in the monitoring alarm information to obtain a distributed vector representation of the monitoring alarm information with the same word vector dimension; the calculation formula is: (2) In the formula Indicates a monitoring alarm message; express The number of words in To monitor the text in the alarm information; express A vector of Distributed vector representation of monitoring alarm messages.

7. The system for constructing an alarm information target model in a centralized control system according to claim 5, characterized in that: The improved Mamba model construction process is as follows: Sentence encoding compression: Suppose compression window=n, which means that n adjacent words are compressed together, and stride=m, which means that compression is performed every m words. After compression, the sentence vector of the alarm information will be reduced to the original value. ; During the compression process, each compression window corresponds to a trainable seed parameter , corresponding to the compression window , the weight of each word is calculated by formula (3), and The dot product size of each vector in represents the importance of the current vector, and the dot product is normalized by Softmax to obtain the weight , and then through formula (4) The weighted sum of the vectors in gets the compressed slot , and finally all the slots are stacked together to form a compressed sentence vector; (3) (4) Sentence encoding recovery: According to the window size and weight value during compression, the corresponding slot is assigned to the weight value , ensuring that the sentence information remains unchanged.

8. The system for constructing an alarm information target model in a centralized control system according to claim 5, characterized in that: The model training steps specifically include: First, configure the environment of the improved Mamba model: Construct a discrete structured state space model. The state space model of the continuous signal can be expressed by the following formula: (5) In the formula, is the state vector, describing the state of the discrete structured state space model at time t, is the state vector The derivative, which is the rate of change of the state vector, is the output vector, describing the output of the discrete structured state space model at time t, is the state transfer matrix, which describes the change of the state vector of the discrete structured state space model in unit time. is the input matrix, describing the influence of external input on the state of the discrete structured state space model, is the output matrix, describing how the state vector of the discrete structured state space model is mapped to the output vector; The continuous state space expression is discretized using a zero-order holder, (6) Then the discrete form of the state space can be obtained: (7) in, , is the transition matrix, is the step length, is the state vector of the discrete structured state space model at the kth step, is the input vector of the discrete structured state space model at the kth step, is the output vector of the discrete structured state space model at the kth step; The HiPPO matrix is ​​used to initialize the A matrix, and the initialization method is as follows: (8) In the formula, is the element in the nth row and kth column of the matrix; By iterative formula The expression is: (9) in, As a convolution operator, the model can calculate the convolution kernel in advance in the form of convolution and perform convolution operation with the input to achieve parallel computing, improve the model computing speed, and explore the features in the alarm information through convolution; The S6 algorithm is used to calculate the model parameters. At this point, the improved Mamba model environment is configured. Model training: The historical alarm information set is input into the improved Mamba model with a configured environment for iterative training; after the alarm information is input, the model arranges and classifies the alarm information according to its importance level and outputs the result.

9. Application of the improved Mamba model.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Text clustering multi-document automatic abstracting method and system for improving word vector model

    CN110413986A

  • Power grid monitoring alarm event identification method based on convolution and long-term and short-term memory network

    CN111274395A

  • Traditional Chinese medicine prescription medication safety detection method based on professional word vectors in field of traditional Chinese medicine

    CN111785344A

  • Telecommunication network fraud early warning and handling method based on big data analysis

    CN113988866A

  • Hydropower station monitoring alarm event intelligent identification method based on deep learning

    CN115455959A