mlsanityData to 7 Oct 2026

Mind the RefGAP: Correcting Reference Attention in Diffusion-Based Visual Editing

arXiv 2609.35708 ↗First posted 28 Sep 2026cs.CVcited by 0

On the map: Diffusion models → Image generation, text-to-image and editing

Abstract (arXiv)

Reference-guided diffusion editors struggle to faithfully reproduce user-provided references. We identify a potential bottleneck in diffusion editors: many methods provide limited reference-attention allocation. For example, in LoomVideo, edit-region queries assign less than 1% of their attention mass to the reference. We introduce RefGAP, a training-free correction that determines logit-offset magnitudes online at each layer from the reference-attention mass measured during the forward pass. Positive offsets to reference logits strengthen reference usage by edit-region queries, while negative offsets for keep-region queries limit reference-induced changes outside the edit. Two global coefficients control the correction; they are selected once on validation data from four development diffusion editors and held fixed. Across seven diffusion-based image/video editors, RefGAP improves identity fidelity in head swapping and face swapping. RefGAP achieves a fidelity-preservation trade-off comparable to separately tuned constant edit-side biases, without per-approach strength sweeps. Additional experiments on virtual try-on and background replacement evaluate transfer beyond identity editing.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 18 of its 24 references that are in the map. First posted on arXiv 28 Sep 2026.

Builds on

18 of 24 references.

Closest ancestors · 2

Same direction, newest first

  1. 2026Dual-Channel Attention Guidance for Training-Free Image Editing Control in Diffusion Transformers20 Feb
  2. 2023IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Models13 Aug

Other references · 16

  1. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
  2. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
  3. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
  4. 2019FaceForensics++: Learning to Detect Manipulated Facial Imagescited by 1,095
  5. 2023MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editingcited by 722
  6. 2019MediaPipe: A Framework for Building Perception Pipelinescited by 572
  7. 2025VACE: All-in-One Video Creation and Editingcited by 467
  8. 2022AdaFace: Quality Adaptive Margin for Face Recognitioncited by 390
  9. 2021VITON-HD: High-Resolution Virtual Try-On via Misalignment-Aware Normalizationcited by 287
  10. 2024FreeCustom: Tuning-Free Customized Image Generation for Multi-Concept Compositioncited by 49
  11. 2024Large-Scale Text-to-Image Model with Inpainting is a Zero-Shot Subject-Driven Image Generatorcited by 48
  12. 2025Group Relative Attention Guidance for Image Editingcited by 8
4 more
  1. 2026LoomVideo: Unifying Multimodal Inputs into Video Generation and Editingcited by 6
  2. 2024RefDrop: Controllable Consistency in Image or Video Generation via Reference Feature Guidancecited by 4
  3. 2026JoyAI-Video-Edit: Real-Time Open-Ended Video Editing with Autoregressive Diffusioncited by 4
  4. 2026Head Similarity: Modeling Structured Whole-Head Appearance Beyond Face Recognitioncited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Editing on the Generative Manifold: A Theoretical and Empirical Study of General Diffusion-Based Image Editing Trade-offs
  2. 2025OmniRefiner: Reinforcement-Guided Local Diffusion Refinement
  3. 2026On the Controllability-Fidelity Frontier in Diffusion Editing
  4. 2025Disentangling Instruction Influence in Diffusion Transformers for Parallel Multi-Instruction-Guided Image Editing
  5. 2024Learn Once, Edit Anywhere: Visual Direction Transfer for Diffusion Models
  6. 2025FramePainter: Endowing Interactive Image Editing with Video Diffusion Priors
  7. 2026RefRoute: Decoupling Conditioning Cost from References via Compact Residual Conditioning and Spatial Routing
  8. 2025Edit2Perceive: Image Editing Diffusion Models Are Strong Dense Perceivers