March 2026

Journal

AGFormer: Adaptive Spatiotemporal graph informed transformer for multi-reservoir inflow forecasting

By:
Fan, Ming ; Hu, Pengfei; Han, Xiaoxue; Zhang, Wei ; Kang, Hyun-Gyu ; Ning, Yue; Lu, Dan
Journal Name:
Environmental Modelling & Software
Page Number:
106938
Volume:
199
Publication Date:
March 2, 2026
View DOI Listing:
https://doi.org/10.1016/j.envsoft.2026.106938

Abstract

Accurate reservoir inflow forecasting is crucial for effective water resource management, yet most machine learning models focus on single-reservoir prediction and overlook spatial dependencies among hydrologically connected reservoirs. We propose AGFormer (Adaptive Graph-Informed Transformer), an end-to-end framework that integrates adaptive graph learning with temporal sequence modeling for multi-reservoir inflow forecasting. A shared encoder and graph attention mechanism generate reservoir-specific embeddings, which are then processed by the Transformer-based encoder–decoder for multi-step inflow forecasting. We also introduce a pretraining paradigm to learn robust temporal embeddings from misaligned historical records. Evaluated on 30 reservoirs in the Upper Colorado River Basin, AGFormer achieves superior seven-day-ahead forecasts, with NSE > 0.75 for 20 reservoirs—outperforming Encoder–Decoder LSTM, GCN+LSTM, and Transformer baselines. Adaptive graph learning captures dynamic inter-reservoir dependencies, and feature attribution aligns with snowmelt-driven hydrology. Incorporating forecasted meteorological inputs further enhances accuracy, demonstrating AGFormer’s potential to support reservoir management under dynamic hydrological conditions.