Evaluating physics informed neural networks for water contamination risk prediction and environmental sustainability
Saima Rashid, Husnain Abbas, Ilyas Ali, Aasma Khalid, Fekadu Tesgera Agama, M. Saif Aldien
Government College University, Faisalabad · University of Engineering and Technology Lahore
Key points
From the paper's conclusion- Overall, the proposed PINN not only advances predictive accuracy and computational efficiency but also provides a practical framework for supporting regulatory decision-making, optimizing salinity control, and guiding sustainable irrigation planning.
Abstract
Growing pollution hazards in large watersheds, including Egypt's Nile River, necessitate precise and effective monitoring of water quality indices. Although considerable efforts have been made to model individual parameters such as pH, Total Dissolved Solids (TDS), Electrical Conductivity (EC) and sodium (Na), the emphasis on isolated forecasts has often overlooked their interdependencies, thereby limiting estimation accuracy and practical applicability. Conventional machine learning methodologies further compound this issue, as they frequently lack adaptability and physical interpretability, resulting in inefficiencies for sustainable water management. To address these limitations, this study develops a physics-informed neural network (PINN) framework integrated with optimization boosting techniques to jointly predict pH, TDS (mg/L), EC (μS/cm), and Na (mg/L) under three critical management strategies: industrial discharge regulation, salinity management and irrigation planning. The approach incorporates prior hydrodynamic and chemical knowledge to guide input categorization, employs adaptive weighting mechanisms to dynamically adjust feature relevance, and introduces a deep interaction module to capture intricate physicochemical couplings. A physics-constrained loss function ensures consistency with ecological processes. Field analysis revealed that while pH values (6.01-6.87) consistently met FAO standards, TDS, EC, and Na frequently exceeded permissible thresholds, particularly during the dry season. Model evaluation showed that PINN outperformed conventional optimizers, achieving values of 0.945-0.999 and RMSE between 0.012-0.088. Cross-validation further confirmed its robustness, yielding consistently low RMSE and near-unity across folds. Interpretability analysis highlighted irrigation intensity, salinity loads, and industrial effluents as the dominant drivers of water quality dynamics. Overall, the proposed PINN not only advances predictive accuracy and computational efficiency but also provides a practical framework for supporting regulatory decision-making, optimizing salinity control, and guiding sustainable irrigation planning. Ultimately, this approach offers a viable pathway for mitigating contamination risks and ensuring the long-term sustainability of the Nile River ecosystem.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Physics-informed ensemble machine learning for dynamic water quality prediction in water distribution systemsJournal of Water Process Engineering · 2025
- Physics-informed neural networks in water and wastewater systems: a critical reviewWater Research · 2026
- Machine Learning for Soft Sensing in Water Quality Monitoring: A Survey and TutorialJournal of Sensor and Actuator Networks · 2026
- Physics Informed Machine Learning for Electrical Sensing and Prediction of Heavy Metal Contamination in WaterTechno-computing Journal · 2026
- High-resolution remote sensing-driven water management in semi-arid basins: A CNN-Attention-SWAT fusion framework for the Fen RiverScience of Remote Sensing · 2025
- Assessing surface water quality in Fayoum, Egypt using an integrated WQI-GIS approach for multi-purpose reuseFrontiers in Environmental Science · 2025