Janus: Decoupling Visual Encoding for Unified Multimodal Understanding and Generation

Chengyue Wu, Xiaokang Chen, Zhiyu Wu, Yiyang Ma, Xingchao Liu +6 more
10/1/2024

No official code found. Best implementation: deepseek-ai/Janus (17,757 stars, MIT, last commit 2025-02-01).

Abstract

We introduce Janus, an autoregressive framework that unifies multimodal understanding and generation. Prior research often relies on a single visual encoder for both tasks, such as Chameleon. However, due to the differing levels of information granularity required by multimodal understanding and generation, this approach can lead to suboptimal performance, particularly in multimodal understanding. To address this issue, we decouple visual encoding into separate pathways, while still leveraging a single, unified transformer architecture for processing. The decoupling not only alleviates the conflict between the visual encoder’s roles in understanding and generation, but also enhances the framework’s flexibility. For instance, both the multi-modal understanding and generation components can independently select their most suitable encoding methods. Experiments show that Janus surpasses previous unified model and matches or exceeds the performance of task-specific models. The simplicity, high flexibility, and effectiveness of Janus make it a strong candidate for next-generation unified multimodal models. The code will be made available.

View on arXivView PDF

Code Implementations(1)

deepseek-ai/JanusCommunity100%
MIT

Janus-Series: Unified Multimodal Understanding and Generation Models

17,7572,233Python, MakefileOct 18, 20241 years agoMIT
any-to-anyfoundation-modelsllmmultimodalunified-model+1 more

Similar Papers

Cite this paper

@article{wu2024janus,
  title  = {Janus: Decoupling Visual Encoding for Unified Multimodal Understanding and Generation},
  author = {Chengyue Wu and Xiaokang Chen and Zhiyu Wu and Yiyang Ma and Xingchao Liu and Zizheng Pan and Wen Liu and Zhenda Xie and Xingkai Yu and C. Ruan and Ping Luo},
  year   = {2024},
  eprint = {2410.13848},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.13848},
  journal = {CVPR 2024 2024}
}

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

Discussion