Attention Map-Based Automatic Masking for Object Swapping in Diffusion Models 


Vol. 52,  No. 4, pp. 284-292, Apr.  2025
10.5626/JOK.2025.52.4.284


PDF

  Abstract

latent diffusion model, stable diffusion, text-to-image model, object swapping, automatic masking AbstractDiffusion models have gained significant traction in the realm of text-to-image generation. The advent of Null-Text Inversion techniques has opened up new avenues for image editing by inverting real images into noise and applying modifications. However, most image editing methods, particularly those involving object manipulation, require user-defined masks, necessitating incorporation of an additional masking model into the pipeline. This complicates the inference process, which ideally should be streamlined within a single model. This paper proposed AutoMask, an attention-based automatic object masking method utilizing attention maps inherent in diffusion models to generate masks during the inference process. Unlike conventional approaches, AutoMask could leverage information obtained from the inversion step, eliminating the need for user intervention in masking. Experiments demonstrated the effectiveness of AutoMask in generating novel objects.


  Statistics
Cumulative Counts from November, 2022
Multiple requests among the same browser session are counted as one view. If you mouse over a chart, the values of data points will be shown.


  Cite this article

[IEEE Style]

S. Lee and J. Park, "Attention Map-Based Automatic Masking for Object Swapping in Diffusion Models," Journal of KIISE, JOK, vol. 52, no. 4, pp. 284-292, 2025. DOI: 10.5626/JOK.2025.52.4.284.


[ACM Style]

Soohyun Lee and Jongyoul Park. 2025. Attention Map-Based Automatic Masking for Object Swapping in Diffusion Models. Journal of KIISE, JOK, 52, 4, (2025), 284-292. DOI: 10.5626/JOK.2025.52.4.284.


[KCI Style]

이수현, 박종열, "Diffusion Model의 Attention Map 기반 자동 마스킹을 이용한 객체 변환 기법," 한국정보과학회 논문지, 제52권, 제4호, 284~292쪽, 2025. DOI: 10.5626/JOK.2025.52.4.284.


[Endnote/Zotero/Mendeley (RIS)]  Download


[BibTeX]  Download



Search




Journal of KIISE

  • ISSN : 2383-630X(Print)
  • ISSN : 2383-6296(Electronic)
  • KCI Accredited Journal

Editorial Office

  • Tel. +82-2-588-9240
  • Fax. +82-2-521-1352
  • E-mail. chwoo@kiise.or.kr