arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.10797cs.CV
收藏

STAR:尺度化文本条件自回归图像生成

STAR: Scale-wise Text-conditioned AutoRegressive image generation

University of Science and Technology of China(中国科学技术大学);Harbin Institute of Technology(哈尔滨工业大学);Du Xiaoman(度小满)

Xiaoxiao Ma, Mohan Zhou, Tao Liang, Yalong Bai, Tiejun Zhao, Biye Li, Huaian Chen, Yi Jin

AI总结:

本文提出尺度化文本条件自回归图像模型STAR,通过文本编码器、归一化2D RoPE和因果稳定采样实现1024×1024高质量文生图。

摘要:

我们提出了STAR,这是一种采用尺度化自回归范式的文本到图像模型。与VAR仅限于最高256×256分辨率图像的类别条件合成不同,STAR通过三项关键设计实现了最高1024×1024的文本驱动图像生成。首先,我们引入预训练文本编码器,以提取并采用用于文本约束的表示,从而增强细节和泛化能力。其次,鉴于不同尺度之间固有的结构相关性,我们利用二维旋转位置编码(RoPE),并将其调整为归一化版本,以确保跨token映射的相对位置得到一致解释,并稳定训练过程。第三,我们观察到,在单个尺度内同时采样所有token可能破坏token间关系,导致结构不稳定,尤其是在高分辨率生成中。为解决这一问题,我们提出了一种新颖的稳定采样方法,将因果关系纳入采样过程,从而同时保证丰富细节和稳定结构。与以往的扩散模型和自回归模型相比,STAR在保真度、文本-图像一致性和美学质量方面超越了现有基准,并且在A100上生成1024×1024图像仅需2.21秒。这凸显了自回归方法在高质量图像合成中的潜力,并为文本到图像生成提供了新的方向。

英文摘要:

We introduce STAR, a text-to-image model that employs a scale-wise auto-regressive paradigm. Unlike VAR, which is constrained to class-conditioned synthesis for images up to 256$\times$256, STAR enables text-driven image generation up to 1024$\times$1024 through three key designs. First, we introduce a pre-trained text encoder to extract and adopt representations for textual constraints, enhancing details and generalizability. Second, given the inherent structural correlation across different scales, we leverage 2D Rotary Positional Encoding (RoPE) and tweak it into a normalized version, ensuring consistent interpretation of relative positions across token maps and stabilizing the training process. Third, we observe that simultaneously sampling all tokens within a single scale can disrupt inter-token relationships, leading to structural instability, particularly in high-resolution generation. To address this, we propose a novel stable sampling method that incorporates causal relationships into the sampling process, ensuring both rich details and stable structures. Compared to previous diffusion models and auto-regressive models, STAR surpasses existing benchmarks in fidelity, text-image consistency, and aesthetic quality, requiring just 2.21s for 1024$\times$1024 images on A100. This highlights the potential of auto-regressive methods in high-quality image synthesis, offering new directions for the text-to-image generation.

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

↑