Saved in:
Bibliographic Details
Main Authors: Shen, Fei, Gao, Yutong, Yu, Jian, Du, Xiaoyu, Tang, Jinhui
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2506.01949
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911547005075456
author Shen, Fei
Gao, Yutong
Yu, Jian
Du, Xiaoyu
Tang, Jinhui
author_facet Shen, Fei
Gao, Yutong
Yu, Jian
Du, Xiaoyu
Tang, Jinhui
contents Despite advances in diffusion-based image editing, manipulating multi-object scenes remains challenging. Existing approaches often achieve semantic changes at the expense of structural consistency, failing to preserve exact object counts and spatial layouts without introducing unintended relocations or background modifications. To address this limitation, we introduce quantity-and-layout-consistent image editing (QL-Edit) to modify object semantics while maintaining the original instance cardinality and spatial layout. We propose IMAGHarmony, a parameter-efficient framework featuring a harmony-aware (HA) module that incorporates perception cues from the reference image into the diffusion process. This enables the model to jointly reason about object semantics, counts, and spatial positions for improved structural consistency. Furthermore, we introduce a preference-guided noise selection (PNS) strategy that identifies favorable initialization conditions, substantially improving generation stability in challenging multi-object scenarios. To support systematic evaluation, we construct HarmonyBench, a benchmark designed to measure semantic editing accuracy and structural consistency under quantity and layout constraints. Extensive experiments demonstrate that IMAGHarmony consistently outperforms existing methods in both structural preservation and semantic accuracy. Notably, our framework is highly efficient, requiring only 200 training images and 10.6M trainable parameters. Code, models, and data are available at \url{https://github.com/muzishen/IMAGHarmony}.
format Preprint
id arxiv_https___arxiv_org_abs_2506_01949
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle IMAGHarmony: Controllable Image Editing with Consistent Object Quantity and Layout
Shen, Fei
Gao, Yutong
Yu, Jian
Du, Xiaoyu
Tang, Jinhui
Computer Vision and Pattern Recognition
Despite advances in diffusion-based image editing, manipulating multi-object scenes remains challenging. Existing approaches often achieve semantic changes at the expense of structural consistency, failing to preserve exact object counts and spatial layouts without introducing unintended relocations or background modifications. To address this limitation, we introduce quantity-and-layout-consistent image editing (QL-Edit) to modify object semantics while maintaining the original instance cardinality and spatial layout. We propose IMAGHarmony, a parameter-efficient framework featuring a harmony-aware (HA) module that incorporates perception cues from the reference image into the diffusion process. This enables the model to jointly reason about object semantics, counts, and spatial positions for improved structural consistency. Furthermore, we introduce a preference-guided noise selection (PNS) strategy that identifies favorable initialization conditions, substantially improving generation stability in challenging multi-object scenarios. To support systematic evaluation, we construct HarmonyBench, a benchmark designed to measure semantic editing accuracy and structural consistency under quantity and layout constraints. Extensive experiments demonstrate that IMAGHarmony consistently outperforms existing methods in both structural preservation and semantic accuracy. Notably, our framework is highly efficient, requiring only 200 training images and 10.6M trainable parameters. Code, models, and data are available at \url{https://github.com/muzishen/IMAGHarmony}.
title IMAGHarmony: Controllable Image Editing with Consistent Object Quantity and Layout
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2506.01949