Introduction
In the field of diffusion models, subject-driven generation and instruction-based editing have traditionally been treated as distinct tasks. Subject-driven models focus on preserving the identity of a specific subject across new contexts, while instruction-based editing models modify existing images based on natural language prompts. However, these tasks share a fundamental requirement: maintaining visual consistency while adhering to external instructions. MIGE (Mutually Enhanced Multimodal Instruction-Based Image Generation and Editing) proposes that these tasks are mutually beneficial and should be addressed within a unified framework.
The MIGE Framework
MIGE introduces a unified architecture that handles both generation and editing through a shared input-output formulation. Subject-driven generation is conceptualized as "creating on a blank canvas," while editing is "modifying an existing image." This allows the model to leverage the same underlying logic for both operations.
A core component of MIGE is its multimodal encoder, which uses Flan-T5-XXL as a backbone to process instructions that combine text and images. To handle complex prompts, the model uses <imagehere> as a placeholder in text strings, treating images as "visual tokens." To overcome the limitations of standard CLIP features—which often lack fine-grained detail—MIGE employs a unique feature fusion mechanism. It combines semantic features from a ViT (EVA-CLIP) with fine-grained visual features from a VAE encoder. This ensures the model captures both the high-level category of an object and its specific textural details.
Data Efficiency and MIGEBench
One of the most striking aspects of MIGE is its data efficiency. While competing universal models like OmniGen utilize over 300 million samples, MIGE achieves superior results with only 2.28 million samples—roughly 1/140th of the data. This efficiency stems from the effective inductive biases of the unified task formulation and the feature fusion architecture.
To evaluate the model's performance on complex tasks, the authors introduced MIGEBench. This benchmark consists of 1,000 test samples focused on subject addition and replacement, requiring the model to preserve subject identity while following intricate spatial instructions.
Key Insights: Mutual Enhancement
The research demonstrates a "mutual enhancement" effect: joint training on generation and editing tasks leads to better performance on each individually. Learning to edit helps the model understand how to generate from text instructions, while generation tasks improve the model's ability to maintain subject identity during editing.
Results and Performance
MIGE achieves state-of-the-art (SOTA) results across multiple benchmarks:
- Subject-Driven Generation: On DreamBench, MIGE outperformed universal models like OmniGen in subject preservation with a DINO score of 0.744.
- Image Editing: On MagicBrush, MIGE achieved the highest CLIP-T scores (0.306) and lowest error rates, indicating it follows instructions more accurately while preserving original image details better than models like ACE or PixWizard.
- MIGEBench: In subject addition tasks, MIGE achieved a DINO score of 0.909, significantly surpassing OmniGen's 0.791.
Conclusion
MIGE represents a significant step toward universal image manipulation models. By unifying generation and editing and focusing on high-fidelity feature fusion, it achieves remarkable performance and data efficiency. While challenges remain in handling extremely crowded scenes and complex spatial reasoning (e.g., physical containment), the framework provides a robust foundation for future scaling and refinement.
Summary updated