mlsanityData to 7 Oct 2026

Head-wise Adaptive Rotary Positional Encoding for Fine-Grained Image Generation

arXiv 2510.10489 ↗First posted 12 Oct 2025cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Transformers rely on explicit positional encoding to model structure in data. While Rotary Position Embedding (RoPE) excels in 1D domains, its application to image generation reveals significant limitations such as fine-grained spatial relation modeling, color cues, and object counting. This paper identifies key limitations of standard multi-dimensional RoPE-rigid frequency allocation, axis-wise independence, and uniform head treatment-in capturing the complex structural biases required for fine-grained image generation. We propose HARoPE, a head-wise adaptive extension that inserts a learnable linear transformation parameterized via singular value decomposition (SVD) before the rotary mapping. This lightweight modification enables dynamic frequency reallocation, semantic alignment of rotary planes, and head-specific positional receptive fields while rigorously preserving RoPE's relative-position property. Extensive experiments on class-conditional ImageNet and text-to-image generation (Flux and MMDiT) demonstrate that HARoPE consistently improves performance over strong RoPE baselines and other extensions. The method serves as an effective drop-in replacement, offering a principled and adaptable solution for enhancing positional awareness in transformer-based image generative models.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 41 of its 53 references that are in the map. First posted on arXiv 12 Oct 2025.

Builds on

41 of 53 references.

References · 41

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  5. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  6. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  8. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  9. 2022Scalable Diffusion Models with Transformerscited by 5,931
  10. 2025Qwen2.5-VL Technical Reportcited by 5,418
  11. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  12. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
29 more
  1. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  2. 2024Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolutioncited by 4,151
  3. 2016Improved Techniques for Training GANscited by 2,938
  4. 2025Wan: Open and Advanced Large-Scale Video Generative Modelscited by 2,536
  5. 2023Qwen-VL: A Versatile Vision-Language Model for Understanding, Localization, Text Reading, and Beyondcited by 2,179
  6. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  7. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
  8. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  9. 2018Self-Attention with Relative Position Representationscited by 1,112
  10. 2023GenEval: An Object-Focused Framework for Evaluating Text-to-Image Alignmentcited by 946
  11. 2017Convolutional Sequence to Sequence Learningcited by 550
  12. 2023LLaMA-VID: An Image is Worth 2 Tokens in Large Language Modelscited by 539
  13. 2024ELLA: Equip Diffusion Models with LLM for Enhanced Semantic Alignmentcited by 455
  14. 2022DeiT III: Revenge of the ViTcited by 417
  15. 2021Conditional Positional Encodings for Vision Transformerscited by 402
  16. 2025BLIP3-o: A Family of Fully Open Unified Multimodal Models-Architecture, Training and Datasetcited by 363
  17. 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
  18. 2023T2I-CompBench++: An Enhanced and Comprehensive Benchmark for Compositional Text-to-image Generationcited by 253
  19. 2024Rotary Position Embedding for Vision Transformercited by 226
  20. 2022FlexiViT: One Model for All Patch Sizescited by 151
  21. 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 148
  22. 2023Scaling Laws of RoPE-based Extrapolationcited by 124
  23. 2023Randomized Positional Encodings Boost Length Generalization of Transformerscited by 114
  24. 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 111
  25. 2023Successor Heads: Recurring, Interpretable Attention Heads In The Wildcited by 77
  26. 2025VideoRoPE: What Makes for Good Video Rotary Position Embedding?cited by 63
  27. 2024Length Generalization of Causal Transformers without Position Encodingcited by 46
  28. 2025Learning the RoPEs: Better 2D and 3D Position Encodings with STRINGcited by 19
  29. 2025Rethinking RoPE: A Mathematical Blueprint for N-dimensional Positional Embeddingcited by 3

Built on by

Not cited yet.