UltraImage: 重新思考图像扩散变换器中的分辨率外推
UltraImage: Rethinking Resolution Extrapolation in Image Diffusion Transformers
AI总结:
UltraImage通过修正主导频率和自适应注意力集中,解决了图像扩散变换器在高分辨率外推中的内容重复和质量下降问题,实现了高达6K*6K的生成能力。
摘要:
最近的图像扩散变换器实现了高保真的生成,但在生成超过这些尺度的图像时遇到困难,导致内容重复和质量下降。在本工作中,我们提出了UltraImage,一个系统的方法,解决了这两个问题。通过位置嵌入的频率分析,我们发现重复是由于主导频率的周期性,其周期与训练分辨率一致。我们引入了递归主导频率校正,以在外推后将其限制在单个周期内。此外,我们发现质量下降源于注意力的稀释,因此提出了熵引导的自适应注意力集中,该方法将更高的关注因子分配给锐化局部注意力以增强细节,将较低的关注因子分配给全局注意力模式以保持结构一致性。实验表明,UltraImage在Qwen-Image和Flux(约4K)的三个生成场景中,均优于先前方法,减少了重复并提高了视觉保真度。此外,UltraImage可以从1328p的训练分辨率生成高达6K*6K的图像,无需低分辨率引导,展示了其极端外推能力。项目页面可在https://thu-ml.github.io/ultraimage.github.io/上找到。
英文摘要:
Recent image diffusion transformers achieve high-fidelity generation, but struggle to generate images beyond these scales, suffering from content repetition and quality degradation. In this work, we present UltraImage, a principled framework that addresses both issues. Through frequency-wise analysis of positional embeddings, we identify that repetition arises from the periodicity of the dominant frequency, whose period aligns with the training resolution. We introduce a recursive dominant frequency correction to constrain it within a single period after extrapolation. Furthermore, we find that quality degradation stems from diluted attention and thus propose entropy-guided adaptive attention concentration, which assigns higher focus factors to sharpen local attention for fine detail and lower ones to global attention patterns to preserve structural consistency. Experiments show that UltraImage consistently outperforms prior methods on Qwen-Image and Flux (around 4K) across three generation scenarios, reducing repetition and improving visual fidelity. Moreover, UltraImage can generate images up to 6K*6K without low-resolution guidance from a training resolution of 1328p, demonstrating its extreme extrapolation capability. Project page is available at \href{https://thu-ml.github.io/ultraimage.github.io/}{https://thu-ml.github.io/ultraimage.github.io/}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。