arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.05478cs.CVcs.AI
收藏

重新审视非自回归Transformer以实现高效图像合成

Revisiting Non-Autoregressive Transformers for Efficient Image Synthesis

Tsinghua University(清华大学);National University of Singapore(新加坡国立大学)

Zanlin Ni, Yulin Wang, Renping Zhou, Jiayi Guo, Jinyi Hu, Zhiyuan Liu, Shiji Song, Yuan Yao, Gao Huang

AI总结:

本文重新审视非自回归Transformer(NATs)的训练与推理策略设计,提出自动求解最优策略的AutoNAT方法,在显著降低推理成本的同时使性能媲美最新扩散模型。

摘要:

当前图像合成领域因扩散模型的进步而蓬勃发展。尽管扩散模型取得了成功,但其计算密集性促使人们追求更高效的替代方案。作为代表性工作,非自回归Transformer(NATs)因其快速生成能力而受到认可。然而,这些模型的一个主要缺点是其性能不如扩散模型。在本文中,我们旨在通过重新审视NATs的训练和推理策略设计,重新评估其全部潜力。具体而言,我们识别了正确配置这些策略的复杂性,并指出现有启发式驱动设计中可能存在的次优性。认识到这一点,我们提出超越现有方法,通过在自动框架中直接求解最优策略。由此产生的方法名为AutoNAT,显著推进了NATs的性能边界,并能够以大幅降低的推理成本与最新的扩散模型相媲美。AutoNAT的有效性在四个基准数据集上得到验证,即ImageNet-256 & 512、MS-COCO和CC3M。我们的代码可在https://github.com/LeapLabTHU/ImprovedNAT获取。

英文摘要:

The field of image synthesis is currently flourishing due to the advancements in diffusion models. While diffusion models have been successful, their computational intensity has prompted the pursuit of more efficient alternatives. As a representative work, non-autoregressive Transformers (NATs) have been recognized for their rapid generation. However, a major drawback of these models is their inferior performance compared to diffusion models. In this paper, we aim to re-evaluate the full potential of NATs by revisiting the design of their training and inference strategies. Specifically, we identify the complexities in properly configuring these strategies and indicate the possible sub-optimality in existing heuristic-driven designs. Recognizing this, we propose to go beyond existing methods by directly solving the optimal strategies in an automatic framework. The resulting method, named AutoNAT, advances the performance boundaries of NATs notably, and is able to perform comparably with the latest diffusion models at a significantly reduced inference cost. The effectiveness of AutoNAT is validated on four benchmark datasets, i.e., ImageNet-256 & 512, MS-COCO, and CC3M. Our code is available at https://github.com/LeapLabTHU/ImprovedNAT.

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

↑