Tuning ANN Hyperparameters for Forecasting Drinking Water Demand

The evolution of smart water grids leads to new Big Data challenges boosting the development and application of Machine Learning techniques to support efficient and sustainable drinking water management. These powerful techniques rely on hyperparameters making the models’ tuning a tricky and crucial task. We hence propose an insightful analysis of the tuning of Artificial Neural Networks for drinking water demand forecasting. This study focuses on layers and nodes’ hyperparameters fitting of different Neural Network architectures through a grid search method by varying dataset, prediction horizon and set of inputs. In particular, the architectures involved are the Feed Forward Neural Network, the Long Short Term Memory, the Simple Recurrent Neural Network and the Gated Recurrent Unit, while the prediction interval ranges from 1 h to 1 week. To avoid the problem of the Neural Networks tuning stochasticity, we propose the selection of the median model among several repetitions for each hyperparameter’s configurations. The proposed iterative tuning procedure highlights the change of the required number of layers and nodes depending on Neural Network architectures, prediction horizon and dataset. Significant trends and considerations are pointed out to support Neural Network application in drinking water prediction.

[1]  Bruno Melo Brentan,et al.  Committee Machines for Hourly Water Demand Forecasting in Water Supply Systems , 2019, Mathematical Problems in Engineering.

[2]  Joaquín Izquierdo,et al.  Hybrid regression model for near real-time urban water demand forecasting , 2017, J. Comput. Appl. Math..

[3]  Joaquin Vanschoren,et al.  Importance of Tuning Hyperparameters of Machine Learning Algorithms , 2020, ArXiv.

[4]  Francesco Archetti,et al.  Tuning hyperparameters of a SVM-based water demand forecasting system through parallel global optimization , 2019, Comput. Oper. Res..

[5]  Zoran Kapelan,et al.  An ensemble stacked model with bias correction for improved water demand forecasting , 2020 .

[6]  Sophie Duchesne,et al.  Short-term water demand predictions coupling an artificial neural network model and a genetic algorithm , 2021, Water Supply.

[7]  Francesco Archetti,et al.  Automatic Configuration of Kernel-Based Clustering: An Optimization Approach , 2017, LION.

[8]  T. Mazzuchi,et al.  Urban Water Demand Forecasting: Review of Methods and Models , 2014 .

[9]  Alex Graves,et al.  Generating Sequences With Recurrent Neural Networks , 2013, ArXiv.

[10]  Jacopo Napolitano,et al.  Scenario Optimization of Complex Water Supply Systems for Energy Saving and Drought-Risk Management , 2019, NUMTA.

[11]  Saralees Nadarajah,et al.  Estimation of Water Demand in Iran Based on SARIMA Models , 2013, Environmental Modeling & Assessment.

[12]  Ashu Jain,et al.  Short‐term water demand forecast modeling techniques—CONVENTIONAL METHODS VERSUS AI , 2002 .

[13]  Yuan Yu,et al.  TensorFlow: A system for large-scale machine learning , 2016, OSDI.

[14]  Simin Nadjm-Tehrani,et al.  Anomaly Detection in Water Management Systems , 2012, Critical Infrastructure Protection.

[15]  Svetha Venkatesh,et al.  Hyperparameter tuning for big data using Bayesian optimisation , 2016, 2016 23rd International Conference on Pattern Recognition (ICPR).

[16]  Zoran Kapelan,et al.  Optimal energy recovery by means of pumps as turbines (PATs) for improved WDS management , 2018 .

[17]  Alexander Brenning,et al.  Hyperparameter tuning and performance assessment of statistical and machine-learning algorithms using spatial data , 2019, Ecological Modelling.

[18]  Ehsan Ardjmand,et al.  Water demand forecasting: review of soft computing methods , 2017, Environmental Monitoring and Assessment.

[19]  Joaquín Izquierdo,et al.  Predictive models for forecasting hourly urban water demand , 2010 .

[20]  Olli Varis,et al.  Integrated water resources management: evolution, prospects and future challenges , 2005 .

[21]  Paola Zuddas,et al.  Scenario Optimisation of Pumping Schedules in a Complex Water Supply System Considering a Cost–Risk Balancing Approach , 2016, Water Resources Management.

[22]  Juan Antonio Rodríguez Díaz,et al.  Optimisation of water demand forecasting by artificial intelligence with short data sets , 2019, Biosystems Engineering.

[23]  Zoran Kapelan,et al.  Integrated Optimal Cost and Pressure Management for Water Distribution Systems , 2014 .

[24]  M. Righetti,et al.  Optimal Selection and Monitoring of Nodes Aimed at Supporting Leakages Identification in WDS , 2019, Water.

[25]  Jürgen Schmidhuber,et al.  Long Short-Term Memory , 1997, Neural Computation.

[26]  Nadeem Javaid,et al.  A survey on hyperparameters optimization algorithms of forecasting models in smart grid , 2020 .

[27]  Andrea Menapace,et al.  Burst Detection in Water Distribution Systems: The Issue of Dataset Collection , 2020, Applied Sciences.

[28]  Yoshua Bengio,et al.  Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation , 2014, EMNLP.

[29]  Jan Adamowski,et al.  Comparison of Multivariate Regression and Artificial Neural Networks for Peak Urban Water-Demand Forecasting: Evaluation of Different ANN Learning Algorithms , 2010 .

[30]  Hossein Bonakdari,et al.  Bed load sediment transport estimation in a clean pipe using multilayer perceptron with different training algorithms , 2016 .

[31]  David Zimbra,et al.  Urban Water Demand Forecasting with a Dynamic Artificial Neural Network Model , 2008 .

[32]  Hui Wang,et al.  Analysis of Hyper-Parameters for Small Games: Iterations or Epochs in Self-Play? , 2020, ArXiv.

[33]  Olivier Piller,et al.  24-Hours Demand Forecasting Based on SARIMA and Support Vector Machines , 2014 .

[34]  Francesco Archetti,et al.  Gene Expression Programming Coupled with Unsupervised Learning: A Two-Stage Learning Process in Multi-Scale, Short-Term Water Demand Forecasts , 2018 .

[35]  Hossein Sedghi,et al.  Monthly groundwater level prediction using ANN and neuro-fuzzy models: a case study on Kerman plain, Iran , 2011 .

[36]  Yoshua Bengio,et al.  Learning long-term dependencies with gradient descent is difficult , 1994, IEEE Trans. Neural Networks.

[37]  Yoshua Bengio,et al.  Random Search for Hyper-Parameter Optimization , 2012, J. Mach. Learn. Res..

[38]  Avi Ostfeld,et al.  The future of water resources systems analysis: Toward a scientific framework for sustainable water management , 2015 .

[39]  Shuming Liu,et al.  Short-Term Water Demand Forecast Based on Deep Learning Method , 2018, Journal of Water Resources Planning and Management.

[40]  Lily House-Peters,et al.  Urban water demand modeling: Review of concepts, methods, and organizing principles , 2011 .