A long-term spectrum prediction method based on deep stacked autoencoder

Through the joint model of deep stack autoencoder and predictor, the time-frequency dependence of spectrum data is mined, which solves the problem of poor spectrum prediction effect in the existing technology and achieves high-precision long-term spectrum prediction.

CN115348182BActive Publication Date: 2024-09-06NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210872542.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-21
Publication Date
2024-09-06
Estimated Expiration
2042-07-21

AI Technical Summary

Technical Problem

Existing neural network methods fail to fully exploit the time-frequency dependence of spectrum data, resulting in unsatisfactory long-term spectrum prediction results and being helpless in the face of high-dimensional and heterogeneous data.

Method used

A method based on deep stacked autoencoders is used to mine the complex dependencies of high-dimensional spectrum data through the stacked autoencoders to obtain semantic coding. It is combined with the predictor for long-term spectrum prediction, and the Adam optimization method is used to train the model to achieve semantic coding. Learn and fine-tune.

Benefits of technology

It effectively converts high-dimensional spectrum data into semantic coding, retains time-frequency dependence, improves the accuracy of spectrum prediction, solves the problem of traditional methods being helpless with high-dimensional data, and the joint learning framework of the prediction model improves the prediction accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115348182B
    Figure CN115348182B
Patent Text Reader

Abstract

The present invention discloses a long-term spectrum prediction method based on a deep stacked autoencoder, including obtaining spectrum data from different communication services in the real world; preprocessing the data to obtain a training set and a test set; inputting the training set into the stacked autoencoder, updating the parameters in the autoencoder, and minimizing the loss function value between the input and the output; re-inputting the training set into the trained stacked autoencoder to obtain the semantic encoding of the original high-dimensional spectrum data, inputting the semantic encoding information into the predictor, completing the training of the predictor, and realizing the fine-tuning of the stacked autoencoder at the same time; online testing the trained stacked autoencoder and the predictor on the test set, and statistically predicting the performance index. The present invention can realize long-term spectrum situation prediction using real-world spectrum data, and has good prediction accuracy, which can well serve wireless communications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of wireless communications, and in particular relates to a long-term spectrum prediction method based on a deep stack autoencoder. Background Art

[0002] The popularization of 5G technology and the development of IoT technology have led to an explosive growth in frequency-using devices, which has made spectrum resources increasingly scarce. Therefore, a more intelligent frequency-using method is urgently needed to cope with the challenge of frequency shortage. Spectrum prediction provides a guarantee for the development of a more intelligent frequency-using mode. For example, spectrum prediction can assist cognitive users to achieve efficient dynamic spectrum access, improve the accuracy of spectrum perception, and analyze spectrum mobility.

[0003] The current spectrum prediction methods are mainly divided into two categories: model-based (parameterized) driven methods and data-driven methods based on neural networks. Among the model-driven methods, autoregressive models and Markov models are the main ones. These methods need to rely on prior information of the spectrum. The complexity of the Markov model increases dramatically as the order increases. The data-driven methods based on neural networks do not require any prior information and have a natural advantage in analyzing and processing high-dimensional spectrum data with complex dependencies and heterogeneity.

[0004] However, existing neural network methods (such as ANN, CNN, LSTM, etc.) do not fully exploit the time-frequency dependency of the spectrum, and only rely on the feature information of a single dimension, so the long-term prediction effect is not ideal. As the network depth increases, gradient explosion and overfitting problems are prone to occur. In addition, the high dimensionality and heterogeneity of the spectrum make parameterized methods and existing neural network methods helpless. Summary of the invention

[0005] The technical problem to be solved by the present invention is to address the deficiencies of the above-mentioned prior art and provide a long-term spectrum prediction method based on a deep stacked autoencoder. The stacked autoencoder is used to mine the complex dependencies of high-dimensional spectrum data to obtain semantic coding (low-dimensional feature representation), and a predictor is connected at its output end to complete long-term spectrum prediction by learning the semantic coding.

[0006] In order to achieve the above technical objectives, the technical solution adopted by the present invention is:

[0007] A long-term spectrum prediction method based on deep stacked autoencoders is implemented based on a prediction model composed of a stacked autoencoder and a predictor. The prediction model uses the stacked autoencoder to mine the complex dependencies of high-dimensional spectrum data to obtain semantic coding, and a predictor is connected to its output end to complete long-term spectrum prediction by learning semantic coding.

[0008] To optimize the above technical solutions, the specific measures taken also include:

[0009] The above methods include:

[0010] Step 1: Obtain spectrum data from different communication services in the real world through sparsely distributed spectrum sensors and transmit them back to the spectrum data storage center;

[0011] Step 2: Read the original spectrum data in the data storage center and perform data preprocessing to obtain the training set and test set;

[0012] Step 3: Input the training set into the stacked autoencoder, and use the Adam optimization method to update the parameters in the autoencoder to minimize the loss function value between the input and output of the autoencoder to complete the training;

[0013] Step 4: Re-input the training set into the trained stacked autoencoder to obtain the semantic encoding of the original high-dimensional spectrum data, that is, the low-dimensional features, and input the semantic encoding information into the predictor. The Adam optimization method is used to complete the predictor training and fine-tune the stacked autoencoder at the same time.

[0014] Step 5: Perform online testing on the test set for the trained stacked autoencoder and predictor, and calculate the prediction performance indicators.

[0015] The above prediction model was built using Matlab2021a on a PC configured with Intel(R) Core(TM) i7-9700 CPU@3.00GHz 3.00GHz CPU, 16GB RAM and NVIDIA Quadro P2200 graphics card.

[0016] The above step 2 specifically uses the zero mean normalization method to normalize the original spectrum data with a bandwidth range of F, and divides it into a training set and a test set, and the data set construction is completed;

[0017] The zero mean normalization method is used to normalize the original spectrum data with a bandwidth range of F, and the normalization formula is:

[0018]

[0019] Among them, p f,t is the normalized value of the f,f∈{1,...,F}th frequency point and the t,t∈{1,...,T}th time slot, p' f,t is the original spectrum value of the fth frequency point and the tth time slot, is the mean value of T time slots at the fth frequency point, σ f is the variance of T time slots at the fth frequency point.

[0020] The stacked autoencoder described in step 3 above is composed of two stacked autoencoders. Each autoencoder is trained separately, and the loss function between the output and the input is:

[0021]

[0022] In the above formula, the first term on the right side of the equal sign is the mean square error term MSE, the second term is the sparse regularization term SR, and the third term is the weight matrix F norm F-norm;

[0023] Q l is the size of the input data of the lth autoencoder, x l,q is the qth input of the lth autoencoder, is the qth output of the lth autoencoder, γ is the sparsity factor, M l is the number of nodes in the lth autoencoder hidden layer, ρ is a target activation value, is the average activation value of the jth hidden unit, λ is the regularization coefficient, W l and W l 'are the encoding and decoding weight vectors of the lth autoencoder respectively;

[0024]

[0025] In step 3 above, the parameter update in the autoencoder is described as an optimization problem:

[0026]

[0027] The Adam optimization method is used to obtain the optimal parameter β * :

[0028]

[0029] Among them, β(τ) is the parameter set updated in the τth iteration, and η is the learning rate.

[0030] The predictor described in step 4 above is a 3-layer Bi-LSTM network. The loss function of the entire stacked autoencoder network during fine-tuning is:

[0031]

[0032] Among them, β all ={W1,b1,...,W L ,b L}, P is the total input spectrum data, and p t are the output vector and input vector of the tth time slot of the entire prediction model respectively.

[0033] The performance indicators in step 5 above include square absolute error MAE, root mean square error RMSE, mean absolute percentage error sMAPE and goodness of fit R 2 , specifically expressed as:

[0034]

[0035]

[0036]

[0037]

[0038] in is the predicted value within Δt time, p Δt is the true value within the time Δt.

[0039] The present invention has the following beneficial effects: the present invention realizes long-term spectrum prediction by a prediction model composed of a stacked autoencoder and a predictor: spectrum data of different communication services in the real world are obtained through sparsely distributed spectrum sensors; the original spectrum data is preprocessed, specifically, the spectrum data with a bandwidth range of F is normalized by a normalization method to construct a data set; the training set is input into the stacked autoencoder in the prediction model, and the parameters in the autoencoder are updated by the Adam optimization method to minimize the loss function value between the input and the output, and the training is completed; the training set is re-input into the trained stacked autoencoder to obtain the semantic encoding of the original high-dimensional spectrum data, the semantic encoding information is input into the predictor, and the Adam optimization method is used to complete the predictor training and fine-tune the autoencoder; the trained prediction model completes the online prediction.

[0040] The present invention can use real-world spectrum data to achieve long-term spectrum situation prediction in different frequency bands, and has good prediction accuracy, which can serve wireless communications well. Its significant advantages are: (1) It can convert high-dimensional spectrum data into semantic coding while retaining the original time-frequency dependency, solving the problem that traditional technology is helpless in the face of high-dimensional spectrum data; (2) Because the stacked autoencoder is composed of stacked autoencoders, each autoencoder is trained separately, it can fully capture the potential time-frequency evolution law of spectrum data and learn more delicate feature information; (3) The prediction model is a model of the integration of unsupervised learning and supervised learning. This joint learning framework has more outstanding accuracy in long-term spectrum prediction. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 This is a schematic diagram of a long-term spectrum prediction model based on a deep stack autoencoder proposed in the present invention;

[0042] Figure 2is a structural diagram of the autoencoder used in the embodiment of the present invention;

[0043] Figure 3 It is a schematic diagram of MAE comparison between the long-term spectrum prediction method based on deep stack autoencoder in an embodiment of the present invention and other baseline methods;

[0044] Figure 4 It is a schematic diagram of RMSE comparison between the long-term spectrum prediction method based on deep stack autoencoder in an embodiment of the present invention and other baseline methods;

[0045] Figure 5 It is a schematic diagram of sMAPE comparison between the long-term spectrum prediction method based on deep stacked autoencoder in an embodiment of the present invention and other baseline methods;

[0046] Figure 6 This is a flow chart of a long-term spectrum prediction method based on a deep stack autoencoder of the present invention. DETAILED DESCRIPTION

[0047] The embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings.

[0048] Figure 1 The long-term spectrum prediction model proposed by the present invention is composed of a stacked autoencoder and a predictor. The prediction model uses the stacked autoencoder to mine the time-frequency-spatial dependency of high-dimensional spectrum data to obtain semantic coding, and a predictor is connected to its output end to complete long-term spectrum prediction by learning semantic coding. Figure 6 The present invention provides a long-term spectrum prediction method based on a deep stack autoencoder, comprising the following steps:

[0049] Step 1: Obtain spectrum data from different communication services in the real world through sparsely distributed spectrum sensors and transmit them back to the spectrum data storage center;

[0050] Step 2: Read the original spectrum data in the data storage center and perform data preprocessing. Specifically, use the zero-mean normalization method to normalize the original spectrum data with a bandwidth range of F, and divide it into a training set and a test set (labeled). The data set construction is completed.

[0051] Step 3: Input the training set into the stacked autoencoder, and use the Adam optimization method to update the parameters (weights and biases) in the autoencoder to minimize the loss function value between the input and output of the autoencoder to complete the training;

[0052] Step 4: Re-input the training set into the trained stacked autoencoder to obtain the semantic encoding of the original high-dimensional spectrum data, that is, the low-dimensional features, and input the semantic encoding information into the predictor. The Adam optimization method is used to complete the predictor training and fine-tune the stacked autoencoder at the same time.

[0053] Step 5: Perform online testing on the test set for the trained stacked autoencoder and predictor, and calculate the prediction performance indicators.

[0054] Further as a preferred embodiment, the prediction model is built using Matlab2021a on a PC configured with Intel(R) Core(TM) i7-9700 CPU@3.00GHz 3.00GHz CPU, 16GB RAM and NVIDIA Quadro P2200 graphics card.

[0055] In step 1, the obtained spectrum data is analyzed in time, frequency and space domains, using the Pearson correlation coefficient:

[0056]

[0057] Where E(·) represents the expected factor, and the range of ζ(a,c) is [-1,1]. The closer it is to the extreme value, the stronger the correlation.

[0058] The zero mean normalization method described in step 2 is:

[0059]

[0060] Among them, p f,t is the normalized value of the f,f∈{1,...,F}th frequency point and the t,t∈{1,...,T}th time slot, p' f,t is the original spectrum value of the fth frequency point and the tth time slot, is the mean value of T time slots at the fth frequency point, σ f is the variance of T time slots at the fth frequency point.

[0061] In step 3, the stacked autoencoder is composed of a single autoencoder stacked together. The structure of the autoencoder is as follows: Figure 2 shown.

[0062] from Figure 2 It can be seen that the autoencoder is composed of an input layer, a hidden layer, and an output layer. The input layer corresponds to the encoder, and the output layer corresponds to the decoder. Each autoencoder is trained separately, and this training process is unsupervised learning.

[0063] The specific training process is as follows:

[0064] First, the historical spectrum data of N frequency points in the tth time slot can be expressed as:

[0065] p t :=[p t (1),p t (2),...,pt (N)]

[0066] Then, the spectrum data of T time slots can be expressed as

[0067] P:=[p1,p2,...,p T ] T

[0068] Then, P is input into the autoencoder as training data.

[0069] Specifically, for the lth autoencoder, assume that the input layer has K nodes, the hidden layer has M nodes, and the number of nodes in the output layer is the same as that in the input layer.

[0070] Autoencoders satisfy

[0071]

[0072] in and are the input and output of the autoencoder respectively, and Q is the size of the input spectrum data.

[0073] Then, the encoder to the hidden layer is

[0074] H l =f(W l X l +b l )

[0075] in f(·) represents the encoding activation function. W l and b l are the weights and biases of the encoder in the lth autoencoder, respectively.

[0076] Then, from the hidden layer to the output layer is

[0077]

[0078] Where W′ l and b′ l are the weights and biases of the decoder in the lth autoencoder, respectively. f'(·) is the decoding activation function.

[0079] Both encoding and decoding functions use Sigmoid activation function, specifically:

[0080]

[0081] It should be noted that when l=1, the input X1 is P.

[0082] The purpose of training the lth autoencoder is to update the neural network parameter set β = {W l ,W′l ,b l ,b′ l} to minimize the loss of output and input.

[0083] Then, the loss function is defined as:

[0084]

[0085] Among them, the first term on the right side of the equal sign is the mean square error term MSE, the second term is the sparse regularization term SR, and the third term is the weight matrix F norm F-norm;

[0086] Q l is the size of the input data of the lth autoencoder, x l,q is the qth input of the lth autoencoder, is the qth output of the lth autoencoder, γ is the sparsity factor, M l is the number of nodes in the lth autoencoder hidden layer, ρ is a target activation value, is the average activation value of the jth hidden unit, λ is the regularization coefficient, W l and W′ l are the encoding and decoding weight vectors of the lth autoencoder respectively.

[0087] for and the Kullback-Leibler of ρ, specifically:

[0088]

[0089] Then, step 3 of training the network can be expressed as an optimization problem:

[0090]

[0091] The Adam method is used to obtain the optimal β * :

[0092]

[0093] Where β(τ) is the parameter set updated in the τth iteration, and η is the learning rate.

[0094] Each autoencoder will be trained according to the above training principles.

[0095] Then, the hidden layer of each trained autoencoder is connected to the input of the encoder of the next autoencoder, and they are stacked together in this way to form a stacked autoencoder.

[0096] The above process completes the pre-training of the stacked autoencoder.

[0097] In step 4, the training data is re-entered into the stacked autoencoder to obtain the semantic encoding:

[0098] H L =[h L,1 ,...,h L,q ,...,h L,Q ] T

[0099] in M L is the number of nodes in the L autoencoder hidden layers.

[0100] The semantic information is input into the predictor, and the Bi-LSTM neural network is used as the predictor here.

[0101] Note that the process of training the predictor also fine-tunes the stacked autoencoder.

[0102] First, H L Enter the Gate of Oblivion:

[0103] f t =σ(W f [H L,t-1 ,H L,t ]+b f )

[0104] Among them, σ represents the Sigmoid function, which is specifically expressed as

[0105]

[0106] H L,t represents the semantic encoding of the input of the tth time slot, W f and b f are the weight and bias of the forget gate respectively. Entering the input gate, it determines H L,t What information is retained by c t , and use Sigmoid and Tanh activation functions to implement state unit c t Update:

[0107] i t =σ(W i [H L,t-1 ,H L,t ]+b i )

[0108]

[0109] Among them, λ represents the Tanh function, which is specifically expressed as

[0110]

[0111] W i and b i are the weight and bias of the input gate respectively.

[0112] W c and b c are the weights and biases of the selected update units, respectively.

[0113] Updated c t for:

[0114]

[0115] Where * represents the dot product between elements.

[0116] After selective memory and update, the information finally enters the output gate. It completes two tasks: filtering information and obtaining output; state unit c t is selectively output to the next moment and output to the outside. The formula is:

[0117] o t =σ(W o [H L,t-1 ,H L,t ]+b o )

[0118] H t =o t *λ(c t )

[0119] Among them, W o and b o are the weight and bias of the output gate respectively.

[0120] It should be noted that the training process of the predictor is supervised learning. Therefore, after training, the Bi-LSTM and stacked autoencoder together constitute the entire prediction model.

[0121] In addition, the entire SAE network was fine-tuned while training the predictor using the error back-propagation algorithm, and its loss function is:

[0122]

[0123] where β all ={W1,b1,...,W L ,b L}.

[0124] In step 5, the trained prediction model is tested on the test set, and the square absolute error (MAE), root mean square error (RMSE), mean absolute percentage error (sMAPE) and goodness of fit (R 2 ) is used as the evaluation index, which is specifically expressed as:

[0125]

[0126]

[0127]

[0128]

[0129] in is the predicted value within Δt time, p Δt is the true value within the time Δt.

[0130] In order to illustrate the feasibility and advantages of the present invention, an open API platform is used to obtain real aggregate spectrum data in the urban area of ​​Madrid, Spain for experimental verification. The website of the open API platform is https: / / electrosense.org / .

[0131] The Test_yago electronic sensor is used, with a bandwidth of 600MHz to 610MHz and a geographical range of 2km. 2 The center coordinates are [-3.76897, 40.33633] and the collection time is 1440 minutes.

[0132] The obtained aggregated spectrum data is divided into training set and test set at a ratio of 9:1, and a hysteresis period of 20 is added in the preprocessing.

[0133] The experiments were conducted in Matlab2021a on a PC configured with Intel(R) Core(TM) i7-9700 CPU@3.00GHz 3.00GHzCPU, 16GB RAM and NVIDIA Quadro P2200 graphics card.

[0134] The stacked autoencoder consists of 2 autoencoders. The first autoencoder has a hidden layer size of 95, MaxEpochs of 400, L2 regularization coefficient (λ) of 0.006, sparse regularization coefficient (γ) of 4, and a sparsity ratio of 0.2. The second autoencoder has a hidden layer size of 90, MaxEpochs of 400, L2 regularization coefficient (λ) of 0.004, sparse regularization coefficient (γ) of 4, and a sparsity ratio of 0.15.

[0135] The hidden layer of the predictor is composed of a 5-layer network, including 3 Bi-LSTM layers and 2 dropout layers. The number of hidden units in the Bi-LSTM layer is 128, 64, and 32 respectively, and the dropout reduction factor is 0.2.

[0136] MaxEpochs is 600, MiniBatchSize is 50, learning rate is 0.05, and learning rate reduction factor is 0.25.

[0137] Table 1 summarizes the prediction error and prediction fit R when the prediction time Δt is 20 minutes. 2 .

[0138] It can be seen from Table 1 that the prediction error of the present invention is significantly lower than that of other baseline methods.

[0139] Specifically, the MAE, RMSE and sMAPE of the present invention are 44.69%, 24.17% and 35.37% lower than those of four temporal models (including ARIMA, ANN, LSTM and GRU) on average, because these models only capture the potential temporal dependency of spectral data.

[0140] Then, compared with the spatial model (Resnet-50 and Xception), taking Resnet-50 as an example, the present invention is 5.49%, 2.79% and 2.63% lower than its MAE, RMSE and sMAPE respectively. The reason is that the spatial model only captures the spatial correlation between different frequency bands. Although CNN-GRU can capture both spatial correlation and temporal correlation, the convolution operation destroys the correlation of the original spectrum data, resulting in the loss of some feature information.

[0141] The present invention adopts a unique stacked autoencoder to convert the time-frequency dependency of high-dimensional spectral data into semantic coding while maintaining the correlation of the original spectral data. This is also a representation learning method.

[0142] Then the semantic coding information is fully mined by the predictor to obtain better prediction performance. From the perspective of prediction fit, although the present invention is not the best, it is still in the forefront. It is worth noting that fit is an auxiliary evaluation indicator.

[0143] Table 1 Performance comparison of the present invention and other baseline methods

[0144]

[0145]

[0146] Figure 3-5 The three prediction error indicators of the present invention are compared with those of other baselines under long-term prediction (prediction time Δt is 120 minutes). Figure 3-5It can be seen that the present invention also has advantages in long-term prediction compared with other baselines, which shows that the present invention has a certain robustness in prediction duration. This is due to the fact that SAEL-SP is a combination of supervised learning and unsupervised learning. The individual training of each autoencoder brings higher gain and can deeply extract the potential granular features of spectral data. Therefore, from multiple perspectives, the comprehensive prediction performance of the present invention is better than the existing baseline.

[0147] The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.

Claims

1. A long-term spectrum prediction method based on deep stacked autoencoder, characterized in that: The method is implemented based on a prediction model composed of a stacked autoencoder and a predictor. The prediction model uses the stacked autoencoder to mine the complex dependencies of high-dimensional spectrum data to obtain semantic coding, which is a low-dimensional feature representation. A predictor is connected to the output end to complete long-term spectrum prediction by learning the semantic coding. The method comprises: Step 1: Acquire spectrum data from different communication services in the real world through sparsely distributed spectrum sensors and transmit them back to the spectrum data storage center; Step 2: Read the original spectrum data in the data storage center and perform data preprocessing to obtain the training set and test set; Step 3: Input the training set into the stacked autoencoder, and use the Adam optimization method to update the parameters in the autoencoder to minimize the loss function value between the input and output of the autoencoder to complete the training; Step 4: Re-input the training set into the trained stacked autoencoder to obtain the semantic encoding of the original high-dimensional spectrum data, that is, the low-dimensional features, input the semantic encoding information into the predictor, use the Adam optimization method to complete the predictor training, and fine-tune the stacked autoencoder at the same time; Step 5: Perform online testing on the test set for the trained stacked autoencoder and predictor, and calculate the performance indicators of the prediction. The step 2 specifically uses a zero mean normalization method to normalize the original spectrum data with a bandwidth range of F, and divides it into a training set and a test set, and the data set construction is completed; The zero mean normalization method is used to normalize the original spectrum data with a bandwidth range of F, and the normalization formula is: Among them, p f,t is the normalized value of the f,f∈{1,...,F}th frequency point and the t,t∈{1,...,T}th time slot, p' f,t is the original spectrum value of the fth frequency point and the tth time slot, is the mean value of T time slots at the fth frequency point, σ f is the variance of T time slots at the fth frequency point; The stacked autoencoder in step 3 is composed of two stacked autoencoders. Each autoencoder is trained separately, and the loss function between the output and the input is: In the above formula, the first term on the right side of the equal sign is the mean square error term MSE, the second term is the sparse regularization term SR, and the third term is the weight matrix F norm F-norm; Q l is the size of the input data of the lth autoencoder, x l,q is the qth input of the lth autoencoder, is the qth output of the lth autoencoder, γ is the sparsity factor, M l is the number of nodes in the lth autoencoder hidden layer, ρ is a target activation value, is the average activation value of the jth hidden unit, λ is the regularization coefficient, W l and W l 'are the encoding and decoding weight vectors of the lth autoencoder respectively; In step 3, the parameter update in the autoencoder is described as an optimization problem: The Adam optimization method is used to obtain the optimal parameter β * : Among them, β(τ) is the parameter set updated in the τth iteration, and η is the learning rate; The predictor in step 4 is composed of a 3-layer Bi-LSTM network. The loss function of the entire stacked autoencoder network during fine-tuning is: Among them, β all ={W1,b1,...,W L ,b L }, P is the total input spectrum data, and p t are the output vector and input vector of the tth time slot of the entire prediction model respectively; The performance indicators in step 5 include square absolute error MAE, root mean square error RMSE, mean absolute percentage error sMAPE and goodness of fit R 2 , specifically expressed as: in, is the predicted value within Δt time, p Δt is the true value within the time Δt.

2. A long-term spectrum prediction method based on deep stack autoencoder according to claim 1, characterized in that: The prediction model was built using Matlab2021a on a PC configured with Intel(R) Core(TM) i7-9700 CPU@3.00GHz3.00GHz CPU, 16GB RAM and NVIDIA Quadro P2200 graphics card.