Kosmos-G: Generating Images in Context with Multimodal Large Language Models
About
Recent advancements in subject-driven image generation have made significant strides. However, current methods still fall short in diverse application scenarios, as they require test-time tuning and cannot accept interleaved multi-image and text input. These limitations keep them far from the ultimate goal of "image as a foreign language in image generation." This paper presents Kosmos-G, a model that leverages the advanced multimodal perception capabilities of Multimodal Large Language Models (MLLMs) to tackle the aforementioned challenge. Our approach aligns the output space of MLLM with CLIP using the textual modality as an anchor and performs compositional instruction tuning on curated data. Kosmos-G demonstrates an impressive capability of zero-shot subject-driven generation with interleaved multi-image and text input. Notably, the score distillation instruction tuning requires no modifications to the image decoder. This allows for a seamless substitution of CLIP and effortless integration with a myriad of U-Net techniques ranging from fine-grained controls to personalized image decoder variants. We posit Kosmos-G as an initial attempt towards the goal of "image as a foreign language in image generation." The code can be found at https://aka.ms/Kosmos-G
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| OCR Evaluation | OCRBench | Score109 | 296 | |
| Visual Question Answering | ScienceQA | Accuracy29.6 | 210 | |
| Visual Understanding | MM-Vet | MM-Vet Score11.3 | 102 | |
| Text-to-Image Generation | MS-COCO | FID10.99 | 75 | |
| Subject-driven image generation | DreamBench | DINO Score69.4 | 62 | |
| Hallucination and Visual Reasoning Evaluation | HallusionBench | Score20.4 | 37 | |
| Visual Understanding | MME | MME Score104.3 | 37 | |
| Vision Understanding | MMMU | Overall Score14.8 | 28 | |
| Subject-driven generation | DreamBench (test) | DINO Score0.694 | 25 | |
| Multi-modal Visual Capability | MMStar | Score18.4 | 20 |