FedSeg: Class-Heterogeneous Federated Learning for Semantic Segmentation

Jiaxu Miao, Zongxin Yang, Lei Fan, Yi Yang
2/14/2026

No official code found. Best implementation: cszyzhang/RISurConv (29 stars, MIT, last commit 2024-08-13). 2 more below.

Abstract

Federated Learning (FL) is a distributed learning paradigm that collaboratively learns a global model by multiple clients with data privacy-preserving. Although many FL algorithms have been proposed for classification tasks, few works focus on more challenging semantic segmentation tasks, especially in the class-heterogeneous FL situation. Compared with classification, the issues from heterogeneous FL for semantic segmentation are more severe: (1) Due to the non-IID distribution, different clients may contain inconsistent foreground-background classes, resulting in divergent local updates. (2) Class-heterogeneity for complex dense prediction tasks makes the local optimum of clients farther from the global optimum. In this work, we propose FedSeg, a basic federated learning approach for class-heterogeneous semantic segmentation. We first propose a simple but strong modified cross-entropy loss to correct the local optimization and address the foreground-background inconsistency problem. Based on it, we introduce pixel-level contrastive learning to enforce local pixel embeddings belonging to the global semantic space. Extensive experiments on four semantic segmentation benchmarks (Cityscapes, CamVID, PascalVOC and ADE20k) demonstrate the effectiveness of our FedSeg. We hope this work will attract more attention from the FL community to the challenging semantic segmentation federated learning.

DOISemantic Scholar

Code Implementations(3)

cszyzhang/RISurConvCommunity100%
MIT

Official codes for ECCV2024 paper: RISurConv: Rotation Invariant Surface Attention-Augmented Convolutions for 3D Point Cloud Classification and Segmentation

293C++, CudaJul 13, 20242 years agoMIT

The Paddle version of "FedSeg: Class-Heterogeneous Federated Learning for Semantic Segmentation".

00Shell, PythonOct 16, 20251 years ago
lightas/FedSegCommunity63%

CVPR 2023 FedSeg: Class-Heterogeneous Federated Learning for Semantic Segmentation

221Shell, PythonJun 6, 202310 months ago

Similar Papers

Cite this paper

@article{miao2026fedseg,
  title  = {FedSeg: Class-Heterogeneous Federated Learning for Semantic Segmentation},
  author = {Jiaxu Miao and Zongxin Yang and Lei Fan and Yi Yang},
  year   = {2026},
  doi    = {10.1109/CVPR52729.2023.00777},
  url    = {https://doi.org/10.1109/CVPR52729.2023.00777},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/00a984bec1618ffbfa370e86637f3d8ea395643d.svg)](https://codeofpaper.com/paper/00a984bec1618ffbfa370e86637f3d8ea395643d)

Discussion