PHOTOSWAP: Personalized Subject Swapping in Images
Abstract
In an era where images and visual content dominate our digital landscape, the ability to manipulate and personalize these images has become a necessity.Envision seamlessly substituting a tabby cat lounging on a sunlit window sill in a photograph with your own playful puppy, all while preserving the original charm and composition of the image. We present \emph{Photoswap}, a novel approach that enables this immersive image editing experience through personalized subject swapping in existing images.\emph{Photoswap} first learns the visual concept of the subject from reference images and then swaps it into the target image using pre-trained diffusion models in a training-free manner. We establish that a well-conceptualized visual subject can be seamlessly transferred to any image with appropriate self-attention and cross-attention manipulation, maintaining the pose of the swapped subject and the overall coherence of the image. Comprehensive experiments underscore the efficacy and controllability of \emph{Photoswap} in personalized subject swapping. Furthermore, \emph{Photoswap} significantly outperforms baseline methods in human ratings across subject swapping, background preservation, and overall quality, revealing its vast application potential, from entertainment to professional editing.
Cite
Text
Gu et al. "PHOTOSWAP: Personalized Subject Swapping in Images." Neural Information Processing Systems, 2023.Markdown
[Gu et al. "PHOTOSWAP: Personalized Subject Swapping in Images." Neural Information Processing Systems, 2023.](https://mlanthology.org/neurips/2023/gu2023neurips-photoswap/)BibTeX
@inproceedings{gu2023neurips-photoswap,
title = {{PHOTOSWAP: Personalized Subject Swapping in Images}},
author = {Gu, Jing and Wang, Yilin and Zhao, Nanxuan and Fu, Tsu-Jui and Xiong, Wei and Liu, Qing and Zhang, Zhifei and Zhang, He and Zhang, Jianming and Jung, HyunJoon and Wang, Xin Eric},
booktitle = {Neural Information Processing Systems},
year = {2023},
url = {https://mlanthology.org/neurips/2023/gu2023neurips-photoswap/}
}