Interpretable Transformer Neural Network Prediction of Diverse Environmental Time Series Using Weather Forecasts

Abstract Transformer neural networks (TNNs) have caused a paradigm shift in deep learning domains like natural language processing, gathering immense interest due to their versatility in other fields such as time series forecasting (TSF). Most current TSF applications of TNNs use only historic observations to predict future events, ignoring information available in weather forecasts to inform better predictions, and with little attention given to the interpretability of the model's use of explanatory inputs. This work explores the potential for TNNs to perform TSF across multiple environmental variables (streamflow, stage, water temperature, and salinity) in two ecologically important regions: the Peace River watershed (Florida) and the northern Gulf of Mexico (Louisiana). The TNN was tested and its prediction uncertainty quantified for each response variable from one‐to fourteen‐day‐ahead forecasts using past observations and spatially distributed weather forecasts. A sensitivity analysis (SA) was performed on the trained TNNs' attention weights to identify the relative influence of each input variable on each response variable across prediction windows. Overall model performance ranged from good to very good (0.78 < NSE < 0.99 for all variables and forecast horizons). Through the SA, we found that the TNN was able to learn the physical patterns behind the data, adapt the use of input variables to each forecast, and increasingly use weather forecast information as prediction windows increased. The TNN's excellent performance and flexibility, along with the intuitive interpretability highlighting the logic behind the models' forecasting decision‐making process, provide evidence for the applicability of this architecture to other TSF variables and locations.

Authors

Institutions

Publication Details

Journal
Water Resources Research
Published
2024-10-01
DOI
https://doi.org/10.1029/2023wr036337
Citations
20
Primary Topic
Hydrological Forecasting Using AI
Type
article
Field-Weighted Citation Impact
4.11

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Interpretable Transformer Neural Network Prediction of Diverse Environmental Time Series Using Weather Forecasts

Anna Linhoss, Enrique Orozco López, David Kaplan
20 citations
Water Resources Research
Hydrological Forecasting Using AI
4.11
article

Interpretable Transformer Neural Network Prediction of Diverse Environmental Time Series Using Weather Forecasts

Anna Linhoss, Enrique Orozco López, David Kaplan
article en
20 citations

Abstract

Abstract Transformer neural networks (TNNs) have caused a paradigm shift in deep learning domains like natural language processing, gathering immense interest due to their versatility in other fields such as time series forecasting (TSF). Most current TSF applications of TNNs use only historic observations to predict future events, ignoring information available in weather forecasts to inform better predictions, and with little attention given to the interpretability of the model's use of explanatory inputs. This work explores the potential for TNNs to perform TSF across multiple environmental variables (streamflow, stage, water temperature, and salinity) in two ecologically important regions: the Peace River watershed (Florida) and the northern Gulf of Mexico (Louisiana). The TNN was tested and its prediction uncertainty quantified for each response variable from one‐to fourteen‐day‐ahead forecasts using past observations and spatially distributed weather forecasts. A sensitivity analysis (SA) was performed on the trained TNNs' attention weights to identify the relative influence of each input variable on each response variable across prediction windows. Overall model performance ranged from good to very good (0.78 < NSE < 0.99 for all variables and forecast horizons). Through the SA, we found that the TNN was able to learn the physical patterns behind the data, adapt the use of input variables to each forecast, and increasingly use weather forecast information as prediction windows increased. The TNN's excellent performance and flexibility, along with the intuitive interpretability highlighting the logic behind the models' forecasting decision‐making process, provide evidence for the applicability of this architecture to other TSF variables and locations.

Water Resources ResearchVol. 60(10)
Northern Gulf Institute (US), University of Florida (US), Auburn University (US)
U.S. Army, Engineer Research and Development Center
Openalex Percentile: Top 5%
Hydrological Forecasting Using AI
4.11
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.