扩散变换器的扩展定律
Scaling Laws For Diffusion Transformers
AI总结:
本文研究了扩散变换器的扩展定律,通过实验验证了模型大小、数据需求与计算预算之间的幂律关系,并展示了预训练损失与生成性能的一致性,为模型性能和数据质量评估提供了可预测的基准。
摘要:
扩散变换器(DiT)已经在内容生成领域(如图像和视频生成)中实现了吸引人的合成和扩展特性。然而,DiT的扩展定律研究较少,通常能提供在特定计算预算下确定最优模型大小和数据需求的精确预测。因此,进行了从1e17到6e18 FLOPs的广泛计算预算实验,以首次确认DiT中的扩展定律存在。具体而言,预训练DiT的损失也遵循与涉及计算相关的幂律关系。基于扩展定律,我们不仅能确定最优模型大小和所需数据,还能准确预测具有10亿参数模型和1e21 FLOPs计算预算的文本到图像生成损失。此外,我们还证明了预训练损失的趋势与生成性能(如FID)相匹配,即使在各种数据集上,这补充了从计算到合成质量的映射,从而提供了一个可预测的基准,以在较低成本下评估模型性能和数据质量。
英文摘要:
Diffusion transformers (DiT) have already achieved appealing synthesis and scaling properties in content recreation, e.g., image and video generation. However, scaling laws of DiT are less explored, which usually offer precise predictions regarding optimal model size and data requirements given a specific compute budget. Therefore, experiments across a broad range of compute budgets, from 1e17 to 6e18 FLOPs are conducted to confirm the existence of scaling laws in DiT for the first time. Concretely, the loss of pretraining DiT also follows a power-law relationship with the involved compute. Based on the scaling law, we can not only determine the optimal model size and required data but also accurately predict the text-to-image generation loss given a model with 1B parameters and a compute budget of 1e21 FLOPs. Additionally, we also demonstrate that the trend of pre-training loss matches the generation performances (e.g., FID), even across various datasets, which complements the mapping from compute to synthesis quality and thus provides a predictable benchmark that assesses model performance and data quality at a reduced cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。