{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,17]],"date-time":"2026-11-17T20:42:26Z","timestamp":1794948146059,"version":"4.9.1"},"reference-count":37,"publisher":"MDPI AG","issue":"13","license":[{"start":{"date-parts":[[2023,7,5]],"date-time":"2023-07-05T00:00:00Z","timestamp":1688515200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"the Dutch National Science Foundation NWO","award":["629.002.213"],"award-info":[{"award-number":["629.002.213"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Localizing leakages in large water distribution systems is an important and ever-present problem. Due to the complexity originating from water pipeline networks, too few sensors, and noisy measurements, this is a highly challenging problem to solve. In this work, we present a methodology based on generative deep learning and Bayesian inference for leak localization with uncertainty quantification. A generative model, utilizing deep neural networks, serves as a probabilistic surrogate model that replaces the full equations, while at the same time also incorporating the uncertainty inherent in such models. By embedding this surrogate model into a Bayesian inference scheme, leaks are located by combining sensor observations with a model output approximating the true posterior distribution for possible leak locations. We show that our methodology enables producing fast, accurate, and trustworthy results. It showed a convincing performance on three problems with increasing complexity. For a simple test case, the Hanoi network, the average topological distance (ATD) between the predicted and true leak location ranged from 0.3 to 3 with a varying number of sensors and level of measurement noise. For two more complex test cases, the ATD ranged from 0.75 to 4 and from 1.5 to 10, respectively. Furthermore, accuracies upwards of 83%, 72%, and 42% were achieved for the three test cases, respectively. The computation times ranged from 0.1 to 13 s, depending on the size of the neural network employed. This work serves as an example of a digital twin for a sophisticated application of advanced mathematical and deep learning techniques in the area of leak detection.<\/jats:p>","DOI":"10.3390\/s23136179","type":"journal-article","created":{"date-parts":[[2023,7,6]],"date-time":"2023-07-06T00:54:41Z","timestamp":1688604881000},"page":"6179","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":30,"title":["A Probabilistic Digital Twin for Leak Localization in Water Distribution Networks Using Generative Deep Learning"],"prefix":"10.3390","volume":"23","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-2635-9586","authenticated-orcid":false,"given":"Nikolaj T.","family":"M\u00fccke","sequence":"first","affiliation":[{"name":"Centrum Wiskunde & Informatica, Science Park 123, 1098 XG Amsterdam, The Netherlands"},{"name":"Mathematical Institute, Utrecht University, 3584 CS Utrecht, The Netherlands"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1588-1117","authenticated-orcid":false,"given":"Prerna","family":"Pandey","sequence":"additional","affiliation":[{"name":"Department of Management Studies, Indian Institute of Science, Bangalore, Karnataka 560012, India"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2467-9332","authenticated-orcid":false,"given":"Shashi","family":"Jain","sequence":"additional","affiliation":[{"name":"Department of Management Studies, Indian Institute of Science, Bangalore, Karnataka 560012, India"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7866-278X","authenticated-orcid":false,"given":"Sander M.","family":"Boht\u00e9","sequence":"additional","affiliation":[{"name":"Centrum Wiskunde & Informatica, Science Park 123, 1098 XG Amsterdam, The Netherlands"},{"name":"Swammerdam Institute of Life Sciences (SILS), University of Amsterdam, 1098XH Amsterdam, The Netherlands"},{"name":"Bernoulli Institute, Rijksuniversiteit Groningen, 9747AG Groningen, The Netherlands"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7322-4094","authenticated-orcid":false,"given":"Cornelis W.","family":"Oosterlee","sequence":"additional","affiliation":[{"name":"Mathematical Institute, Utrecht University, 3584 CS Utrecht, The Netherlands"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2023,7,5]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Sun, C., Parellada, B., Puig, V., and Cembrano, G. (2019). Leak localization in water distribution networks using pressure and data-driven classifier approach. Water, 12.","DOI":"10.3390\/w12010054"},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Javadiha, M., Blesa, J., Soldevila, A., and Puig, V. (2019, January 23\u201326). Leak localization in water distribution networks using deep learning. Proceedings of the 2019 6th International Conference on Control, Decision and Information Technologies (CoDIT), Paris, France.","DOI":"10.1109\/CoDIT.2019.8820627"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"782","DOI":"10.2166\/hydro.2021.164","article-title":"Water leakage detection and localization using hydraulic modeling and classification","volume":"23","author":"Mohammed","year":"2021","journal-title":"J. Hydroinform."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"16691","DOI":"10.1016\/j.ifacol.2020.12.1104","article-title":"First results in leak localization in water distribution networks using graph-based clustering and deep learning","volume":"53","author":"Romero","year":"2020","journal-title":"IFAC-PapersOnLine"},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"525","DOI":"10.1080\/1573062X.2020.1797832","article-title":"A methodology for leak detection in water distribution networks using graph theory and artificial neural network","volume":"17","author":"Shekofteh","year":"2020","journal-title":"Urban Water J."},{"key":"ref_6","first-page":"1","article-title":"A novel gapg approach to automatic property generation for formal verification: The gan perspective","volume":"19","author":"Gao","year":"2023","journal-title":"ACM Trans. Multimed. Comput. Commun. Appl."},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Gao, H., Qiu, B., Barroso, R.J.D., Hussain, W., Xu, Y., and Wang, X. (2022). Tsmae: A novel anomaly detection approach for internet of things time series data using memory-augmented autoencoder. IEEE Trans. Netw. Sci. Eng., 1.","DOI":"10.1109\/TNSE.2022.3163144"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"645","DOI":"10.1108\/IJWIS-01-2021-0007","article-title":"Enhanced data stream classification by optimized weight updated meta-learning: Continuous learning-based on concept-drift","volume":"17","author":"Singh","year":"2021","journal-title":"Int. J. Web Inf. Syst."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"607","DOI":"10.1108\/IJWIS-05-2021-0058","article-title":"Deep learning based approach to unstructured record linkage","volume":"17","year":"2021","journal-title":"Int. J. Web Inf. Syst."},{"key":"ref_10","first-page":"761","article-title":"A Bayesian Approach for Active Fault Isolation with an Application to Leakage Localization in Water Distribution Networks","volume":"31","author":"Abraham","year":"2022","journal-title":"IEEE Trans. Control. Syst. Technol."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"453","DOI":"10.1007\/978-3-642-05241-5_24","article-title":"Synergic combinations of computational methods and experiments for structural diagnoses","volume":"1","author":"Maier","year":"2010","journal-title":"Comput. Methods Mech."},{"key":"ref_12","unstructured":"Frangos, M., Marzouk, Y., Willcox, K., and van Bloemen Waanders, B. (2010). Large-Scale Inverse Problems and Quantification of Uncertainty, Wiley Online Library."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"807","DOI":"10.1016\/j.cma.2018.07.017","article-title":"Reduced order modeling for nonlinear structural analysis using Gaussian process regression","volume":"341","author":"Guo","year":"2018","journal-title":"Comput. Methods Appl. Mech. Eng."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"101408","DOI":"10.1016\/j.jocs.2021.101408","article-title":"Reduced Order Modeling for Parameterized Time-Dependent PDEs using Spatially and Memory Aware Deep Learning","volume":"53","author":"Oosterlee","year":"2021","journal-title":"J. Comput. Sci."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"55","DOI":"10.1016\/j.jcp.2018.02.037","article-title":"Non-intrusive reduced order modeling of nonlinear problems using neural networks","volume":"363","author":"Hesthaven","year":"2018","journal-title":"J. Comput. Phys."},{"key":"ref_16","unstructured":"Li, Z., Kovachki, N., Azizzadenesheli, K., Liu, B., Bhattacharya, K., Stuart, A., and Anandkumar, A. (2020). Fourier neural operator for parametric partial differential equations. arXiv."},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"M\u00fccke, N.T., Sanderse, B., Boht\u00e9, S., and Oosterlee, C.W. (2021). Markov Chain Generative Adversarial Neural Networks for Solving Bayesian Inverse Problems in Physics Applications. arXiv.","DOI":"10.2139\/ssrn.3991779"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"035114","DOI":"10.1063\/5.0082562","article-title":"Generative modeling of turbulence","volume":"34","author":"Drygala","year":"2022","journal-title":"Phys. Fluids"},{"key":"ref_19","unstructured":"Patel, D., and Oberai, A.A. (2019). Bayesian inference with generative adversarial network priors. arXiv."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"139","DOI":"10.1145\/3422622","article-title":"Generative adversarial networks","volume":"63","author":"Goodfellow","year":"2020","journal-title":"Commun. ACM"},{"key":"ref_21","unstructured":"Kingma, D.P., and Welling, M. (2013). Auto-encoding variational bayes. arXiv."},{"key":"ref_22","unstructured":"Sohl-Dickstein, J., Weiss, E., Maheswaranathan, N., and Ganguli, S. (2015, January 7\u20139). Deep unsupervised learning using nonequilibrium thermodynamics. Proceedings of the International Conference on Machine Learning, Lille, France."},{"key":"ref_23","unstructured":"Xiao, Z., Kreis, K., and Vahdat, A. (2021). Tackling the generative learning trilemma with denoising diffusion GANs. arXiv."},{"key":"ref_24","unstructured":"Tolstikhin, I., Bousquet, O., Gelly, S., and Schoelkopf, B. (2017). Wasserstein auto-encoders. arXiv."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"696","DOI":"10.1061\/(ASCE)HY.1943-7900.0000341","article-title":"Jacobian matrix for solving water distribution system equations with the Darcy-Weisbach head-loss model","volume":"137","author":"Simpson","year":"2011","journal-title":"J. Hydraul. Eng."},{"key":"ref_26","unstructured":"Rossman, L.A. (2023, June 29). EPANET 2: Users Manual, Available online: https:\/\/nepis.epa.gov\/Exe\/ZyNET.exe\/P1007WWU.TXT?ZyActionD=ZyDocument&Client=EPA&Index=2000+Thru+2005&Docs=&Query=&Time=&EndTime=&SearchMethod=1&TocRestrict=n&Toc=&TocEntry=&QField=&QFieldYear=&QFieldMonth=&QFieldDay=&IntQFieldOp=0&ExtQFieldOp=0&XmlQuery=&File=D%3A%5Czyfiles%5CIndex%20Data%5C00thru05%5CTxt%5C00000024%5CP1007WWU.txt&User=ANONYMOUS&Password=anonymous&SortMethod=h%7C-&MaximumDocuments=1&FuzzyDegree=0&ImageQuality=r75g8\/r75g8\/x150y150g16\/i425&Display=hpfr&DefSeekPage=x&SearchBack=ZyActionL&Back=ZyActionS&BackDesc=Results%20page&MaximumPages=1&ZyEntry=1&SeekPage=x&ZyPURL."},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Hastie, T., Tibshirani, R., Friedman, J.H., and Friedman, J.H. (2009). The Elements of Statistical Learning: Data Mining, Inference, and Prediction, Springer.","DOI":"10.1007\/978-0-387-84858-7"},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Xiu, D. (2010). Numerical Methods for Stochastic Computations: A Spectral Method Approach, Princeton University Press.","DOI":"10.1515\/9781400835348"},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"233","DOI":"10.1002\/aic.690370209","article-title":"Nonlinear principal component analysis using autoassociative neural networks","volume":"37","author":"Kramer","year":"1991","journal-title":"AIChE J."},{"key":"ref_30","first-page":"723","article-title":"A kernel two-sample test","volume":"13","author":"Gretton","year":"2012","journal-title":"J. Mach. Learn. Res."},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27\u201330). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.","DOI":"10.1109\/CVPR.2016.90"},{"key":"ref_32","first-page":"6000","article-title":"Attention is all you need","volume":"30","author":"Vaswani","year":"2017","journal-title":"Adv. Neural Inf. Process. Syst."},{"key":"ref_33","unstructured":"Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., and Gelly, S. (2020). An image is worth 16x16 words: Transformers for image recognition at scale. arXiv."},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"583","DOI":"10.1038\/s41586-021-03819-2","article-title":"Highly accurate protein structure prediction with AlphaFold","volume":"596","author":"Jumper","year":"2021","journal-title":"Nature"},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"1748","DOI":"10.1016\/j.ijforecast.2021.03.012","article-title":"Temporal fusion transformers for interpretable multi-horizon time series forecasting","volume":"37","author":"Lim","year":"2021","journal-title":"Int. J. Forecast."},{"key":"ref_36","unstructured":"Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., and Antiga, L. (2019, January 8\u201314). PyTorch: An Imperative Style, High-Performance Deep Learning Library. Proceedings of the Advances in Neural Information Processing Systems 32, Vancouver, BC, Canada."},{"key":"ref_37","unstructured":"Loshchilov, I., and Hutter, F. (2016). Sgdr: Stochastic gradient descent with warm restarts. arXiv."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/23\/13\/6179\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T20:06:57Z","timestamp":1760126817000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/23\/13\/6179"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,7,5]]},"references-count":37,"journal-issue":{"issue":"13","published-online":{"date-parts":[[2023,7]]}},"alternative-id":["s23136179"],"URL":"https:\/\/doi.org\/10.3390\/s23136179","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,7,5]]}}}