FedDM-prox: Federated Diffusion Training
- The paper demonstrates that incorporating a proximal regularizer in the local diffusion loss reduces client drift, yielding up to a 23% FID improvement under moderate data skew.
- The method leverages U-Net-backed diffusion architectures and standard federated averaging without extra communication cost, ensuring seamless integration across clients.
- Empirical results on CIFAR-10 and CelebA show that FedDM-prox maintains image fidelity and sharpness under heterogeneous data conditions compared to baseline approaches.
Federated Diffusion Model Training with Proximal Regularization (FedDM-prox) is a methodological advancement designed to address the unique challenges of training diffusion models in federated settings, particularly under client data heterogeneity. This approach is situated within the FedDM suite of algorithms, which leverage U-Net-backed diffusion architectures and address both communication efficiency and robust model convergence when client data distributions (non-IID) diverge significantly. FedDM-prox incorporates a proximal term in the local client objective to mitigate client-drift, thus enhancing convergence and model fidelity across disparate data partitions (Vora et al., 2024).
1. Federated Diffusion Model Framework
The core federated learning objective is to optimize a global diffusion model over participating clients. Each client holds a private dataset sampled from distribution . The global optimization is expressed as:
where , and the local objective for each client,
corresponds to the variational diffusion-model loss. Optimization proceeds in communication rounds, where a subset of clients solve their local subproblems—typically via SGD—before sending updated parameters to a federating server for weighted aggregation.
2. Proximal Objective for Mitigating Client Drift
FedDM-prox directly addresses instability and slow convergence arising from non-IID client data by extending the local diffusion loss with a proximal regularizer centered at the current global model parameter . The modified per-client optimization in round is:
where is a tunable proximal coefficient controlling the strength of regularization. This term constrains local updates, reducing their drift from the global model and consequently improving aggregation stability and convergence—particularly under severe data partition skew.
3. FedDM-prox Algorithmic Workflow
FedDM-prox is instantiated as follows:
- Initialization: Start with .
- Selection & Broadcast: In each round , randomly sample a subset of clients; broadcast global model .
- Local Update (per client ):
- Initialize .
- For local epochs:
- Sample minibatch from .
- Compute stochastic gradient of local diffusion loss.
- Apply proximal-regularized SGD:
- Return updated .
- Aggregation: Server updates global parameters by weighted averaging:
Repeat for rounds.
This method retains the same communication cost as FedDM-vanilla, as the proximal regularizer requires no additional communication nor does it increase the model size. Inclusion of the proximal step does increase per-round local computational complexity.
4. Convergence Analysis of FedDM-prox
The convergence guarantee of FedDM-prox extends theoretical results for non-convex federated learning. Under the assumptions:
- Each is -smooth,
- Stochastic-gradient noise is bounded with variance ,
- Local learning rate and ,
then after communication rounds, the expected squared gradient norm satisfies:
This yields convergence to a stationary point. The proximal term effectively regulates the deviation between local and global models, particularly critical when data heterogeneity is high (Vora et al., 2024).
5. Diffusion Model Backbone and Federated Specifics
FedDM algorithms, including FedDM-prox, utilize U-Net architectures as denoisers (), as introduced in Ho et al. 2020:
- Encoder–decoder path with skip connections;
- GroupNorm and Swish activations;
- Self-attention at intermediate resolutions.
In DDPMs, the diffusion process operates directly in image space over timesteps ( linear from to ). In Latent Diffusion Models (LDMs), an encoder maps to latent , diffusion operates in latent space, then is decoded to pixels. Only model weights and batch statistics are client-local during federated training; the protocol for communication and aggregation is otherwise identical.
6. Hyperparameter Choices and Empirical Findings
Typical hyperparameter settings for FedDM-prox in experiments are:
| Parameter | Value |
|---|---|
| Total clients () | 10 |
| Per-round clients () | 6 |
| Global rounds () | 20 |
| Local epochs () | 15 |
| Batch size | 128 |
| Learning rate () | |
| Proximal coeff. () | $0.1$ |
| Diffusion steps () | $1000$, as above |
Empirical evaluation on CIFAR-10 under varying levels of label skew demonstrates robust improvements over FedDM-vanilla:
| Skew Level | FedDM-vanilla FID | FedDM-prox FID |
|---|---|---|
| Low | 7.24 | 6.10 |
| Moderate | 10.8 | 8.3 |
| High | 15.6 | 11.1 |
Under moderate skew, FedDM-prox reduces FID by approximately 23%. Communication remains approximately $65$ MB per round. Reference comparison: FedDM-quant achieves reduction (down to MB/round) with a marginal FID increase.
7. Trade-Offs, Recommendations, and Qualitative Results
FedDM-prox achieves substantial enhancement in non-IID robustness without additional communication cost, at the price of increased local computational load due to the proximal term. Improved FID (up to lower than FedDM-vanilla) is observed particularly under severe heterogeneity. In contrast, FedDM-quant enables bandwidth reduction with only minor FID degradation, but necessitates a per-client calibration routine.
Comparison summary:
| Algorithm | Comm. Cost/round | FID (CIFAR-10, moderate skew) | Notes |
|---|---|---|---|
| FedDM-vanilla | MB | $10.8$ | Standard federated averaging |
| FedDM-prox | MB | $8.3$ | Stronger on non-IID, no extra comm. |
| FedDM-quant | MB | $7.06$ | 8-bit quantization, needs calibration |
Qualitative results (e.g., on CelebA) show that FedDM-prox preserves image sharpness and detailed features under non-IID conditions, in contrast to the degradation observed in unregularized federated training. FID versus communication rounds demonstrates the steadier and ultimately superior convergence of FedDM-prox under high skew, with lower plateau values compared to baseline.
FedDM-prox is recommended for federated diffusion model scenarios where client data heterogeneity is the primary concern and bandwidth constraints are moderate; for cases where bandwidth is the primary concern, FedDM-quant offers a more appropriate trade-off (Vora et al., 2024).