TL;DR
One-shot Federated Learning (OSFL) drastically reduces communication overhead by limiting client-server interaction to a single round, but it severely struggles with highly heterogeneous client data. This paper introduces Espresso, a framework that leverages pre-trained diffusion models on the server, guided by client-side fine-grained condition learning and a semantics-preserving sampling strategy. This approach allows the server to generate high-fidelity, diverse synthetic data that accurately mirrors local client distributions, significantly boosting the accuracy of the final global model.
What Problem Does This Paper Address?
Traditional Federated Learning (FL) requires clients and a central server to iteratively exchange model parameters over many rounds. This process is slow, bandwidth-heavy, and poses communication bottlenecks. OSFL addresses this by restricting communication to just one round.
However, when clients possess highly non-IID (non-Independent and Identically Distributed) data—such as variations in image styles or distinct sub-categories within the same class (known as feature and label skew)—aggregating local models directly becomes incredibly difficult. Recent state-of-the-art methods attempt to solve this by using generative diffusion models on the server to recreate client data. Unfortunately, these methods typically learn only a single, generic prompt per category. This fails to capture "intra-category" variations (e.g., one client having polar bears and another having grizzly bears) and generates low-diversity data, ultimately limiting the global model's performance.
Methods
The authors propose Espresso, a framework designed to capture the rich, fine-grained patterns of local data without sacrificing privacy. It consists of two main components:
- Fine-Grained Condition Learning: Instead of learning a single embedding per class, clients use a pre-trained vision encoder (like CLIP or DINOv2) to cluster their local data within each category into visually similar sub-groups. Bypassing the text encoder entirely, they directly optimize distinct conditional embeddings for each sub-cluster. These lightweight, highly descriptive embeddings are then uploaded to the server.
- Semantics-Preserving Sampling: To ensure the server's diffusion model accurately translates these embeddings into diverse images, Espresso introduces two techniques:
- GMM of Latent Noises: Instead of starting the reverse diffusion process from standard Gaussian noise, clients model their latent noise distributions using a Gaussian Mixture Model (GMM) on MixUp-augmented data, sending these GMM parameters to the server as better denoising starting points.
- Z-Sampling: A "zigzag" self-reflection sampling strategy used during denoising on the server. It iteratively refines the latent vectors to more effectively inject the fine-grained conditional information.
The complete pipeline is illustrated below:
Datasets
The authors evaluated Espresso across three prominent feature-skew benchmark datasets, utilizing a challenging 16-shot per category setting to simulate data-limited clients:
- DomainNet: A large-scale dataset spanning six distinct domains (clipart, infograph, painting, quickdraw, real, sketch), from which 10 categories were selected.
- PACS: A benchmark featuring four domains (art, cartoon, photo, sketch).
- Common NICO++: A domain generalization dataset where 10 categories were randomly selected across six environmental domains (autumn, dim, grass, outdoor, rock, water).
Key Insights and Ideas
- Bypassing the Text Encoder: Standard textual inversion forces learned concepts into natural language templates, which restricts the model's ability to capture rare or abstract styles. Directly optimizing raw conditional embeddings and feeding them into the U-Net's cross-attention layers unlocks significantly higher expressive capacity.
- Intra-Category Modeling is Essential: A single class label is a poor proxy for data distribution under high feature skew. Discovering visual sub-clusters within a class prevents the server-side generator from collapsing into generic, low-utility images.
- Denoising Starting Points Matter: Standard diffusion assumes any random noise is an equal starting point. Fitting a custom GMM to the client's actual noisy latent space anchors the server's generation process much closer to the true client distribution.
Key Results
Espresso consistently outperformed traditional FL, non-diffusion OSFL, and other diffusion-based OSFL baselines in terms of average accuracy:
- DomainNet: Espresso achieved an average accuracy of 75.32%, notably outperforming the next-best diffusion OSFL method, FedBiP (72.81%).
- Common NICO++: Espresso reached 82.16% accuracy compared to FedBiP's 80.54%.
- PACS: Espresso achieved 80.36% accuracy, surpassing FedBiP's 79.11%.
Qualitatively, visual inspections show that Espresso generates structurally complete objects that match complex target styles (like abstract sketches) far better than competing methods.
Furthermore, t-SNE visualizations confirm that Espresso successfully spreads synthetic data across realistic sub-clusters rather than collapsing into tight, low-diversity blobs.
Limitations and Future Work
The authors note that while Espresso excels at capturing complex and highly divergent styles (such as quickdraw in DomainNet), its performance is occasionally matched or slightly surpassed by simpler methods in very common domains (like photo in PACS). This occurs because pre-trained diffusion models already possess a strong, inherent prior for common styles, making complex guidance less necessary. Additionally, the framework introduces hyperparameters—such as the number of intra-category clusters ($J$) and GMM components ($M$)—that require tuning, though the paper demonstrates stable performance when these values are set between 4 and 6.
Summary updated