mlsanityData to 7 Oct 2026

ContextDrag: Precise Drag-Based Image Editing via Context-Preserving Token Injection and Position-Aligned Attention

arXiv 2512.08477 ↗First posted 9 Dec 2025cs.CV cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Drag-based image editing enables intuitive visual manipulation through point-based drag operations. Existing methods mainly rely on diffusion inversion or pixel-space warping with inpainting. However, inversion inherently introduces approximation errors that degrade texture fidelity, whereas rigid pixel-space operations discard semantic context and produce unnatural deformations. To address these issues, we introduce ContextDrag, to our knowledge the first framework that brings drag-based manipulation into the in-context image editing paradigm. By leveraging the in-context capabilities of editing models (e.g., FLUX-Kontext), ContextDrag enables precise drag editing without inversion or fine-tuning. Specifically, we first propose Context-preserving Token Injection (CTI), which injects VAE-encoded reference features into attention layers at spatially aligned target positions, guided by latent-space correspondences estimated directly from user-specified control points. By operating on clean, directly encoded features rather than noisy inversion outputs, CTI preserves rich texture details and enables precise drag control. Second, we propose Position-Aligned Attention (PAA) to eliminate interference caused by spatial displacement of reference features. PAA re-encodes positional embeddings of displaced reference tokens to match their target locations, and masks overlapping regions between source and destination to prevent conflicting features from degrading visual consistency. Experiments on DragBench-SR and DragBench-DR demonstrate that ContextDrag achieves SOTA editing accuracy and overall quality, and comprehensive ablations validate the effectiveness of each proposed component. Code will be publicly available.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 63 of its 71 references that are in the map. First posted on arXiv 9 Dec 2025.

Builds on

63 of 71 references.

References · 63

  1. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  2. 2023Segment Anythingcited by 8,158
  3. 2022Scalable Diffusion Models with Transformerscited by 5,931
  4. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  5. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
  6. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,595
  7. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,286
  8. 2022InstructPix2Pix: Learning to Follow Image Editing Instructionscited by 2,591
  9. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
  10. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
  11. 2022Imagic: Text-Based Real Image Editing with Diffusion Modelscited by 1,172
  12. 2022Null-text Inversion for Editing Real Images using Guided Diffusion Modelscited by 1,168
38 more
  1. 2025Qwen-Image Technical Reportcited by 973
  2. 2025FLUX.1 Kontext: Flow Matching for In-Context Image Generation and Editing in Latent Spacecited by 960
  3. 2023MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editingcited by 722
  4. 2021DiffusionCLIP: Text-Guided Diffusion Models for Robust Image Manipulationcited by 640
  5. 2024OminiControl: Minimal and Universal Control for Diffusion Transformercited by 334
  6. 2023DragDiffusion: Harnessing Diffusion Models for Interactive Point-based Image Editingcited by 293
  7. 2023Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifoldcited by 218
  8. 2024FlowEdit: Inversion-Free Text-Based Editing Using Pre-Trained Flow Modelscited by 214
  9. 2024Diffusion Model-Based Image Editing: A Surveycited by 212
  10. 2023DragonDiffusion: Enabling Drag-style Manipulation on Diffusion Modelscited by 193
  11. 2025Less-to-More Generalization: Unlocking More Controllability by In-Context Generationcited by 153
  12. 2024DreamBench++: A Human-Aligned Benchmark for Personalized Image Generationcited by 131
  13. 2024ReNoise: Real Image Inversion Through Iterative Noisingcited by 127
  14. 2024Training-Free Consistent Text-to-Image Generationcited by 123
  15. 2025LongCat-Image Technical Reportcited by 92
  16. 2024DiffEditor: Boosting Accuracy and Flexibility on Diffusion-based Image Editingcited by 88
  17. 2024Controllable Generation with Text-to-Image Diffusion Models: A Surveycited by 82
  18. 2023The Blessing of Randomness: SDE Beats ODE in General Diffusion-based Image Editingcited by 61
  19. 2025OminiControl2: Efficient Conditioning for Diffusion Transformerscited by 56
  20. 2024LoRA-Composer: Leveraging Low-Rank Adaptation for Multi-Concept Customization in Training-Free Diffusion Modelscited by 55
  21. 2025XVerse: Consistent Multi-Subject Control of Identity and Semantic Attributes via DiT Modulationcited by 55
  22. 2021Multimodal Image Synthesis and Editing: The Generative AI Eracited by 52
  23. 2023RenAIssance: A Survey into AI Text-to-Image Generation in the Era of Large Modelcited by 47
  24. 2024DreamStory: Open-Domain Story Visualization by LLM-Guided Multi-Subject Consistent Diffusioncited by 46
  25. 2025UniEdit-Flow: Unleashing Inversion and Editing in the Era of Flow Modelscited by 38
  26. 2024GoodDrag: Towards Good Practices for Drag Editing with Diffusion Modelscited by 33
  27. 2024RegionDrag: Fast Region-Based Image Editing with Diffusion Modelscited by 31
  28. 2024InstantDrag: Improving Interactivity in Drag-based Image Editingcited by 30
  29. 2025DragFlow: Unleashing DiT Priors with Region Based Supervision for Drag Editingcited by 29
  30. 2024CharacterFactory: Sampling Consistent Characters with GANs for Diffusion Modelscited by 24
  31. 2024FastDrag: Manipulate Anything in One Stepcited by 20
  32. 2025Positional Encoding Fieldcited by 20
  33. 2023A Data Perspective on Enhanced Identity Preservation for Diffusion Personalizationcited by 18
  34. 2025CharaConsist: Fine-Grained Consistent Character Generationcited by 18
  35. 2025Mod-Adapter: Tuning-Free and Versatile Multi-concept Personalization via Modulation Adaptercited by 13
  36. 2024DragText: Rethinking Text Embedding in Point-based Image Editingcited by 12
  37. 2024Blind Inversion using Latent Diffusion Priorscited by 10
  38. 2025Consistent Image Layout Editing with Diffusion Modelscited by 9

50 most cited of 63 All 63 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.