Instilling Multi-round Thinking to Text-guided Image Generation

Lidong Zeng, Zhedong Zheng, Yinwei Wei, Tat-Seng ChuaarXiv 2024 · DOI

Abstract

Text-guided image editing often struggles with multi-faceted instructions and iterative feedback, leading to error accumulation and the loss of fine-grained details. This paper introduces a novel self-supervised regularization technique that instills "multi-round thinking" into diffusion models. By enforcing order invariance—ensuring that the sequence of editing instructions does not alter the final output—the model achieves superior semantic alignment and captures intricate details like textures and patterns. Evaluated on fashion benchmarks, the proposed method significantly outperforms existing state-of-the-art models in both qualitative and quantitative metrics.

Introduction: The Challenge of Multi-round Editing

Text-guided image editing allows users to modify reference images through natural language prompts. While powerful, current diffusion models often fail when faced with "multi-faceted" instructions or multi-round interactions common in chatbot scenarios. In these cases, models may ignore specific cues or accumulate errors over successive edits, eventually losing the original object's identity.

Figure 1: Motivation for multi-round thinking. (a) An assistant chatbot scenario requires iterative refinement. (b) Failure cases where models ignore facets of long sentences. (c) Multi-round inconsistency where the order of instructions changes the final result.

As shown in Figure 1, existing models like ControlNet struggle with long-sentence prompts and exhibit inconsistency when the order of instructions is swapped. This "multi-round inconsistency" highlights a lack of long-term semantic alignment in current architectures.

Methodology

The authors propose a framework that integrates Multi-round Regularization into diffusion-based architectures, specifically building upon Stable Diffusion and ControlNet.

Figure 2: The proposed architecture. (a) Multi-round generation training with split text prompts. (b) Single-round reconstruction anchor. (c) The pose-conditioned diffusion mechanism using LoRA layers.

1. Multi-round Regularization

The core innovation is a self-supervised loss function ($L_{multi}$). During training, a complex text description is decomposed into two sub-sentences ($T_1$ and $T_2$). The model is tasked with generating the final image in two steps. The loss encourages the model to produce the same final result regardless of whether it processes $T_1$ then $T_2$, or vice versa. This enforces "order invariance," teaching the model to treat each textual cue as a distinct, additive semantic unit.

2. Pose-Conditioned Diffusion

To maintain the structural integrity of objects (e.g., the silhouette of a dress) during editing, the model incorporates a pose condition ($P$). This is achieved through a specialized pose-condition network and Low-Rank Adaptation (LoRA) layers, ensuring that modifications to color or texture do not inadvertently alter the garment's shape.

3. Dynamic Optimization

A scheduled weight ($\lambda$) for the multi-round loss is employed. It begins at a high value to establish long-term semantic alignment and gradually decreases, allowing the model to prioritize single-round generation quality toward the end of the training cycle.

Datasets and Evaluation

The model was evaluated on two high-precision fashion benchmarks:

  • FashionIQ: 17.5k queries involving candidate images and user feedback.
  • Fashion200k: Over 200k images with descriptive captions, used to test triplets of reference images, text, and target images.

Key Results

The proposed method consistently outperformed standard Stable Diffusion and ControlNet baselines across multiple metrics:

  • Semantic Alignment: On FashionIQ, the model achieved a CLIP Score of 0.71, compared to 0.64 for Stable Diffusion and 0.66 for ControlNet.
  • Retrieval Accuracy: In image retrieval tasks, the model demonstrated a significant jump, reaching 32.07% Recall@10 on FashionIQ—a nearly 10% improvement over ControlNet.
  • Qualitative Performance: Visual results confirm the model's ability to handle complex, multi-faceted prompts (e.g., "pink in color with ruffles, sleeveless and frilly") without losing fine-grained details or changing the underlying garment type.

Conclusion and Future Work

By instilling multi-round thinking through order invariance, this research addresses a critical bottleneck in iterative image editing. While the current focus is on the fashion domain, the principles of self-supervised multi-round regularization offer a promising path toward more robust and controllable generative AI across diverse creative applications. Future work will explore the computational efficiency of the multi-round process and its generalization to broader, non-fashion scenes.

Summary updated

Abstract

This paper delves into the text-guided image editing task, focusing on modifying a reference image according to user-specified textual feedback to embody specific attributes. Despite recent advancements, a persistent challenge remains that the single-round generation often overlooks crucial details, particularly in the realm of fine-grained changes like shoes or sleeves. This issue compounds over multiple rounds of interaction, severely limiting customization quality. In an attempt to address this challenge, we introduce a new self-supervised regularization, \ie, multi-round regularization, which is compatible with existing methods. Specifically, the multi-round regularization encourages the model to maintain consistency across different modification orders. It builds upon the observation that the modification order generally should not affect the final result. Different from traditional one-round generation, the mechanism underpinning the proposed method is the error amplification of initially minor inaccuracies in capturing intricate details. Qualitative and quantitative experiments affirm that the proposed method achieves high-fidelity editing quality, especially the local modification, in both single-round and multiple-round generation, while also showcasing robust generalization to irregular text inputs. The effectiveness of our semantic alignment with textual feedback is further substantiated by the retrieval improvements on FahisonIQ and Fashion200k.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
FashionIQProposed multi-round regularizationCLIP score0.7006rounds=2 · backbone=CLIP
Source quote
L381: Ours │ \multicolumn{1}{|c}{13.22 FID \downarrow} │ \multicolumn{1}{|c}{0.7006 CLIP \uparrow} \noalign{\global\savewidth\arrayrulewidth
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
FashionIQ · overallControlNet baselineRecall@1022.41%split: test
Source quote
L280: 22.41 │ \multicolumn{1}{c|}{44.52}
Fashion200K · overallControlNet baselineRecall@1017.47split: test
Source quote
L305: 17.47 │ \multicolumn{1}{c|}{27.96}
BibTeX
@misc{zeng2024instilling,
  author = {Lidong Zeng and Zhedong Zheng and Yinwei Wei and Tat-Seng Chua},
  title = {{Instilling Multi-round Thinking to Text-guided Image Generation}},
  year = {2024},
  eprint = {2401.08472},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.08472},
}
Figure