IoT Urban River Water Quality System Using Federated Learning via Knowledge Distillation

Authors:

Abstract
In the past decades, the use of urban rivers for recreational and sporting activities has gained increasing interest. However, bathing in urban surface waters is not without health risks due to short-term pollution of fecal origin, which may have an important impact on the overall population health within a region where bathing in water streams is possible. Therefore, EU member states are required to lower the contamination risk of such areas through active water quality management, as defined by the Bathing Water directory (BWD, 2006/7/EC). This paper develops and evaluates a cost-effective IoT-based water quality monitoring system, based on low-cost water quality sensors coupled with machine-learning approaches. By monitoring spatiotemporal dynamics of several physical and chemical parameters correlated with bacterial indicators, managers can more easily decide if the water quality of a bathing site is enough for usage. To determine the water suitability at particular river sites, the system employs a convolutional neural network (CNN) deep learning classifier, integrating federated learning (FL) with knowledge distillation (FedKD) to streamline model architecture, reduce communication costs, and preserve data privacy. The system is tested on the Seine and the Marne rivers (Paris area, France) and results demonstrate that FedKD outperforms centralized knowledge distillation (KD) and FL algorithms such as FedAvg and UFedAVG. Using the current features, it achieves a satisfactory average accuracy of 90.74% at Marne station.

This publication has 14 references indexed in Scilit: