LLMGA: Multimodal Large Language Model based Generation Assistant

Bin Xia, Shiyin Wang, Yingfan Tao, Yitong Wang, Jiaya Jia
11/27/2023
35 citations
cs.CV

No official code found. Best implementation: JIA-Lab-research/LLMGA (395 stars, Python, Apache-2.0, last commit 2025-06-02).

Abstract

In this paper, we introduce a Multimodal Large Language Model-based Generation Assistant (LLMGA), leveraging the vast reservoir of knowledge and proficiency in reasoning, comprehension, and response inherent in Large Language Models (LLMs) to assist users in image generation and editing. Diverging from existing approaches where Multimodal Large Language Models (MLLMs) generate fixed-size embeddings to control Stable Diffusion (SD), our LLMGA provides a detailed language generation prompt for precise control over SD.

Show full abstract

This not only augments LLM context understanding but also reduces noise in generation prompts, yields images with more intricate and precise content, and elevates the interpretability of the network. To this end, we curate a comprehensive dataset comprising prompt refinement, similar image generation, inpainting \& outpainting, and instruction-based editing. Moreover, we propose a two-stage training scheme. In the first stage, we train the MLLM to grasp the properties of image generation and editing, enabling it to generate detailed prompts. In the second stage, we optimize SD to align with the MLLM's generation prompts. Additionally, we propose a reference-based restoration network to alleviate texture, brightness, and contrast disparities between generated and preserved regions during inpainting and outpainting. Extensive results show that LLMGA has promising generation and editing capabilities and can enable more flexible and expansive applications in an interactive manner.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

This project is the official implementation of 'LLMGA: Multimodal Large Language Model based Generation Assistant', ECCV2024 Oral

39525Python, ShellNov 27, 20231 years agoApache-2.0
aigcimage-design-assistantimage-editingimage-generationlarge-language-model+3 more

Similar Papers

Cite this paper

@article{xia2023llmga,
  title  = {LLMGA: Multimodal Large Language Model based Generation Assistant},
  author = {Bin Xia and Shiyin Wang and Yingfan Tao and Yitong Wang and Jiaya Jia},
  year   = {2023},
  eprint = {2311.16500},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.16500v4},
  journal = {ECCV 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.16500.svg)](https://codeofpaper.com/paper/2311.16500)

Discussion