Kalman filtering assimilated machine learning methods significantly improve the prediction performance of water quality parameters

Accurate water quality prediction is essential for effective water pollution prevention and emergency responses. However, existing research on machine learning (ML)-based data assimilation methods remains limited, particularly in terms of addressing the combined impacts of climate change and anthropogenic activities. To address this gap, we proposed a novel ‘ML–Kalman filter (KF)’ data assimilation framework and evaluated its performance in the Dahei River Basin, a representative semi-arid watershed. Our results demonstrated significant improvements in predicting key water quality parameters, including total nitrogen (TN), total phosphorus (TP), and the permanganate index (COD Mn ), through the integration of KF with four ML models (LSTM, RF, XGBoost, and SVR). The accuracy enhancement ranged from 4.3 % to 17.6 %, with TP showing the most substantial improvement (9.2 %–17.6 %), followed by TN (6.4 %–11.1 %) and COD Mn (4.3 %–12.1 %). After assimilation, the models exhibited the following performance ranking for TN based on the coefficient of determination (R 2 ): LSTM–KF (R 2 = 0.909) > RF–KF (R 2 = 0.886) > SVR–KF (R 2 = 0.840) > XGBoost–KF (R 2 = 0.797), with similar trends observed for TP and COD Mn . The proposed framework demonstrates strong portability and applicability across different monitoring sections and temporal resolutions, offering a robust solution for regions with limited monitoring capabilities and challenging climatic conditions. These findings provide valuable data and technical support for advancing water pollution prediction and early warning systems, particularly for ecological and environmental departments operating in data-deficient regions. • The Kalman Filter effectively improved the prediction accuracy of machine learning models. • The prediction accuracy generally demonstrates the following results: LSTM-KF > RF-KF > XGBoost-KF > SVR-KF. • The LSTM-KF prediction method demonstrated considerable potential in future water environment monitoring and supervision. • This method exhibits good applicability and portability across datasets from various locations and time resolutions.

Authors

Institutions

Publication Details

Journal
Ecological Informatics
Published
2025-07-21
DOI
https://doi.org/10.1016/j.ecoinf.2025.103337
Citations
4
Primary Topic
Hydrological Forecasting Using AI
Type
article
Field-Weighted Citation Impact
3.20

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Kalman filtering assimilated machine learning methods significantly improve the prediction performance of water quality parameters

A Yinglan, Jinyue Chen, Shilong Ren, Ruobing Liu et al.
4 citations
Ecological Informatics
Hydrological Forecasting Using AI
3.20
article

Kalman filtering assimilated machine learning methods significantly improve the prediction performance of water quality parameters

A Yinglan, Jinyue Chen, Shilong Ren, Ruobing Liu, Shuping Ji, Zhenyu Gao, Lei Fang, Guoqiang Wang, Qiao Wang
article en
4 citations

Abstract

Accurate water quality prediction is essential for effective water pollution prevention and emergency responses. However, existing research on machine learning (ML)-based data assimilation methods remains limited, particularly in terms of addressing the combined impacts of climate change and anthropogenic activities. To address this gap, we proposed a novel ‘ML–Kalman filter (KF)’ data assimilation framework and evaluated its performance in the Dahei River Basin, a representative semi-arid watershed. Our results demonstrated significant improvements in predicting key water quality parameters, including total nitrogen (TN), total phosphorus (TP), and the permanganate index (COD Mn ), through the integration of KF with four ML models (LSTM, RF, XGBoost, and SVR). The accuracy enhancement ranged from 4.3 % to 17.6 %, with TP showing the most substantial improvement (9.2 %–17.6 %), followed by TN (6.4 %–11.1 %) and COD Mn (4.3 %–12.1 %). After assimilation, the models exhibited the following performance ranking for TN based on the coefficient of determination (R 2 ): LSTM–KF (R 2 = 0.909) > RF–KF (R 2 = 0.886) > SVR–KF (R 2 = 0.840) > XGBoost–KF (R 2 = 0.797), with similar trends observed for TP and COD Mn . The proposed framework demonstrates strong portability and applicability across different monitoring sections and temporal resolutions, offering a robust solution for regions with limited monitoring capabilities and challenging climatic conditions. These findings provide valuable data and technical support for advancing water pollution prediction and early warning systems, particularly for ecological and environmental departments operating in data-deficient regions. • The Kalman Filter effectively improved the prediction accuracy of machine learning models. • The prediction accuracy generally demonstrates the following results: LSTM-KF > RF-KF > XGBoost-KF > SVR-KF. • The LSTM-KF prediction method demonstrated considerable potential in future water environment monitoring and supervision. • This method exhibits good applicability and portability across datasets from various locations and time resolutions.

Ecological InformaticsVol. 90
Shandong University (CN), Beijing Normal University (CN), City University of Hong Kong, Shenzhen Research Institute (CN)
National Natural Science Foundation of China, Natural Science Foundation of Shandong Province, National Key Research and Development Program of China, National Science Fund for Distinguished Young Scholars, Basic and Applied Basic Research Foundation of Guangdong Province
Clean water and sanitation
Openalex Percentile: Top 8%
Hydrological Forecasting Using AI
3.20
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.