{"title":"FloodSformer: A transformer-based data-driven model for predicting the 2-D dynamics of fluvial floods","authors":"Matteo Pianforini , Susanna Dazzi , Andrea Pilzer , Renato Vacondio","doi":"10.1016/j.envsoft.2025.106599","DOIUrl":null,"url":null,"abstract":"<div><div>This paper presents the open-source FloodSformer (FS) model, which uses a transformer-based deep learning architecture to simulate real-time evolution of fluvial floods. A cross-attention mechanism captures spatiotemporal correlations between inundation maps and inflow discharges, while maps compression is obtained by an autoencoder neural network. Long-duration events are predicted using an autoregressive approach. Model performance is assessed considering two case studies: an urban flash flood at laboratory scale and real flood events along the Po River (Italy). Results show that prediction errors are within the range of uncertainties typical in hydraulic modelling. The FS model accurately predicts 2D inundation maps over time with negligible accumulation error and requires minimal computational time, making it suitable for real-time forecasting. These results demonstrate the model’s potential to improve flood prediction accuracy and responsiveness, supporting more effective flood management and resilience strategies.</div></div>","PeriodicalId":310,"journal":{"name":"Environmental Modelling & Software","volume":"193 ","pages":"Article 106599"},"PeriodicalIF":4.6000,"publicationDate":"2025-07-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Environmental Modelling & Software","FirstCategoryId":"93","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S136481522500283X","RegionNum":2,"RegionCategory":"环境科学与生态学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
This paper presents the open-source FloodSformer (FS) model, which uses a transformer-based deep learning architecture to simulate real-time evolution of fluvial floods. A cross-attention mechanism captures spatiotemporal correlations between inundation maps and inflow discharges, while maps compression is obtained by an autoencoder neural network. Long-duration events are predicted using an autoregressive approach. Model performance is assessed considering two case studies: an urban flash flood at laboratory scale and real flood events along the Po River (Italy). Results show that prediction errors are within the range of uncertainties typical in hydraulic modelling. The FS model accurately predicts 2D inundation maps over time with negligible accumulation error and requires minimal computational time, making it suitable for real-time forecasting. These results demonstrate the model’s potential to improve flood prediction accuracy and responsiveness, supporting more effective flood management and resilience strategies.
期刊介绍:
Environmental Modelling & Software publishes contributions, in the form of research articles, reviews and short communications, on recent advances in environmental modelling and/or software. The aim is to improve our capacity to represent, understand, predict or manage the behaviour of environmental systems at all practical scales, and to communicate those improvements to a wide scientific and professional audience.