Abstract
Diffusion models have set new benchmarks in generative AI, yet their reliance on massive datasets poses a challenge when data is decentralized and private. Federated Learning (FL) provides a framework for collaborative training without raw data sharing, but it is frequently hampered by data heterogeneity (non-IID data), which causes global models to drift toward local optima. This paper introduces FEDDDPM, a novel framework that utilizes the generative capabilities of local models to create a synthetic "global" auxiliary dataset on the server. This dataset serves as a proxy for the true global distribution, allowing the server to correct training biases. We also present FEDDDPM+, an efficiency-optimized version that utilizes a progress-monitoring algorithm to terminate training early without sacrificing quality. Experimental results across standard benchmarks like MNIST and CIFAR demonstrate that FEDDDPM achieves state-of-the-art synthesis quality and exceptional robustness to data skew.
Introduction: The Challenge of Siloed Data
The success of diffusion models in image synthesis is largely attributed to their ability to learn complex data distributions from millions of examples. However, in sensitive domains such as healthcare or finance, data is often "siloed" across different institutions. Privacy regulations and proprietary concerns prevent the pooling of this raw data into a central repository.
Federated Learning (FL) has emerged as a solution, allowing clients to train models locally and share only parameter updates with a central server. While effective for simple tasks, FL faces a major hurdle with diffusion models: data heterogeneity. When local datasets are non-IID (e.g., one client has only "cat" images while another has only "dog" images), the aggregated global model often fails to capture the full diversity of the global distribution, leading to biased or poor-quality generations.
The FEDDDPM Framework: Bridging the Gap with Synthetic Data
To address the drift caused by non-IID data, the authors propose FEDDDPM (Federated Denoising Diffusion Probabilistic Model). The core innovation lies in using the generative nature of the models themselves to solve the data distribution problem.
The FEDDDPM process consists of two primary phases:
- Warmup and Auxiliary Dataset Creation: Before the standard FL rounds begin, each client trains a local diffusion model on its private data until it is "well-trained." These local models are then uploaded to a trusted server. The server uses these models to generate a synthetic auxiliary dataset. By sampling from each local model in proportion to the size of the client's original dataset, the server creates a global proxy that approximates the true, hidden data distribution.
- Server-Side Refinement: During each communication round, the server aggregates client updates to form a preliminary global model. It then performs additional optimization steps on this model using the synthetic auxiliary dataset. This step "corrects" the model's trajectory, steering it away from local biases and toward the global optimum.
Efficiency and Convergence: FEDDDPM+
While server-side refinement effectively mitigates bias, performing it in every round can be computationally expensive. To optimize this, the authors developed FEDDDPM+. This version incorporates the QUICKTEST algorithm, which monitors learning progress using metrics like the Fréchet Inception Distance (FID) and exponential moving averages.
When QUICKTEST detects that the model's improvement has stalled—indicating that the federated rounds are yielding diminishing returns—the server performs a final "one-shot correction" using the auxiliary data and terminates the training process. This approach significantly reduces communication and computation costs while maintaining high synthesis quality. Furthermore, the paper provides a rigorous convergence analysis, proving that FEDDDPM converges at a rate of $O(1/\sqrt{T})$ for non-convex loss functions, matching the performance of standard local SGD.
Experimental Results
The researchers evaluated FEDDDPM against several baselines, including FedAvg, FedProx, and SCAFFOLD, using the MNIST, CIFAR-10, and CIFAR-100 datasets. The results consistently favored the proposed method:
- Superior Image Quality: On the MNIST dataset with 15% client participation and a Shard distribution, FEDDDPM achieved an FID score of 1.910, vastly outperforming FedAvg's score of 5.822. Lower FID indicates higher quality and diversity.
- Robustness to Heterogeneity: The performance gap between FEDDDPM and traditional methods widened as data became more non-IID (modeled by lower $\alpha$ values in Dirichlet partitioning). This demonstrates that the auxiliary dataset is highly effective at capturing the global distribution even when local data is extremely skewed.
- Resource Efficiency: FEDDDPM+ was shown to achieve comparable results to the standard version while requiring fewer communication rounds, making it a practical choice for real-world deployments.
Conclusion and Future Directions
FEDDDPM represents a significant step forward in training high-quality generative models in decentralized environments. By sharing generative capabilities rather than raw data, it provides a privacy-conscious way to overcome the challenges of data heterogeneity.
Future work may focus on reducing the initial "warmup" cost for clients and integrating Differential Privacy (DP) to further protect against potential model inversion attacks. Additionally, exploring fully decentralized, peer-to-peer implementations could remove the reliance on a central trusted server, expanding the framework's applicability to even more sensitive and distributed use cases.
Summary updated