Bigger is not Always Better: Scaling Properties of Latent Diffusion Models
Kangfu Mei, Zhengzhong Tu, Mauricio Delbracio, Hossein Talebi, Vishal M. Patel, Peyman Milanfar
TL;DR
This study investigates how latent diffusion models scale, with a focus on sampling efficiency under limited inference budgets. By training a family of LDMs from 39M to 5B parameters and evaluating across sampling steps, samplers, and downstream tasks, the authors reveal that smaller models can outperform larger ones at equivalent inference costs, and that this behavior is robust to diffusion samplers and distillation. They also show that pretraining compute and downstream finetuning determine downstream performance, and that the observed efficiency trends persist across real-world super-resolution and DreamBooth tasks. The findings offer practical guidance for scaling strategies that optimize inference efficiency, enabling more accessible deployment of LDM-based systems in resource-constrained settings.
Abstract
We study the scaling properties of latent diffusion models (LDMs) with an emphasis on their sampling efficiency. While improved network architecture and inference algorithms have shown to effectively boost sampling efficiency of diffusion models, the role of model size -- a critical determinant of sampling efficiency -- has not been thoroughly examined. Through empirical analysis of established text-to-image diffusion models, we conduct an in-depth investigation into how model size influences sampling efficiency across varying sampling steps. Our findings unveil a surprising trend: when operating under a given inference budget, smaller models frequently outperform their larger equivalents in generating high-quality results. Moreover, we extend our study to demonstrate the generalizability of the these findings by applying various diffusion samplers, exploring diverse downstream tasks, evaluating post-distilled models, as well as comparing performance relative to training compute. These findings open up new pathways for the development of LDM scaling strategies which can be employed to enhance generative capabilities within limited inference budgets.
