MIGE: Mutually Enhanced Multimodal Instruction-Based Image Generation and Editing

Xueyun Tian, Wei Li, Bingbing Xu, Yige Yuan, Yuanzhuo Wang +1 more
2/28/2025
14 citations
cs.CV

Official code: Eureka-Maggie/MIGE (71 stars, Python, AGPL-3.0, last commit 2025-07-13).

Abstract

Despite significant progress in diffusion-based image generation, subject-driven generation and instruction-based editing remain challenging. Existing methods typically treat them separately, struggling with limited high-quality data and poor generalization.

Show full abstract

However, both tasks require capturing complex visual variations while maintaining consistency between inputs and outputs. Inspired by this, we propose MIGE, a unified framework that standardizes task representations using multimodal instructions. It first treats subject-driven generation as creation on a blank canvas and instruction-based editing as modification of an existing image, establishing a shared input-output formulation, then introduces a novel multimodal encoder that maps free-form multimodal instructions into a unified vision-language space, integrating visual and semantic features through a feature fusion mechanism. This unification enables joint training of both tasks, providing two key advantages: (1) Cross-Task Enhancement: by leveraging shared visual and semantic representations, joint training improves instruction adherence and visual consistency in both subject-driven generation and instruction-based editing. (2) Generalization: learning in a unified format facilitates cross-task knowledge transfer, enabling MIGE to generalize to novel compositional tasks, including instruction-based subject-driven editing. Experiments show that MIGE excels in both subject-driven generation and instruction-based editing while setting a SOTA in the new task of instruction-based subject-driven editing. Code and model have been publicly available at https://github.com/Eureka-Maggie/MIGE.

View on arXivView PDF

Code Implementations(1)

Eureka-Maggie/MIGEOfficial100%
AGPL-3.0

Implementation code of the paper MIGE: A Unified Framework for Multimodal Instruction-Based Image Generation and Editing

714Python, Jupyter NotebookFeb 11, 20251 years agoAGPL-3.0

Similar Papers

Cite this paper

@article{tian2025mige,
  title  = {MIGE: Mutually Enhanced Multimodal Instruction-Based Image Generation and Editing},
  author = {Xueyun Tian and Wei Li and Bingbing Xu and Yige Yuan and Yuanzhuo Wang and Huawei Shen},
  year   = {2025},
  eprint = {2502.21291},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.21291v4}
}

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/2502.21291.svg)](https://codeofpaper.com/paper/2502.21291)

Discussion