mlsanityData to 7 Oct 2026

Foam Segmentation in Wastewater Treatment Plants: A Federated Learning Approach with Segment Anything Model 2

arXiv 2511.08130 ↗First posted 11 Nov 2025cs.CV cs.DC cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Foam formation in Wastewater Treatment Plants (WTPs) is a major challenge that can reduce treatment efficiency and increase costs. The ability to automatically examine changes in real-time with respect to the percentage of foam can be of great benefit to the plant. However, large amounts of labeled data are required to train standard Machine Learning (ML) models. The development of these systems is slow due to the scarcity and heterogeneity of labeled data. Additionally, the development is often hindered by the fact that different WTPs do not share their data due to privacy concerns. This paper proposes a new framework to address these challenges by combining Federated Learning (FL) with the state-of-the-art base model for image segmentation, Segment Anything Model 2 (SAM2). The FL paradigm enables collaborative model training across multiple WTPs without centralizing sensitive operational data, thereby ensuring privacy. The framework accelerates training convergence and improves segmentation performance even with limited local datasets by leveraging SAM2's strong pre-trained weights for initialization. The methodology involves fine-tuning SAM2 on distributed clients (edge nodes) using the Flower framework, where a central Fog server orchestrates the process by aggregating model weights without accessing private data. The model was trained and validated using various data collections, including real-world images captured at a WTPs in Granada, Spain, a synthetically generated foam dataset, and images from publicly available datasets to improve generalization. This research offers a practical, scalable, and privacy-aware solution for automatic foam tracking in WTPs. The findings highlight the significant potential of integrating large-scale foundational models into FL systems to solve real-world industrial challenges characterized by distributed and sensitive data.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 10 of its 32 references that are in the map. First posted on arXiv 11 Nov 2025.

Builds on

10 of 32 references.

References · 10

  1. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  2. 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,592
  3. 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
  4. 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,210
  5. 2018Albumentations: fast and flexible image augmentationscited by 558
  6. 2020Flower: A Friendly Federated Learning Research Frameworkcited by 449
  7. 2019Transfusion: Understanding Transfer Learning for Medical Imagingcited by 366
  8. 2023A Client-server Deep Federated Learning for Cross-domain Surgical Image Segmentationcited by 4
  9. 2024Assessing Foundational Medical 'Segment Anything' (Med-SAM1, Med-SAM2) Deep Learning Models for Left Atrial Segmentation in 3D LGE MRIcited by 2
  10. 2025RP-SAM2: Refining Point Prompts for Stable Surgical Instrument Segmentationcited by 2

Built on by

Not cited yet.