FedSeg: Class-Heterogeneous Federated Learning for Semantic Segmentation
Jiaxu Miao, Zongxin Yang, Leilei Fan, Yi Yang
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 foregroundbackground 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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers14
- Self-Driven Entropy Aggregation for Byzantine-Robust Heterogeneous Federated LearningWenke Huang, Zekun Shi, Mang Ye, He Li et al.ICML 2024 · 16 citations
- COALA: A Practical and Vision-Centric Federated Learning PlatformWeiming Zhuang, Jian Xu, Chen Chen, Jingtao Li et al.ICML 2024 · 10 citations
- Masked Random Noise for Communication-Efficient Federated LearningShiwei Li, Yingyi Cheng, Haozhao Wang, Xing Tang et al.ACM MM 2024 · 7 citations
- DataStealing: Steal Data from Diffusion Models in Federated Learning with Multiple TrojansYuan Gan, Jiaxu Miao, Yi YangNeurIPS 2024 · 5 citations
- Federated Black-Box Adaptation for Semantic SegmentationJay N. Paranjape, Shameema Sikder, S. Swaroop Vedula, Vishal M. PatelNeurIPS 2024 · 4 citations
Builds on28
- SegFormer: Simple and Efficient Design for Semantic Segmentation with TransformersEnze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar et al.NeurIPS 2021 · 9,661 citations
- SCAFFOLD: Stochastic Controlled Averaging for Federated LearningSai Praneeth Karimireddy, Satyen Kale, Mehryar Mohri, Sashank J. Reddi et al.ICML 2020 · 3,875 citations
- Per-Pixel Classification is Not All You Need for Semantic SegmentationBowen Cheng, Alexander G. Schwing, Alexander KirillovNeurIPS 2021 · 2,196 citations
- Adaptive Federated OptimizationSashank J. Reddi, Zachary Charles, Manzil Zaheer, Zachary Garrett et al.ICLR 2021 · 1,917 citations
- FedProto: Federated Prototype Learning across Heterogeneous ClientsYue Tan, Guodong Long, Lu Liu, Tianyi Zhou et al.AAAI 2022 · 851 citations
Related papers
- FedSC: Federated Learning with Semantic-Aware CollaborationHuan Wang, Haoran Li, Huaming Chen, Jun Yan et al.KDD 2025 · 1 citation
- Federated Incremental Semantic SegmentationJiahua Dong, Duzhen Zhang, Yang Cong, Wei Cong et al.CVPR 2023
- Learn from Others and Be Yourself in Heterogeneous Federated LearningWenke Huang, Mang Ye, Bo DuCVPR 2022 · 254 citations
- FedSA: A Unified Representation Learning via Semantic Anchors for Prototype-based Federated LearningYanbing Zhou, Xiangmou Qu, Chenlong You, Jiyang Zhou et al.AAAI 2025 · 9 citations
- FedTGP: Trainable Global Prototypes with Adaptive-Margin-Enhanced Contrastive Learning for Data and Model Heterogeneity in Federated LearningJianqing Zhang, Yang Liu, Yang Hua, Jian CaoAAAI 2024 · 142 citations
