The invention discloses a
cascade system online monitoring and prediction method based on a sparse self-attention mechanism, and the method comprises the steps: S1, obtaining and preprocessing multi-working-condition data of a
cascade system, and constructing a
time series data set; s2, performing embedded conversion and position coding on the data, and capturing sequence position information; s3, pre-fusion of adjacent
time step information is realized through one-dimensional
convolution; s4, a multi-head sparse attention mechanism is introduced, and a ReLU2
activation function is adopted to replace softmax so as to reduce calculation overhead; s5, completing
information fusion through one-dimensional
convolution, ELU activation and maximum
pooling; s6, constructing an
encoder containing a multi-head sparse attention mechanism; s7, designing an autoregressive decoder, and combining self-attention with cross attention; s8, adopting a HuberLoss
loss function to
train the model; and S9, carrying out reverse normalization on the model output to obtain a final prediction value. According to the invention, by optimizing the Transform architecture, 60 s effective prediction of the key parameters of the
cascade system is realized, the prediction error is significantly reduced, and the intelligent early warning capability and the operation stability of the system are improved.