Democratizing diffusion model training
Decentralized Diffusion Models enable training large AI models across independent clusters without requiring expensive centralized infrastructure, making high-quality model training more accessible.
-----
https://arxiv.org/abs/2501.05450
π€ Original Problem:
Training modern diffusion models requires thousands of synchronized GPUs and high-bandwidth networks, making it expensive and inaccessible for most researchers. Stable Diffusion 1.5 needed 6,000 A100 GPU days, while Meta's MovieGen uses 6,114 H100 GPUs.
-----
π§ Solution in this Paper:
β The paper introduces Decentralized Diffusion Models (DDM) that splits training across independent "expert" models, each specializing in a data partition.
β A lightweight router model learns to direct inputs to relevant experts during inference.
β The system uses Decentralized Flow Matching to ensure experts collectively optimize the same objective as a single large model.
β Experts can train on separate hardware without cross-communication, enabling use of scattered compute resources.
-----
π― Key Insights:
β Feature-based data clustering significantly outperforms random clustering for expert specialization
β Eight experts provide optimal balance between decentralization and memory requirements
β Top-1 expert selection at inference gives best performance while minimizing compute
β The approach enables distillation into a single dense model for production deployment
-----
π Results:
β DDM achieves 28% lower FID score than monolithic models on ImageNet
β 4x faster training on LAION dataset while maintaining quality
β Scaled to 24B parameters using just 8 GPU nodes in under a week
β Maintains performance while reducing infrastructure costs










