mlsanityData to 7 Oct 2026

Untwisting RoPE: Frequency Control for Shared Attention in DiTs

arXiv 2602.05013 ↗First posted 4 Feb 2026cs.GR cs.CVcited by 4

Not on the map. Why?

Abstract (arXiv)

Positional encodings are essential to transformer-based generative models, yet their behavior in multimodal and attention-sharing settings is not fully understood. In this work, we present a principled analysis of Rotary Positional Embeddings (RoPE), showing that RoPE naturally decomposes into frequency components with distinct positional sensitivities. We demonstrate that this frequency structure explains why shared-attention mechanisms, where a target image is generated while attending to tokens from a reference image, can lead to reference copying, in which the model reproduces content from the reference instead of extracting only its stylistic cues. Our analysis reveals that the high-frequency components of RoPE dominate the attention computation, forcing queries to attend mainly to spatially aligned reference tokens and thereby inducing this unintended copying behavior. Building on these insights, we introduce a method for selectively modulating RoPE frequency bands so that attention reflects semantic similarity rather than strict positional alignment. Applied to modern transformer-based diffusion architectures, where all tokens share attention, this modulation restores stable and meaningful shared attention. As a result, it enables effective control over the degree of style transfer versus content copying, yielding a proper style-aligned generation process in which stylistic attributes are transferred without duplicating reference content.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 29 of its 51 references that are in the map. First posted on arXiv 4 Feb 2026.

Builds on

29 of 51 references.

References · 29

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  4. 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,510
  5. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
  6. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,286
  7. 2016Perceptual Losses for Real-Time Style Transfer and Super-Resolutioncited by 2,678
  8. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
  9. 2017Arbitrary Style Transfer in Real-time with Adaptive Instance Normalizationcited by 1,998
  10. 2025Qwen-Image Technical Reportcited by 973
  11. 2025FLUX.1 Kontext: Flow Matching for In-Context Image Generation and Editing in Latent Spacecited by 960
  12. 2023MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editingcited by 722
17 more
  1. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
  2. 2023FateZero: Fusing Attentions for Zero-shot Text-based Video Editingcited by 462
  3. 2023TokenFlow: Consistent Diffusion Features for Consistent Video Editingcited by 440
  4. 2024Taming Rectified Flow for Inversion and Editingcited by 200
  5. 2024AC3D: Analyzing and Improving 3D Camera Control in Video Diffusion Transformerscited by 151
  6. 2023Cross-Image Attention for Zero-Shot Appearance Transfercited by 135
  7. 2024Implicit Style-Content Separation using B-LoRAcited by 135
  8. 2024Training-Free Consistent Text-to-Image Generationcited by 123
  9. 2023Inversion-Free Image Editing with Natural Languagecited by 106
  10. 2024StyleMaster: Stylize Your Video with Artistic Generation and Translationcited by 47
  11. 2025FreeFlux: Understanding and Exploiting Layer-Specific Roles in RoPE-Based MMDiT for Versatile Image Editingcited by 21
  12. 2024Consolidating Attention Features for Multi-view Image Editingcited by 19
  13. 2024Build-A-Scene: Interactive 3D Layout Control for Diffusion-Based Image Generationcited by 18
  14. 2025DyPE: Dynamic Position Extrapolation for Ultra High Resolution Diffusioncited by 13
  15. 2024Z-STAR+: A Zero-shot Style Transfer Method via Adjusting Style Distributioncited by 4
  16. 2025The Devil is in Attention Sharing: Improving Complex Non-rigid Image Editing Faithfulness via Attention Synergycited by 2
  17. 2025Griffin: Generative Reference and Layout Guided Image Compositioncited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.