PREDICTED FORECAST OFFSET FROM REMOTE LOCATION SENSOR
A computing system configured to execute a predictive program is provided. The predictive program, in a run-time phase, receives a current value for a remotely sourced forecast as run-time input into an artificial intelligence model. The artificial intelligence model has been trained on training data including a time series of locally sourced measurements for a parameter and a time series of remotely sourced forecast data for the parameter. The predictive program outputs a predicted forecast offset between the current value of a remotely sourced forecast and a future locally sourced measurement for the parameter. The predictive program outputs from the artificial intelligence model a predicted forecast offset based on the run-time input.
Latest Microsoft Patents:
- Systems and methods for electromagnetic shielding of thermal fin packs
- Application programming interface proxy with behavior simulation
- Artificial intelligence workload migration for planet-scale artificial intelligence infrastructure service
- Machine learning driven teleprompter
- Efficient electro-optical transfer function (EOTF) curve for standard dynamic range (SDR) content
This application is a continuation of U.S. Non-Provisional patent application Ser. No. 16/917,702, filed Jun. 30, 2020, which claims priority to U.S. Provisional Patent Application Ser. No. 63/013,162, filed Apr. 21, 2020, the entirety of each of which is hereby incorporated herein by reference for all purposes.
BACKGROUNDPredicting future conditions of a spatial system that is at least partially located in a first location can be difficult when based on input data from sensors, etc., from another location. For example, where large-scale sensor deployments exist, such as in a weather station network, the accuracy of predictions decreases as the distance from that the sensor deployments increases. Building additional large-scale sensor system deployments can increase prediction accuracy but may be cost prohibitive and time consuming. Even if such cost is incurred, interstitial regions will nearly always exist that suffer from the original problem. In a related field that also processes time series data from disparate locations, it may be difficult to make accurate predictions of economic conditions for a first region based on a series economic data sourced in a different region.
SUMMARYTo address the above issues, a computing system is provided that is configured to execute a predictive program. The predictive program, in a run-time phase, receives a current value for a remotely sourced forecast as run-time input into an artificial intelligence model. The artificial intelligence model has been trained on training data including a time series of locally sourced measurements for a parameter and a time series of remotely sourced forecast data for the parameter. The predictive program outputs a predicted forecast offset between the current value of a remotely sourced forecast and a future locally sourced measurement for the parameter. The predictive program outputs from the artificial intelligence model a predicted forecast offset based on the run-time input.
According to another aspect, a computing system is provided that comprises a processor and associated memory storing instructions including a predictive program executed by the processor. The predictive program may receive from a local sensor a time series of sensor inputs indicating respective measured values of a parameter over a time period, the sensor being geolocated in a first location. The predictive program may further receive time series of forecast values for the parameter from a forecast source, the forecast values having been computed based on data from sensors that are geographically remote from the first location. The predictive program may further perform preprocessing of the time series of sensor inputs using a predictive model to thereby compute a predicted value for the parameter for at each successive time step in the time series. The predictive program may perform a forecast offset computation at each time step in the time series by determining the difference between the predicted value and the forecast value at each time step, to thereby compute a time series of forecast offsets. The predictive program may perform a signal decomposition on the time series of forecast offsets, wherein the time series of forecast offsets is decomposed into a multi-scale data set including at least short scale data and long scale data. The predictive program may process the multi-scale data set by inputting the short scale data into a short scale neural network to thereby extract short scale features of the short scale data, and by inputting the long scale data into a long scale neural network to thereby extract long scale features of the long scale data, at each time step in the time series. The predictive program may apply a multi-level attention mechanism, having at least two attention levels, to the extracted short scale features and long scale features, the two attention levels including a position-based content attention layer and a scale-guided attention layer, to generate respective short scale and long scale context vectors, at each time step in the time series. The predictive program may perform a decoder computation in which a decoder receives the respective short scale and long scale context vectors and computes a predicted forecast offset, at each time step in the time series.
This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. Furthermore, the claimed subject matter is not limited to implementations that solve any or all disadvantages noted in any part of this disclosure.
The present disclosure presents a deep learning approach for a comprehensive microclimate prediction framework, which can be extended to application in other fields as well. Throughout this disclosure, this framework will be described generally with reference to the computer system 10 shown in the Figures. One specific example implementation of this framework on computer system 10 is referred to throughout the present disclosure as DeepMC, which stands for Deep MicroClimate.
Microclimate refers to a climate of a relatively small and homogenous geographic region and can be defined in terms of a set of one or more climatic parameters. Microclimate predictions are of importance across various endeavors, such as agriculture, forestry, electric power generation, oil and gas distribution, hospitality, outdoor and leisure, search and rescue, to name a few. The framework disclosed herein is configured to predict climatic parameters, such as soil moisture, humidity, wind speed, soil temperature, and ambient (or free air) temperature, at forecast intervals over a forecast period. In the DeepMC example implementation, the forecast period varies between 12 hours to 120 hours with and the forecast interval varies between one hour and six hours, although other ranges are possible.
By way of overview, this framework enables localization of weather forecasts via use of Internet of Things (IoT) sensors (i.e., remotely connected sensors connected to an end-user's local area network and configured access to the internet using a wired or wireless internet access point) by fusing traditional weather station forecasts based on fixed sensors associated with a weather station with the increased resolution of IoT sensor data, sampled at multiple frequencies. A multi-scale encoder and a two-level attention mechanism that learns a latent representation of the interaction between various resolutions (i.e., scales) of the IoT sensor data and weather station forecasts are utilized. A generative adversarial network (GAN)-based transfer learning mechanism for time series is used, which updates a trained model from a source domain where labelled data is available to a target live domain with insufficient labelled data. A heuristic mechanism that allows for separation of domain expertise and methodological knowledge is also applied. To illustrate the framework, multiple real-world agricultural scenarios and experimental results are discussed, in some cases improving accuracy by 90% or more over conventional methods.
Example ScenarioIn a first example scenario, it is the month of April and a farm in Eastern Washington, USA is producing wheat and lentil crops. Spring is just settling in while the temperature is slightly above freezing. A farmer is getting ready to fertilize his fields as the conditions become safe from a winter runoff and frost. Plants are significantly susceptible to fertilizers at freezing temperatures, therefore, the farmer consults a local weather station for temperature forecasts, which is located in the closest metropolitan valley about 50 miles away from the farm. The three-day predictions show consistent temperatures above the freezing point. The farmer rents equipment and purchases fertilizer and starts fertilizing the farm. For some nights, the temperature in certain parts of the field drops below freezing and kills around 20% of the crop. As this example scenario illustrates, despite the availability of weather forecasts from such commercial weather stations, differences between available forecasts and actual conditions can adversely affect up to 20% of crops, according to some estimates. This can be compounded by the fact that climatic parameters not only vary between a local farm and the nearest weather station but also between individual plants located in different regions within a farm. Thus, even when remedial methods are available for warming the air locally to avoid damaging cold, for example, such methods may not be applied when a temperature sensor at the farm is placed in a relatively warm region of the farm and indicates that they are not necessary, potentially damaging plants located in colder regions of the farm.
1. Technical ChallengesTurning now to the challenges associated with modeling climatic parameters, it will be appreciated that climatic parameters are stochastic in nature and thus difficult to model for prediction tasks. Some of the specific challenges for developing a framework for microclimate predictions include the following.
a) Separation of Domain and Methodological Knowledge.
Various factors influence the trend of a particular climatic parameter of interest. For example, soil moisture predictions are correlated with climatic parameters such as ambient temperature, humidity, precipitation and soil temperature, while ambient humidity is correlated with parameters such as ambient temperature, wind speed and precipitation. This creates a challenge for a machine learning system to accept vectors of varying dimensions as input. The techniques described herein and implemented in DeepMC solve this problem by first, decomposing the input into signals across various scales for each feature and combining them through a paired cartesian product, and then using a heuristic to apply specialized architecture for specific scales. This heuristic assigns the components of the architecture based on the nature of the paired scales rather than specific feature, enabling adaptability for varying input dimensions, as discussed in more detail below.
b) Non Stationary Features
Non stationarity of the climatic time series data makes it difficult to model the input-output relationship. Each input feature affects the output variable at a different temporal scale. For example, the effect of precipitation on soil moisture is instantaneous while the effect of temperature on soil moisture is accumulated over time. In order to capture these varying effects an effective prediction model needs to capture multiple trends in the data in a stationary way. The techniques described herein and implemented in DeepMC utilize a multi-scale wavelet decomposition-based approach to capture these effects, discussed below. This approach decomposes the input signals into various scales capturing trends and details in the data.
c) Transferring Models Learned in One Domain to Another
Any system for microclimate predictions is expected to perform across various terrains, geographic conditions, and climate conditions. In practice, labelled data of sufficient quality is generally not available. Even if labeled data is accessible, it is not available for every terrain, geographic condition, or climatic conditions. Therefore, improved techniques are required to transfer learning from a model trained in one domain to another domain with little paired data in labelled datasets. DeepMC utilizes a GAN-based approach for transfer learning, as discussed below.
d) Result Accuracy
Generating high accuracy results is a challenge for any real-world deployment of a machine learning solution. In the context of microclimate predictions, the challenges described above—small quantity of labelled datasets, heterogeneity of features and non-stationary of input features make the learning problem itself especially difficult. In the approaches described herein, instead of predicting a climatic parameter directly, an error, referred to as a forecast offset, between a nearest weather station forecast and local microclimate forecast is predicted. This is based on the idea that hyperlocalization of weather station forecasts is easier to learn than learning the relationships of the predicted climatic parameter with the predictor climatic parameters from ground up. DeepMC has achieved acceptable accuracy using this design model with reported accuracy improvement of up to 90% or more in mean absolute percentage error (MAPE) accuracy for direct learning and of up to 85% or more after transfer learning, as discussed below.
2. Practical Engineering ConsiderationsFor this research, several characteristics for engineering a real-world microclimate prediction system have identified, as follows.
Architecture adaptability. In practice, microclimate prediction is not an exact science. There are many physical models available to characterize the weather dynamics, but these models cannot be used as-is in practice due to various factors such as constraints on model usability, data availability and application specific characteristics. Deep learning methods alleviate some of these challenges enabling learning relationships between various climatic parameters, provided there is enough data in labelled datasets of sufficiently high quality. In many cases, the domain specific knowledge is captured by domain experts, such as agronomists, producers, etc., in the technical domain of agriculture. The domain experts will generally define a set of input parameters (the predictors) which would affect the predicted parameter based on the data available for that application. This variability generally means that the architecture input dimension cannot be fixed. Therefore, there is a requirement for the system architecture to be adaptable for varying input dimensions. This variability is only across applications and the dimensions can be assumed fixed once an application is specified.
High prediction accuracy. Microclimate prediction aids various decisions on a farm. Among others, certain operational decisions such as seeding, irrigating, fertilizing, harvesting, etc., can have high economic and work-effort consequences. These decisions are sensitive to minor changes in weather forecasts and therefore, there is a general requirement for high degree of accuracy in the predictions.
Warm start. When a new IoT system is deployed on a farm, there is an economical requirement for microclimate predictions to be displayed with as little delay as possible. This generally means, that there is not enough data at that location to retrain the entire model. The models trained in other locations cannot be used as-is because microclimate is highly specific to the local geography and atmosphere. Therefore, this translates to the technical requirement for effectively transferring models learned on stock datasets or other sensor locations to the current location of interest.
Data collection and data delivery. In order to develop a microclimate prediction system, real-time data from sensor locations at the farm is generally utilized. More often than not, applications which require microclimate prediction have very low computer network coverage (i.e., wireless or wired LAN or Internet access). One objective is to get the farm data to a cloud storage location reliably and in real-time. Additionally, it is also highly valued to present the prediction results through a medium which can be ingested and understood by the end user in real-time.
DeepMC, implementing the techniques described herein, has been designed to satisfy the above requirements. The passages below describe how the data requirements are satisfied for both—ingesting data to predict microclimate and showcasing predictions for the end user to intake. Further passages present details on the architecture and how it solves many of the challenges described in this section above. Further passages describe a GAN-based approach for transferring learnings from DeepMC models trained on one dataset to another domain where data from a labelled dataset is limited. Finally, additional passages provide some scenarios where DeepMC has been used experimentally and demonstrates the performance of DeepMC across various applications and regions around the world.
3. PlatformThe DeepMC implementation uses weather station forecasts and IoT sensor deployments through the FarmBeats platform from Microsoft® Research to predict micro-climatic parameters in real time.
Weather Station Forecasts. Weather station forecasts are collected for training and inference through commercial weather stations. The model is trained and tested with various weather data providers, including DarkSky, NOAA, AgWeatherNet, National Weather Service and DTN.
IoT Sensor Climate Data. DeepMC uses the FarmBeats platform to collect climatic and soil data from multiple sensors around the world. FarmBeats is an end-to-end IoT platform for data-driven agriculture, which provides consistent data collection from various sensor types with varying bandwidth constraints. The FarmBeats system was chosen for this work because of high system reliability and system availability, especially during events such as power and Internet outages caused by bad weather, scenarios that are fairly common for a farm. This data collected by FarmBeats IoT sensors is persisted in the cloud and accessed there.
The FarmBeats platform dashboard is also used to deliver microclimate predictions to the end-users using their Azure® marketplace offering.
4. Computer System for Microclimate Prediction: DeepMC ArchitectureTo address the issues described above,
As an overview, the predictive program 34 when executed by the processor 16 causes the processor 16 to operate in a training phase. The processor 16 receive as training data a time series of locally sourced measurements for a parameter, which may come from a local sensor 36, and a time series of remotely sourced forecast data for the parameter, which may come from a forecast source 38. The processor 16 trains an artificial intelligence model 33 based on the training data to output a predicted forecast offset 42 between a current value of a remotely sourced forecast and a future locally sourced measurement for the parameter. In a run-time phase, the predictive program receives a current value for a remotely sourced forecast, which may come from a forecast source 38 and serve as run-time input into the artificial intelligence model 33. The processor 16 outputs from the artificial intelligence model 33 a predicted forecast offset 42 based on the run-time input. The processor 16 is further configured to compute a local forecast as a sum of the predicted forecast offset and the current value of the remotely sourced forecast, and output the local forecast to cause a display device 18 associated with the computing system to display the local forecast.
Continuing with
4.1 Preprocessing of Sensor Data
The artificial intelligence model 33 of the predictive program 34 is stored in non-volatile memory 14, which, when executed by the processor 16 causes the processor 16 to perform the following functions using portions of the volatile memory 12. Although a single processor is shown schematically in
Turning now to a specific implementation of the present disclosure, the computing system may be configured as follows. Sensor data is received using IoT sensors deployed on the farm. Raw data which is received from the sensors is usually noisy with missing data and with varying temporal resolution. Temporal resolution is standardized using average values for the data collected. Weather data from the sensors is denoted as a tuple (zk,yk), where y is the climatic parameter to be predicted, z is the multivariate predictor (i.e., the climatic data that affects the predicted parameter), and k is the time epoch when the corresponding values were recorded. The required temporal resolution is denoted to be Δ, and the values (zt, yt) are the averaged values within the time interval [k, k+Δ].
An autoregressive integrated moving average (ARIMA) forecasting model is used to fill in missing data in the series, for example due to hardware failures (e.g., in-field contamination due to dust, dirt, insects, loss of power, damage due to weather or animals, etc.) or communication failures (data transmission loss, etc.).
4.2 Forecast Offset Computation
Returning to the computing system of the present disclosure, a forecast offset computation module 24 of the computing system 10 executed by processor 16 receives a time series of forecast values for the parameter from a forecast source 38. The forecast values have been computed (e.g., by a computing device at the forecast source 38) based on data from sensors 40 that are geographically remote from the first location. The forecast offset computation module 24 further is configured to perform a forecast offset computation at each time step in the time series by determining the difference between the predicted value and the forecast value at each time step, to thereby compute a time series of forecast offsets.
A specific implementation of this functionality may be realized as follows. The DeepMC implementation uses weather station forecasts of the predicted variable to learn better models for microclimate predictions. Instead of predicting the climatic parameter directly, the offset between the nearest commercial weather station forecast and local microclimate forecast is predicted. It is believed that hyperlocalization of weather station forecasts is more efficient for the predictive program 34 to learn than learning the relationships of the predicted climatic parameter y with the other parameters z and auto-relationship of the y with itself at earlier times. The weather station forecasts for the predicted variable are denoted as , where ∈[0, L] is the future interval from a given time t for which the forecast is recorded. For training purposes, historical weather forecasts and sensor data are used. Therefore, the corresponding recording of the sensor predicted data at time t+ is . Then, the forecast offset is as follows.
=−
DeepMC predicts using data recorded at and before time t for a retrospective horizon length of L′. The estimate of (denoted as ) alongside the weather forecast, is used to obtain the prediction for the climatic parameter of interest, as follows:
=+
where ŷ is the prediction of y.
Summarizing, the prediction problem takes in IoT sensor historical data (, ) and weather station forecasts to estimate , where the estimate is denoted by , using an endogenous variable, the forecast offset and its estimate , where ∈(0, L] is the future time interval and ∈[0, L′] is the retrospective time interval. For convenience, the historical paired data is denoted as (, )=.
4.3 Wavelet Packet Decomposition
Returning now to
A specific implementation of signal decomposition by Wavelet Packet Decomposition (WPD) may be achieved as follows. WPD is a classical signal processing method built on wavelet analysis. Wavelet analysis gives an efficient way to decompose time series from the time domain to scale domain. It localizes the change across time within different scales of the original signal. WPD may be used for time series forecasting, by decomposing input signals into combinations of various scales. In one configuration, the multiscale decomposition via WPD uses low-pass and band-pass filters. Applying this pair of filters to a time series leads to a first order series which contains the trend (i.e., the long scale dynamics), and a second series which contains the details (i.e., the short scale dynamics). The original time series may be reconstructed by summing up the trend and the detail series.
WPD is based on the wavelet analysis. In wavelet analysis, the wavelet transform decomposes the original signal into mutually orthogonal set of wavelets. The discrete wavelet is defined as:
where j and k are integers, s0>1 is a fixed dilation step and translation factor, τ0 depends on the dilation step. The scaling function and wavelet function of the discrete wavelet transform are defined as follows.
Then the original signal can be reconstructed as follows.
Then the time series x(t)=[x1, x2, x3, ·, xT] can be cascaded as:
where Dn*(t) and An*(t) are detail and approximation coefficients at level n, respectively. The wavelet Ψ used is Harr wavelet with the corresponding scaling function Φ. An n level wavelet packet decomposition produces 2n different sets of coefficients.
where × is the cross product. Each element of the output contains all combinations of various scales of the predictor signals x and the error signal u. In order to keep the size of the deep neural network manageable, not all combinations of various signals for each individual predictor sensor signal are generated.
For training, the data is trained as paired variable (x, u), where each paired set consists of {, ∈[0, L′]} as the input and {, ∈(0, L]} as the output.
4.4 Multi Scale Deep Learning
Returning now to
The multi-scale data set may further include medium scale data, and the multi-scale deep learning module 28 of the computing system 10 may process the multi-scale data set further includes inputting the medium scale data into a medium scale neural network 28B to thereby extract medium scale features the medium scale data, at each time step in the time series.
Continuing with
According to a specific implementation of the present disclosure, the multi-scale data set may be processed as follows. Once the output data is prepared from WPD in the previous step oWPD(n,m), ∀n, m=[1, N], this data is the input data for the deep learning network. The data is separated into long scale (n or m=1), medium scale (n, m∈[2, N−1]) and short scale (n or m=N) signals. The long scale signals pass through a CNN-LSTM stack. The CNN-LSTM stack used is shown in
This design choice achieved superior performance compared across predictions of all climatic parameters under consideration by the DeepMC implementation of computer system 10. The heuristic on choosing CNNs for short and medium scale (n, m∈[2, N−1]) while CNN-LSTM for long scale data (m or n=1) enables generalization of DeepMC across varying dimension of the input considered. More details are in Section 8, below.
4.5 Attention Mechanism
Returning now to the computing system of the present disclosure,
In a specific implementation of the computing system of the present disclosure, the multi-level attention mechanism 30 may be applied as follows. DeepMC uses two levels of attention models. The first level attention model is a long-range guided attention model that is used with the CNN-LSTM output, and it memorizes the long-term dynamics of the input time series. Various attention models may be used in direct sequence-to-sequence RNNs to capture memory of the input sequence (or time series representation) and pseudo-periods within the time series. DeepMC uses a position-based content attention model for this level, and in particular a multivariate version of the positioned-based content attention model. For brevity, notations specifying each individual feature vector in the formulation below are omitted. The LSTM in the CNN-LSTM encoder stack represents each input li, 1≤i≤T as a hidden state: hi=F(li, hi-1), with hi∈RH and where the function F is a non-linear transformation corresponding to the LSTM layers and H is the dimension of the hidden layer. The LSTM decoder (described in Section 4.6) parallels the encoder by associating each output mi, 1≤i≤T′ to a hidden state vector si that is directly used to predict the output:
mi=G(mi-1,si-1,ci),
with si∈RH′, H′ is the dimension of the decoder hidden layer, ci is usually referred to as a context and corresponds to the output of the memory model. For DeepMC the function G corresponds to an LSTM with a context integration. Using these notations the long-range guided attention model based on the position based content attention mechanism is formulated as RNN-π(2) as follows.
where Wa,Ua, π∈R2H×(T+T′) and va are trained in conjunction with the entire DeepMC deep learning architecture, Δ(i, j)∈RT is a binary vector that is 1 on dimension (i+T−j) and 0 elsewhere, ⊙ denotes the element wise multiplication (Hadamard product) and Δ∈RT+T′ has 1 on its first T coordinates and 0 on the last T′.
The second level attention model is a scale guided attention model and is used to capture the respective weighting of different scales. The scale guided attention model uses an additive attention mechanism described here. The outputs of the multi-scale model (including the output of the long-range guided attention mechanism on the CNN-LSTM stack) is represented as o(m,n), m, n∈[1, N]. For convenience a single index j for the tuple (m, n) is introduced. Then the attention mechanism context vector ci′ is defined as:
The weight αij′ of each output o(j) is computed by:
where eij=tanh(wi,j′T(si-1; o(j))), wi,j′, i∈[1, T′]; j∈[1, N2] is trained in conjunction with the entire DeepMC deep learning architecture.
4.6 Decoder
Returning now to
In a specific implementation of the computer system 10, the decoder 32 may be configured as shown in
Turning now to
In a specific implementation of the present disclosure, the GAN 44 may be configured as follows. DeepMC uses GAN to transfer models learned on one domain to sensors where a sufficient paired labelled dataset is not available. In the context of microclimate time series data, the generator is the microclimate predictor, while the discriminator is a binary time series classifier, which discriminates between the predicted microclimate parameter () and actual observations (). The generator is constructed as the embodiment of
While the above specific implementation addresses microclimate predictions, it will be appreciated that other implementations of the present disclosure may be unrelated to climate. The computer system 10 may be configured to make predictions in any field in which both a regional forecast based on a time series data indicative of the value of a parameter as measured at a remote location is available and a need exists for a local forecast of the parameter based on time series data for a local location and based on the regional forecast. For example, in another specific implementation, the regional forecast may be a macroeconomic or production variable such as retail sales, the local data may be point-of-sale (PoS) data from a particular store or register within a store, and the prediction may be of hyperlocal demand for the particular store or region of a store. These techniques may also be applied to gross domestic product, wages, taxes, or other series of economic parameters.
Turning now to
A method 100 for predicting and displaying a local forecast is provided. As illustrated at 102, the method in one embodiment comprises, via processing circuitry, a training phase. The training phase 102 comprises at 104 receiving as training data a time series of locally sourced measurements for a parameter and a time series of remotely sourced forecast data for the parameter. In one example, the locally sourced measurements may be obtained from local sensor 36 of computing system 10 as described above. At 106, the training phase further comprises training an artificial intelligence model based on the training data to output a predicted forecast offset between a current value of a remotely sourced forecast and a future locally sourced measurement for the parameter. The artificial intelligence model may be artificial intelligence model 33 described above, which is included in the predictive program 34 as a generator and a discriminator 35. Training may be accomplished by the generative adversarial network methods described above with reference to
Turning now to
A method 200 for predicting a forecast offset is provided. As illustrated at 202, the method in one embodiment comprises, via processing circuitry, receiving from a local sensor a time series of sensor inputs indicating respective measured values of a parameter over a time period, the sensor being geolocated in a first location. At 204, the method further comprises receiving time series of forecast values for the parameter from a forecast source, the forecast values having been computed based on data from sensors that are geographically remote from the first location. At 206, the method further comprises performing preprocessing of the time series of sensor inputs using a predictive model to thereby compute a predicted value for the parameter for at each successive time step in the time series. At 208, the method further comprises performing a forecast offset computation at each time step in the time series by determining the difference between the predicted value and the forecast value at each time step, to thereby compute a time series of forecast offsets. At 210, the method further comprises performing a signal decomposition on the time series of forecast offsets. The time series of forecast offsets is decomposed into a multi-scale data set including at least short scale data and long scale data. At 212, the method further comprises processing the multi-scale data set by inputting the short scale data into a short scale neural network to thereby extract short scale features of the short scale data, and by inputting the long scale data into a long scale neural network to thereby extract long scale features of the long scale data, at each time step in the time series.
At 214, the method further comprises applying a multi-level attention mechanism, having at least two attention levels, to the extracted short scale features and long scale features, the two attention levels including a position-based content attention layer and a scale-guided attention layer, to generate respective short scale and long scale context vectors, at each time step in the time series.
At 216, the method further comprises performing a decoder computation in which a decoder receives the respective short scale and long scale context vectors and computes a predicted forecast offset, at each time step in the time series. It will be appreciated that steps 204 and 206 are one example implementation of step 110 of method 100, and that steps 208-216 are one example implementation of step 112 of method 100.
In one aspect, the parameter may be a climatic parameter, the forecast source may be weather station, and the predicted forecast offset may be a predicted weather forecast offset for the climatic parameter.
In another aspect, the preprocessing may be performed using an autoregressive integrated moving average model.
In another aspect, the signal decomposition may include wavelet packet decomposition.
In yet another aspect, the short scale neural network may include a multi-layered convolutional neural network (CNN) stack including a plurality of serially linked convolutional neural networks, and the long scale neural network may include a convolutional neural network and long short term memory (CNN-LSTM) stack in which a convolutional neural network is serially linked to a long short term memory neural network.
In another aspect, the multi-scale data set may further include medium scale data; and processing the multi-scale data set may further include inputting the medium scale data into a medium scale neural network to thereby extract medium scale features the medium scale data, at each time step in the time series.
In another aspect, the short scale neural network may include a first multi-layered convolutional neural network (CNN) stack including a plurality of serially linked convolutional neural networks. The one or more medium scale neural networks may include a second multi-layered convolutional neural network (CNN) stack including a plurality of serially linked convolutional neural networks. The long scale neural network may include a convolutional neural network and long short term memory (CNN-LSTM) stack in which a convolutional neural network is serially linked to a long short term memory neural network.
In another aspect, the decoder may be configured with an LSTM layer configured to perform the decoder computation.
It will be appreciated the processing circuitry may be further configured to execute a generative adversarial network (GAN). The predictive program may serve as a generator of the GAN. The instructions may further include a binary time series classifier that serves as a discriminator of the GAN. The generator may generate a first batch of training data for the discriminator including forecast offsets and associated predicted forecast offsets based thereon. The discriminator may receive the first batch of training data and may be trained to discriminate between the forecast offsets and predicted forecast offsets in the first batch of training data. The generator may generate a second batch of training data including forecast offsets and associated predicted forecast offsets based thereon. The multi-level attention mechanism of the predictive program of the generator may be updated while the generator is pitted against the discriminator.
6. ApplicationsThree applications of the above described systems and methods are described below.
6.1 Fertilization: Micro-Temperature Predictions
Continuing the Example Scenario discussed far above, the computer system 10 has been experimentally deployed on a farm of approximately 9000 acres of land across a region which is hilly. There are many distinct microclimate regions in this farm. Climatic parameters vary significantly among various regions of the farm and also between the nearest commercial weather forecast provider and the readings on the ground. The farmer uses DeepMC predictions for advisory on temperature forecasts at specific locations on his farm. In this scenario, the farmer consults DeepMC for temperature predictions for specific locations to plan logistics and operations for fertilization.
6.2 Phenotyping Research: Micro-Soil-Moisture Predictions
In this experimental example, a producer is interested in experimenting with different growing techniques for vine tomatoes. The vine tomatoes are susceptible to rot if they are too close to soil with high moisture values. Generally, producers use trellises to lift up the vines and provide structural stability. The trellises add more challenges to manage the crops over the growing season. The producer here is interested in growing tomatoes without the trellises. This depends on being able to predict the local soil moisture values accurately. The producer uses DeepMC for advisory on micro-soil-moisture conditions. The results are shown in
6.3 Greenhouse Control: Micro-Humidity Predictions
In this example experimental scenario, the producer is growing garbanzo beans inside a greenhouse. In order to control climate conditions inside the greenhouse, the producer uses fans which pull the air from outside to regulate temperatures inside the greenhouse. A speed and duration of the fan control depend on the immediate humidity levels in air outside the greenhouse. The producer consults DeepMC to advise in the decision making of greenhouse fan control. Results are shown in
6.4 Additional Results
DeepMC is compared with other deep learning architectures and forecasting techniques across wide variety of climatic parameters.
Section 8 provides various implementation details to experiment and build upon the microclimate prediction framework disclosed herein. The supplementary material in Section 8 also presents some results which are based on open source datasets which can simulate a real-world scenario similar to those presented above in Section 6. DeepMC is observed to achieve compelling results on multiple microclimate prediction tasks and also after transferring models learned on one domain to another.
8. DeepMC Implementation DetailsThis section describes some of the implementation details of the specific DeepMC architecture.
A.1 Preprocessing of Sensor Data
As mentioned in Section 4.1, ARIMA forecasting model is used to fill in missing data. The python module statsmodels7 is used with parameter values: Number of time lags of the autoregressive model, p=5; Degree of differencing, d=1 and; Order of the moving-average model, q=0.
A.2 Forecast Offset Computation
Using the notations defined in Section 4.2 various values for L and L′ are used depending on the problem of interest. Typically L′≥L and in the range of L, L′˜24 which can signify a 24 hour retrospective and predictive interval with one-hour resolution or three-day retrospective and predictive interval with six-hour resolution or any such combination.
A.3 Wavelet Packet Decomposition
Wavelet Packet Decomposition is described in Section 4.3. A 5-level decomposition using Haar wavelet function is used.
A.4 Multi Scale Deep Learning
The architecture described in
A.5 Decoder
The decoder described in Section 4.6 uses a 20 node LSTM layer with ReLU activation function. Additionally, the decoder also uses ReLU activation for a first dense layer and a linear activation function for a second dense layer. The first dense layer has 50 nodes for each of the time series step and the second dense layer has 1 node for each of the time series step.
The entire model, as summarized in
The GAN architecture described in Section 5 uses the InceptionTime model for the discriminator 35. The model is illustrated in
During transfer learning DeepMC model is updated while trying to beat the adversary which discriminates between the predicted results and the actual observation on the target domain. The algorithm is presented in Algorithm 1 in
The discriminator, as it is trained, provides high accuracy (>99%+ accuracy) for time series classification.
Computing system 1500 includes a logic processor 1502 volatile memory 1504, and a non-volatile storage device 1506. Computing system 1500 may optionally include a display subsystem 1508, input subsystem 1510, communication subsystem 1512, and/or other components not shown in
Logic processor 1502 includes one or more physical devices configured to execute instructions. For example, the logic processor may be configured to execute instructions that are part of one or more applications, programs, routines, libraries, objects, components, data structures, or other logical constructs. Such instructions may be implemented to perform a task, implement a data type, transform the state of one or more components, achieve a technical effect, or otherwise arrive at a desired result.
The logic processor may include one or more physical processors (hardware) configured to execute software instructions. Additionally or alternatively, the logic processor may include one or more hardware logic circuits or firmware devices configured to execute hardware-implemented logic or firmware instructions. Processors of the logic processor 1502 may be single-core or multi-core, and the instructions executed thereon may be configured for sequential, parallel, and/or distributed processing. Individual components of the logic processor optionally may be distributed among two or more separate devices, which may be remotely located and/or configured for coordinated processing. Aspects of the logic processor may be virtualized and executed by remotely accessible, networked computing devices configured in a cloud-computing configuration. In such a case, these virtualized aspects are run on different physical logic processors of various different machines, it will be understood.
Non-volatile storage device 1506 includes one or more physical devices configured to hold instructions executable by the logic processors to implement the methods and processes described herein. When such methods and processes are implemented, the state of non-volatile storage device 1506 may be transformed—e.g., to hold different data.
Non-volatile storage device 1506 may include physical devices that are removable and/or built in. Non-volatile storage device 1506 may include optical memory (e.g., CD, DVD, HD-DVD, Blu-Ray Disc, etc.), semiconductor memory (e.g., ROM, EPROM, EEPROM, FLASH memory, etc.), and/or magnetic memory (e.g., hard-disk drive, floppy-disk drive, tape drive, MRAM, etc.), or other mass storage device technology. Non-volatile storage device 1506 may include nonvolatile, dynamic, static, read/write, read-only, sequential-access, location-addressable, file-addressable, and/or content-addressable devices. It will be appreciated that non-volatile storage device 1506 is configured to hold instructions even when power is cut to the non-volatile storage device 1506.
Volatile memory 1504 may include physical devices that include random access memory. Volatile memory 1504 is typically utilized by logic processor 1502 to temporarily store information during processing of software instructions. It will be appreciated that volatile memory 1504 typically does not continue to store instructions when power is cut to the volatile memory 1504.
Aspects of logic processor 1502, volatile memory 1504, and non-volatile storage device 1506 may be integrated together into one or more hardware-logic components. Such hardware-logic components may include field-programmable gate arrays (FPGAs), program- and application-specific integrated circuits (PASIC/ASICs), program- and application-specific standard products (PSSP/ASSPs), system-on-a-chip (SOC), and complex programmable logic devices (CPLDs), for example.
The terms “module,” “program,” and “engine” may be used to describe an aspect of computing system 1500 typically implemented in software by a processor to perform a particular function using portions of volatile memory, which function involves transformative processing that specially configures the processor to perform the function. Thus, a module, program, or engine may be instantiated via logic processor 1502 executing instructions held by non-volatile storage device 1506, using portions of volatile memory 1504. It will be understood that different modules, programs, and/or engines may be instantiated from the same application, service, code block, object, library, routine, API, function, etc. Likewise, the same module, program, and/or engine may be instantiated by different applications, services, code blocks, objects, routines, APIs, functions, etc. The terms “module,” “program,” and “engine” may encompass individual or groups of executable files, data files, libraries, drivers, scripts, database records, etc.
When included, display subsystem 1508 may be used to present a visual representation of data held by non-volatile storage device 1506. The visual representation may take the form of a graphical user interface (GUI). As the herein described methods and processes change the data held by the non-volatile storage device, and thus transform the state of the non-volatile storage device, the state of display subsystem 1508 may likewise be transformed to visually represent changes in the underlying data. Display subsystem 1508 may include one or more display devices utilizing virtually any type of technology. Such display devices may be combined with logic processor 1502, volatile memory 1504, and/or non-volatile storage device 1506 in a shared enclosure, or such display devices may be peripheral display devices.
When included, input subsystem 1510 may comprise or interface with one or more user-input devices such as a keyboard, mouse, touch screen, or game controller. In some embodiments, the input subsystem may comprise or interface with selected natural user input (NUI) componentry. Such componentry may be integrated or peripheral, and the transduction and/or processing of input actions may be handled on- or off-board. Example NUI componentry may include a microphone for speech and/or voice recognition; an infrared, color, stereoscopic, and/or depth camera for machine vision and/or gesture recognition; a head tracker, eye tracker, accelerometer, and/or gyroscope for motion detection and/or intent recognition; as well as electric-field sensing componentry for assessing brain activity; and/or any other suitable sensor.
When included, communication subsystem 1512 may be configured to communicatively couple various computing devices described herein with each other, and with other devices. Communication subsystem 1512 may include wired and/or wireless communication devices compatible with one or more different communication protocols. As non-limiting examples, the communication subsystem may be configured for communication via a wireless telephone network, or a wired or wireless local- or wide-area network, such as a HDMI over Wi-Fi connection. In some embodiments, the communication subsystem may allow computing system 1500 to send and/or receive messages to and/or from other devices via a network such as the Internet.
The following paragraphs provide additional support for the claims. According to one aspect, a computing system is provided that comprises a processor and associated memory storing instructions including a predictive program that when executed by the processor cause the processor to, in a training phase, receive as training data a time series of locally sourced measurements for a parameter and a time series of remotely sourced forecast data for the parameter, and train an artificial intelligence model based on the training data to output a predicted forecast offset between a current value of a remotely sourced forecast and a future locally sourced measurement for the parameter.
In this aspect, the processor may be further configured to, in a run-time phase, receive a current value for the remotely sourced forecast as run-time input into the artificial intelligence model, and determine from the artificial intelligence model a predicted forecast offset based on the run-time input.
In this aspect, the processor may be further configured to, in the run-time phase, compute a local forecast as a sum of the predicted forecast offset and the current value of the remotely sourced forecast, and output the local forecast to cause a display device associated with the computing system to display the local forecast.
In this aspect, to receive a current value for the remotely sourced forecast as run-time input into the artificial intelligence model, the processor is configured to, in the run-time phase, receive from a local sensor a time series of sensor inputs indicating respective measured values of a parameter over a time period, the sensor being geolocated in a first location; and receive time series of forecast values for the parameter from a forecast source, the forecast values having been computed based on data from sensors that are geographically remote from the first location.
In this aspect, to determine from the artificial intelligence model a predicted forecast offset based on the run-time input, the processor is further configured to, in the run-time phase, perform preprocessing of the time series of sensor inputs using a predictive model to thereby compute a predicted value for the parameter for at each successive time step in the time series, perform a forecast offset computation at each time step in the time series by determining the difference between the predicted value and the forecast value at each time step, to thereby compute a time series of forecast offsets, perform a signal decomposition on the time series of forecast offsets, wherein the time series of forecast offsets is decomposed into a multi-scale data set including at least short scale data and long scale data, process the multi-scale data set by inputting the short scale data into a short scale neural network to thereby extract short scale features of the short scale data, and by inputting the long scale data into a long scale neural network to thereby extract long scale features of the long scale data, at each time step in the time series, apply a multi-level attention mechanism, having at least two attention levels, to the extracted short scale features and long scale features, the two attention levels including a position-based content attention layer and a scale-guided attention layer, to generate respective short scale and long scale context vectors, at each time step in the time series; and perform a decoder computation in which a decoder receives the respective short scale and long scale context vectors and computes a predicted forecast offset, at each time step in the time series.
In this aspect, the parameter may be a climatic parameter, the forecast source may be a weather station, and the predicted forecast offset may be a predicted weather forecast offset for the climatic parameter.
In this aspect, the preprocessing may be performed using an autoregressive integrated moving average model.
In this aspect, the signal decomposition may include wavelet packet decomposition.
In this aspect, the short scale neural network may include a multi-layered convolutional neural network (CNN) stack including a plurality of serially linked convolutional neural networks, and the long scale neural network may include a convolutional neural network and long short term memory (CNN-LSTM) stack in which a convolutional neural network is serially linked to a long short term memory neural network.
In this aspect, the multi-scale data set may further include medium scale data, and processing the multi-scale data set may further include inputting the medium scale data into a medium scale neural network to thereby extract medium scale features the medium scale data, at each time step in the time series.
In this aspect, the short scale neural network may include a first multi-layered convolutional neural network (CNN) stack including a plurality of serially linked convolutional neural networks, the one or more medium scale neural networks may include a second multi-layered convolutional neural network (CNN) stack including a plurality of serially linked convolutional neural networks, and the long scale neural network may include a convolutional neural network and long short term memory (CNN-LSTM) stack in which a convolutional neural network is serially linked to a long short term memory neural network.
In this aspect, the decoder may be configured with an LSTM layer configured to perform the decoder computation.
In this aspect, to train the artificial intelligence model based on the training data, in the training phase, the processor may be further configured to execute a generative adversarial network (GAN), the predictive program may serve as a generator of the GAN, the instructions may further include a binary time series classifier that serves as a discriminator of the GAN, the generator may generate a first batch of training data for the discriminator including forecast offsets and associated predicted forecast offsets based thereon, the discriminator may receive the first batch of training data and may be trained to discriminate between the forecast offsets and predicted forecast offsets in the first batch of training data, the generator may generate a second batch of training data including forecast offsets and associated predicted forecast offsets based thereon, and the multi-level attention mechanism of the predictive program of the generator may be updated while the generator is pitted against the discriminator.
In this aspect, the discriminator may be trained using binary cross entropy with adapted moment estimation optimization.
In another aspect, a method for predicting a forecast offset is provided comprising in a training phase, via processing circuitry, receiving as training data a time series of locally sourced measurements for a parameter and a time series of remotely sourced forecast data for the parameter; and training an artificial intelligence model based on the training data to output a predicted forecast offset between a current value of a remotely sourced forecast and a future locally sourced measurement for the parameter.
In this aspect, the method may further comprise in a run-time phase, via the processing circuitry receiving a current value for the remotely sourced forecast as run-time input into the artificial intelligence model, and determining from the artificial intelligence model a predicted forecast offset based on the run-time input.
In this aspect, the method may further comprise in the run-time phase, via the processing circuitry, computing a local forecast as a sum of the predicted forecast offset and the current value of the remotely sourced forecast, and outputting the local forecast to cause a display device associated with the computing system to display the local forecast.
In this aspect, receiving a current value for the remotely sourced forecast as run-time input into the artificial intelligence model may include receiving from a local sensor a time series of sensor inputs indicating respective measured values of a parameter over a time period, the sensor being geolocated in a first location, and may include receiving time series of forecast values for the parameter from a forecast source, the forecast values having been computed based on data from sensors that are geographically remote from the first location. In this aspect, receiving a current value for the remotely sourced forecast as run-time input into the artificial intelligence model may include performing preprocessing of the time series of sensor inputs using a predictive model to thereby compute a predicted value for the parameter for at each successive time step in the time series, performing a forecast offset computation at each time step in the time series by determining the difference between the predicted value and the forecast value at each time step, to thereby compute a time series of forecast offsets, performing a signal decomposition on the time series of forecast offsets, wherein the time series of forecast offsets is decomposed into a multi-scale data set including at least short scale data and a long scale data, processing the multi-scale data set by inputting the short scale data into a short scale neural network to thereby extract short scale features of the short scale data, and by inputting the long scale data into a long scale neural network to thereby extract long scale features of the long scale data, at each time step in the time series, applying a multi-level attention mechanism, having at least two attention levels, to the extracted short scale features and long scale features, the two attention levels including a position-based content attention layer and a scale-guided attention layer, to generate respective short scale and long scale context vectors, at each time step in the time series; and performing a decoder computation in which a decoder receives the respective short scale and long scale context vectors and computes a predicted forecast offset, at each time step in the time series.
In this aspect, the parameter may be a climatic parameter, the forecast source may be a weather station, and the predicted forecast offset may be a predicted weather forecast offset for the climatic parameter.
In another aspect, a method for predicting a weather forecast offset is provided, the method comprising via processing circuitry, receiving from a local sensor a time series of sensor inputs indicating respective measured values of a parameter over a time period, the parameter being a climatic parameter and the sensor being geolocated in a first location, receiving time series of forecast values for the parameter from a weather station, the forecast values having been computed based on data from one or more sensors that are in a different location than the first location, performing a forecast offset computation at each time step in the time series by determining the difference between a predicted value for the parameter and the forecast value at each time step, to thereby compute a time series of forecast offsets, performing a signal decomposition on the time series of forecast offsets, wherein the time series of forecast offsets is decomposed into a multi-scale data set, processing the multi-scale data to thereby extract short scale features and long scale features therefrom, applying a multi-level attention mechanism including a position-based content attention layer and a scale-guided attention layer to the extracted short scale features and long scale features, to thereby generate respective short scale and long scale context vectors, at each time step in the time series; and, performing a decoder computation in which a decoder receives the respective short scale and long scale context vectors and computes a predicted forecast offset, at each time step in the time series, wherein the predicted forecast offset is a predicted weather forecast offset for the climatic parameter.
It will be understood that the configurations and/or approaches described herein are exemplary in nature, and that these specific embodiments or examples are not to be considered in a limiting sense, because numerous variations are possible. The specific routines or methods described herein may represent one or more of any number of processing strategies. As such, various acts illustrated and/or described may be performed in the sequence illustrated and/or described, in other sequences, in parallel, or omitted. Likewise, the order of the above-described processes may be changed.
The subject matter of the present disclosure includes all novel and non-obvious combinations and sub-combinations of the various processes, systems and configurations, and other features, functions, acts, and/or properties disclosed herein, as well as any and all equivalents thereof.
Claims
1. A computing system for predicting a forecast offset, comprising:
- a processor and associated memory storing instructions including a predictive program that when executed by the processor cause the processor to:
- in a training phase: receive as training data a time series of locally sourced measurements for a parameter and a time series of remotely sourced forecast data for the parameter; and train an artificial intelligence model based on the training data to output a predicted forecast offset between a current value of a remotely sourced forecast and a future locally sourced measurement for the parameter, wherein
- the processor is configured to execute a generative adversarial network (GAN),
- the predictive program serves as a generator of the GAN,
- the instructions further include a binary time series classifier that serves as a discriminator of the GAN,
- the generator generates a first batch of training data for the discriminator including forecast offsets and associated predicted forecast offsets based thereon,
- the discriminator receives the first batch of training data and is trained to discriminate between the forecast offsets and predicted forecast offsets in the first batch of training data,
- the generator generates a second batch of training data including forecast offsets and associated predicted forecast offsets based thereon, and
- a multi-level attention mechanism of the predictive program of the generator is updated while the generator is pitted against the discriminator.
2. The computing system of claim 1, wherein the discriminator is trained using binary cross entropy with adapted moment estimation optimization.
3. The computing system of claim 1, wherein the multi-level attention mechanism includes at least two attention levels, the two attention levels including a position-based content attention layer and a scale-guided attention layer.
4. The computing system of claim 1, wherein
- the processor is further configured to execute a preprocessing module, and
- the preprocessing module performs preprocessing of the time series of the locally sourced measurements for the parameter to compute a predicted value for the parameter at each successive time step in the time series.
5. The computing system of claim 4, wherein
- the processor is further configured to execute a forecast offset computation module, and
- the forecast offset computation module receives a time series of forecast values for the parameter from a forecast source, and performs a forecast offset computation at each time step in the time series by determining the difference between the predicted value and the forecast value at each time step in the time series.
6. The computing system of claim 1, wherein
- the processor is further configured to perform a signal decomposition on the time series of forecast offsets, and
- the time series of forecast offsets is decomposed into a multi-scale data set including at least short scale data and long scale data.
7. The computing system of claim 6, wherein
- the processor is further configured to process the multi-scale data set by inputting the short scale data into a short scale neural network to thereby extract short scale features of the short scale data, and by inputting the long scale data into a long scale neural network to thereby extract long scale features of the long scale data, at each time step in the time series.
8. The computing system of claim 7, wherein
- the processor is further configured to apply the multi-level attention mechanism to the extracted short scale features and long scale features to generate respective short scale and long scale context vectors at each time step in the time series.
9. The computing system of claim 8, wherein
- a decoder receives the respective short scale and long scale context vectors and computes a predicted forecast offset at each time step in the time series.
10. The computing system of claim 1, wherein the processor is further configured to:
- in a run-time phase: receive a current value for a remotely sourced forecast as run-time input into an artificial intelligence model; and determine, from the artificial intelligence model, a predicted forecast offset based on the run-time input by causing the processor to: perform preprocessing of a time series of sensor inputs using a predictive model; perform a forecast offset computation to compute a time series of forecast offsets; perform signal decomposition on the time series of forecast offsets to generate a multi-scale data set; process the multi-scale data set to extract short scale features and long scale features; apply the multi-level attention mechanism to the extracted short scale features and long scale features to generate respective short scale and long scale context vectors; and perform a decoder computation to compute a predicted forecast offset at each time step in the time series.
11. The computing system of claim 10, wherein the processor is further configured to:
- in the run-time phase: compute a local forecast as a sum of the predicted forecast offset and the current value of the remotely sourced forecast; and output the local forecast to cause a display device associated with the computing system to display the local forecast.
12. The computing system of claim 10, wherein, to receive a current value for the remotely sourced forecast as run-time input into the artificial intelligence model, the processor is configured to:
- in the run-time phase: receive from a local sensor a time series of sensor inputs indicating respective measured values of a parameter over a time period, the sensor being geolocated in a first location; and receive time series of forecast values for the parameter from a forecast source, the forecast values having been computed based on data from sensors that are geographically remote from the first location.
13. The computing system of claim 1, wherein the parameter is a climatic parameter, the forecast source is a weather station, and the predicted forecast offset is a predicted weather forecast offset for the climatic parameter.
14. The computing system of claim 4, wherein the preprocessing is performed using an autoregressive integrated moving average model.
15. The computing system of claim 6, wherein the signal decomposition includes wavelet packet decomposition.
16. The computing system of claim 6, wherein
- the short scale neural network includes a multi-layered convolutional neural network (CNN) stack including a plurality of serially linked convolutional neural networks; and
- the long scale neural network includes a convolutional neural network and long short term memory (CNN-LSTM) stack in which a convolutional neural network is serially linked to a long short term memory neural network.
17. The computing system of claim 7, wherein
- the multi-scale data set further includes medium scale data; and
- processing the multi-scale data set further includes inputting the medium scale data into a medium scale neural network to thereby extract medium scale features the medium scale data, at each time step in the time series.
18. The computing system of claim 17, wherein
- the short scale neural network includes a first multi-layered convolutional neural network (CNN) stack including a plurality of serially linked convolutional neural networks;
- the one or more medium scale neural networks include a second multi-layered convolutional neural network (CNN) stack including a plurality of serially linked convolutional neural networks; and
- the long scale neural network includes a convolutional neural network and long short term memory (CNN-LSTM) stack in which a convolutional neural network is serially linked to a long short term memory neural network.
19. A method for predicting a weather forecast offset, the method comprising, via processing circuitry configured to execute instructions including a predictive program and a binary time series classifier:
- in a training phase: receiving as training data a time series of locally sourced measurements for a parameter and a time series of remotely sourced forecast data for the parameter; training an artificial intelligence model based on the training data to output a predicted forecast offset between a current value of a remotely sourced forecast and a future locally sourced measurement for the parameter; executing a generative adversarial network (GAN), the predictive program serving as a generator of the GAN, and the binary time series classifier serving as a discriminator of the GAN; generating, by the generator, a first batch of training data for the discriminator including forecast offsets and associated predicted forecast offsets based thereon; receiving, by the discriminator, the first batch of training data; training the discriminator to discriminate between the forecast offsets and predicted forecast offsets in the first batch of training data; generating, by the generator, a second batch of training data including forecast offsets and associated predicted forecast offsets based thereon; and updating a multi-level attention mechanism of the predictive program of the generator while the generator is pitted against the discriminator.
20. A computing system for predicting a forecast offset, comprising:
- a processor and associated memory storing instructions including a predictive program that when executed by the processor cause the processor to:
- in a training phase: receive as training data a time series of locally sourced measurements for a parameter and a time series of remotely sourced forecast data for the parameter; and train an artificial intelligence model based on the training data to output a predicted forecast offset between a current value of a remotely sourced forecast and a future locally sourced measurement for the parameter; and
- in a run-time phase: receive a current value for a remotely sourced forecast as run-time input into an artificial intelligence model; and determine, from the artificial intelligence model, a predicted forecast offset based on the run-time input by causing the processor to: perform preprocessing of a time series of sensor inputs using a predictive model to thereby compute a predicted value for a parameter for at each successive time step in the time series; perform a forecast offset computation at each time step in the time series by determining the difference between the predicted value and the forecast value at each time step, to thereby compute a time series of forecast offsets; perform a signal decomposition on the time series of forecast offsets, wherein the time series of forecast offsets is decomposed into a multi-scale data set including at least short scale data and long scale data; process the multi-scale data set by inputting the short scale data into a short scale neural network to thereby extract short scale features of the short scale data, and by inputting the long scale data into a long scale neural network to thereby extract long scale features of the long scale data, at each time step in the time series; apply a multi-level attention mechanism, having at least two attention levels, to the extracted short scale features and long scale features, the two attention levels including a position-based content attention layer and a scale-guided attention layer, to generate respective short scale and long scale context vectors, at each time step in the time series; and perform a decoder computation in which a decoder receives the respective short scale and long scale context vectors and computes a predicted forecast offset, at each time step in the time series, wherein
- the discriminator is trained using binary cross entropy with adapted moment estimation optimization,
- a local forecast is computed as a sum of the predicted forecast offset and the current value of the remotely sourced forecast,
- the short scale neural network includes a multi-layered convolutional neural network (CNN) stack including a plurality of serially linked convolutional neural networks, and
- the long scale neural network includes a convolutional neural network and long short term memory (CNN-LSTM) stack in which a convolutional neural network is serially linked to a long short term memory neural network.
Type: Application
Filed: Apr 10, 2023
Publication Date: Aug 3, 2023
Applicant: Microsoft Technology Licensing, LLC (Redmond, WA)
Inventors: Peeyush KUMAR (Seattle, WA), Ranveer CHANDRA (Kirkland, WA), Chetan BANSAL (Seattle, WA), Dang Khoa TRAN (Redmond, WA), Emmanuel AZUH MENSAH (Seattle, WA), Michael Raymond GRANT (Seattle, WA)
Application Number: 18/298,257