AReA:用于高效高分辨率扩散Transformer的自适应感受野注意力

·

研究论文 · 2026/10/14

扩散Transformer(DiT)在超出训练分辨率生成图像时面临挑战:token数量随分辨率快速增长,全注意力计算代价高昂,且输出常出现结构扭曲和细节退化。作者将均匀全注意力视为这两个问题的共同根源:每一步都关注所有token导致二次成本,并使模型暴露于超出训练范围的更多token和相对距离,从而偏离分布。作者观察到去噪过程中注意力的有效感受野会收窄,从早期形成结构的全局注意力到后期细化细节的局部注意力。为此提出AReA,一种无需训练的注意力机制,其感受野随去噪进程从粗到细演变。在早期步骤中,AReA对下采样的键和值应用跨尺度粗注意力以捕获全局上下文;在后期步骤中,则在逐渐缩小的窗口内应用局部注意力。无需额外参数或训练,实验表明AReA在目标分辨率和不同模型上均持续优于最先进的无需训练基线,同时更快、更高效。

该工作无需训练即可显著提升高分辨率扩散Transformer的生成质量与效率,对实际部署有直接价值。

Generating images beyond the training resolution of Diffusion Transformers (DiTs) remains challenging, as the number of tokens grows rapidly with resolution, full attention becomes expensive, and outputs often suffer from structural distortions and degraded detail. We identify uniform full attention as the common source of both problems. Attending to all tokens at every step causes quadratic cost and exposes the model to more tokens and relative distances beyond the training range, pushing the model out of distribution. We observe that attention's effective receptive field narrows during denoising, from global in early steps that form structure to local in later steps that refine details. We propose AReA, a training-free attention mechanism whose receptive field evolves from coarse to fine, following the denoising progression. In early steps, AReA applies cross-scale coarse attention over downsampled keys and values, capturing global context, while in later steps it applies local attention within progressively shrinking windows. Without additional parameters or training, experiments show that AReA consistently outperforms state-of-the-art training-free baselines across target resolutions and different models, while also being faster and more efficient.

阅读原文

参与讨论