TL;DR
Traditional Federated Learning (FL) requires hundreds of communication rounds to train a model on heterogeneous, private client data. This paper introduces FedDistr, a novel framework that leverages stable diffusion models to disentangle and share compact data distribution parameters instead of massive model weights, achieving high model utility in just a single round of communication.
What Problem Does This Paper Address?
Federated Learning allows multiple clients (like hospitals or mobile devices) to collaboratively train a global AI model without sharing their raw, private data. However, in the real world, data is highly heterogeneous across clients—a challenge known as the Non-IID (non-independent and identically distributed) problem.
To make a model converge on heterogeneous data, standard FL algorithms (like FedAvg) force clients and servers to iteratively exchange model gradients or weights over hundreds of rounds. This creates a massive communication bottleneck, particularly in wide-area networks or on mobile devices with limited bandwidth. The authors of this paper set out to eliminate this bottleneck entirely by asking: What if clients communicated their underlying data distributions instead of their model weights, allowing them to train the final model in one shot?
Methods
The authors propose FedDistr (Federated Distribution Disentanglement), a framework that shifts the communication paradigm from model parameters to data distribution parameters using Latent Diffusion Models (LDMs).
The process is broken down into four key steps:
- Distribution Disentangling: Each client uses the autoencoder component of a pretrained LDM to map their private images into a latent feature space. They then apply standard clustering (like $k$-means) to separate their complex local data into distinct, simpler "base distributions" (sub-tasks).
- Distribution Generation: For each identified base distribution, the client performs embedding inversion. They freeze the LDM and optimize a compact, learnable "prompt embedding" ($v$) that captures the essence of that specific data distribution.
- Active Distribution Alignment: Clients upload these compact prompt embeddings (with added Differential Privacy noise) to the server. Because there are no explicit labels attached, the server uses the Kuhn-Munkres (KM) bipartite matching algorithm to align and match identical or overlapping distributions across different clients.
- Local Data Generation & Downstream Training: The server sends the consolidated distribution parameters back to the clients. Each client uses these embeddings to generate high-quality synthetic data representing the global dataset and trains their local downstream model from scratch in a single round.
Datasets
The framework was evaluated on two widely used image classification benchmarks, structured to simulate varying degrees of distribution entanglement:
- CIFAR100: Consisting of 20 superclasses subdivided into 5 subclasses each.
- DomainNet: A large-scale dataset featuring 345 categories across 5 distinct visual styles/domains (subclasses).
Clients were given specific subclasses to simulate "disentangled" (completely distinct data types across clients) and "near-disentangled" scenarios.
Key Insights and Ideas
- Heterogeneity as a Blessing: In traditional FL, data heterogeneity slows down convergence. This paper proves theoretically and empirically that if data distributions can be completely decoupled (disentangled), heterogeneity allows complex global tasks to be cleanly broken down into independent sub-tasks that can be executed in parallel.
- Communication via Compression: Instead of passing multi-million parameter model weights back and forth, FedDistr compresses an entire dataset's characteristics into tiny prompt embeddings.
- The Power of Pre-training: By leveraging robust, open-source foundation models (like LDMs and CLIP) already trained on broad data, clients can accurately capture and recreate complex data distributions locally with minimal data.
Key Results
FedDistr drastically outperforms traditional FL baselines (FedAvg, FedProx, SCAFFOLD, MOON) in communication efficiency while maintaining comparable or superior model utility:
- One-Round Convergence: FedDistr achieves optimal model utility in exactly 1 communication round, whereas FedAvg requires 80 to 150 rounds to converge under the same conditions.
- Massive Bandwidth Savings: FedDistr transmits only 30K parameters per round (the prompt embeddings), compared to the 11.7M parameters required by FedAvg for model weight transmission—a reduction of over 99%.
- Stable Performance: In highly disentangled scenarios, FedDistr achieves a stable ~40% utility loss on CIFAR100 in its single round, while contrastive methods like MOON suffer from a 60% utility loss even after 100 rounds of communication.
Limitations and Future Work
While FedDistr solves the communication bottleneck, it introduces a few trade-offs:
- Heavy Reliance on Foundation Models: The algorithm assumes clients have access to high-quality, pretrained latent diffusion models and text/image encoders (like CLIP). If the local data departs drastically from the foundation model's pre-training distribution, performance might degrade.
- Local Compute Overhead: Shifting the burden away from communication means clients must spend more local computational power running diffusion models to generate synthetic datasets and training models from scratch.
- Generative Privacy Risks: Although the authors integrate Differential Privacy (DP) noise into the prompt embeddings, the privacy risks associated with sharing generative distribution parameters remain an open area of debate and require deeper cryptographic scrutiny.
Summary updated