Empowering Visual Creativity: A Vision-Language Assistant to Image Editing Recommendations

Tiancheng Shen, Jun Hao Liew, Long Mai, Lu Qi, Jiashi Feng, Jiaya JiaarXiv 2024 · DOI

TL;DR

This paper introduces the "Image Editing Recommendation" (IER) task, aiming to bridge the gap between vague user intentions and detailed image editing instructions. They propose "Creativity-VLA," a vision-language model that generates diverse and relevant editing suggestions, supporting both global and local image manipulations.

What Problem Does This Paper Address?

Modern image editing tools, powered by text-to-image models, are impressive but often struggle with real-world user scenarios. Users typically start with an image and a high-level, often vague, editing "hint" (e.g., "make it luxurious"). Existing systems require users to translate these vague hints into precise, actionable editing instructions, which demands significant creative effort and ideation. This "creativity gap" is the core problem this paper addresses, aiming to automate the process of generating these detailed instructions.

Methods

The authors introduce a novel task called Image Editing Recommendation (IER). To tackle this, they propose Creativity-Vision Language Assistant (Creativity-VLA), a multimodal framework built upon the LLaVA-7B vision-language model.

Key methodological contributions include:

  • Chain-of-Thought (CoT) inspired dataset creation: They leverage GPT-4 with CoT prompting and manual curation to generate a dataset of 16,000 {image, editing hint, editing instruction, edited object} tuples. This process involves visual understanding, associating concepts with the hint, and then generating instructions.
  • 'Token-for-localization' mechanism: To support both global and local editing, Creativity-VLA decouples the output into a textual editing suggestion and a predicted location. A special [EDIT] token is introduced into the LLaVA vocabulary, which, when processed by a dedicated localization decoder, outputs bounding box coordinates for local edits. This allows for precise targeting of edits, which is crucial for many editing scenarios.
  • End-to-end training: The model is trained using a composite loss function that combines cross-entropy loss for text generation and L1/GIoU loss for localization.

Datasets

The paper introduces a newly curated Creativity Instruction Dataset consisting of 16,000 {image, editing hint, editing instruction, edited object} tuples. This dataset was generated using a multi-step process involving GPT-4 and manual curation, specifically designed to capture creative reasoning for image editing.

Key Insights and Ideas

  • The "creativity gap" is a significant barrier: Users often have a general idea but lack the specific vocabulary or creative ideation skills to translate it into effective editing instructions for AI models.
  • Decoupling suggestion and location is crucial for flexibility: Separating the "what to edit" from the "where to edit" allows for more precise and user-controllable local edits, which are often more desirable than global changes.
  • Vision-Language Models can be trained for creative ideation: By leveraging VLMs and a carefully curated dataset, it's possible to train models that don't just follow instructions but actively suggest creative modifications.
  • 'Token-for-localization' is an effective way to enable local editing: Introducing a special token and a dedicated decoder allows VLMs to output spatial information for editing, extending their capabilities beyond pure text generation.

Key Results

  • User Preference Evaluation: In user studies, Creativity-VLA consistently outperformed baselines (MagicBrush, InstructDiffusion, LLaVA-v1.5, GPT-4V) in hint alignment, visual quality, and diversity of editing results. This indicates its effectiveness in bridging the creativity gap and providing inspiring suggestions.
  • Image Alignment: While Creativity-VLA achieved high scores in hint alignment and diversity, its image alignment scores were sometimes lower than baselines that made fewer modifications. This is attributed to its ability to make substantial, creative changes.
  • CLIP Score Evaluation: Creativity-VLA demonstrated competitive performance in image alignment and outperformed others in hint alignment, further supporting its ability to adhere to user intent.
  • Qualitative Examples: The paper showcases diverse examples where Creativity-VLA generates practical and contextually appropriate outcomes, incorporating relevant concepts into suggestions for both global and local edits.

Limitations and Future Work

  • Limitations: The paper notes that while Creativity-VLA's image alignment scores can be lower due to substantial modifications, this is a trade-off for increased creativity and hint adherence. The effectiveness of the 'token-for-localization' mechanism relies on the downstream image editing model's ability to interpret the suggested locations.
  • Future Work: The authors suggest that their method is valuable for inspiring creativity and can be used iteratively to achieve more appealing editing effects. They also mention that the framework can support various downstream editing tools, hinting at broader applicability. The work lays the foundation for more advanced creative assistants in image editing.

Summary updated

Abstract

Advances in text-based image generation and editing have revolutionized content creation, enabling users to create impressive content from imaginative text prompts. However, existing methods are not designed to work well with the oversimplified prompts that are often encountered in typical scenarios when users start their editing with only vague or abstract purposes in mind. Those scenarios demand elaborate ideation efforts from the users to bridge the gap between such vague starting points and the detailed creative ideas needed to depict the desired results. In this paper, we introduce the task of Image Editing Recommendation (IER). This task aims to automatically generate diverse creative editing instructions from an input image and a simple prompt representing the users' under-specified editing purpose. To this end, we introduce Creativity-Vision Language Assistant~(Creativity-VLA), a multimodal framework designed specifically for edit-instruction generation. We train Creativity-VLA on our edit-instruction dataset specifically curated for IER. We further enhance our model with a novel 'token-for-localization' mechanism, enabling it to support both global and local editing operations. Our experimental results demonstrate the effectiveness of \ours{} in suggesting instructions that not only contain engaging creative elements but also maintain high relevance to both the input image and the user's initial hint.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
User Preference Evaluation — generation preview with editing hintCreativity-VLAHint Alignment1.31Participants ranked model outputs in the user study; lower is better. The previews were…
Source quote
L185: 2.27 │ 2.43 │ 1.31
User Preference Evaluation — generation preview with editing hintMagicBrush (MB)Hint Alignment2.27Participants ranked model outputs in the user study; lower is better. The previews were…
Source quote
L185: 2.27 │ 2.43 │ 1.31
User Preference Evaluation — generation preview with editing hintCreativity-VLAVisual quality1.33Participants ranked model outputs in the user study; lower is better. The previews were…
Source quote
L189: 2.28 │ 2.36 │ 1.33
User Preference Evaluation — generation preview with editing hintMagicBrush (MB)Visual quality2.28Participants ranked model outputs in the user study; lower is better. The previews were…
Source quote
L189: 2.28 │ 2.36 │ 1.33
User Preference Evaluation — generation preview with editing hintCreativity-VLADiversity1.07Participants ranked model outputs in the user study; lower is better. The previews were…
Source quote
L191: 1.51 │ 2.43 │ 1.07
User Preference Evaluation — generation preview with editing hintMagicBrush (MB)Diversity1.51Participants ranked model outputs in the user study; lower is better. The previews were…
Source quote
L191: 1.51 │ 2.43 │ 1.07
BibTeX
@misc{shen2024empowering,
  author = {Tiancheng Shen and Jun Hao Liew and Long Mai and Lu Qi and Jiashi Feng and Jiaya Jia},
  title = {{Empowering Visual Creativity: A Vision-Language Assistant to Image Editing Recommendations}},
  year = {2024},
  eprint = {2406.00121},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.00121},
}
Figure