Relaxed Contrastive Learning for Federated Learning
Seonguk Seo, Jinkyu Kim, Geeho Kim, Bohyung Han
Abstract
We propose a novel contrastive learning framework to effectively address the challenges of data heterogeneity infederated learning. We first analyze the inconsistency of gradient updates across clients during local training and establish its dependence on the distribution of feature representations, leading to the derivation of the supervised contrastive learning (SCL) objective to mitigate local deviations. In addition, we show that a naïve integration of SCL into federated learning incurs representation collapse, resulting in slow convergence and limited performance gains. To address this issue, we introduce a relaxed contrastive learning loss that imposes a divergence penalty on excessively similar sample pairs within each class. This strategy prevents collapsed representations and enhances feature transferability, facilitating collaborative training and leading to significant performance improvements. Our framework out-performs all existing federated learning approaches by significant margins on the standard benchmarks, as demonstrated by extensive experimental results. The source code is available at our project page<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sup><sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sup>https://github.com/skynbe/FedRCL:
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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 9df7d0e4-bf74-497a-85b9-22283732651fCited by top-tier papers13
- Cross-Silo Feature Space Alignment for Federated Learning on Clients with Imbalanced DataZhuang Qi, Lei Meng, Zhaochuan Li, Han Hu et al.AAAI 2025 · 39 citations
- FedWSQ: Efficient Federated Learning with Weight Standardization and Distribution-Aware Non-Uniform QuantizationSeung-Wook Kim, Seongyeol Kim, Jiah Kim, Seowon Ji et al.ICCV 2025 · 3 citations
- FedDifRC: Unlocking the Potential of Text-to-Image Diffusion Models in Heterogeneous Federated LearningHuan Wang, Haoran Li, Huaming Chen, Jun Yan et al.ICCV 2025 · 3 citations
- Toward Enhancing Representation Learning in Federated Multi-Task SettingsMehdi Setayesh, Mahdi Beitollahi, Yasser H. Khalil, Hongliang LiICLR 2026 · 2 citations
- OASIS: One-Shot Federated Graph Learning via Wasserstein Assisted Knowledge IntegrationFrank Wan, Jiaru Qian, Wenke Huang, Qilin Xu et al.NeurIPS 2025 · 2 citations
Builds on19
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- Adaptive Federated OptimizationSashank J. Reddi, Zachary Charles, Manzil Zaheer, Zachary Garrett et al.ICLR 2021 · 1,917 citations
- The Non-IID Data Quagmire of Decentralized Machine LearningKevin Hsieh, Amar Phanishayee, Onur Mutlu, Phillip B. GibbonsICML 2020 · 672 citations
- Preservation of the Global Knowledge by Not-True Distillation in Federated LearningGihun Lee, Minchan Jeong, Yongjin Shin, Sangmin Bae et al.NeurIPS 2022 · 235 citations
- FedMix: Approximation of Mixup under Mean Augmented Federated LearningTehrim Yoon, Sumin Shin, Sung Ju Hwang, Eunho YangICLR 2021 · 226 citations
Related papers
- 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
- FedSC: Federated Learning with Semantic-Aware CollaborationHuan Wang, Haoran Li, Huaming Chen, Jun Yan et al.KDD 2025 · 1 citation
- Is Heterogeneity Notorious? Taming Heterogeneity to Handle Test-Time Shift in Federated LearningYue Tan, Chen Chen, Weiming Zhuang, Xin Dong et al.NeurIPS 2023 · 44 citations
- Personalized Federated Learning Under Local SupervisionQiqi Liu, Jiaqiang Li, Yuchen Liu, Yaochu Jin et al.ICCV 2025 · 5 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
