A method and system for predicting multi-dimensional meteorological time series data
By combining the KAN network and ESN/GRU, along with hierarchical reinforcement learning pruning techniques, the accuracy and stability issues in multidimensional meteorological data forecasting are resolved, achieving efficient meteorological data forecasting suitable for resource-constrained environments.
Patent Information
- Application Number
- CN202611643964.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-23
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies suffer from low prediction accuracy, poor model stability, and low computational efficiency in multidimensional meteorological data forecasting, making it difficult to achieve efficient and rapid forecasting, especially in resource-constrained scenarios.
A KAN network is used for nonlinear feature mapping, combined with ESN and GRU for feature enhancement, and redundant nodes are pruned through hierarchical reinforcement learning. The output layer parameters are solved using pseudo-inverse or ridge regression to construct a Mix-KRL model.
It improves the prediction accuracy and stability of multidimensional meteorological data, reduces training costs, is suitable for real-time prediction in resource-constrained environments, and has high practical application value.
Smart Images

Figure CN123158487A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of meteorological data prediction, smart agriculture environmental perception and intelligent control technology, and more specifically, to a method and system for predicting multidimensional meteorological time series data. Background Technology
[0002] With the rapid development of smart agriculture, environmental monitoring, and the Internet of Things (IoT) systems, multidimensional meteorological time series data exhibit characteristics such as high sampling frequency, multiple variable dimensions, complex nonlinear relationships, and significant time-series dependencies. Significant coupling relationships exist between data such as temperature, humidity, air pressure, wind speed, wind direction, and visibility, thus placing higher demands on the feature extraction capability, time-series modeling capability, and computational efficiency of prediction models. Especially in greenhouse environmental control, agricultural energy conservation regulation, and meteorological early warning, models are required to possess both high prediction accuracy and the ability to rapidly complete training and inference under limited computing power.
[0003] The existing technical solutions most similar to this invention are divided into three categories, as follows: (1) Statistical learning and traditional machine learning techniques. This type of technique includes methods such as ARIMA, SVM, and ANN. The main idea is to establish the correspondence between input and output by pre-setting the model structure or shallow mapping. This type of method is relatively simple to implement, but it has limited ability to express complex nonlinear coupling relationships in multivariate meteorological data. In scenarios with large fluctuations or obvious coupling of multiple factors, it is easy to cause prediction lag and decreased accuracy.
[0004] (2) Deep learning time series prediction technology. This type of technology includes neural network methods such as RNN, LSTM, and GRU. It mainly models time dependencies through recurrent structures and gating mechanisms, and has a certain ability to express time series. However, it usually relies on backpropagation for multiple rounds of parameter iteration, which takes a long time to train and has a large number of parameters. In resource-constrained scenarios, the deployment cost is high.
[0005] (3) Width-based learning systems and reservoir computing techniques. This category includes BLS, ESN, and methods based on them such as RE-BLS and Mix-BLS. These techniques generally reduce training complexity through wide and shallow network structures or fixed reservoir structures, and obtain output weights using pseudo-inverse or regularized linear solutions, resulting in faster training speeds. However, existing methods still do not adequately characterize complex nonlinear features at the mapping layer, and enhancement layer nodes often lack effective dynamic filtering mechanisms, easily leading to redundancy.
[0006] Therefore, how to design a new meteorological data prediction model to improve prediction accuracy, model stability and computational efficiency has become an urgent technical problem to be solved. Summary of the Invention
[0007] This invention aims to solve at least one of the technical problems existing in the prior art or related technologies, and discloses a prediction method and system for multidimensional meteorological time series data, which effectively solves the prediction problem of multidimensional meteorological data (especially temperature / humidity data), and significantly improves prediction accuracy, stability and generalization ability.
[0008] The first aspect of this invention discloses a method for predicting multidimensional meteorological time series data, comprising: S1, Data Preprocessing: Collect meteorological data and perform normalization preprocessing to obtain input samples; S2, Structured Partition: The input samples are divided into two categories: time data and nonlinear data. Time data is used to characterize the evolution characteristics of the same variable over continuous time, while nonlinear data is used to characterize the coupling relationship between different variables at the same moment. S3, Feature Mapping: For nonlinear data, a KAN network is used for feature mapping to generate nonlinear mapped feature nodes; for temporal data, linear or random mapping is used under the BLS framework to generate temporal feature nodes. S4, ESN and GRU dual-branch enhancement: For nonlinear mapping feature nodes, ESN is used for dynamic enhancement to obtain an enhanced nonlinear feature matrix; for temporal feature nodes, GRU is used for enhancement to obtain an enhanced temporal feature matrix; the enhanced nonlinear feature matrix and the enhanced temporal feature matrix are combined to obtain the enhancement layer output; S5, Hierarchical reinforcement learning pruning: Hierarchical reinforcement learning is used to prune redundant nodes in the output of the reinforcement layer to obtain the pruned output of the reinforcement layer; S6, Output layer solution: Concatenate the nonlinear mapping feature nodes, temporal feature nodes, and the pruned enhancement layer output along their feature dimensions to form the hidden layer output matrix. ; Analysis using pseudo-inverse method or ridge regression method The weight matrix is obtained. W ; S7, Prediction Output: Based on the hidden layer output matrix and weight matrix corresponding to the sample to be predicted. W The prediction results are calculated.
[0009] According to the prediction method for multidimensional meteorological time series data disclosed in this invention, preferably, in step S1, raw multidimensional time series data is obtained from a meteorological station, greenhouse monitoring platform, or agricultural Internet of Things sensor system as meteorological data; the meteorological data includes at least the target variable to be predicted and variables related to the prediction target; the meteorological data specifically includes: temperature, humidity, air pressure, wind speed, wind direction, visibility, air density, and vapor pressure; The collected raw multidimensional time series data were preprocessed using a standardization method. The expression for the preprocessing process is as follows:
[0010] in, It is a data value. These are the normalized data values. It is the average of the dataset. It is the standard deviation.
[0011] According to the prediction method for multidimensional meteorological time series data disclosed in this invention, preferably, in step S3, the KAN network places a learnable univariate function on the connection edge and approximates the complex multivariate mapping relationship through the outer layer combination function. For the input vector KAN nonlinear mapping function Represented as:
[0012] in, Represents the input vector The elements, input vector This refers to nonlinear data extracted from meteorological data; index. Used for traversing external functions Each component, a univariate function Used to process input vectors The The component, and for the first component Each external function contributes one term; The calculation process for feature nodes in a nonlinear mapping is represented as follows: ; in, This represents a nonlinear feature input matrix composed of observations of multiple meteorological variables at the same time. Indicates the number of KAN feature mapping groups. Indicates the index of the KAN feature map group; Indicates the first Feature mapping operations performed by the KAN network; Indicates the first The first group of KAN networks One outer function; Indicates the first The action of the first group in the KAN network The input variable, and to the first Each outer function provides a unary function as input, where the superscript... Indicates the number of the corresponding function Form a KAN network. , , The dimension of the input variable representing the nonlinear feature. This represents the nonlinear mapping feature matrix formed by combining the nonlinear mapping feature nodes generated by each group of KAN networks according to the feature dimension. The calculation process of temporal feature nodes is represented as follows: ; in, This represents the time-series feature input matrix constructed using a sliding time window. Indicates the first The weight matrix corresponding to the group time series feature mapping. Indicates the first The bias vector corresponding to the group time series feature mapping Indicates the first The activation function used in group time-series feature mapping Indicates the number of feature mapping groups. This represents the temporal feature matrix formed by combining each group of temporal feature nodes according to the feature dimension.
[0013] According to the prediction method for multidimensional meteorological time series data disclosed in this invention, preferably, in step S4, the state update process of ESN and GRU is expressed as follows:
[0014]
[0015]
[0016] in, and These represent the ESN in the th... Second and third Nonlinear augmented node state during next state update Indicates the first The nonlinear mapping characteristics of the input ESN during the next state update. This represents the leakage rate of the ESN, used to adjust the update ratio between historical states and current candidate states. This represents the input connection weight matrix of the ESN. This represents the internal connection weight matrix of the ESN's reservoir. This indicates the non-linear activation function used by ESN; Indicates that GRU is in the The time-series augmented node generated after the next state update Indicates the input to GRU. Group time-series mapping features Indicates the first Hidden state during the next state update This represents the parameter matrix of the updated gate. This represents the parameter matrix of the reset gate. The parameter matrix representing the candidate hidden state. This represents the Sigmoid activation function. This represents the hyperbolic tangent activation function. This indicates the number of state updates for augmented nodes or the number of augmented node groups. This indicates the corresponding update index; the "" in the formula " represents matrix multiplication, " " indicates the Hadamard product between corresponding elements, i.e., element-wise multiplication; Overall output of step S4 for:
[0017] in, and The first m Enhanced feature nodes mapped by GRU and ESN.
[0018] According to the prediction method for multidimensional meteorological time series data disclosed in this invention, preferably, in step S5, firstly, a state feature vector is constructed for the i-th neuron in the enhancement layer output. s i :
[0019] in, Let be the mean of the activation values of the i-th neuron. Let V be the variance of the activation values of the i-th neuron. The minimum activation value of the i-th neuron. The maximum value of the activation value of the i-th neuron; Then, using a multilayer perceptron as the high-level policy network, and the aggregated vector of all augmented node state features... As input to the high-level policy network, the output sub-target vector is transformed by a fully connected layer and activated by a nonlinear process. :
[0020]
[0021] in, This represents the aggregation characteristics of neuronal states. For sub-target vectors, For high-level policy functions, This is the first element of the sub-target vector. High-level strategy parameters These are dynamic weighting coefficients used to balance variance and weight importance.
[0022]
[0023] in, Preserve the probability for the neuron. These are the underlying strategy parameters. This is the underlying strategy function. The policy threshold is used to output the obtained value. The final decision is made on whether to retain the neuron.
[0024] According to the prediction method for multidimensional meteorological time series data disclosed in this invention, preferably, in step S6, the hidden layer output matrix is parsed. The calculation process includes:
[0025] in, W Represents the weight matrix , The regularization coefficient is . It is the identity matrix. T This indicates the calculation of matrix transpose. The target vector is composed of the actual temperature or humidity values corresponding to the training samples.
[0026] A second aspect of the present invention discloses a prediction system for multidimensional meteorological time series data, comprising: a memory for storing program instructions; and a processor for calling the program instructions stored in the memory to implement the prediction method for multidimensional meteorological time series data as described in any of the above technical solutions.
[0027] The beneficial effects of the present invention include at least the following: 1. Compared with traditional statistical models, SVM and ANN, this invention achieves stronger nonlinear relationship expression through KAN and enhances the modeling ability of time-series dependencies through ESN / GRU, which can more accurately characterize the complex coupling relationship in multivariate meteorological data.
[0028] 2. Compared with deep recurrent network solutions such as LSTM and GRU, this invention avoids large-scale backpropagation iterative training and uses BLS and regularized pseudo-inverse to quickly solve the output layer parameters, which significantly reduces training costs while maintaining high accuracy and is more suitable for real-time prediction and resource-constrained environments.
[0029] 3. Compared with existing wide learning system fusion schemes such as BLS, RE-BLS, and Mix-BLS, this invention introduces KAN in the mapping layer for refined nonlinear feature modeling and enhances redundant nodes in the layer through hierarchical reinforcement learning dynamic pruning, thus outperforming existing schemes in both feature representation and structural optimization capabilities.
[0030] 4. Based on experimental data, in the Jena temperature prediction task, the R of the Mix-KRL invention is [missing information]. 2 The accuracy reached 0.9747, which is higher than Mix-BLS's 0.9708 and RE-BLS's 0.9604. In the Seged humidity prediction task, Mix-KRL's MAPE was 0.0693, which is further reduced compared to the second-best model Mix-BLS's 0.0757, indicating that the present invention has better accuracy and robustness on different datasets.
[0031] 5. This invention, through its overall collaborative design of "fine mapping - branch enhancement - dynamic pruning - fast solution", outperforms existing technologies in terms of accuracy, stability and efficiency, and has high practical application value. Attached Figure Description
[0032] Figure 1 A flowchart illustrating a method for predicting multidimensional meteorological time series data according to an embodiment of the present invention is shown.
[0033] Figure 2 A schematic block diagram of a prediction system for multidimensional meteorological time series data according to an embodiment of the present invention is shown.
[0034] Figure 3 A schematic diagram of the Mix-KRL network structure for a prediction method based on multidimensional meteorological time series data according to an embodiment of the present invention is shown.
[0035] Figure 4 A schematic diagram of a KAN network according to an embodiment of the present invention is shown.
[0036] Figure 5 A graph of raw temperature data is shown according to an embodiment of the present invention.
[0037] Figure 6 A temperature prediction curve is shown according to an embodiment of the present invention.
[0038] Figure 7 A bar chart of absolute temperature error according to an embodiment of the present invention is shown.
[0039] Figure 8 A graph of raw humidity data is shown according to an embodiment of the present invention.
[0040] Figure 9A humidity prediction curve according to an embodiment of the present invention is shown.
[0041] Figure 10 A bar chart showing the absolute humidity error according to an embodiment of the present invention is shown. Detailed Implementation
[0042] To better understand the above-described objects, features, and advantages of the present invention, the invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Many specific details are set forth in the following description to provide a thorough understanding of the invention; however, the invention may be practiced in other ways different from those described herein, and therefore, the invention is not limited to the specific embodiments disclosed below.
[0043] Terminology Explanation: Kolmogorov-Arnold Network (KAN): A neural network structure that places learnable nonlinear functions on the connection edges, enabling it to efficiently approximate complex multivariate functions through combinations of learnable univariate functions.
[0044] Wide Learning System (BLS): A “wide and shallow” learning framework, typically consisting of mapping nodes, augmentation nodes, and a parsing output layer. It is fast to train and easy to update incrementally.
[0045] Echo State Network (ESN): A typical reservoir computing model that achieves fast temporal modeling by combining a fixed internal reservoir with a trained output layer.
[0046] Gated Recurrent Unit (GRU): A recurrent neural network structure that controls the fusion of historical information with the current input by updating and resetting gates.
[0047] Hierarchical reinforcement learning (HRL): By coordinating decision-making between high-level and low-level policies, complex optimization problems are decomposed into decision tasks at multiple levels.
[0048] Mix-KRL: The name of the fusion model proposed in this invention, representing a hybrid prediction model that combines KAN mapping, reinforcement learning pruning, and a wide learning system framework.
[0049] like Figure 1 As shown, according to an embodiment of the present invention, a method for predicting multidimensional meteorological time series data is disclosed, the method comprising: S1, Data Preprocessing: Collect meteorological data and perform normalization preprocessing to obtain input samples (training samples). In this step, raw multidimensional time series data is acquired from weather stations, greenhouse monitoring platforms, or agricultural IoT sensor systems as meteorological data; the meteorological data includes at least the target variable to be predicted and variables related to the target variable; the meteorological data specifically includes: temperature, humidity, air pressure, wind speed, wind direction, visibility, air density, and vapor pressure; The collected raw multidimensional time series data were preprocessed using a standardization method. The expression for the preprocessing process is as follows:
[0050] in, It is a data value. These are the normalized data values. It is the average of the dataset. It is the standard deviation.
[0051] S2, Structured Partition: The input samples are divided into two categories: time data and nonlinear data. Time data is used to characterize the evolution characteristics of the same variable over continuous time, while nonlinear data is used to characterize the coupling relationship between different variables at the same moment. S3, Feature Mapping: For nonlinear data, a KAN network is used for feature mapping to generate nonlinear mapped feature nodes; for temporal data, linear or random mapping is used under the BLS framework to generate temporal feature nodes. In this step, the KAN network places learnable unary functions on the connection edges and approximates complex multivariate mappings through outer layer combination functions for the input vector. KAN nonlinear mapping function Represented as:
[0052] in, Representing vectors The elements, vector This refers to nonlinear data extracted from meteorological data; index. Used for traversing external functions Each component, a univariate function Used to process input vectors The The component, and for the first component Each external function contributes one term; The calculation process for feature nodes in a nonlinear mapping is represented as follows: ; in, This represents a nonlinear feature input matrix composed of observations of multiple meteorological variables at the same time. Indicates the number of KAN feature mapping groups. Indicates the index of the KAN feature map group; Indicates the first Feature mapping operations performed by the KAN network; Indicates the first The first group of KAN networks One outer function; Indicates the first The action of the first group in the KAN network The input variable, and to the first Each outer function provides a unary function as input. The superscript... Indicates the number of the corresponding function Form a KAN network. , , This represents the dimension of the input variables for nonlinear features. This represents the nonlinear mapping feature matrix formed by combining the nonlinear mapping feature nodes generated by each group of KAN networks according to the feature dimension.
[0053] The calculation process of temporal feature nodes is represented as follows: .
[0054] in, This represents the time-series feature input matrix constructed using a sliding time window. Indicates the first The weight matrix corresponding to the group time series feature mapping. Indicates the first The bias vector corresponding to the group time series feature mapping Indicates the first The activation function used in group time-series feature mapping Indicates the number of feature mapping groups. This represents the temporal feature matrix formed by combining each group of temporal feature nodes according to the feature dimension.
[0055] S4, ESN and GRU dual-branch enhancement: For nonlinear mapping feature nodes, ESN is used for dynamic enhancement to obtain an enhanced nonlinear feature matrix; for temporal feature nodes, GRU is used for enhancement to obtain an enhanced temporal feature matrix; the enhanced nonlinear feature matrix and the enhanced temporal feature matrix are combined to obtain the enhancement layer output; In this step, the state update process for ESN and GRU is represented as follows:
[0056]
[0057]
[0058] in, and These represent the ESN in the th... Second and third Nonlinear augmented node state during next state update Indicates the first The nonlinear mapping characteristics of the input ESN during the next state update. This represents the leakage rate of the ESN, used to adjust the update ratio between historical states and current candidate states. This represents the input connection weight matrix of the ESN. This represents the internal connection weight matrix of the ESN's reservoir. This indicates the nonlinear activation function used by ESN.
[0059] Indicates that GRU is in the The time-series augmented node generated after the next state update Indicates the input to GRU. Group time-series mapping features Indicates the first Hidden state during the next state update This represents the parameter matrix of the updated gate. This represents the parameter matrix of the reset gate. The parameter matrix representing the candidate hidden state. This represents the Sigmoid activation function. This represents the hyperbolic tangent activation function. This indicates the number of state updates for augmented nodes or the number of augmented node groups. This indicates the corresponding updated index.
[0060] In addition, the formula contains " " represents matrix multiplication, " "" indicates the Hadamard product between corresponding elements, i.e., element-wise multiplication.
[0061] Overall output of step S4 for:
[0062] in, and The first m Enhanced feature nodes mapped by GRU and ESN.
[0063] S5, Hierarchical reinforcement learning pruning: Hierarchical reinforcement learning is used to prune redundant nodes in the output of the reinforcement layer to obtain the pruned output of the reinforcement layer; In this step, the pruning calculation process includes: First, construct a state feature vector for the i-th neuron in the output of the enhancement layer. s i :
[0064] in, Let be the mean of the activation values of the i-th neuron. Let V be the variance of the activation values of the i-th neuron. The minimum activation value of the i-th neuron. The maximum value of the activation value of the i-th neuron; Then, a multilayer perceptron is used as the high-level policy network. The multilayer perceptron includes an input layer, at least one fully connected hidden layer, and an output layer connected in sequence. The high-level policy network uses an aggregated vector of all augmented node state features. As input, the sub-target vector is output after fully connected transformation and nonlinear activation. :
[0065]
[0066] in, This represents the aggregation characteristics of neuronal states. For sub-target vectors, For high-level policy functions, This is the first element of the sub-target vector. High-level strategy parameters These are dynamic weighting coefficients used to balance variance and weight importance.
[0067]
[0068] in, Preserve the probability for the neuron. These are the underlying strategy parameters. This is the underlying strategy function. The policy threshold is used to output the obtained value. The final decision is made on whether to retain the neuron.
[0069] S6, Output layer solution: The hidden layer output matrix is formed by fusing the nonlinear mapping feature nodes, temporal feature nodes, and the pruned enhancement layer output. ; Analysis using pseudo-inverse method or ridge regression method The weight matrix is obtained. W ; In this step, fusion specifically refers to horizontal concatenation along the feature dimension, that is, sequentially concatenating the nonlinear mapping feature nodes, temporal feature nodes, and the pruned enhancement layer output to form the hidden layer output matrix. Analyze the hidden layer output matrix The calculation process includes:
[0070] in, W Represents the weight matrix , The regularization coefficient is . It is the identity matrix. T This indicates the calculation of matrix transpose. The target vector is composed of the actual temperature or humidity values corresponding to the training samples.
[0071] S7, Prediction Output: Process the sample to be predicted according to steps S1 to S5 to obtain the hidden layer output matrix corresponding to the sample to be predicted. And based on the output layer weight matrix W Calculate the prediction results:
[0072] in, This indicates the prediction result of the multidimensional meteorological time series data to be predicted.
[0073] like Figure 2 As shown, according to another embodiment of the present invention, a prediction system 200 for multidimensional meteorological time series data is also disclosed, comprising: a memory 201 for storing program instructions; and a processor 202 for calling the program instructions stored in the memory to implement the prediction method for multidimensional meteorological time series data as described in the above embodiment.
[0074] like Figure 3 As shown, according to another embodiment of the present invention, a hybrid prediction model, namely Mix-KRL, based on the above-mentioned prediction method for multidimensional meteorological time series data is also disclosed. Specifically, this embodiment proposes a hybrid model Mix-KRL based on a width learning system using Kolmogorov-Arnold network (KAN) and hierarchical reinforcement learning (HRL) pruning. This model mainly consists of an input layer, a mapping layer, an enhancement layer, a hierarchical reinforcement learning pruning module, and an output layer. The multidimensional meteorological time series prediction process based on this Mix-KRL model is specifically divided into the following steps: Step 1, Data Preprocessing. In practice, raw multidimensional time series data can be obtained from weather stations, greenhouse monitoring platforms, or agricultural IoT sensor systems. This data should include at least the target variable to be predicted and several related input variables, such as temperature, humidity, air pressure, wind speed, wind direction, visibility, air density, and vapor pressure. To eliminate dimensional differences and improve model training stability, a standardization method is preferred for preprocessing the raw data. The expression is as follows:
[0075] in, It is a data value. These are the normalized data values. It is the average of the dataset. It is the standard deviation.
[0076] Step 2, Input Layer Structured Partitioning. The input layer is used to structure the preprocessed data. According to the present invention, the input samples are divided into two categories: temporal data and nonlinear data. Temporal data is used to characterize the evolution characteristics of the same variable over continuous time, while nonlinear data is used to characterize the coupling relationship between different variables at the same time. This dual-channel input method allows subsequent models to model both time-series dependencies and intervariate nonlinear relationships, respectively.
[0077] Step 3: Perform KAN nonlinear mapping through a mapping layer. The mapping layer receives both time data and nonlinear data from the input layer. For the nonlinear data, a KAN network is used for feature mapping. For example... Figure 4 As shown, the basic idea of KAN is to place a learnable univariate function on the connection edge and approximate complex multivariate mapping relationships through an outer combination function. Its preferred expression is:
[0078] in, That is, representing a vector The Element, index Used for traversing external functions Each component, a univariate function Used to process input vectors The The component, and for the first component Each external function contributes one term.
[0079] For nonlinear data, the feature nodes generated by KAN can be represented as:
[0080] For time-series data, time-series feature nodes are generated using linear or random mapping within the BLS framework. The expression for this can be:
[0081] Through the above steps, mapping features oriented towards nonlinear relationships and mapping features oriented towards time dependence are obtained respectively.
[0082] Step 4: Perform dual-branch enhancement modeling using ESN and GRU through an enhancement layer. The enhancement layer further processes the two types of features output from the mapping layer. For nonlinear mapping features, this invention uses an Echo State Network (ESN) for dynamic enhancement; for temporal feature nodes, this invention uses a Gated Recurrent Unit (GRU) for enhancement to improve the ability to characterize time dependencies and state changes. The preferred representation of the state updates for the ESN and GRU branches is as follows:
[0083]
[0084]
[0085] Multiple enhancement nodes combine to form a corresponding enhancement matrix, and the output of the enhancement layer. The combination of two types of matrices is expressed as follows:
[0086] in, and The first m Enhanced feature nodes mapped by GRU and ESN.
[0087] Step 5: Use hierarchical reinforcement learning to prune redundant nodes in the reinforcement layer. To avoid redundancy in reinforcement layer nodes and reduce model complexity, this invention introduces a hierarchical reinforcement learning pruning module.
[0088] The hierarchical reinforcement learning pruning module is specifically used to: construct node states based on the activation statistics of each neuron in the enhancement layer, and construct node importance information by combining the neuron activation variance and corresponding connection weights. Then, the aggregated features of all neuron states are input into the high-level policy network to generate sub-target vectors and dynamic weight coefficients. The dynamic weight coefficients are used to adjust the influence of variance importance and weight importance on the pruning decision. Subsequently, the low-level policy network combines the individual neuron states and the sub-target vectors to calculate the retention probability of each neuron, and generates a binary decision on whether to retain a neuron based on a decision threshold. Finally, the pruner deletes or sets redundant neurons to zero based on node importance and the binary decision, calculates the node retention ratio, and obtains the pruned enhancement layer output. The specific implementation steps are as follows: First, for the i-th neuron in the enhancement layer, construct its state feature vector:
[0089] in, This represents the mean activation value of the neuron. The variance of the activation values of this neuron. This represents the minimum activation value of the neuron. This represents the maximum activation value of the neuron.
[0090] Then, the high-level policy network generates sub-target vectors based on the global neuron states:
[0091]
[0092] in, This represents the aggregation characteristics of neuronal states. For sub-target vectors, For high-level policy functions, This is the first element of the sub-target vector. High-level strategy parameters These are dynamic weighting coefficients used to balance variance and the importance of weights.
[0093]
[0094]
[0095] in, Preserve the probability for the neuron. These are the underlying strategy parameters. This is the underlying strategy function. The policy threshold is used to output the obtained value. The final decision is made regarding whether to retain neurons. Through collaborative optimization of high-level and low-level policy networks, redundant augmentation nodes can be dynamically removed while maintaining prediction accuracy, thereby improving model compactness and inference efficiency.
[0096] Step 6: Solve the output layer and generate the final predicted output.
[0097] After completing the mapping layer modeling and enhancement layer pruning, the mapping layer output is fused with the pruned enhancement layer output to form the hidden layer output matrix. To avoid the reliance on backpropagation for large-scale iterative training in traditional deep networks, this invention employs a pseudo-inverse or ridge regression method with regularization to solve for the output weights in one step. Its preferred expression is:
[0098] in, The regularization coefficient is . It is the identity matrix. Y The target vector is composed of the actual temperature or humidity values corresponding to the training samples.
[0099] Step 7: The weight matrix obtained through the above steps W The final predicted output is obtained after the calculation.
[0100] In summary, step 1 addresses the issues of data availability and unified representation; step 2 completes information flow decomposition; step 3 is responsible for basic feature extraction; step 4 is responsible for deep dynamic enhancement; step 5 is responsible for structural compression and redundancy elimination; step 6 completes the output weight calculation; and step 7 achieves the actual prediction output.
[0101] According to another embodiment of the present invention, experimental data obtained after experimental verification of the prediction method for multidimensional meteorological time series data provided in the above embodiments is also disclosed: This embodiment compares the Mix-KRL provided by the present invention with ESN, LSTM, GRU, BLS, RE-BLS and Mix-BLS, and comprehensively proves the superior performance of the present invention from three dimensions: prediction curve, error distribution and quantification index.
[0102] like Figure 5 As shown, Figure 5 This is a plot of the original temperature data. The plot shows the fluctuations of the temperature series sample within the selected time interval, providing foundational data for subsequent prediction experiments.
[0103] like Figure 6 As shown, the prediction results of this invention fit the actual curve most closely, especially in the range where temperature changes are more significant, and the fitting effect is better than other comparative models.
[0104] like Figure 7 As shown, the absolute error of the present invention is small at most time points, and the error variation is relatively low, indicating that the model has high prediction accuracy and stability in temperature prediction tasks.
[0105] like Figure 8 As shown in the figure, this figure illustrates the changes in the humidity sequence sample within the selected time interval, reflecting the strong volatility and obvious temporal characteristics of the humidity data.
[0106] like Figure 9 As shown, the predicted curve of the present invention maintains good consistency with the actual value.
[0107] like Figure 10As shown, the absolute error of the present invention is small at most time points and the error fluctuation is relatively weak, indicating that the present invention also has high prediction accuracy, stability and robustness in humidity prediction tasks.
[0108] comprehensive Figure 9 and Figure 10 As can be seen, the present invention also demonstrates good trend tracking and error control capabilities on humidity datasets, verifying the universality of the proposed method.
[0109] Tables 1 and 2 show the prediction results of different models.
[0110] Table 1. Prediction results for the temperature dataset
[0111] Table 2. Prediction results of humidity dataset
[0112] The data in Tables 1 and 2 show that, on the temperature and humidity datasets, the present invention performs well in SMAPE, MAPE, RSE, and R... 2 The invention outperforms other comparative models in all key indicators, demonstrating its significant advantages in prediction accuracy and overall performance.
[0113] In summary, existing BLS and its improved techniques are structurally similar to this invention, but they still fail to adequately address the two key issues of "insufficient nonlinear feature representation capability" and "insufficient dynamic compression of redundant nodes in the enhancement layer." This invention provides a hybrid model of width learning systems (Mix-KRL) based on the Kolmogorov-Arnold network (KAN) and hierarchical reinforcement learning pruning mechanism for multidimensional meteorological time series prediction. While retaining the advantages of BLS's fast training speed and convenient parameter solving, it enhances the nonlinear feature mapping capability through KAN, dynamically prunes redundant neurons in the enhancement layer through hierarchical reinforcement learning, and combines ESN and GRU to enhance the representation capability of different types of features, thereby simultaneously improving prediction accuracy, model stability, and computational efficiency.
[0114] All or part of the steps in the various methods of the above embodiments can be implemented by a program controlling the relevant hardware. The program can be stored in a readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other readable medium that can be used to carry or store data.
[0115] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for predicting multidimensional meteorological time series data, characterized in that, include: S1, Data Preprocessing: Collect meteorological data and perform normalization preprocessing to obtain input samples; S2, Structured Partition: The input samples are divided into two categories: time data and nonlinear data. The time data is used to characterize the evolution characteristics of the same variable over continuous time, and the nonlinear data is used to characterize the coupling relationship between different variables at the same moment. S3, Feature Mapping: For the nonlinear data, a KAN network is used for feature mapping to generate nonlinear mapping feature nodes; for the temporal data, linear mapping or random mapping is used under the BLS framework to generate temporal feature nodes. S4, ESN and GRU dual-branch enhancement: For the nonlinear mapping feature nodes, ESN is used for dynamic enhancement to obtain the enhanced nonlinear feature matrix; The time-series feature nodes are enhanced using GRU to obtain an enhanced time-series feature matrix; The enhanced nonlinear feature matrix and the enhanced temporal feature matrix are combined to obtain the output of the enhancement layer; S5, Hierarchical reinforcement learning pruning: Hierarchical reinforcement learning is used to prune redundant nodes in the output of the reinforcement layer to obtain the pruned output of the reinforcement layer; S6, Output layer solution: The hidden layer output matrix is formed by concatenating the nonlinear mapping feature nodes, the temporal feature nodes, and the pruned enhancement layer output by their feature dimensions. ; Analysis using pseudo-inverse method or ridge regression method We obtain the weight matrix W; S7, Prediction Output: The prediction result is calculated based on the hidden layer output matrix corresponding to the sample to be predicted and the weight matrix W.
2. The prediction method for multidimensional meteorological time series data according to claim 1, characterized in that, In step S1, raw multidimensional time series data is obtained from a weather station, greenhouse monitoring platform, or agricultural IoT sensor system as the meteorological data; the meteorological data includes at least the target variable to be predicted and variables related to the prediction target; The meteorological data specifically includes: temperature, humidity, air pressure, wind speed, wind direction, visibility, air density, and vapor pressure; The collected raw multidimensional time series data were preprocessed using a standardization method. The expression for the preprocessing process is as follows: , in, It is a data value. These are the normalized data values. It is the average of the dataset. It is the standard deviation.
3. The prediction method for multidimensional meteorological time series data according to claim 1, characterized in that, In step S3, the KAN network places learnable univariate functions on the connection edges and approximates complex multivariate mapping relationships through outer layer combination functions. The nonlinear mapping function of the KAN network... Represented as: , in, Represents the input vector The The input vector has elements. That is, nonlinear data extracted from the meteorological data; index Used for traversing external functions Each component, a univariate function Used to process input vectors The The component, and for the first component Each external function contributes one term; The calculation process of the nonlinear mapping feature nodes is expressed as follows: ; in, This represents a nonlinear feature input matrix composed of observations of multiple meteorological variables at the same time. Indicates the number of KAN feature mapping groups. Indicates the index of the KAN feature map group; Indicates the first Feature mapping operations performed by the KAN network; Indicates the first The first group of KAN networks One outer function; Indicates the first The action of the first group in the KAN network The input variable, and to the first Each outer function provides a unary function as input, where the superscript... Indicates the number of the corresponding function Form a KAN network. , , The dimension of the input variables representing nonlinear features. This represents the nonlinear mapping feature matrix formed by combining the nonlinear mapping feature nodes generated by each group of KAN networks according to the feature dimension. The calculation process of the temporal feature nodes is expressed as follows: ; in, This represents the time-series feature input matrix constructed using a sliding time window. Indicates the first The weight matrix corresponding to the group time series feature mapping. Indicates the first The bias vector corresponding to the group time series feature mapping Indicates the first The activation function used in group time-series feature mapping is... Indicates the number of feature mapping groups. This represents the temporal feature matrix formed by combining each group of temporal feature nodes according to the feature dimension.
4. The prediction method for multidimensional meteorological time series data according to claim 1, characterized in that, In step S4, the state update process for ESN and GRU is represented as follows: ; ; ; in, and These represent the ESN in the th... Second and third Nonlinear augmented node state during next state update Indicates the first The nonlinear mapping characteristics of the input ESN during the next state update. This represents the leakage rate of the ESN, used to adjust the update ratio between historical states and current candidate states. This represents the input connection weight matrix of the ESN. This represents the internal connection weight matrix of the ESN's reservoir. This indicates the non-linear activation function used by ESN; Indicates that GRU is in the The time-series augmented node generated after the next state update Indicates the input to GRU. Group time-series mapping features Indicates the first Hidden state during the next state update This represents the parameter matrix of the update gate. This represents the parameter matrix of the reset gate. The parameter matrix representing the candidate hidden state. This represents the Sigmoid activation function. This represents the hyperbolic tangent activation function. This indicates the number of state updates for augmented nodes or the number of augmented node groups. This indicates the corresponding update index; the "" in the formula "Indicates matrix multiplication," " indicates the Hadamard product between corresponding elements, i.e., element-wise multiplication; Overall output of step S4 for: ; in, and These are the enhanced feature nodes mapped from the m-th GRU and ESN groups, respectively.
5. The prediction method for multidimensional meteorological time series data according to claim 1, characterized in that, In step S5, the pruning calculation process includes: First, for the i-th neuron in the output of the enhancement layer, construct the state feature vector s. i : ; in, Let be the mean of the activation values of the i-th neuron. Let V be the variance of the activation values of the i-th neuron. The minimum activation value of the i-th neuron. The maximum value of the activation value of the i-th neuron; Then, using a multilayer perceptron as the high-level policy network, and the aggregated vector of all augmented node state features... As input to the high-level policy network, the output sub-target vector is transformed by a fully connected layer and activated by a nonlinear process. : , ; in, This represents the aggregation characteristics of neuronal states. For sub-target vectors, For high-level policy functions, This is the first element of the sub-target vector. High-level strategy parameters These are dynamic weighting coefficients used to balance variance and weight importance. , ; in, Preserve the probability for the neuron. These are the underlying strategy parameters. This is the underlying strategy function. The policy threshold is used to output the obtained value. The final decision is made on whether to retain the neuron.
6. The prediction method for multidimensional meteorological time series data according to claim 1, characterized in that, In step S6, the hidden layer output matrix is parsed. The calculation process includes: , Where W represents the weight matrix, The regularization coefficient is . Let T be the identity matrix, and let T denote the matrix transpose calculation. The target vector is composed of the actual temperature or humidity values corresponding to the training samples.
7. A prediction system for multidimensional meteorological time series data, characterized in that, include: Memory, used to store program instructions; A processor is configured to invoke the program instructions stored in the memory to implement the prediction method for multidimensional meteorological time series data as described in any one of claims 1 to 6.
