arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2501.16085cs.CV
收藏

ARFlow: 基于混合线性注意力的自回归流模型

ARFlow: Autoregressive Flow with Hybrid Linear Attention

UC Santa Cruz(加州大学圣克ruz分校);MIT(麻省理工学院);Bitdeer(Bitdeer公司);Apple(苹果公司)

Mude Hui, Rui-Jie Zhu, Songlin Yang, Yu Zhang, Zirui Wang, Yuyin Zhou, Jason Eshraghian, Cihang Xie

AI总结:

针对流模型生成图像时难捕捉长程依赖的问题,提出融合自回归建模与混合线性注意力的ARFlow,通过因果序列训练和自回归条件生成提升效果,在ImageNet上的FID表现优于现有流模型SiT。

摘要:

流模型在逐步生成真实感图像方面表现出色,但由于其将所有先前时间步的信息压缩到单张带噪图像中,通常难以在生成过程中捕捉长程依赖关系。为解决这一局限,我们提出将以建模复杂高维联合概率分布见长的自回归建模方法整合到流模型中。训练阶段,每一步我们从同一语义类别中采样多张图像并施加不同程度的噪声,以此构建因果有序序列,其中噪声程度更高的图像作为噪声程度更低图像的因果前驱。这一设计使模型能够学习更广泛的类别级变化,同时维持流过程中合理的因果关系。生成阶段,模型以先前去噪步骤生成的图像为自回归条件,形成具备上下文连贯性的生成轨迹。此外,我们针对该建模方法设计了定制化的混合线性注意力机制,以提升计算效率。我们的方法名为ARFlow,在无分类器自由引导的条件下,于256×256分辨率的ImageNet数据集上取得6.63的FID分数;当分类器自由引导强度为1.5时,FID分数达到1.96,优于此前基于流的模型SiT的2.06 FID。大量消融实验验证了我们的建模策略以及分块注意力设计的有效性。

英文摘要:

Flow models are effective at progressively generating realistic images, but they generally struggle to capture long-range dependencies during the generation process as they compress all the information from previous time steps into a single corrupted image. To address this limitation, we propose integrating autoregressive modeling -- known for its excellence in modeling complex, high-dimensional joint probability distributions -- into flow models. During training, at each step, we construct causally-ordered sequences by sampling multiple images from the same semantic category and applying different levels of noise, where images with higher noise levels serve as causal predecessors to those with lower noise levels. This design enables the model to learn broader category-level variations while maintaining proper causal relationships in the flow process. During generation, the model autoregressively conditions the previously generated images from earlier denoising steps, forming a contextual and coherent generation trajectory. Additionally, we design a customized hybrid linear attention mechanism tailored to our modeling approach to enhance computational efficiency. Our approach, termed ARFlow, achieves 6.63 FID scores on ImageNet at 256 * 256 without classifier-free guidance, reaching 1.96 FID with classifier-free guidance 1.5, outperforming the previous flow-based model SiT's 2.06 FID. Extensive ablation studies demonstrate the effectiveness of our modeling strategy and chunk-wise attention design.

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

↑