MetaMorph: Multimodal Understanding and Generation via Instruction Tuning

Shengbang Tong, David Fan, Jiachen Zhu, Yunyang Xiong, Xinlei Chen +5 more
12/18/2024
cs.CV

No official code found. Best implementation: facebookresearch/metamorph (236 stars, last commit 2026-01-22). 1 more below.

Abstract

In this work, we propose Visual-Predictive Instruction Tuning (VPiT) - a simple and effective extension to visual instruction tuning that enables a pretrained LLM to quickly morph into an unified autoregressive model capable of generating both text and visual tokens. VPiT teaches an LLM to predict discrete text tokens and continuous visual tokens from any input sequence of image and text data curated in an instruction-following format. Our empirical investigation reveals several intriguing properties of VPiT: (1) visual generation ability emerges as a natural byproduct of improved visual understanding, and can be unlocked efficiently with a small amount of generation data; (2) while we find understanding and generation to be mutually beneficial, understanding data contributes to both capabilities more effectively than generation data. Building upon these findings, we train our MetaMorph model and achieve competitive performance on both visual understanding and generation. In visual generation, MetaMorph can leverage the world knowledge and reasoning abilities gained from LLM pretraining, and overcome common failure modes exhibited by other generation models. Our results suggest that LLMs may have strong "prior" vision capabilities that can be efficiently adapted to both visual understanding and generation with a relatively simple instruction tuning process.

View on arXivView PDF

Code Implementations(2)

Code for MetaMorph Multimodal Understanding and Generation via Instruction Tuning

2369Shell, PythonApr 4, 20259 months agoNOASSERTION

An atempt to implement a minimalistic version of Metamorph from Meta, based on MetaMorph: Multimodal Understanding and Generation via Instruction Tuning (https://arxiv.org/abs/2412.14164)

00PythonJan 29, 20251 years ago

Similar Papers

Cite this paper

@article{tong2024metamorph,
  title  = {MetaMorph: Multimodal Understanding and Generation via Instruction Tuning},
  author = {Shengbang Tong and David Fan and Jiachen Zhu and Yunyang Xiong and Xinlei Chen and Koustuv Sinha and Michael Rabbat and Yann LeCun and Saining Xie and Zhuang Liu},
  year   = {2024},
  eprint = {2412.14164},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.14164v1}
}

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

Discussion