arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.02098cs.CVcs.LG
收藏

EC-DIT:基于自适应专家选择路由扩展扩散Transformer

EC-DIT: Scaling Diffusion Transformers with Adaptive Expert-Choice Routing

Apple AI/ML(苹果公司人工智能与机器学习部门);Georgia Institute of Technology(佐治亚理工学院)

Haotian Sun, Tao Lei, Bowen Zhang, Yanghao Li, Haoshuo Huang, Ruoming Pang, Bo Dai, Nan Du

AI总结:

提出基于专家选择路由的扩散Transformer模型EC-DIT,通过自适应分配计算量处理文本与图像补丁的异构复杂度,成功扩展至970亿参数,在文本到图像对齐等指标上显著优于稠密和传统MoE模型。

摘要:

扩散Transformer已被广泛应用于文本到图像合成。虽然将这些模型扩展到数十亿参数展现出潜力,但超越当前规模的扩展有效性仍未被充分探索且充满挑战。通过显式利用图像生成的计算异构性,我们为扩散Transformer开发了一类新的混合专家模型(EC-DIT),采用专家选择路由。EC-DIT学习自适应地优化分配给理解输入文本和生成相应图像补丁的计算量,实现与不同文本-图像复杂度相匹配的异构计算。这种异构性提供了一种高效的方式,将EC-DIT扩展至970亿参数,并在训练收敛性、文本到图像对齐和整体生成质量上,相比稠密模型和传统MoE模型取得了显著提升。通过广泛的消融实验,我们表明EC-DIT通过端到端训练识别不同的文本重要性,展现出卓越的可扩展性和自适应计算分配能力。值得注意的是,在文本到图像对齐评估中,我们最大的模型实现了71.68%的最先进GenEval分数,并仍保持具竞争力的推理速度和直观的可解释性。

英文摘要:

Diffusion transformers have been widely adopted for text-to-image synthesis. While scaling these models up to billions of parameters shows promise, the effectiveness of scaling beyond current sizes remains underexplored and challenging. By explicitly exploiting the computational heterogeneity of image generations, we develop a new family of Mixture-of-Experts (MoE) models (EC-DIT) for diffusion transformers with expert-choice routing. EC-DIT learns to adaptively optimize the compute allocated to understand the input texts and generate the respective image patches, enabling heterogeneous computation aligned with varying text-image complexities. This heterogeneity provides an efficient way of scaling EC-DIT up to 97 billion parameters and achieving significant improvements in training convergence, text-to-image alignment, and overall generation quality over dense models and conventional MoE models. Through extensive ablations, we show that EC-DIT demonstrates superior scalability and adaptive compute allocation by recognizing varying textual importance through end-to-end training. Notably, in text-to-image alignment evaluation, our largest models achieve a state-of-the-art GenEval score of 71.68% and still maintain competitive inference speed with intuitive interpretability.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑