DyPE: Dynamic Position Extrapolation for Ultra High Resolution Diffusion

Noam Issachar, Guy Yariv, Sagie Benaim, Yossi Adi, Dani Lischinski +1 more
10/23/2025
cs.CV

No official code found. Best implementation: guyyariv/DyPE (346 stars, MIT, last commit 2026-02-24). 1 more below.

Abstract

Diffusion Transformer models can generate images with remarkable fidelity and detail, yet training them at ultra-high resolutions remains extremely costly due to the self-attention mechanism's quadratic scaling with the number of image tokens. In this paper, we introduce Dynamic Position Extrapolation (DyPE), a novel, training-free method that enables pre-trained diffusion transformers to synthesize images at resolutions far beyond their training data, with no additional sampling cost. DyPE takes advantage of the spectral progression inherent to the diffusion process, where low-frequency structures converge early, while high-frequencies take more steps to resolve. Specifically, DyPE dynamically adjusts the model's positional encoding at each diffusion step, matching their frequency spectrum with the current stage of the generative process. This approach allows us to generate images at resolutions that exceed the training resolution dramatically, e.g., 16 million pixels using FLUX. On multiple benchmarks, DyPE consistently improves performance and achieves state-of-the-art fidelity in ultra-high-resolution image generation, with gains becoming even more pronounced at higher resolutions. Project page is available at https://noamissachar.github.io/DyPE/.

View on arXivView PDF

Code Implementations(2)

guyyariv/DyPECommunity69%
MIT

Official implementation for "DyPE: Dynamic Position Extrapolation for Ultra High Resolution Diffusion".

34639PythonOct 22, 20257 months agoMIT
diffusionflow-matchingfluxhigh-resolution-imageimage-generation+4 more
MIT

Wrapper of DyPE: Dynamic Position Extrapolation for Ultra High Resolution Diffusion, run in diffusers mode

293Jinja, PythonOct 25, 20257 months agoMIT

Similar Papers

Cite this paper

@article{issachar2025dype,
  title  = {DyPE: Dynamic Position Extrapolation for Ultra High Resolution Diffusion},
  author = {Noam Issachar and Guy Yariv and Sagie Benaim and Yossi Adi and Dani Lischinski and Raanan Fattal},
  year   = {2025},
  eprint = {2510.20766},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.20766v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.20766.svg)](https://codeofpaper.com/paper/2510.20766)

Discussion