Attention Frequency Modulation: Training-Free Spectral Modulation of Diffusion Cross-Attention
On the map: Diffusion models → Image generation, text-to-image and editing
Abstract (arXiv)
Cross-attention is the primary interface through which text conditions latent diffusion models, yet its step-wise multi-resolution dynamics remain under-characterized, limiting principled training-free control. We cast diffusion cross-attention as a spatiotemporal signal on the latent grid by summarizing token-softmax weights into token-agnostic concentration maps and tracking their radially binned Fourier power over denoising. Across prompts and seeds, encoder cross-attention exhibits a consistent coarse-to-fine spectral progression, yielding a stable time-frequency fingerprint of token competition. Building on this structure, we introduce Attention Frequency Modulation (AFM), a plug-and-play inference-time intervention that edits token-wise pre-softmax cross-attention logits in the Fourier domain: low- and high-frequency bands are reweighted with a progress-aligned schedule and can be adaptively gated by token-allocation entropy, before the token softmax. AFM provides a continuous handle to bias the spatial scale of token-competition patterns without retraining, prompt editing, or parameter updates. Experiments on Stable Diffusion show that AFM reliably redistributes attention spectra and produces substantial visual edits while largely preserving semantic alignment. Finally, we find that entropy mainly acts as an adaptive gain on the same frequency-based edit rather than an independent control axis.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 26 of its 27 references that are in the map. First posted on arXiv 30 Mar 2026.
Builds on
26 of 27 references.
Closest ancestors · 10
Same direction, newest first
- 2025Dissecting and Mitigating Diffusion Bias via Mechanistic Interpretability26 Mar
- 2024Ctrl-X: Controlling Structure and Appearance for Text-To-Image Generation Without Guidance11 Jun
- 2024Towards Understanding the Working Mechanism of Text-to-Image Diffusion Model24 May
- 2024AID: Attention Interpolation of Text-to-Image Diffusion26 Mar
- 2024Towards Understanding Cross and Self-Attention in Stable Diffusion for Text-Guided Image Editing6 Mar
- 2023T2I-Adapter: Learning Adapters to Dig out More Controllable Ability for Text-to-Image Diffusion Models16 Feb
- 2023Adding Conditional Control to Text-to-Image Diffusion Models10 Feb
- 2023Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models31 Jan
- 2022Null-text Inversion for Editing Real Images using Guided Diffusion Models17 Nov
- 2022What the DAAM: Interpreting Stable Diffusion Using Cross Attention10 Oct
Other references · 16
- 2017Attention Is All You Needcited by 60,361
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
- 2022Classifier-Free Diffusion Guidancecited by 5,847
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
- 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 3,045
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,431
- 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,424
4 more
- 2020Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domainscited by 2,200
- 2018On the Spectral Bias of Neural Networkscited by 1,341
- 2023FreeU: Free Lunch in Diffusion U-Netcited by 196
- 2022Improving Sample Quality of Diffusion Models Using Self-Attention Guidancecited by 154
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Enhancing Semantic Fidelity in Text-to-Image Synthesis: Attention Regulation in Diffusion Models
- 2026Attention Sinks in Diffusion Transformers: A Causal Analysis
- 2026Geometry-Aware Attention Guidance for Diffusion Models via Modern Hopfield Dynamics
- 2026Competition Domains Matter: Selective Head Globalization for Training-Free Sparse Attention in Video Diffusion Transformers
- 2024Faster Diffusion via Temporal Attention Decomposition
- 2024FAM Diffusion: Frequency and Attention Modulation for High-Resolution Image Generation with Stable Diffusion
- 2026AI-T2I: Aggregating-and-Isolating Cross-Attention to Diffusion Models for Text-to-Image Synthesis
- 2024Unveiling and Mitigating Memorization in Text-to-image Diffusion Models through Cross Attention