Boosting Resolution Generalization of Diffusion Transformers with Randomized Positional Encodings
On the map: Diffusion models → Inverse problems and image restoration
Abstract (arXiv)
Resolution generalization in image generation tasks enables the production of higher-resolution images with lower training resolution overhead. However, a key obstacle for diffusion transformers in addressing this problem is the mismatch between positional encodings seen at inference and those used during training. Existing strategies such as positional encodings interpolation, extrapolation, or hybrids, do not fully resolve this mismatch. In this paper, we propose a novel two-dimensional randomized positional encodings, namely RPE-2D, that prioritizes the order of image patches rather than their absolute distances, enabling seamless high- and low-resolution generation without training on multiple resolutions. Concretely, RPE-2D independently samples positions along the horizontal and vertical axes over an expanded range during training, ensuring that the encodings used at inference lie within the training distribution and thereby improving resolution generalization. We further introduce a simple random resize-and-crop augmentation to strengthen order modeling and add micro-conditioning to indicate the applied cropping pattern. On the ImageNet dataset, RPE-2D achieves state-of-the-art resolution generalization performance, outperforming competitive methods when trained at 2562 and evaluated at 3842 and 5122, and when trained at 5122 and evaluated at 7682 and 10242. RPE-2D also exhibits outstanding capabilities in low-resolution image generation, multi-stage training acceleration, and multi-resolution inheritance.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Inverse problems and image restoration, one of 14 directions in Diffusion models. Builds on 30 of its 35 references that are in the map. First posted on arXiv 24 Mar 2025.
Builds on
30 of 35 references.
References · 30
- 2017Attention Is All You Needcited by 60,361
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2020Denoising Diffusion Implicit Modelscited by 9,781
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
- 2022Scalable Diffusion Models with Transformerscited by 6,054
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
- 2021Improved Denoising Diffusion Probabilistic Modelscited by 3,761
- 2016Improved Techniques for Training GANscited by 2,970
- 2020Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domainscited by 2,200
18 more
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2019Improved Precision and Recall Metric for Assessing Generative Modelscited by 944
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
- 2024SiT: Exploring Flow and Diffusion-based Generative Models with Scalable Interpolant Transformerscited by 737
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
- 2023Simple diffusion: End-to-end diffusion for high resolution imagescited by 422
- 2021Generating Images with Sparse Representationscited by 266
- 2022Neighborhood Attention Transformercited by 239
- 2019Understanding and Improving Layer Normalizationcited by 217
- 2024Lumina-Next: Making Lumina-T2X Stronger and Faster with Next-DiTcited by 132
- 2023ScaleCrafter: Tuning-free Higher-Resolution Visual Generation with Diffusion Modelscited by 128
- 2023Randomized Positional Encodings Boost Length Generalization of Transformerscited by 117
- 2023DemoFusion: Democratising High-Resolution Image Generation With No cited by 107
- 2024FiT: Flexible Vision Transformer for Diffusion Modelcited by 85
- 2023GenTron: Diffusion Transformers for Image and Video Generationcited by 82
- 2019Boundless: Generative Adversarial Networks for Image Extensioncited by 62
- 2023Training-free Diffusion Model Adaptation for Variable-Sized Text-to-Image Synthesiscited by 56
- 2019Very Long Natural Scenery Image Prediction by Outpaintingcited by 50
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025Simulating the Visual World with Artificial Intelligence: A Roadmapcited by 15
- 2025DyPE: Dynamic Position Extrapolation for Ultra High Resolution Diffusioncited by 14
- 2026SEGA: Spectral-Energy Guided Attention for Resolution Extrapolation in Diffusion Transformerscited by 3
- 2026HRDiT: Training-Free High-Resolution Image Generation with Off-the-Shelf Diffusion Transformer Modelscited by 0
- 2026HRDiT: Training-Free High-Resolution Image Generation with Off-the-Shelf Diffusion Transformer Models7 Aug 2026
- 2026SEGA: Spectral-Energy Guided Attention for Resolution Extrapolation in Diffusion Transformers21 May 2026
- 2025Simulating the Visual World with Artificial Intelligence: A Roadmap11 Nov 2025
- 2025DyPE: Dynamic Position Extrapolation for Ultra High Resolution Diffusion23 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2025ResDiT: Evoking the Intrinsic Resolution Scalability in Diffusion Transformers
- 2025DiT4SR: Taming Diffusion Transformer for Real-World Image Super-Resolution
- 2024FiTv2: Scalable and Improved Flexible Vision Transformer for Diffusion Model
- 2026TEASR: Training-Efficient Any-Step Diffusion Transformer for Real-World Image Super-Resolution
- 2026When Latents Forget Pixels: Restoring Fidelity in Diffusion Transformer Super-Resolution
- 2024DiffuseHigh: Training-free Progressive High-Resolution Image Synthesis through Structure Guidance
- 2026DreamSR: Towards Ultra-High-Resolution Image Super-Resolution via a Receptive-Field Enhanced Diffusion Transformer
- 2025GenDR: Lighten Generative Detail Restoration