Understanding and forecasting high-frequency stream chemistry using Machine Learning and Singular Spectrum Analysis

Rivers act as the primary harmonizer of the critical zone, reflecting the confluence of processes that regulate nutrient cycling, water quality, and energy flow within ecosystems. Understanding water quality dynamics and their relationship with hydrological and biogeochemical processes warrants the study of river chemistry at a detailed temporal resolution, but this is often hindered by logistical challenges in the acquisition of such data. Recent efforts in automated data acquisition, such as the RiverLab “lab-on-a-field” setup (Floury et al. 2017) have equipped us with a toolbox to peek into riverine systems at unprecedentedly fine temporal scales. This assemblage consists of a primary circuit that continuously samples water from the middle of a stream, and measures various physico-chemical parameters using probes. A portion of this water is also routed through a filtration system towards two ion chromatographs housed in the setup, allowing the measurement of dissolved ions. This system thus enables sub-hourly measurement of major ions and near-continuous monitoring of pH, Temperature, Conductivity, etc. However, despite these advances in data acquisition, technical challenges remain. The datasets often contain gaps due to practical limitations like sensor drift and malfunction, power outages, etc. These induce gaps in the multivariate time series datasets, and can impede the reliable application of statistical techniques, introduce bias in model outputs and obscure periodicities. Collectively, these pose a risk of misconstruing the true water quality patterns. To address these challenges and for an efficient understanding of high-frequency stream chemistry, here we present a novel two-pronged approach: Reconstruction and forecasting of stream chemistry using machine learning (ML) techniques; and Understanding trends and seasonalities in stream chemistry using Singular Spectrum Analysis (SSA). Reconstruction and forecasting of stream chemistry using machine learning (ML) techniques; and Understanding trends and seasonalities in stream chemistry using Singular Spectrum Analysis (SSA). We used one year of high-frequency stream chemistry measurements from the RiverLab at Orgeval Critical Zone Observatory (Loumagne and Tallec 2013), a constituent site of the OZCAR network (Gaillardet et al. 2018) of French Critical Zone Observatories. By incorporating the temporal structure and physico-chemical parameters (Discharge, Temperature, Conductivity, pH) as inputs, multiple ML-based models were developed and applied to predict the dissolved major ions in the stream. Preliminary results hold considerable promise, with the mean absolute percentage error (MAPE) on Cl - prediction remaining below 5% for forecasts extending up to one year. This underscores the potential of ML-assisted approaches in complementing cost-effective and accessible water quality monitoring, owing to the lower operating costs and near-continuous data output provided by the probes. Following this, we discuss the applications of Singular Spectrum Analysis (SSA) on the reconstructed RiverLab data. SSA is a non-parametric technique that combines aspects of classical time series analysis and multivariate statistics (e.g. Principal Component Analysis) to decompose the time series into trends, seasonalities and residual components without relying on the assumption of stationarity (Vautard and Ghil 1989). This study marks one of the first applications of SSA in hydrogeochemistry, and is proposed as a novel tool for exploring concentration-discharge (C-Q) relationships, water quality forecasting, anomaly detection and interpretation of periodic signals in streams.

Authors

Institutions

Publication Details

Journal
ARPHA Conference Abstracts
Published
2025-05-28
DOI
https://doi.org/10.3897/aca.8.e149017
Primary Topic
Statistical and numerical algorithms
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Understanding and forecasting high-frequency stream chemistry using Machine Learning and Singular Spectrum Analysis

Hocine Hénine, Paul Floury, Jérôme Gaillardet, Amita Mallik
ARPHA Conference Abstracts
Statistical and numerical algorithms
article

Understanding and forecasting high-frequency stream chemistry using Machine Learning and Singular Spectrum Analysis

Hocine Hénine, Paul Floury, Jérôme Gaillardet, Amita Mallik
article en

Abstract

Rivers act as the primary harmonizer of the critical zone, reflecting the confluence of processes that regulate nutrient cycling, water quality, and energy flow within ecosystems. Understanding water quality dynamics and their relationship with hydrological and biogeochemical processes warrants the study of river chemistry at a detailed temporal resolution, but this is often hindered by logistical challenges in the acquisition of such data. Recent efforts in automated data acquisition, such as the RiverLab “lab-on-a-field” setup (Floury et al. 2017) have equipped us with a toolbox to peek into riverine systems at unprecedentedly fine temporal scales. This assemblage consists of a primary circuit that continuously samples water from the middle of a stream, and measures various physico-chemical parameters using probes. A portion of this water is also routed through a filtration system towards two ion chromatographs housed in the setup, allowing the measurement of dissolved ions. This system thus enables sub-hourly measurement of major ions and near-continuous monitoring of pH, Temperature, Conductivity, etc. However, despite these advances in data acquisition, technical challenges remain. The datasets often contain gaps due to practical limitations like sensor drift and malfunction, power outages, etc. These induce gaps in the multivariate time series datasets, and can impede the reliable application of statistical techniques, introduce bias in model outputs and obscure periodicities. Collectively, these pose a risk of misconstruing the true water quality patterns. To address these challenges and for an efficient understanding of high-frequency stream chemistry, here we present a novel two-pronged approach: Reconstruction and forecasting of stream chemistry using machine learning (ML) techniques; and Understanding trends and seasonalities in stream chemistry using Singular Spectrum Analysis (SSA). Reconstruction and forecasting of stream chemistry using machine learning (ML) techniques; and Understanding trends and seasonalities in stream chemistry using Singular Spectrum Analysis (SSA). We used one year of high-frequency stream chemistry measurements from the RiverLab at Orgeval Critical Zone Observatory (Loumagne and Tallec 2013), a constituent site of the OZCAR network (Gaillardet et al. 2018) of French Critical Zone Observatories. By incorporating the temporal structure and physico-chemical parameters (Discharge, Temperature, Conductivity, pH) as inputs, multiple ML-based models were developed and applied to predict the dissolved major ions in the stream. Preliminary results hold considerable promise, with the mean absolute percentage error (MAPE) on Cl - prediction remaining below 5% for forecasts extending up to one year. This underscores the potential of ML-assisted approaches in complementing cost-effective and accessible water quality monitoring, owing to the lower operating costs and near-continuous data output provided by the probes. Following this, we discuss the applications of Singular Spectrum Analysis (SSA) on the reconstructed RiverLab data. SSA is a non-parametric technique that combines aspects of classical time series analysis and multivariate statistics (e.g. Principal Component Analysis) to decompose the time series into trends, seasonalities and residual components without relying on the assumption of stationarity (Vautard and Ghil 1989). This study marks one of the first applications of SSA in hydrogeochemistry, and is proposed as a novel tool for exploring concentration-discharge (C-Q) relationships, water quality forecasting, anomaly detection and interpretation of periodic signals in streams.

ARPHA Conference AbstractsVol. 8
Centre National de la Recherche Scientifique (FR), Institut de physique du globe de Paris (FR), Université Paris Cité (FR), Université Paris-Saclay (FR), Institut National de Recherche pour l'Agriculture, l'Alimentation et l'Environnement (FR), Suez (France) (FR)
Clean water and sanitation
Openalex Percentile: Top 69%
Statistical and numerical algorithms
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.