[Paper Review] A multivariate water quality parameter prediction model using recurrent neural network
This study develops a multivariate water quality prediction model using Long Short-Term Memory (LSTM) networks to forecast dissolved oxygen levels in the Burnett River, Australia, leveraging historical data of dissolved oxygen, pH, and water temperature. The single-step LSTM model achieved a prediction error of 0.01 mg/L, while the multi-step model achieved an RMSE of 0.227 mg/L, demonstrating the feasibility of deep learning for accurate, timely water quality forecasting to enhance resource management.
The global degradation of water resources is a matter of great concern, especially for the survival of humanity. The effective monitoring and management of existing water resources is necessary to achieve and maintain optimal water quality. The prediction of the quality of water resources will aid in the timely identification of possible problem areas and thus increase the efficiency of water management. The purpose of this research is to develop a water quality prediction model based on water quality parameters through the application of a specialised recurrent neural network (RNN), Long Short-Term Memory (LSTM) and the use of historical water quality data over several years. Both multivariate single and multiple step LSTM models were developed, using a Rectified Linear Unit (ReLU) activation function and a Root Mean Square Propagation (RMSprop) optimiser was developed. The single step model attained an error of 0.01 mg/L, whilst the multiple step model achieved a Root Mean Squared Error (RMSE) of 0.227 mg/L.
Motivation & Objective
- To address the challenge of costly and time-consuming traditional water quality monitoring through predictive modeling.
- To develop a machine learning-based solution for early detection of water quality degradation using historical data.
- To compare the performance of single-step and multi-step LSTM models in predicting dissolved oxygen levels.
- To evaluate the impact of model architecture and hyperparameters on prediction accuracy for water quality parameters.
- To support sustainable water resource management by enabling timely, data-driven decisions.
Proposed method
- A multivariate single-step LSTM model was trained using three input features: dissolved oxygen, pH, and water temperature, with a single LSTM layer and ReLU activation.
- A multivariate multi-step LSTM model was developed with two densely connected LSTM layers, using ReLU activation and RMSprop optimization to predict 24 future values.
- The models were trained using historical water quality data from the Burnett River over multiple years, with early stopping to prevent overfitting.
- Model training was optimized using RMSprop with early stopping based on validation loss, with 400 epochs for the single-step and 1000 for the multi-step model.
- Model performance was evaluated using root mean squared error (RMSE) and visual comparison between predicted and actual dissolved oxygen values.
- The single-step model predicted one future value 12 hours ahead, while the multi-step model predicted 24 values at 30-minute intervals.
Experimental results
Research questions
- RQ1Can an LSTM-based model accurately predict dissolved oxygen levels in rivers using multivariate historical water quality data?
- RQ2How does model architecture (single vs. multiple LSTM layers) affect prediction accuracy and training dynamics?
- RQ3What is the optimal number of training epochs for single-step and multi-step LSTM models in water quality forecasting?
- RQ4How do different activation functions and optimizers influence model convergence and prediction error?
- RQ5To what extent can deep learning models reduce the need for costly and time-consuming laboratory testing in water quality monitoring?
Key findings
- The single-step LSTM model achieved a prediction error of 0.01 mg/L, indicating high precision in forecasting a single future dissolved oxygen value.
- The multi-step LSTM model achieved a root mean squared error (RMSE) of 0.227 mg/L when predicting 24 future values at 30-minute intervals.
- The single-step model required fewer training epochs (400) compared to the multi-step model (1000), suggesting simpler architecture leads to faster convergence.
- The multi-step model, despite higher error, demonstrated robustness in predicting a sequence of values, which is essential for operational water management.
- Both models used pH and water temperature as auxiliary inputs, confirming their strong correlation with dissolved oxygen levels.
- The results confirm that LSTM-based models can effectively forecast water quality parameters, enabling proactive management of water resources.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.