Toward Enhancing Representation Learning in Federated Multi-Task Settings
Mehdi Setayesh, Mahdi Beitollahi, Yasser H. Khalil, Hongliang Li
TL;DR
Federated multi-task learning is challenged by heterogeneity in client models and tasks. The authors introduce Muscle loss, a theoretically grounded contrastive objective that jointly aligns representations from all participating models and yields a mutual information lower bound, and FedMuscle, a practical FL algorithm that uses a shared public dataset to synchronize representation spaces. They demonstrate MI-based transfer gains across CV and NLP tasks, including multi-modal settings, and show Muscle loss outperforms Gramian-based and pairwise contrastive losses while integrating with existing multi-modal FL frameworks. The work provides insights into trade-offs between communication, batch size, and client count, highlighting the potential of representation-centric FL for robust, privacy-preserving knowledge transfer across heterogeneous participants.
Abstract
Federated multi-task learning (FMTL) seeks to collaboratively train customized models for users with different tasks while preserving data privacy. Most existing approaches assume model congruity (i.e., the use of fully or partially homogeneous models) across users, which limits their applicability in realistic settings. To overcome this limitation, we aim to learn a shared representation space across tasks rather than shared model parameters. To this end, we propose Muscle loss, a novel contrastive learning objective that simultaneously aligns representations from all participating models. Unlike existing multi-view or multi-model contrastive methods, which typically align models pairwise, Muscle loss can effectively capture dependencies across tasks because its minimization is equivalent to the maximization of mutual information among all the models' representations. Building on this principle, we develop FedMuscle, a practical and communication-efficient FMTL algorithm that naturally handles both model and task heterogeneity. Experiments on diverse image and language tasks demonstrate that FedMuscle consistently outperforms state-of-the-art baselines, delivering substantial improvements and robust performance across heterogeneous settings.
