Generative Multimodal Models are In-Context Learners

Quan Sun, Yufeng Cui, Xiaosong Zhang, Fan Zhang, Qiying Yu +6 more
12/1/2023

No official code found. Best implementation: baaivision/Emu (1,778 stars, Apache-2.0, last commit 2026-01-12).

Abstract

The human ability to easily solve multimodal tasks in context (i.e., with only a few demonstrations or simple instructions), is what current multimodal systems have largely struggled to imitate. In this work, we demonstrate that the task-agnostic in-context learning capabilities of large multimodal models can be significantly enhanced by effective scaling-up. We introduce Emu2, a generative multimodal model with 37 billion parameters, trained on large-scale multimodal sequences with a unified autoregressive objective. Emu2 exhibits strong multimodal in-context learning abilities, even emerging to solve tasks that require on-the-fly reasoning, such as visual prompting and object-grounded generation. The model sets a new record on multiple multimodal understanding tasks in few-shot settings. When instruction-tuned to follow specific instructions, Emu2 further achieves new state-of-the-art on challenging tasks such as question answering benchmarks for large multimodal models and open-ended subject-driven generation. These achievements demonstrate that Emu2 can serve as a base model and general-purpose interface for a wide range of multimodal tasks. Code and models are publicly available to facilitate future research.

View on arXivView PDF

Code Implementations(1)

baaivision/EmuCommunity100%
Apache-2.0

Emu Series: Generative Multimodal Models from BAAI

1,77883Shell, PythonJul 11, 20239 months agoApache-2.0
foundation-modelsgenerative-pretraining-in-multimodalityin-context-learninginstruct-tuningmultimodal-generalist+1 more

Cite this paper

@article{sun2023generative,
  title  = {Generative Multimodal Models are In-Context Learners},
  author = {Quan Sun and Yufeng Cui and Xiaosong Zhang and Fan Zhang and Qiying Yu and Zhengxiong Luo and Yueze Wang and Yongming Rao and Jingjing Liu and Tiejun Huang and Xinlong Wang},
  year   = {2023},
  eprint = {2312.13286},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2312.13286},
  journal = {CVPR 2023 2023}
}

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

Discussion