Phase-Aligned RoPE for Mixed-Resolution Diffusion Transformer
Abstract
Rotary positional embeddings (RoPE) are widely used in diffusion transformers (DiTs) to encode spatial relationships, yet their behavior with mixed-resolution tokens remains underexplored. A natural approach is to rescale token positions from different resolutions into a unified coordinate system before attention, but we show this fails. Our analysis shows that with RoPE, the attention similarity score is a highly structured and periodic function of token distance, so rescaling distances across resolutions moves token pairs to different regions of this periodic function, leading to incorrect attention scores. Motivated by this, we introduce Phase-Aligned Mixed-Resolution Attention (PMA), a training-free mechanism that stabilizes mixed-resolution attention. PMA modifies the RoPE position mapping to enforce a consistent positional scale for every query-key pair, ensuring that relative distances are evaluated under a single reference scale. To further improve local coherence near resolution transitions, we incorporate a lightweight boundary refinement module that softly exchanges features across adjacent scales. Experiments on image and video diffusion models validate our analysis and demonstrate consistent improvements in visual fidelity and computational efficiency.
Create a lesson
Metadata
- Comments
- Accepted to ECCV 2026. Project page: https://hao-yu-wu.github.io/mixed_res/
Related papers
Supply the Global, Supervise the Local: Combining Representation Conditioning and Alignment in Diffusion Transformers
Shared title terminologycs.CVChaojie Ji, Sergio Quiroga-Sandoval, Ruxin Wang et al.
Spectral and Trajectory Regularization for Diffusion Transformer Super-Resolution
Shared title terminologycs.CVJingkai Wang, Yixin Tang, Jue Gong et al.
Single-Transformer Latent Diffusion
Shared title terminologycs.CVHao-Yu Hsu, Shenlong Wang, Alexander G. Schwing
ArgsWorld: Unifying 3DGS Scene Reconstruction, Generation and Extrapolation with Autoregressive Diffusion Transformer
Shared title terminologycs.CVWeiming Chen, Shuaiyan Liu, Xinyu Shao et al.
Contrastive Gradient Guidance for Test-Time Multi-Preference Alignment of Diffusion Models
Shared title terminologycs.CVPo-Yi Lu, Jui-Chao Lu, Paul Kuo-Ming Huang et al.
The Illusion of High Utility in Safety Alignment of Text-to-Image Diffusion Models
Shared title terminologycs.CVAdeel Yousaf, Soumik Ghosh, James Beetham et al.