Diffusion transformers sampled beyond their training resolution lose global structure and produce artifacts, and their attention cost grows quadratically with the number of tokens. We trace both problems to one cause. Attention counts every token once, and in training each token stands for a fixed area of the image. At a higher resolution, the same area is split into many near-identical tokens, so dense attention counts it many times. Comparing attention at both resolutions, we find that the prompt, whose tokens do not multiply, loses most of its attention. Adapting position encodings or sharpening attention does not restore it. Window attention avoids the cost but counts nothing outside its window, so content repeats. We propose Native View Attention (NVA), a training-free attention operator that counts every image area once, as in training. Where detail is not needed, the tokens of an area are pooled into one. Near each token and in the few most relevant distant regions, they are kept and share the count of their area. Pooling also fixes the number of tokens each token attends to, which makes the cost linear. On FLUX.1-dev and Qwen-Image, NVA surpasses prior training-free methods in global fidelity, prompt alignment and human preference, and is the fastest, up to $8.4\times$ faster than dense attention at $8192^2$. Project page: https://nvattention.github.io/.
翻译:暂无翻译