Saved in:
Bibliographic Details
Main Authors: Wasserman, Navve, Rotstein, Noam, Ganz, Roy, Kimmel, Ron
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2404.18212
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915205805506560
author Wasserman, Navve
Rotstein, Noam
Ganz, Roy
Kimmel, Ron
author_facet Wasserman, Navve
Rotstein, Noam
Ganz, Roy
Kimmel, Ron
contents Image editing has advanced significantly with the introduction of text-conditioned diffusion models. Despite this progress, seamlessly adding objects to images based on textual instructions without requiring user-provided input masks remains a challenge. We address this by leveraging the insight that removing objects (Inpaint) is significantly simpler than its inverse process of adding them (Paint), attributed to inpainting models that benefit from segmentation mask guidance. Capitalizing on this realization, by implementing an automated and extensive pipeline, we curate a filtered large-scale image dataset containing pairs of images and their corresponding object-removed versions. Using these pairs, we train a diffusion model to inverse the inpainting process, effectively adding objects into images. Unlike other editing datasets, ours features natural target images instead of synthetic ones while ensuring source-target consistency by construction. Additionally, we utilize a large Vision-Language Model to provide detailed descriptions of the removed objects and a Large Language Model to convert these descriptions into diverse, natural-language instructions. Our quantitative and qualitative results show that the trained model surpasses existing models in both object addition and general editing tasks. Visit our project page for the released dataset and trained models at https://rotsteinnoam.github.io/Paint-by-Inpaint.
format Preprint
id arxiv_https___arxiv_org_abs_2404_18212
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Paint by Inpaint: Learning to Add Image Objects by Removing Them First
Wasserman, Navve
Rotstein, Noam
Ganz, Roy
Kimmel, Ron
Computer Vision and Pattern Recognition
Artificial Intelligence
Image editing has advanced significantly with the introduction of text-conditioned diffusion models. Despite this progress, seamlessly adding objects to images based on textual instructions without requiring user-provided input masks remains a challenge. We address this by leveraging the insight that removing objects (Inpaint) is significantly simpler than its inverse process of adding them (Paint), attributed to inpainting models that benefit from segmentation mask guidance. Capitalizing on this realization, by implementing an automated and extensive pipeline, we curate a filtered large-scale image dataset containing pairs of images and their corresponding object-removed versions. Using these pairs, we train a diffusion model to inverse the inpainting process, effectively adding objects into images. Unlike other editing datasets, ours features natural target images instead of synthetic ones while ensuring source-target consistency by construction. Additionally, we utilize a large Vision-Language Model to provide detailed descriptions of the removed objects and a Large Language Model to convert these descriptions into diverse, natural-language instructions. Our quantitative and qualitative results show that the trained model surpasses existing models in both object addition and general editing tasks. Visit our project page for the released dataset and trained models at https://rotsteinnoam.github.io/Paint-by-Inpaint.
title Paint by Inpaint: Learning to Add Image Objects by Removing Them First
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2404.18212