mlsanityData to 14 Oct 2026

SwapAnything: Enabling Arbitrary Object Swapping in Personalized Visual Editing

arXiv 2404.05717 ↗First posted 8 Apr 2024cs.CV cs.AIcited by 13

Not on the map. Why?

Abstract (arXiv)

Effective editing of personal content holds a pivotal role in enabling individuals to express their creativity, weaving captivating narratives within their visual stories, and elevate the overall quality and impact of their visual content. Therefore, in this work, we introduce SwapAnything, a novel framework that can swap any objects in an image with personalized concepts given by the reference, while keeping the context unchanged. Compared with existing methods for personalized subject swapping, SwapAnything has three unique advantages: (1) precise control of arbitrary objects and parts rather than the main subject, (2) more faithful preservation of context pixels, (3) better adaptation of the personalized concept to the image. First, we propose targeted variable swapping to apply region control over latent feature maps and swap masked variables for faithful context preservation and initial semantic concept swapping. Then, we introduce appearance adaptation, to seamlessly adapt the semantic concept into the original image in terms of target location, shape, style, and content during the image generation process. Extensive results on both human and automatic evaluation demonstrate significant improvements of our approach over baseline methods on personalized swapping. Furthermore, SwapAnything shows its precise and faithful swapping abilities across single object, multiple objects, partial object, and cross-domain swapping tasks. SwapAnything also achieves great performance on text-based swapping and tasks beyond swapping such as object insertion.

Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 46 of its 49 references that are in the map. First posted on arXiv 8 Apr 2024.

Builds on

46 of 49 references.

References · 46

  1. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  3. 2020Denoising Diffusion Implicit Modelscited by 9,781
  4. 2023Segment Anythingcited by 8,234
  5. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 6,013
  6. 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,503
  7. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,614
  8. 2023Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detectioncited by 3,332
  9. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,300
  10. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,431
  11. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,245
  12. 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 1,937
34 more
  1. 2019Semantic Image Synthesis with Spatially-Adaptive Normalizationcited by 1,299
  2. 2022Null-text Inversion for Editing Real Images using Guided Diffusion Modelscited by 1,179
  3. 2022Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translationcited by 906
  4. 2018Multimodal Unsupervised Image-to-Image Translationcited by 795
  5. 2023GLIGEN: Open-Set Grounded Text-to-Image Generationcited by 781
  6. 2023MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editingcited by 727
  7. 2021CogView: Mastering Text-to-Image Generation via Transformerscited by 694
  8. 2022Paint by Example: Exemplar-based Image Editing with Diffusion Modelscited by 489
  9. 2023BLIP-Diffusion: Pre-trained Subject Representation for Controllable Text-to-Image Generation and Editingcited by 442
  10. 2024InstantID: Zero-shot Identity-Preserving Generation in Secondscited by 436
  11. 2022Blended Latent Diffusioncited by 432
  12. 2022Training-Free Structured Diffusion Guidance for Compositional Text-to-Image Synthesiscited by 388
  13. 2023InstantBooth: Personalized Text-to-Image Generation without Test-Time Finetuningcited by 345
  14. 2023Diffusion Self-Guidance for Controllable Image Generationcited by 305
  15. 2022VQGAN-CLIP: Open Domain Image Generation and Editing with Natural Language Guidancecited by 285
  16. 2023Subject-driven Text-to-Image Generation via Apprenticeship Learningcited by 212
  17. 2023Key-Locked Rank One Editing for Text-to-Image Personalizationcited by 194
  18. 2021StyTr2: Image Style Transfer with Transformerscited by 187
  19. 2022ReCo: Region-Controlled Text-to-Image Generationcited by 179
  20. 2021AdaAttN: Revisit Attention Mechanism in Arbitrary Neural Style Transfercited by 178
  21. 2023Localizing Object-level Shape Variations with Text-to-Image Diffusion Modelscited by 142
  22. 2017Visual Attribute Transfer through Deep Image Analogycited by 123
  23. 2023Taming Encoder for Zero Fine-tuning Image Customization with Text-to-Image Diffusion Modelscited by 117
  24. 2020Cross-domain Correspondence Learning for Exemplar-based Image Translationcited by 116
  25. 2023DisenBooth: Identity-Preserving Disentangled Tuning for Subject-Driven Text-to-Image Generationcited by 75
  26. 2023VideoSwap: Customized Video Subject Swapping with Interactive Semantic Point Correspondencecited by 69
  27. 2023Custom-Edit: Text-Guided Image Editing with Customized Diffusion Modelscited by 54
  28. 2023Photoswap: Personalized Subject Swapping in Imagescited by 47
  29. 2022SceneComposer: Any-Level Semantic Image Synthesiscited by 43
  30. 2023DreamEdit: Subject-driven Image Editingcited by 37
  31. 2021High-Resolution Complex Scene Synthesis with Transformerscited by 31
  32. 2019Example-Guided Style Consistent Image Synthesis from Semantic Labelingcited by 29
  33. 2023LIME: Localized Image Editing via Attention Regularization in Diffusion Modelscited by 27
  34. 2022MIDMs: Matching Interleaved Diffusion Models for Exemplar-based Image Translationcited by 22

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 5; 2026: 5.

13 papers.

Sort:

By area: