Share from 0:00
0:00
/

"Stretching Each Dollar: Diffusion Training from Scratch on a Micro-Budget"

Generated below podcast on this paper with Google's Illuminate.

How to build a Stable Diffusion competitor for under $2000.

The paper introduces a novel approach to train large text-to-image diffusion models at micro-budgets by using deferred patch masking and mixture-of-experts, reducing training costs by 118x.

-----

https://arxiv.org/abs/2407.15811

Solution in this Paper πŸ’‘:

β†’ They propose randomly masking up to 75% of image patches during transformer training.

β†’ A lightweight patch-mixer preprocesses all patches before masking, helping retain semantic information.

β†’ The deferred masking happens after patch mixing, unlike traditional approaches that mask input directly.

β†’ They incorporate mixture-of-experts layers and layer-wise scaling in the transformer architecture.

β†’ Training uses both real and synthetic images (37M total) with a sparse 1.16B parameter transformer.

-----

Key Insights from this Paper πŸ”:

β†’ Deferred masking outperforms naive masking at high ratios (75%+)

β†’ Synthetic data significantly improves image quality and prompt alignment

β†’ Smaller datasets can achieve competitive results with optimized architecture

-----

Results πŸ“Š:

β†’ Achieved 12.7 FID score on COCO dataset

β†’ Total training cost: $1,890 (2.6 days on 8Γ—H100 GPUs)

β†’ 118Γ— lower cost than Stable Diffusion models

β†’ 14Γ— cheaper than current state-of-art approach ($28,400)

Discussion about this video

User's avatar

Ready for more?