FLUX: Efficient Descriptor-Driven Clustered Federated Learning under Arbitrary Distribution Shifts
Dario Fenoglio, Mohan Li, Pietro Barbiero, Nicholas D. Lane, Marc Langheinrich, Martin Gjoreski
TL;DR
Flux introduces a descriptor-driven clustered federated learning framework that simultaneously handles four common distribution shifts (P(X), P(Y), P(Y|X), P(X|Y)) without requiring prior knowledge of the number of clusters and enables test-time adaptation for unseen, unlabeled clients. It learns compact, privacy-preserving descriptors in the latent space, clusters clients with an unsupervised method, and trains cluster-specific models, achieving state-of-the-art robustness across six datasets and ten baselines. The approach maintains near-FedAvg overhead and scales to large client populations, with formal privacy considerations via optional differential privacy on descriptors. Overall, Flux provides a practical, scalable solution for robust FL under realistic non-IID conditions and test-time deployment scenarios.
Abstract
Federated Learning (FL) enables collaborative model training across multiple clients while preserving data privacy. Traditional FL methods often use a global model to fit all clients, assuming that clients' data are independent and identically distributed (IID). However, when this assumption does not hold, the global model accuracy may drop significantly, limiting FL applicability in real-world scenarios. To address this gap, we propose FLUX, a novel clustering-based FL (CFL) framework that addresses the four most common types of distribution shifts during both training and test time. To this end, FLUX leverages privacy-preserving client-side descriptor extraction and unsupervised clustering to ensure robust performance and scalability across varying levels and types of distribution shifts. Unlike existing CFL methods addressing non-IID client distribution shifts, FLUX i) does not require any prior knowledge of the types of distribution shifts or the number of client clusters, and ii) supports test-time adaptation, enabling unseen and unlabeled clients to benefit from the most suitable cluster-specific models. Extensive experiments across four standard benchmarks, two real-world datasets and ten state-of-the-art baselines show that FLUX improves performance and stability under diverse distribution shifts, achieving an average accuracy gain of up to 23 percentage points over the best-performing baselines, while maintaining computational and communication overhead comparable to FedAvg.
