OmniGen: Unified Image Generation

Shitao Xiao, Yueze Wang, Junjie Zhou, Huaying Yuan, Xingrun Xing, Ruiran Yan, Shuting Wang, Tiejun Huang, Zheng Liu

arXiv:2409.11340 · 2026-07-27 공개 · arXiv · PDF

diffusion-models llm text-to-image chain-of-thought image-editing knowledge-transfer subject-driven-generation unified-image-generation

Abstract

The emergence of Large Language Models (LLMs) has unified language generation tasks and revolutionized human-machine interaction. However, in the realm of image generation, a unified model capable of handling various tasks within a single framework remains largely unexplored. In this work, we introduce OmniGen, a new diffusion model for unified image generation. OmniGen is characterized by the following features: 1) Unification: OmniGen not only demonstrates text-to-image generation capabilities but also inherently supports various downstream tasks, such as image editing, subject-driven generation, and visual-conditional generation. 2) Simplicity: The architecture of OmniGen is highly simplified, eliminating the need for additional plugins. Moreover, compared to existing diffusion models, it is more user-friendly and can complete complex tasks end-to-end through instructions without the need for extra intermediate steps, greatly simplifying the image generation workflow. 3) Knowledge Transfer: Benefit from learning in a unified format, OmniGen effectively transfers knowledge across different tasks, manages unseen tasks and domains, and exhibits novel capabilities. We also explore the model’s reasoning capabilities and potential applications of the chain-of-thought mechanism. This work represents the first attempt at a general-purpose image generation model, and we will release our resources at https://github.com/VectorSpaceLab/OmniGen to foster future advancements.

한국어 요약

한 줄 요약

OmniGen은 단일 모델로 텍스트-이미지 생성, 이미지 편집, 조건 기반 생성 등 다양한 이미지 생성 작업을 처리하는 통합 확산 모델이다.

핵심 기여도

핵심 아이디어

기존 이미지 생성 모델은 각 작업에 맞는 별도의 모듈(예: ControlNet, InstructPix2Pix)이 필요했으며, 복잡한 워크플로우를 요구했다. OmniGen은 대규모 언어 모델(LLM)이 언어 생성을 통합하는 방식을 이미지 생성에 적용한 첫 시도이다. 모델은 **단일 VAE와 트랜스포머**로 구성되어 있으며, 텍스트와 이미지를 자유롭게 결합한 입력을 처리할 수 있다. 특히, **이미지 패치 간 양방향 어텐션**을 도입해 이미지 전체를 통합적으로 모델링하고, **KV 캐시 기반 추론 가속**을 통해 LLM과 유사한 효율성을 달성했다. 이는 기존 확산 모델에서 별도 인코더(예: CLIP)를 사용하는 방식과 대조된다.

기술적 접근법

주요 결과

의의 및 한계

OmniGen은 이미지 생성 분야에서 LLM이 언어 생성을 통합한 것처럼, 다양한 작업을 단일 모델로 처리하는 기초 모델의 첫 사례이다. 특히, **X2I 데이터셋**을 통해 다양한 작업을 통일된 포맷으로 학습할 수 있으며, **단일 VAE + 트랜스포머** 구조로 모델의 복잡도를 줄였다. 그러나, **모델의 추론 정확도나 생성 품질에 대한 정량적 수치**는 명시되지 않았으며, **대규모 실제 이미지 생성 환경에서의 성능**도 추가 연구가 필요하다. 또한, **모델의 추론 속도 향상 폭**(예: 1.6× 가속 등)도 명시되지 않았다.

실용적 활용

OmniGen은 디자인, 콘텐츠 제작, 게임 개발 등에서 사용자 지시에 따라 다양한 이미지 생성 작업을 단계 없이 처리할 수 있어, **복잡한 워크플로우를 대체하는 실용적 도구**로 활용 가능하다. 또한, **단일 모델로 다양한 작업을 처리**할 수 있어, 기업이나 개발자들이 별도의 모델을 유지하는 부담을 줄일 수 있다.