Bin Wang and Junrui Shi and Binyu Tan and Minbo Ma and Feng Hong and Yanwei Yu and Tianrui Li, DeepWind: a heterogeneous spatio-temporal model for wind forecasting, Knowledge-Based Systems 286 (2024) 111385.
Constructed a heterogeneous model named DeepWind, leveraging the advantages of recursive and non-recursive branches, and designed a difference loss function to guide model training for capturing wind trends.
Proposed an effective transformation of the target variable based on meteorological domain knowledge and introduced a time-related embedding technique termed step embedding to enhance forecasting performance.
Identified the overlooked issue of evaluation inconsistency in time series forecasting and advocated the use of diverse metrics for comprehensive evaluation. Extensive experiments on real-world wind datasets demonstrate that the proposed DeepWind outperforms strong DL baselines on multiple metrics.
We found an inconsistency in the evaluation of the current study. As shown in Figure 1, the green line represents the ground truth, while the red and blue lines represent two different prediction results. Solely based on regression metrics, the blue line outperforms the red line by far. However, if we divide the predicted values into 5 shaded intervals, each corresponding to a category, and evaluate from a classification perspective, the red line's classification prediction aligns perfectly with the ground truth, while the accuracy of the blue line is 0. A model that performs exceptionally well in regression tasks may not necessarily excel in classification tasks. Nevertheless, in many regression problems, classification evaluation is equally important, especially for disaster warnings such as for strong winds, high waves, and floods.
Particularly, following Equation (2) and Equation (3), the U and V at 10 meters, which is denoted by
Equation (2): $$ {Equation (2)} sin=\sin (wdir /180^{\circ} \times \pi ) \ cos=\cos (wdir /180^{\circ} \times \pi ) $$ Equation (3) $$ {Equation (3)} wdir_{10m} = 270^{\circ} -180^{\circ}*arctan2(V_{10m},U_{10m})/\pi \ spd_{10m} = \sqrt{U_{10m}^{2} +V_{10m}^{2}} $$
| Figure 3: The entire architecture of the proposed DeepWind. |
Most deep learning models are homogeneous, either a purely recursive mechanism such as RNN or a purely non-recursive structure such as CNN. CNN-type models are good at extracting spatial dependencies in input data. As an efficient variant of RNN models, GRU specializes in capturing sequential dependencies within the data \cite{DBLP:journals/access/GangQiangBRY23, DBLP:journals/cea/WangWTTLQ23}.
###Trend difference loss
we proposed a trend difference loss to stabilize the trend learning between two adjacent forecasting steps
Equation (5): $$ {Equation (5)} loss_{diff} = \vert \frac{1}{B ! \times ! (T!-!1) ! \times ! (D!-!2)} \sum^B_{b=1} \sum^T_{t=2} \sum^D_{d=3} [(\hat{Y}^{[b,t,d]} - \hat{Y}^{[b,t-1,d]}) - (Y^{[b,t,d]} - Y^{[b,t-1,d]}) ] \vert $$
-
Install Python>=3.9, PyTorch 1.9.0.
pip install -r requirements.txt
-
Train the model. We provide the experiment scripts of all benchmarks under the folder
./scripts. You can reproduce the multivariate and univariate experiment results by running the following shell code separately:bash ./scripts/run.sh
If you find this repo useful, please cite our paper.
@article{WANG2024111385,
title = {DeepWind: a heterogeneous spatio-temporal model for wind forecasting},
journal = {Knowledge-Based Systems},
volume = {286},
pages = {111385},
year = {2024},
author = {Bin Wang and Junrui Shi and Binyu Tan and Minbo Ma and Feng Hong and Yanwei Yu and Tianrui Li}
}
If you have any questions or suggestions, feel free to contact:
- Bin Wang ([email protected])
or describe it in Issues.