Saved in:
Bibliographic Details
Main Authors: Li, Tiancheng, Liu, Jinxiu, Chen, Huajun, Liu, Qi
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2406.09973
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910487502913536
author Li, Tiancheng
Liu, Jinxiu
Chen, Huajun
Liu, Qi
author_facet Li, Tiancheng
Liu, Jinxiu
Chen, Huajun
Liu, Qi
contents Instruction-based image editing has made a great process in using natural human language to manipulate the visual content of images. However, existing models are limited by the quality of the dataset and cannot accurately localize editing regions in images with complex object relationships. In this paper, we propose Reinforcement Learning Guided Image Editing Method(InstructRL4Pix) to train a diffusion model to generate images that are guided by the attention maps of the target object. Our method maximizes the output of the reward model by calculating the distance between attention maps as a reward function and fine-tuning the diffusion model using proximal policy optimization (PPO). We evaluate our model in object insertion, removal, replacement, and transformation. Experimental results show that InstructRL4Pix breaks through the limitations of traditional datasets and uses unsupervised learning to optimize editing goals and achieve accurate image editing based on natural human commands.
format Preprint
id arxiv_https___arxiv_org_abs_2406_09973
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle InstructRL4Pix: Training Diffusion for Image Editing by Reinforcement Learning
Li, Tiancheng
Liu, Jinxiu
Chen, Huajun
Liu, Qi
Computer Vision and Pattern Recognition
Instruction-based image editing has made a great process in using natural human language to manipulate the visual content of images. However, existing models are limited by the quality of the dataset and cannot accurately localize editing regions in images with complex object relationships. In this paper, we propose Reinforcement Learning Guided Image Editing Method(InstructRL4Pix) to train a diffusion model to generate images that are guided by the attention maps of the target object. Our method maximizes the output of the reward model by calculating the distance between attention maps as a reward function and fine-tuning the diffusion model using proximal policy optimization (PPO). We evaluate our model in object insertion, removal, replacement, and transformation. Experimental results show that InstructRL4Pix breaks through the limitations of traditional datasets and uses unsupervised learning to optimize editing goals and achieve accurate image editing based on natural human commands.
title InstructRL4Pix: Training Diffusion for Image Editing by Reinforcement Learning
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2406.09973