Transformer Networks and Loss with Punishment for Optimized Management of Urban Water Supply System

IF 4.8 Q1 ENVIRONMENTAL SCIENCES
Yu-Qi Wang, Hong-Cheng Wang*, Jia-Ji Chen, Wan-Xin Yin, Jiuling Li, Zhiyu Zhang, He-Wen Li, Mei-Fang Wang and Ai-Jie Wang, 
{"title":"Transformer Networks and Loss with Punishment for Optimized Management of Urban Water Supply System","authors":"Yu-Qi Wang,&nbsp;Hong-Cheng Wang*,&nbsp;Jia-Ji Chen,&nbsp;Wan-Xin Yin,&nbsp;Jiuling Li,&nbsp;Zhiyu Zhang,&nbsp;He-Wen Li,&nbsp;Mei-Fang Wang and Ai-Jie Wang,&nbsp;","doi":"10.1021/acsestwater.4c0088110.1021/acsestwater.4c00881","DOIUrl":null,"url":null,"abstract":"<p >Accurate water demand forecasting is critical for the efficient operation and management of water supply systems, traditional forecasting models often show limited performance, with errors equally 50%/50% split between underestimation and overestimation. Here we show a model based on transformer (TF) to predict water demand quantity, comparing its performance with statistical models, recurrent neural network (RNN), long short-term memory (LSTM). To tackle the critical issue of underestimating water demand, we design a penalized loss function that constrains the model’s output distribution when predicting anomalies, drawing inspiration from the Chinese saying “killing the chicken to scare the monkey.” The rationale for this penalized loss function is explained through the principles of the transformer network and loss function with punishment (TFP) model and interpretability analysis. If actually deployed, the TFP model would reduce water supply by 8.97%, achieving a mean absolute percentage error of 2.93% and an underestimation probability of just 30.63%. Additionally, we outline a process for applying the penalized loss function to tackle a broader range of environmental challenges, with the goal of addressing more diverse environmental issues in the future.</p>","PeriodicalId":93847,"journal":{"name":"ACS ES&T water","volume":"5 2","pages":"800–815 800–815"},"PeriodicalIF":4.8000,"publicationDate":"2025-01-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACS ES&T water","FirstCategoryId":"1085","ListUrlMain":"https://pubs.acs.org/doi/10.1021/acsestwater.4c00881","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENVIRONMENTAL SCIENCES","Score":null,"Total":0}
引用次数: 0

Abstract

Accurate water demand forecasting is critical for the efficient operation and management of water supply systems, traditional forecasting models often show limited performance, with errors equally 50%/50% split between underestimation and overestimation. Here we show a model based on transformer (TF) to predict water demand quantity, comparing its performance with statistical models, recurrent neural network (RNN), long short-term memory (LSTM). To tackle the critical issue of underestimating water demand, we design a penalized loss function that constrains the model’s output distribution when predicting anomalies, drawing inspiration from the Chinese saying “killing the chicken to scare the monkey.” The rationale for this penalized loss function is explained through the principles of the transformer network and loss function with punishment (TFP) model and interpretability analysis. If actually deployed, the TFP model would reduce water supply by 8.97%, achieving a mean absolute percentage error of 2.93% and an underestimation probability of just 30.63%. Additionally, we outline a process for applying the penalized loss function to tackle a broader range of environmental challenges, with the goal of addressing more diverse environmental issues in the future.

Abstract Image

求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
5.40
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信