A multi-parameter atmospheric data synchronous prediction system and method

Optimizing the loss weight through the multi-task learning model and Laplacian loss function solves the problem of difficulty in capturing parameter correlation in single-task learning, achieves simultaneous prediction of multi-parameter atmospheric data, and improves prediction accuracy and robustness.

CN115308816BActive Publication Date: 2024-10-22HARBIN INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210700588.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-20
Publication Date
2024-10-22
Estimated Expiration
2042-06-20

AI Technical Summary

Technical Problem

Among existing multi-parameter atmospheric data prediction methods, single-task learning methods cannot effectively capture the correlation and conflict information between parameters, resulting in reduced prediction accuracy. Multi-task learning methods have difficulties in adjusting loss weights, making it difficult to synchronize atmospheric parameters. predict.

Method used

Using a multi-task learning model, combined with LSTM, asymmetric sharing layer, Repeat Vector layer, GRU unit and TimeDistributed layer, the loss processing layer uses the Laplacian loss function and homoscedastic uncertainty to optimize the loss weight to achieve the relationship between atmospheric parameters synchronized prediction.

Benefits of technology

It improves the energy efficiency ratio of atmospheric parameter prediction, effectively solves the problem of parameter correlation dependence in single-task learning, and improves the accuracy and robustness of multi-parameter atmospheric data simultaneous prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115308816B_ABST
    Figure CN115308816B_ABST
Patent Text Reader

Abstract

The invention discloses a multi-parameter atmospheric data synchronous prediction system and method, comprising a data preprocessing module, an input module, a multi-task model and an output module; the data preprocessing module is used for standardizing atmospheric parameter data, the input module is used for inputting preprocessed atmospheric parameters into the multi-task model, the multi-task model is used for further processing and optimizing the preprocessed data, and the output module is used for outputting the atmospheric prediction result of the multi-task model; the multi-task model comprises: an LSTM unit, an asymmetric sharing layer, a Repeat Vector layer, a GRU unit, a Time Distributed layer and a loss processing layer; the method for improving weighted loss based on homoscedastic uncertainty and Laplace loss distribution assumptions of the invention has better performance and robustness, and can improve the characterization ability of the multi-task model and the performance of each task; the loss function derived based on the above loss term weighted processing method can improve the performance of regression tasks such as atmospheric parameter prediction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of meteorological forecasting, and more particularly to a multi-parameter atmospheric data synchronous forecasting system and method. Background Art

[0002] Changes in atmospheric factors (such as wind speed, temperature, humidity, precipitation, etc.) have a profound impact on human life. Accurate prediction of future atmospheric factors can widely serve people's daily life, transportation, agriculture, forestry, animal husbandry, disaster weather risk avoidance and other fields. At the same time, accurate prediction of atmospheric factors can provide forward-looking guidance for extreme weather warning, military analysis and futures investment, thereby helping various departments to make overall arrangements in advance according to weather changes.

[0003] Domestic and foreign scholars first used statistical algorithms and model prediction methods to predict atmospheric elements, that is, using meteorological theories such as meteorology and dynamics to explore the changing laws of corresponding elements under initial conditions and boundary conditions. As early as 1963, Zeng Qingcun thought about the prediction equations of linear and nonlinear systems from the perspective of atmospheric fluid mechanics and restored their physical processes; Marchuk et al. first introduced and summarized some algorithms for short-term weather prediction, and then proposed improved algorithms to improve prediction accuracy, using equilibrium equations in positive pressure mode and quasi-geostrophic approximation algorithms in baroclinic mode; however, the construction of such models generally requires a large number of assumptions and has many limitations, which are somewhat different from the actual situation; therefore, some scholars introduced statistical algorithms, which use statistics to calculate the frequency of a phenomenon under special circumstances in the past period of time, and infer the probability of such a phenomenon under similar circumstances in the future period of time. For example, Zhang Chenyang et al. used an improved Bayesian algorithm to process atmospheric data; Cai Shuping et al. discussed short-term load prediction based on Fisher algorithm, which made good use of the cumulative effect of atmospheric factors, but such algorithms will have some errors caused by statistics themselves, which will affect the prediction accuracy to a certain extent.

[0004] In the past 10 years, with the continuous upgrading of relevant atmospheric observation facilities, the amount of data and the types of atmospheric parameters observed have increased exponentially. The huge amount of data and the variety of data have led to the inability of traditional algorithms such as statistical algorithms and pattern prediction methods to meet people's needs for real-time prediction of multi-parameter atmospheric data. Correspondingly, with the great breakthroughs in information technology and intelligent algorithm technology, artificial intelligence (AI) technology has produced quite mature results in the fields of machine learning, image recognition, and big data analysis. Therefore, researchers from various countries are also actively exploring new ideas for applying artificial intelligence technology to the field of multi-parameter atmospheric data prediction.

[0005] In previous studies on multi-parameter atmospheric data prediction, single-task learning methods have been widely used. The idea of ​​using single-task learning for atmospheric data prediction is to decompose complex atmospheric problems into simple and independent sub-problems to solve them separately, and then merge the results to obtain the results of the original complex problem. This seems reasonable, but it is actually inappropriate. The various sub-problems of atmospheric prediction problems are often interrelated and connected by some shared factors or shared representations. They cannot be simply decomposed into independent sub-problems. If the multi-parameter atmospheric data prediction problem is treated as multiple independent single tasks, the rich associations, conflicts and constraints between the parameters will be ignored. In previous studies on the prediction of multi-parameter atmospheric data using single-task learning methods, in order to ensure the prediction effect, the operation of artificially selecting atmospheric parameters with strong correlation is usually adopted. This behavior abandons the correlation information between the selected parameters and other parameters, which not only weakens the generalization performance of the model but also is not conducive to the simultaneous prediction of all atmospheric parameters. When the prediction task contains multiple weakly correlated atmospheric parameters, the single-task learning method has become incapable.

[0006] Moreover, the simultaneous prediction of multi-parameter atmospheric data involves the joint learning of multiple regression tasks of different units and numerical scales. The current multi-task learning method commonly uses a simple weighted sum of losses, where the weights of each loss are uniform or manually adjusted; however, some scholars have found that the performance of multi-task models is highly dependent on the selection of appropriate weights between the losses of each task. The optimal weight for each task depends on the numerical scale and ultimately on the size of the task noise. In this context, the weight optimization process is very difficult and difficult to solve through manual adjustment.

[0007] Therefore, how to provide a multi-parameter atmospheric data synchronous prediction system and method is a problem that technical personnel in this field urgently need to solve. Summary of the invention

[0008] In view of this, the present invention provides a multi-parameter atmospheric data synchronous prediction system and method to solve the problems mentioned in the background technology.

[0009] In order to achieve the above object, the present invention adopts the following technical solution:

[0010] A multi-parameter atmospheric data synchronous prediction system, comprising: a data preprocessing module, an input module, a multi-task model and an output module; the data preprocessing module is used to standardize the atmospheric parameter data, the input module is used to input the preprocessed atmospheric parameters into the multi-task model, the multi-task model is used to further process and optimize the preprocessed data, and the output module is used to output the atmospheric prediction results of the multi-task model;

[0011] The multi-task model includes: LSTM unit, asymmetric sharing layer, Repeat Vector layer, GRU unit, TimeDistributed layer and loss processing layer;

[0012] The LSTM unit is used to process the preprocessed atmospheric data to capture the relationship between various atmospheric parameters and time, and output preliminary prediction data of various meteorological parameters;

[0013] The asymmetric sharing layer is used to perform weight parameter sharing layer allocation on the preliminary prediction data to achieve auxiliary prediction between strongly correlated meteorological parameters;

[0014] The Repeat Vector layer is used to replicate the output data of each asymmetric shared layer without changing the time step and changing the data dimension of each time step;

[0015] The GRU unit is used to obtain the currently outputted atmospheric parameter data according to the atmospheric parameter data in the previous time step and the currently memorized atmospheric parameter data;

[0016] The Time Distributed layer is used to perform Dense operations on the multidimensional data at each time step for the same number of times as the number of output variables of the layer, and output the predicted data of each atmospheric parameter;

[0017] The loss processing layer is used to optimize the loss weights in various atmospheric data by taking the homoscedastic uncertainty between the prediction data of each atmospheric parameter as noise.

[0018] Preferably, the time sliding window processing unit is used to process the data of each time period in chronological order to obtain the characteristics of the target in each time period, and then obtain the change trend of the data from continuous time segments by analyzing the same characteristics in different time dimensions, construct past atmospheric characteristics and future atmospheric characteristics, and take the future atmospheric characteristics as the target value.

[0019] Preferably, the loss processing layer also includes a Laplace loss function, specifically:

[0020]

[0021] where f w (x) is the output of the neural network with input x and weight value W. Define λ as the observation noise value, which is used to capture the amount of noise in the model output. Minimize the loss by adaptively learning the relative weights of the losses L1(w) and L2(w) based on the data. λ1 and λ2 are the weight relationship factors of the loss functions of the two regression tasks, respectively. Logλ1λ2 is the regularization term of the weight relationship factors λ1 and λ2. Let When the noise parameter λ1 of the variable y1 increases, the weight of L1(w) decreases, and the weight of the corresponding target increases when the noise decreases.

[0022] Preferably, the loss processing layer is also used to update the weight parameter λ of each subtask synchronously with the training during the multi-task model learning process, and adjust the relative weight of each task in the loss, so as to promote the synchronous convergence of each subtask, optimize the multi-task learning process, and obtain the multi-task learning target. The parameter update formula in the gradient descent process is:

[0023]

[0024]

[0025] Among them, θ represents the weight parameter associated with each subtask, λ represents the weight coefficient of each subtask loss, and the total loss J(θ, λ) is jointly affected by θ and λ, while θ and λ are updated through gradient back propagation.

[0026] Preferably, the Laplace loss function is a multi-task loss function based on homoscedastic uncertainty and Laplace likelihood maximization, and the homoscedastic uncertainty is used as noise to optimize the weights in multi-task learning. The specific process is:

[0027] f w (x) is the output of the neural network with input x and weight W. For regression tasks, the probability model is defined as a Laplace distribution function whose mean is given by the model output:

[0028] p(y|f w (x)) = La(f w (x),λ)

[0029] Under the observation noise scalar λ, in order to match the classification task, the model output is processed using the softmax function and the generated probability vector is sampled:

[0030] p(y|f w (x)) = Softmax(f w (x)

[0031] In the presence of multiple outputs y1, ..., y k In the case of independent and identical distribution between tasks, define f w (x) is a sufficient statistic, and the multi-task likelihood estimate is:

[0032] p(y1, ..., y k |f w (x))=p(y1|f w (x))...p(y k|f w (x)

[0033] In maximum likelihood inference, the log-likelihood of the model is maximized. Taking regression tasks as an example, its log-likelihood estimate is:

[0034]

[0035] For two regression-based tasks, the loss functions can be defined:

[0036]

[0037] A multi-parameter atmospheric data synchronous prediction method comprises the following steps:

[0038] S1. Standardize the data of various atmospheric parameters;

[0039] S2. Input the standardized atmospheric parameter data into the multi-task model for further data analysis, processing and optimization;

[0040] S3. Output meteorological data forecast results;

[0041] The training process of the multi-task model includes:

[0042] S21. Obtain historical data of atmospheric parameters;

[0043] S22. Performing standardization and correlation analysis on the historical data;

[0044] S23. Perform time sliding window processing on the atmospheric meteorological data to obtain historical multidimensional feature data and future multidimensional feature data, and generate a training set and a test set;

[0045] S24. Processing the standardized atmospheric data to capture the relationship between various atmospheric parameters and time, and outputting preliminary forecast data of multiple meteorological parameters;

[0046] S25. According to the results of atmospheric data correlation analysis, weight parameter sharing layers are allocated to the preliminary forecast data to achieve auxiliary forecasts between strongly correlated meteorological parameters;

[0047] S26. copy the output data of each asymmetric shared layer, without changing the time step, and changing the data dimension of each time step;

[0048] S27. Obtaining the currently output atmospheric data according to the atmospheric data in the previous time step and the currently memorized atmospheric data;

[0049] S28. Perform Dense operations on the multidimensional data at each time step for the same number of times as the number of output variables of the layer, and output the predicted data of each atmospheric parameter;

[0050] S26. changing the time step of each asymmetric shared layer data, and obtaining the current final output atmospheric data according to the atmospheric data in the previous time step and the atmospheric data currently memorized;

[0051] S27. Using homoscedastic uncertainty as noise to optimize loss weights in multi-task learning.

[0052] Preferably, the specific content of S23 is: processing the atmospheric parameter data of each time period in chronological order to obtain the characteristics of the target in each time period, and then obtaining the change trend of the data from continuous time segments by analyzing the same characteristics in different time dimensions, constructing past atmospheric characteristics and future atmospheric characteristics, and taking the future atmospheric characteristics as the target value.

[0053] Preferably, S27 includes a Laplace loss function, specifically:

[0054]

[0055] where f w (x) is the output of the neural network with input x and weight value W. Define λ as the observation noise value, which is used to capture the amount of noise in the model output. Minimize the loss by adaptively learning the relative weights of the losses L1(w) and L2(w) based on the data. λ1 and λ2 are the weight relationship factors of the loss functions of the two regression tasks, respectively. Logλ1λ2 is the regularization term of the weight relationship factors λ1 and λ2. Let When the noise parameter λ1 of the variable y1 increases, the weight of L1(w) decreases, and the weight of the corresponding target increases when the noise decreases.

[0056] Preferably, S27 also includes updating the weight parameter λ of each subtask synchronously with the training during the multi-task model learning process, adjusting the relative weight of each task in the loss, so as to promote the synchronous convergence of each subtask, optimize the multi-task learning process, and obtain the multi-task learning target. The parameter update formula in the gradient descent process is:

[0057]

[0058]

[0059] Among them, θ represents the weight parameter associated with each subtask, λ represents the weight coefficient of each subtask loss, and the total loss J(θ, λ) is jointly affected by θ and λ, while θ and λ are updated through gradient back propagation.

[0060] Preferably, the Laplace loss function is a multi-task loss function based on homoscedastic uncertainty and Laplace likelihood maximization, and the homoscedastic uncertainty is used as noise to optimize the weights in multi-task learning. The specific process is:

[0061] f w (x) is the output of the neural network with input x and weight W. For regression tasks, the probability model is defined as a Laplace distribution function whose mean is given by the model output:

[0062] p(y|f w (x)) = La(f w (x),λ)

[0063] Under the observation noise scalar λ, in order to match the classification task, the model output is processed using the softmax function and the generated probability vector is sampled:

[0064] p(y|f w (x)) = Softmax(f w (x)

[0065] In the presence of multiple outputs y1, ..., y k In the case of independent and identical distribution between tasks, define f w (x) is a sufficient statistic, and the multi-task likelihood estimate is:

[0066] p(y1, ..., y k |f w (x))=p(y1|f w (x))...p(y k |f w (x)

[0067] In maximum likelihood inference, the log-likelihood of the model is maximized. Taking regression tasks as an example, its log-likelihood estimate is:

[0068]

[0069] For two regression-based tasks, the loss functions can be defined:

[0070]

[0071] It can be seen from the above technical solutions that, compared with the prior art, the present invention discloses a system and method for synchronous prediction of multi-parameter atmospheric data, and proposes an improved classification and regression loss function based on homoscedastic uncertainty and Laplace loss distribution assumptions that can simultaneously learn multi-scale data; a network structure suitable for synchronous prediction of multi-parameter atmospheric data is designed based on multi-task learning and asymmetric sharing mechanism, and it is proved that the multi-task model based on the asymmetric sharing mechanism can effectively solve the problem of atmospheric parameter correlation dependence in single-task learning, and has higher energy efficiency in the field of complex correlation atmospheric parameter prediction; taking the synchronous prediction task of multi-parameter atmospheric data as an example, the use of the asymmetric sharing mechanism of multi-task learning in atmospheric data prediction is demonstrated; the importance of loss weighting in multi-task deep learning is demonstrated through experimental comparison. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0073] Figure 1 The accompanying drawing is a schematic diagram of a multi-parameter atmospheric data synchronous prediction system architecture provided by the present invention;

[0074] Figure 2 The accompanying drawing shows the internal structure of the LSTM unit provided by the present invention;

[0075] Figure 3 The accompanying drawing shows the internal structure of the GRU unit provided by the present invention;

[0076] Figure 4 The accompanying drawings show the asymmetric shared layer structure provided by the present invention;

[0077] Figure 5 The accompanying drawing is a schematic diagram of data time sliding window processing provided by the present invention;

[0078] Figure 6 The accompanying drawing shows a single-task learning model structure using a classic loss processing method provided by an embodiment of the present invention;

[0079] Figure 7 The accompanying drawing shows a multi-task learning model structure using a classic loss processing method provided by an embodiment of the present invention;

[0080] Figure 8 The accompanying drawing is a schematic diagram of the change of loss during the training process of model ① provided in an embodiment of the present invention;

[0081] Fig. 9The accompanying drawing is a schematic diagram of the change of loss during the training process of model ② provided in an embodiment of the present invention;

[0082] Fig.10 The accompanying drawing is a schematic diagram of the change of loss during the training process of model ③ provided in an embodiment of the present invention;

[0083] Fig.11 The accompanying drawing is a schematic diagram of the change of loss during the training process of model ④ provided in an embodiment of the present invention;

[0084] Fig.12 The accompanying drawing is a schematic diagram of the change of loss during the training process of model ⑤ provided in an embodiment of the present invention;

[0085] Fig.13 The accompanying drawing is a schematic diagram of the change of loss during the training process of the model ⑥ provided in an embodiment of the present invention;

[0086] Fig.14 The accompanying drawing is a schematic diagram of the time required for training each model provided in an embodiment of the present invention;

[0087] Fig.15 The accompanying drawing is a schematic diagram of the MSE values ​​of various models provided in the embodiments of the present invention;

[0088] Fig.16 The accompanying drawings are schematic diagrams showing the prediction effects of Model ④, Model ⑤ and Model ⑥ on the atmospheric parameter T provided by the embodiments of the present invention;

[0089] Fig.17 The accompanying drawings are schematic diagrams showing the prediction effects of Model ④, Model ⑤ and Model ⑥ on the atmospheric parameter RHO provided in an embodiment of the present invention;

[0090] Fig.18 The accompanying drawings are schematic diagrams showing the prediction effects of the models ④, ⑤ and ⑥ on the atmospheric parameter SH provided in the embodiments of the present invention;

[0091] Fig.19 The accompanying drawings are schematic diagrams showing the prediction effects of Model ④, Model ⑤ and Model ⑥ on the atmospheric parameter H2OC provided in an embodiment of the present invention;

[0092] Fig. 20 The accompanying drawings are schematic diagrams showing the prediction effects of models ④, ⑤ and ⑥ on the atmospheric parameter RH provided in the embodiments of the present invention;

[0093] Fig.21 The accompanying drawing is a schematic diagram of the prediction effect of model ④, model ⑤ and model ⑥ on the atmospheric parameter P provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0094] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.

[0095] The embodiment of the present invention discloses a multi-parameter atmospheric data synchronous prediction system, comprising: a data preprocessing module, an input module, a multi-task model and an output module; the data preprocessing module is used to standardize the atmospheric parameter data, the input module is used to input the preprocessed atmospheric parameters into the multi-task model, the multi-task model is used to further process and optimize the preprocessed data, and the output module is used to output the atmospheric prediction results of the multi-task model;

[0096] The multi-task model includes: LSTM unit, asymmetric shared layer, Repeat Vector layer, GRU unit, TimeDistributed layer and loss processing layer;

[0097] LSTM unit, used to process the preprocessed atmospheric data to capture the relationship between various atmospheric parameters and time, and output preliminary forecast data of various meteorological parameters;

[0098] Asymmetric sharing layer, used to allocate weight parameter sharing layer to preliminary forecast data to achieve auxiliary forecast between strongly correlated meteorological parameters;

[0099] Repeat Vector layer, used to copy the output data of each asymmetric shared layer, without changing the time step, but changing the data dimension of each time step;

[0100] The GRU unit is used to obtain the current output atmospheric parameter data according to the atmospheric parameter data in the previous time step and the currently memorized atmospheric parameter data;

[0101] The Time Distributed layer is used to perform Dense operations on the multidimensional data at each time step for the same number of times as the number of output variables of this layer, and output the predicted data of each atmospheric parameter;

[0102] The loss processing layer is used to optimize the loss weights in various atmospheric data by treating the homoscedastic uncertainty among the prediction data of each atmospheric parameter as noise.

[0103] In order to further implement the above technical solution, a time sliding window processing unit is used to process the data of each time period in chronological order to obtain the characteristics of the target in each time period, and then obtain the data change trend from continuous time segments by analyzing the same characteristics in different time dimensions, construct past atmospheric characteristics and future atmospheric characteristics, and take future atmospheric characteristics as target values.

[0104] In order to further implement the above technical solution, the loss processing layer also includes a Laplace loss function, specifically:

[0105]

[0106] where f w (x) is the output of the neural network with input x and weight value W. Define λ as the observation noise value, which is used to capture the amount of noise in the model output. Minimize the loss by adaptively learning the relative weights of the losses L1(w) and L2(w) based on the data. λ1 and λ2 are the weight relationship factors of the loss functions of the two regression tasks, respectively. Logλ1λ2 is the regularization term of the weight relationship factors λ1 and λ2. Let When the noise parameter λ1 of the variable y1 increases, the weight of L1(w) decreases, and the weight of the corresponding target increases when the noise decreases.

[0107] In order to further implement the above technical solution, the loss processing layer is also used to update the weight parameter λ of each subtask synchronously with the training during the multi-task model learning process, and adjust the relative weight of each task in the loss, so as to promote the synchronous convergence of each subtask, optimize the multi-task learning process, and obtain the multi-task learning target. The parameter update formula in the gradient descent process is:

[0108]

[0109]

[0110] Among them, θ represents the weight parameter associated with each subtask, λ represents the weight coefficient of each subtask loss, and the total loss J(θ, λ) is jointly affected by θ and λ, while θ and λ are updated through gradient back propagation.

[0111] In order to further implement the above technical solution, the Laplace loss function is a multi-task loss function based on homoscedastic uncertainty and Laplace likelihood maximization. The homoscedastic uncertainty is used as noise to optimize the weights in multi-task learning. The specific process is:

[0112] f w (x) is the output of the neural network with input x and weight W. For regression tasks, the probability model is defined as a Laplace distribution function whose mean is given by the model output:

[0113] p(y|f w (x)) = La(f w (x),λ)

[0114] Under the observation noise scalar λ, in order to match the classification task, the model output is processed using the softmax function and the generated probability vector is sampled:

[0115] p(y|f w (x)) = Softmax(f w (x)

[0116] In the presence of multiple outputs y1, ..., y k In the case of independent and identical distribution between tasks, define f w (x) is a sufficient statistic, and the multi-task likelihood estimate is:

[0117] p(y1, ..., y k |f w (x))=p(y1|f w (x))...p(y k |f w (x)

[0118] In maximum likelihood inference, the log-likelihood of the model is maximized. Taking regression tasks as an example, its log-likelihood estimate is:

[0119]

[0120] For two regression-based tasks, the loss functions can be defined:

[0121]

[0122] A multi-parameter atmospheric data synchronous prediction method comprises the following steps:

[0123] S1. Standardize the data of various atmospheric parameters;

[0124] S2. Input the standardized atmospheric parameter data into the multi-task model for further data analysis, processing and optimization;

[0125] S3. Output meteorological data forecast results;

[0126] The training process of the multi-task model includes:

[0127] S21. Obtain historical data of atmospheric parameters;

[0128] S22. Standardize and analyze historical data;

[0129] S23. Perform time sliding window processing on the atmospheric meteorological data to obtain historical multidimensional feature data and future multidimensional feature data, and generate a training set and a test set;

[0130] S24. Processing the standardized atmospheric data to capture the relationship between various atmospheric parameters and time, and outputting preliminary forecast data of multiple meteorological parameters;

[0131] S25. According to the results of atmospheric data correlation analysis, weight parameter sharing layers are allocated to the preliminary forecast data to achieve auxiliary forecasts between strongly correlated meteorological parameters;

[0132] S26. copy the output data of each asymmetric shared layer, without changing the time step, and changing the data dimension of each time step;

[0133] S27. Obtaining the currently output atmospheric data according to the atmospheric data in the previous time step and the currently memorized atmospheric data;

[0134] S28. Perform Dense operations on the multidimensional data at each time step for the same number of times as the number of output variables of the layer, and output the predicted data of each atmospheric parameter;

[0135] S26. changing the time step of each asymmetric shared layer data, and obtaining the current final output atmospheric data according to the atmospheric data in the previous time step and the atmospheric data currently memorized;

[0136] S27. Using homoscedastic uncertainty as noise to optimize loss weights in multi-task learning.

[0137] In order to further implement the above technical solution, the specific content of S23 is: process the atmospheric parameter data of each time period in chronological order to obtain the characteristics of the target in each time period, and then obtain the data change trend from continuous time segments by analyzing the same characteristics in different time dimensions, construct past atmospheric characteristics and future atmospheric characteristics, and use future atmospheric characteristics as target values.

[0138] In order to further implement the above technical solution, S27 includes a Laplace loss function, specifically:

[0139]

[0140] where f w (x) is the output of the neural network with input x and weight value W. Define λ as the observation noise value, which is used to capture the amount of noise in the model output. Minimize the loss by adaptively learning the relative weights of the losses L1(w) and L2(w) based on the data. λ1 and λ2 are the weight relationship factors of the loss functions of the two regression tasks, respectively. Logλ1λ2 is the regularization term of the weight relationship factors λ1 and λ2. Let When the noise parameter λ1 of the variable y1 increases, the weight of L1(w) decreases, and the weight of the corresponding target increases when the noise decreases.

[0141] In order to further implement the above technical solution, S27 also includes updating the weight parameter λ of each subtask synchronously with the training during the multi-task model learning process, adjusting the relative weight of each task in the loss, so as to promote the synchronous convergence of each subtask, optimize the multi-task learning process, and obtain the multi-task learning target. The parameter update formula in the gradient descent process is:

[0142]

[0143]

[0144] Among them, θ represents the weight parameter associated with each subtask, λ represents the weight coefficient of each subtask loss, and the total loss J(θ, λ) is jointly affected by θ and λ, while θ and λ are updated through gradient back propagation.

[0145] In order to further implement the above technical solution, the Laplace loss function is a multi-task loss function based on homoscedastic uncertainty and Laplace likelihood maximization. The homoscedastic uncertainty is used as noise to optimize the weights in multi-task learning. The specific process is:

[0146] f w (x) is the output of the neural network with input x and weight W. For regression tasks, the probability model is defined as a Laplace distribution function whose mean is given by the model output:

[0147] p(y|f w (x)) = La(f w (x),λ)

[0148] Under the observation noise scalar λ, in order to match the classification task, the model output is processed using the softmax function and the generated probability vector is sampled:

[0149] p(y|f w (x)) = Softmax(f w (x)

[0150] In the presence of multiple outputs y1, ..., y k In the case of independent and identical distribution between tasks, define f w (x) is a sufficient statistic, and the multi-task likelihood estimate is:

[0151] p(y1, ..., y k |f w (x))=p(y1|f w(x))...p(y k |f w (x)

[0152] In maximum likelihood inference, the log-likelihood of the model is maximized. Taking regression tasks as an example, its log-likelihood estimate is:

[0153]

[0154] For two regression-based tasks, the loss functions can be defined:

[0155]

[0156] In this embodiment, a deep learning development platform based on TensorFlow and Keras is used. Keras is one of the most powerful and easy-to-use python libraries, running on open source machine libraries such as TensorFlow, Theano or Cognitive Toolkit (CNTK). This embodiment uses tensor flow as the computing background, and the platform version used is shown in Table 1.

[0157] Table 1 Software and versions used in this example

[0158]

[0159] In this embodiment, the German Jena data set (Jena_climate_2009_2016.csv) commonly used in the meteorological field is used for the experiment, and the data set is recorded by the weather station of the Max Planck Institute for Biogeochemistry in Jena, Germany. Since 2003, the weather station has collected meteorological data every 10 minutes and recorded and summarized, including relative humidity, atmospheric pressure, daily precipitation, water vapor concentration, air density, wind speed, wind direction, global radiation, photosynthetically active radiation, net radiation of the earth, carbon dioxide concentration, surface temperature, soil temperature and other 14 different characteristics, using the data collected by the weather station between 2009 and 2016.

[0160] In this embodiment, correlation analysis is the process of quantifying the correlation between variables. By calculating the correlation coefficient between variables, the strength of the correlation between two or more variables is quantitatively described. The result of the quantitative description is various correlation coefficients. The correlation coefficient between two variables measures the linear relationship between fixed-distance variables, including the strength and direction of the linear relationship. The Pearson product-moment correlation coefficient is used to characterize the strength of the correlation between various atmospheric parameters. The absolute value of the correlation coefficient close to 1 means that two or more variables have a strong relationship with each other, and the absolute value of the correlation coefficient close to 0 means that the variables have almost no correlation. For example: 1 indicates a perfect positive correlation, -1 indicates a perfect negative correlation, and 0 indicates that there is no correlation between the variables.

[0161] By calculating the covariance and standard deviation of the sample, the Pearson product-moment correlation coefficient of the two variable samples and can be obtained, as shown in the formula:

[0162]

[0163] Taking the Jena dataset as an example, the correlation coefficients between the atmospheric parameters contained in the Jena dataset are calculated, and the results are shown in Table 2:

[0164]

[0165]

[0166] From the data in Table 2, we can see that wind speed and air pressure show obvious weak correlation with most parameters, while other parameters have obvious strong correlation.

[0167] In order to demonstrate the advantages of multi-task learning models in predicting multiple complex-correlated atmospheric parameters, water vapor content, specific humidity, wind speed and air pressure are selected as experimental parameters for models ① and ②. Among them, water vapor content and specific humidity share a feature sharing layer because of their obvious strong correlation. Wind speed and air pressure are weakly correlated with all variables other than themselves. In order to prevent learning from falling into local optimality, when dealing with the prediction problems of wind speed and air pressure, this embodiment specifies water vapor content and specific humidity as intermediate variables for wind speed and air pressure respectively based on the strength of correlation and designs two new feature sharing layers. In order to demonstrate the importance of loss weighting in multi-task learning and prove that the Laplace loss function has better performance and robustness, this embodiment selects temperature (T), atmospheric density (RHO), specific humidity (SH), water vapor content (H2OC), relative humidity (RH), and atmospheric pressure (P) as experimental parameters for models ③, ④, ⑤, and ⑥, and constructs three feature sharing layers for each model based on the correlation analysis results. The feature sharing layer structures of the four models are exactly the same. The feature sharing layer structures are as follows Figure 4 shown.

[0168] In this embodiment, the supervised learning data conversion is completed for the data set using time windows of size 72 and 24, and finally multiple groups of multi-dimensional feature data with 72 samples as a group and multi-dimensional target data with 24 samples as a group are generated. This process can be interpreted as using 72 hours of historical atmospheric data to predict 24 hours of future atmospheric data. Then, the converted data is manually divided into training set and test set in a ratio of 8:2, and 25% of the total training set data is used as the verification set, such as Figure 5 shown.

[0169] In this embodiment, in order to demonstrate the performance advantage of multi-task learning and the importance of loss weighting in multi-task learning, this embodiment designs two sets of comparative experiments, involving 3 types and 6 models in total. The first type of model is a single-task learning model for multi-parameter prediction. This type of model requires a strong correlation between the input variables. Its structure is as follows: Figure 6 As shown in Figure 2. The second type of model is a multi-task learning model that uses the classic loss processing method. Its structure is as follows: Figure 7 The third type of model is a multi-task learning model with an additional Laplace multi-loss processing layer. Its structure is as follows Figure 1 shown.

[0170] All three types of models use the LSTM-GRU stacking structure as the backbone structure. The difference between the type I model and the type II model is the different learning methods. The type II model and the type III model are both multi-task learning models. The main difference is that the losses of multiple subtasks are handled differently. The type I model contains only one model, which is used to simultaneously predict four atmospheric variables and uses MSE as the loss function. The type II model contains three models, one model is used to simultaneously predict four atmospheric variables and uses MSE as the loss function; one model is used to simultaneously predict six atmospheric variables and uses MAE as the loss function; the last model is used to simultaneously predict six atmospheric variables and uses MSE as the loss function. The type III model contains two models, both of which are used to simultaneously predict six atmospheric variables. One model uses a Gaussian multi-loss processing layer to process the model loss, and the other model uses the Laplace multi-loss processing layer proposed in this embodiment to process the model loss. The relevant information of the models involved in this embodiment is shown in Table 3.

[0171] Table 3 Model details

[0172]

[0173]

[0174] In this embodiment, the results are analyzed based on the evaluation indexes.

[0175] The mean square error (MSE) is used as the evaluation index of network model performance to measure the performance of different network models; the prediction time is used to simply characterize the efficiency of the model.

[0176] The six models were trained for 100 epochs respectively. The loss changes of each model during the training process are as follows: Figure 8-Figure 13 As shown in the figure, we can see that as the number of training times increases, the model loss with MSE and MAE as loss functions gradually approaches 0, and the model loss with a custom loss processing layer approaches a stable negative value. The loss is the minimum value of the function after the real problem is abstracted into a convex optimization problem. The abstract process of the problem is meaningful, while the loss value is meaningless. Therefore, both cases indicate that the model is effective and the calculation converges.

[0177] After the loss converges to a stable minimum value, the trained model is obtained. The trained model is used to perform multi-parameter atmospheric data prediction and summarize the training time, prediction time and MSE value of each model. The results are as follows Figure 14-15 As shown. The prediction time is defined as the efficiency of the model, 1 / MSE is the performance of the model, and the energy efficiency ratio is the ratio of the model performance to the prediction efficiency. From the analysis of the data of models ① and ②, it can be seen that the training time and prediction time of the single-task model are 8.9% and 16.31% shorter than those of the multi-task model, respectively, but the prediction performance also decreases by 20.86%. The multi-task model has a higher energy efficiency ratio than the single-task model. From the analysis of the data of models ③ and ⑥, it can be seen that the prediction time of model ⑥ is reduced by 5.2%, 1.20% and 2.25% respectively compared with the benchmark models ③, ④ and ⑤, but the performance is improved by 14.22%, 6.6% and 6.07% respectively. The model based on the Laplace loss function shows the highest energy efficiency ratio among the multi-task learning models in this experiment. It should be pointed out that the multi-task model based on the Laplace loss function achieved a lower MSE value than the benchmark model in the experiment, which shows that the Laplace loss function is more applicable in the field of atmospheric data prediction than the traditional MSE, MAE and Guass loss function proposed in the CV field.

[0178] It is often impossible to intuitively analyze the performance of each subtask in the multi-task model by simply adding the MSE value of multiple tasks. Therefore, this paper gives the MSE values ​​of models ③⑥ on different subtasks and the performance comparison of different loss functions on different subtasks, as shown in Table 4 and Table 5. Table 5 shows the performance gap of the multi-task model on different subtasks when using different loss functions, calculated using the formula. Analyzing the performance of each model from the perspective of subtasks, the performance of model ⑥ is improved by 55.10%, 27.83% and 16.35% respectively compared with models ③④⑤. The maximum performance gap is reflected in the prediction task of atmospheric parameter P. The above results show that the multi-task learning model proposed in this paper can better solve the most difficult problem of weakly correlated atmospheric parameter prediction in the complex correlation atmospheric parameter prediction task. Comprehensive analysis of all the data shows that, thanks to the better robustness of MAE and Laplace loss functions, they perform better than MSE and Guass loss functions when processing atmospheric data containing outliers. Model ⑥ performs significantly better than models ③ and ④ using classic loss functions in the six regression subtasks, and its performance in four of the subtasks is significantly better than that of model ⑤, reflecting the excellent performance of the improved loss function based on homoscedastic uncertainty and Laplace assumption proposed in this paper in multi-task learning.

[0179] Table 4 MSE values ​​of subtasks in the multi-task model

[0180]

[0181] Table 5 Performance comparison of different loss functions on different subtasks

[0182]

[0183]

[0184] 72 hours of historical atmospheric data are input into the trained multi-task models ③ and ⑥ respectively, and the multi-parameter atmospheric data prediction task is performed to obtain the atmospheric data for the next 24 hours. By comparing the results of model ④ with model ⑥, the performance improvement brought by the loss based on homoscedastic uncertainty weighted multi-task learning can be intuitively demonstrated. By comparing the results of model ⑤ with model ⑥, the performance of the Laplace loss distribution hypothesis and the Gaussian loss distribution hypothesis in the atmospheric parameter prediction task based on multi-task learning can be more intuitively analyzed. Therefore, this paper focuses on the comparative analysis of the prediction effects of model ④, model ⑤ and model ⑥ on different atmospheric parameters, and gives the prediction results of the three for a total of 6 atmospheric parameters including T, RHO, SH, H2OC, RH, and P. Figure 16-Figure 21 shown.

[0185] By analyzing Figure 16-Figure 21It can be seen that the performance of models ④⑤⑥ in the prediction tasks of the six atmospheric parameters is completely consistent with the model performance characterization based on the MSE value in Table 5, which proves the reliability of selecting MSE as the model performance evaluation indicator in this paper; in the prediction tasks of the four atmospheric parameters T, RHO, SH, and P, model ⑥ based on the homoscedasticity and Laplace distribution assumptions achieved the best prediction results. In the two prediction tasks of H2OC and RH, the prediction effect of model ⑥ was slightly worse than that of model ⑤ based on the Gaussian distribution assumption, indicating that the Laplace loss distribution assumption is more suitable than the Gaussian loss distribution assumption in multi-task learning to solve multi-task regression problems with outliers such as atmospheric data prediction; in the prediction tasks of all parameters, the prediction effect of model ⑥ was better than that of model ④, which fully illustrates the importance of loss weighting in multi-task learning. In the prediction of the four atmospheric parameters SH, H2OC, RH, and P, model ⑤ performed better than model ④, indicating that the loss processing method has a greater impact on model performance than the loss distribution assumption when using multi-task learning to predict atmospheric parameters.

[0186] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

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

Claims

1. A multi-parameter atmospheric data synchronous prediction system, characterized in that: include: Data preprocessing module, input module, multi-task model and output module; The data preprocessing module is used to standardize the atmospheric parameter data; the input module is used to input the preprocessed atmospheric parameters into the multi-task model; the multi-task model is used to further process and optimize the preprocessed data; the output module is used to output the atmospheric prediction results of the multi-task model; The multi-task model includes: LSTM unit, asymmetric sharing layer, Repeat Vector layer, GRU unit, TimeDistributed layer and loss processing layer; The LSTM unit is used to process the preprocessed atmospheric data to capture the relationship between various atmospheric parameters and time, and output preliminary prediction data of various meteorological parameters; The asymmetric sharing layer is used to perform weight parameter sharing layer allocation on the preliminary prediction data to achieve auxiliary prediction between strongly correlated meteorological parameters; The Repeat Vector layer is used to replicate the output data of each asymmetric shared layer without changing the time step and changing the data dimension of each time step; The GRU unit is used to obtain the currently outputted atmospheric parameter data according to the atmospheric parameter data in the previous time step and the currently memorized atmospheric parameter data; The Time Distributed layer is used to perform Dense operations on the multidimensional data at each time step for the same number of times as the number of output variables of the layer, and output the predicted data of each atmospheric parameter; The loss processing layer is used to optimize the loss weights in various atmospheric data by taking the homoscedastic uncertainty between the prediction data of each atmospheric parameter as noise.

2. A multi-parameter atmospheric data synchronous prediction system according to claim 1, characterized in that: The time sliding window processing unit is used to process the data of each time period in time order to obtain the characteristics of the target in each time period, and then obtain the change trend of the data from the continuous time segments by analyzing the same characteristics in different time dimensions, construct the past atmospheric characteristics and the future atmospheric characteristics, and take the future atmospheric characteristics as the target value.

3. A multi-parameter atmospheric data synchronous prediction system according to claim 1, characterized in that: The loss processing layer also includes a Laplace loss function, specifically: where f w (x) is the output of the neural network with input x and weight value W. Define λ as the observation noise value, which is used to capture the amount of noise in the model output. Minimize the loss by adaptively learning the relative weights of the losses L1(w) and L2(w) based on the data. λ1 and λ2 are the weight relationship factors of the loss functions of the two regression tasks, respectively. Logλ1λ2 is the regularization term of the weight relationship factors λ1 and λ2. Let L1(w)=||y1-f1 w (x)||, L2(w)=||y2-f2 w (x)||When the noise parameter λ1 of the variable y1 increases, the weight of L1(w) decreases, and when the noise decreases, the weight of the corresponding target increases.

4. A multi-parameter atmospheric data synchronous prediction system according to claim 1, characterized in that: The loss processing layer is also used to update the weight parameter λ of each subtask synchronously with the training during the multi-task model learning process, and adjust the relative weight of each task in the loss, so as to promote the synchronous convergence of each subtask, optimize the multi-task learning process, and obtain the multi-task learning target. The parameter update formula in the gradient descent process is: Among them, θ represents the weight parameter associated with each subtask, λ represents the weight coefficient of each subtask loss, and the total loss J(θ, λ) is jointly affected by θ and λ, while θ and λ are updated through gradient back propagation.

5. A multi-parameter atmospheric data synchronous prediction system according to claim 3, characterized in that: The Laplace loss function is a multi-task loss function based on homoscedastic uncertainty and Laplace likelihood maximization. The homoscedastic uncertainty is used as noise to optimize the weights in multi-task learning. The specific process is: f w (x) is the output of the neural network with input x and weight W. For regression tasks, the probability model is defined as a Laplace distribution function whose mean is given by the model output: p(y|f w (x))=La(f w (x),λ) Under the observation noise scalar λ, in order to match the classification task, the model output is processed using the softmax function and the generated probability vector is sampled: p(y|f w (x))=Softmax(f w (x)) In the presence of multiple outputs y1, ..., y k In the case of independent and identical distribution between tasks, define f w (x) is a sufficient statistic, and the multi-task likelihood estimate is: p(y1,...,y k |f w (x))=p(y1|f w (x))...p(y k |f w (x)) In maximum likelihood inference, the log-likelihood of the model is maximized. Taking regression tasks as an example, its log-likelihood estimate is: For two regression-based tasks, the loss functions can be defined:

6. A multi-parameter atmospheric data synchronous prediction method, based on a multi-parameter atmospheric data synchronous prediction system according to any one of claims 1 to 5, characterized in that: The following steps are involved: S1. Standardize the data of various atmospheric parameters; S2. Input the standardized atmospheric parameter data into the multi-task model for further data analysis, processing and optimization; S3. Output meteorological data forecast results; The training process of the multi-task model includes: S21. Obtain historical data of atmospheric parameters; S22. Performing standardization and correlation analysis on the historical data; S23. Perform time sliding window processing on the atmospheric meteorological data to obtain historical multidimensional feature data and future multidimensional feature data, and generate a training set and a test set; S24. Processing the standardized atmospheric data to capture the relationship between various atmospheric parameters and time, and outputting preliminary forecast data of multiple meteorological parameters; S25. According to the results of atmospheric data correlation analysis, weight parameter sharing layers are allocated to the preliminary forecast data to achieve auxiliary forecasts between strongly correlated meteorological parameters; S26. copy the output data of each asymmetric shared layer, without changing the time step, and changing the data dimension of each time step; S27. Obtaining the currently outputted atmospheric data according to the atmospheric data in the previous time step and the currently memorized atmospheric data; S28. Perform Dense operations on the multidimensional data at each time step for the same number of times as the number of output variables of the layer, and output the predicted data of each atmospheric parameter; S26. changing the time step of each asymmetric shared layer data, and obtaining the current final output atmospheric data according to the atmospheric data in the previous time step and the atmospheric data currently memorized; S27. Using homoscedastic uncertainty as noise to optimize loss weights in multi-task learning.

7. A multi-parameter atmospheric data synchronous prediction method according to claim 6, characterized in that: The specific content of S23 is: process the atmospheric parameter data of each time period in chronological order to obtain the characteristics of the target in each time period, and then obtain the change trend of the data from continuous time segments by analyzing the same characteristics in different time dimensions, construct the past atmospheric characteristics and future atmospheric characteristics, and use the future atmospheric characteristics as the target value.

8. A multi-parameter atmospheric data synchronous prediction method according to claim 6, characterized in that: S27 includes the Laplace loss function, specifically: where f w (x) is the output of the neural network with input x and weight value W. Define λ as the observation noise value, which is used to capture the amount of noise in the model output. Minimize the loss by adaptively learning the relative weights of the losses L1(w) and L2(w) based on the data. λ1 and λ2 are the weight relationship factors of the loss functions of the two regression tasks, respectively. Logλ1λ2 is the regularization term of the weight relationship factors λ1 and λ2. Let L1(w)=||y1-f1 w (x)||, L2(w)=||y2-f2 w (x)||When the noise parameter λ1 of the variable y1 increases, the weight of L1(w) decreases, and when the noise decreases, the weight of the corresponding target increases.

9. A method for synchronous prediction of multi-parameter atmospheric data according to claim 8, characterized in that: S27 also includes updating the weight parameter λ of each subtask synchronously with the training during the multi-task model learning process, adjusting the relative weight of each task in the loss, so as to promote the synchronous convergence of each subtask, optimize the multi-task learning process, and obtain the multi-task learning goal. The parameter update formula in the gradient descent process is: Among them, θ represents the weight parameter associated with each subtask, λ represents the weight coefficient of each subtask loss, and the total loss J(θ, λ) is jointly affected by θ and λ, while θ and λ are updated through gradient back propagation.

10. A multi-parameter atmospheric data synchronous prediction system according to claim 8, characterized in that: The Laplace loss function is a multi-task loss function based on homoscedastic uncertainty and Laplace likelihood maximization. The homoscedastic uncertainty is used as noise to optimize the weights in multi-task learning. The specific process is: f w (x) is the output of the neural network with input x and weight W. For regression tasks, the probability model is defined as a Laplace distribution function whose mean is given by the model output: p(y|f w (x))=La(f w (x),λ) Under the observation noise scalar λ, in order to match the classification task, the model output is processed using the softmax function and the generated probability vector is sampled: p(y|f w (x))=Softmax(f w (x)) In the presence of multiple outputs y1, ..., y k In the case of independent and identical distribution between tasks, define f w (x) is a sufficient statistic, and the multi-task likelihood estimate is: p(y1,...,y k |f w (x))=p(y1|f w (x))...p(y k |f w (x)) In maximum likelihood inference, the log-likelihood of the model is maximized. Taking regression tasks as an example, its log-likelihood estimate is: For two regression-based tasks, the loss functions can be defined: