mPLUG-Owl: Modularization Empowers Large Language Models with Multimodality
Written for the Research library (claude-opus-5-5) from the paper text. Original — arxiv.org/pdf/2304.14178
Summary
Before mPLUG-Owl, open multimodal chat models such as MiniGPT-4 and LLaVA used a frozen vision encoder and only a small trainable bridge to the language model. The authors argue this gives weak image–text alignment, and that skipping text-only instruction data limits what the model can do. mPLUG-Owl (Alibaba DAMO Academy) splits the system into three modules: a pretrained LLM, a visual encoder and a visual abstractor. The abstractor compresses dense image patch features into a small set of learnable query tokens, which keeps the language model's input short. Training has two stages. First, the encoder and abstractor are trained on image–caption pairs while the LLM stays frozen. Second, the vision encoder is frozen, and a LoRA adapter on the LLM is tuned together with the abstractor, using both text-only and multimodal instructions. On OwlEval, a new instruction benchmark built by the authors, human raters preferred mPLUG-Owl over MiniGPT-4, LLaVA and similar systems. This shows that modular, two-stage alignment adds vision to an LLM while keeping, and even improving, its text abilities.
Key points
- Architecture: CLIP ViT-L/14 visual encoder, a visual abstractor (cross-attention over learnable tokens) and LLaMA-7B as the base LLM.
- Unlike MiniGPT-4, LLaVA and Kosmos-1, the vision encoder is trainable during pretraining. LoRA keeps the cost of adapting the LLM low.
- OwlEval: a set of visual instruction prompts (about 82 questions over 50 images) covering instruction following, visual understanding, knowledge reasoning and multi-turn dialogue. Answers are ranked by human judges.
- The authors report unexpected abilities: reasoning across several images, reading text in scenes, multilingual conversation and early document understanding from images alone.
- Code, checkpoints (pretrained and instruction-tuned) and OwlEval are released at github.com/X-PLUG/mPLUG-Owl, with a demo on ModelScope.
Cited by
- Qwen Technical Report
- Qwen-VL: A Versatile Vision-Language Model for Understanding, Localization, Text Reading, and Beyond
- MiniGPT-v2: large language model as a unified interface for vision-language multi-task learning
- ShareGPT4V: Improving Large Multi-Modal Models with Better Captions
- Shikra: Unleashing Multimodal LLM's Referential Dialogue Magic
- Are We on the Right Way for Evaluating Large Vision-Language Models?
- SeeClick: Harnessing GUI Grounding for Advanced Visual GUI Agents
- InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning
- HallusionBench: An Advanced Diagnostic Suite for Entangled Language Hallucination and Visual Illusion in Large Vision-Language Models
- The False Promise of Imitating Proprietary LLMs
- Evaluating Object Hallucination in Large Vision-Language Models
- MVBench: A Comprehensive Multi-modal Video Understanding Benchmark
- SEED-Bench: Benchmarking Multimodal LLMs with Generative Comprehension
- VideoChat: Chat-Centric Video Understanding
- Video-LLaVA: Learning United Visual Representation by Alignment Before Projection
- VILA: On Pre-training for Visual Language Models
- Improved Baselines with Visual Instruction Tuning
- Mitigating Hallucination in Large Multi-Modal Models via Robust Instruction Tuning
- MMBench: Is Your Multi-modal Model an All-around Player?
- OCRBench: On the Hidden Mystery of OCR in Large Multimodal Models
- MathVista: Evaluating Mathematical Reasoning of Foundation Models in Visual Contexts
- A Comprehensive Overview of Large Language Models
- Aligning Large Multimodal Models with Factually Augmented RLHF
- Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution
- The Dawn of LMMs: Preliminary Explorations with GPT-4V(ision)
- MM-Vet: Evaluating Large Multimodal Models for Integrated Capabilities
- MMMU: A Massive Multi-discipline Multimodal Understanding and Reasoning Benchmark for Expert AGI
- LLaMA-Adapter: Efficient Fine-tuning of Language Models with Zero-init Attention
- Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Models
- Video-LLaMA: An Instruction-tuned Audio-Visual Language Model for Video Understanding
- MathVerse: Does Your Multi-modal LLM Truly See the Diagrams in Visual Math Problems?
- A Survey of Large Language Models
Cite
@misc{ye2023mplug,
title = {{mPLUG-Owl: Modularization Empowers Large Language Models with Multimodality}},
author = {Ye, Qinghao and Xu, Haiyang and Xu, Guohai and Ye, Jiabo and Yan, Ming and Zhou, Yiyang and Wang, Junyang and Hu, Anwen and Shi, Pengcheng and Shi, Yaya and Li, Chenliang and Xu, Yuanhong and Chen, Hehong and Tian, Junfeng and Qian, Qi and Zhang, Ji and Huang, Fei and Zhou, Jingren},
year = {2023},
doi = {10.48550/arxiv.2304.14178},
eprint = {2304.14178},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2304.14178}
}References
- J. Alayrac, J. Donahue, P. Luc, A. Miech, I. Barr, Y. Hasson, K. Lenc, A. Mensch, K. Millican, M. Reynolds, R. Ring, E. Rutherford, S. Cabi, T. Han, Z. Gong, S. Samangooei, M. Monteiro, J. Menick, S. Borgeaud, A. Brock, A. Nematzadeh, S. Sharifzadeh, M. Binkowski, R. Barreira, O. Vinyals, A. Zisserm… find our card
- T. B. Brown, B. Mann, N. Ryder, M. Subbiah, J. Kaplan, P. Dhariwal, A. Neelakantan, P. Shyam, G. Sastry, A. Askell, S. Agarwal, A. Herbert-Voss, G. Krueger, T. Henighan, R. Child, A. Ramesh, D. M. Ziegler, J. Wu, C. Winter, C. Hesse, M. Chen, E. Sigler, M. Litwin, S. Gray, B. Chess, J. Clark, C. Ber… find
- M. Byeon, B. Park, H. Kim, S. Lee, W. Baek, and S. Kim. Coyo-700m: Image-text pair dataset. https://github.com/kakaobrain/coyo-dataset, 2022. ↗
- X. Chen, H. Fang, T. Lin, R. Vedantam, S. Gupta, P. Dollár, and C. L. Zitnick. Microsoft COCO captions: Data collection and evaluation server. CoRR, abs/1504.00325, 2015. find our card
- A. Chowdhery, S. Narang, J. Devlin, M. Bosma, G. Mishra, A. Roberts, P. Barham, H. W. Chung, C. Sutton, S. Gehrmann, P. Schuh, K. Shi, S. Tsvyashchenko, J. Maynez, A. Rao, P. Barnes, Y. Tay, N. Shazeer, V. Prabhakaran, E. Reif, N. Du, B. Hutchinson, R. Pope, J. Bradbury, J. Austin, M. Isard, G. Gur-… find
- H. W. Chung, L. Hou, S. Longpre, B. Zoph, Y. Tay, W. Fedus, E. Li, X. Wang, M. Dehghani, S. Brahma, A. Webson, S. S. Gu, Z. Dai, M. Suzgun, X. Chen, A. Chowdhery, S. Narang, G. Mishra, A. Yu, V. Y. Zhao, Y. Huang, A. M. Dai, H. Yu, S. Petrov, E. H. Chi, J. Dean, J. Devlin, A. Roberts, D. Zhou, Q. V.… find
- J. Devlin, M. Chang, K. Lee, and K. Toutanova. BERT: pre-training of deep bidirectional transformers for language understanding. In NAACL-HLT (1), pages 4171–4186. Association for Computational Linguistics, 2019. find
- A. Dosovitskiy, L. Beyer, A. Kolesnikov, D. Weissenborn, X. Zhai, T. Unterthiner, M. Dehghani, M. Minderer, G. Heigold, S. Gelly, J. Uszkoreit, and N. Houlsby. An image is worth 16x16 words: Transformers for image recognition at scale. In ICLR. OpenReview.net, 2021. find
- D. Driess, F. Xia, M. S. M. Sajjadi, C. Lynch, A. Chowdhery, B. Ichter, A. Wahid, J. Tompson, Q. Vuong, T. Yu, W. Huang, Y. Chebotar, P. Sermanet, D. Duckworth, S. Levine, V. Vanhoucke, K. Hausman, M. Toussaint, K. Greff, A. Zeng, I. Mordatch, and P. Florence. Palm-e: An embodied multimodal language… find
- E. J. Hu, Y. Shen, P. Wallis, Z. Allen-Zhu, Y. Li, S. Wang, L. Wang, and W. Chen. Lora: Low-rank adaptation of large language models. In ICLR. OpenReview.net, 2022. find
- T. Kudo and J. Richardson. Sentencepiece: A simple and language independent subword tokenizer and detokenizer for neural text processing. In EMNLP (Demonstration), pages 66–71. Association for Computational Linguistics, 2018. find our card
- C. Li, H. Xu, J. Tian, W. Wang, M. Yan, B. Bi, J. Ye, H. Chen, G. Xu, Z. Cao, J. Zhang, S. Huang, F. Huang, J. Zhou, and L. Si. mplug: Effective and efficient vision-language learning by cross-modal skip-connections. In EMNLP, pages 7241–7259. Association for Computational Linguistics, 2022. find
- J. Li, D. Li, S. Savarese, and S. C. H. Hoi. BLIP-2: bootstrapping language-image pre-training with frozen image encoders and large language models. CoRR, abs/2301.12597, 2023. find our card
- H. Liu, C. Li, Q. Wu, and Y. J. Lee. Visual instruction tuning. CoRR, abs/2304.08485, 2023. find our card
- OpenAI. Introducing chatgpt. https://openai.com/blog/chatgpt, 2022. ↗
- OpenAI. GPT-4 technical report. CoRR, abs/2303.08774, 2023. find our card
- L. Ouyang, J. Wu, X. Jiang, D. Almeida, C. L. Wainwright, P. Mishkin, C. Zhang, S. Agarwal, K. Slama, A. Ray, J. Schulman, J. Hilton, F. Kelton, L. Miller, M. Simens, A. Askell, P. Welinder, P. F. Christiano, J. Leike, and R. Lowe. Training language models to follow instructions with human feedback.… find
- A. Radford and K. Narasimhan. Improving language understanding by generative pre-training. 2018. find
- C. Raffel, N. Shazeer, A. Roberts, K. Lee, S. Narang, M. Matena, Y. Zhou, W. Li, and P. J. Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. J. Mach. Learn. Res., 21:140:1–140:67, 2020. find
- T. L. Scao, A. Fan, C. Akiki, E. Pavlick, S. Ilic, D. Hesslow, R. Castagné, A. S. Luccioni, F. Yvon, M. Gallé, J. Tow, A. M. Rush, S. Biderman, A. Webson, P. S. Ammanamanchi, T. Wang, B. Sagot, N. Muennighoff, A. V. del Moral, O. Ruwase, R. Bawden, S. Bekman, A. McMillan-Major, I. Beltagy, H. Nguyen… find
- C. Schuhmann, R. Vencu, R. Beaumont, R. Kaczmarczyk, C. Mullis, A. Katta, T. Coombes, J. Jitsev, and A. Komatsuzaki. LAION-400M: open dataset of clip-filtered 400 million image-text pairs. CoRR, abs/2111.02114, 2021. find our card
- P. Sharma, N. Ding, S. Goodman, and R. Soricut. Conceptual captions: A cleaned, hypernymed, image alt-text dataset for automatic image captioning. In ACL (1), pages 2556–2565. Association for Computational Linguistics, 2018. find our card
- Y. Shen, K. Song, X. Tan, D. Li, W. Lu, and Y. Zhuang. Hugginggpt: Solving AI tasks with chatgpt and its friends in huggingface. CoRR, abs/2303.17580, 2023. find our card
- R. Taori, I. Gulrajani, T. Zhang, Y. Dubois, X. Li, C. Guestrin, P. Liang, and T. B. Hashimoto. Stanford alpaca: An instruction-following llama model. https://github.com/tatsu-lab/ stanford\_alpaca, 2023. ↗
- H. Touvron, T. Lavril, G. Izacard, X. Martinet, M. Lachaux, T. Lacroix, B. Rozière, N. Goyal, E. Hambro, F. Azhar, A. Rodriguez, A. Joulin, E. Grave, and G. Lample. Llama: Open and efficient foundation language models. CoRR, abs/2302.13971, 2023. find
- Vicuna. Vicuna: An open chatbot impressing gpt-4. https://github.com/lm-sys/FastChat, 2023. ↗
- Y. Wang, Y. Kordi, S. Mishra, A. Liu, N. A. Smith, D. Khashabi, and H. Hajishirzi. Self-instruct: Aligning language model with self generated instructions. CoRR, abs/2212.10560, 2022. doi: 10.48550/arXiv.2212.10560. URL https://doi.org/10.48550/arXiv.2212.10560. ↗
- C. Wu, S. Yin, W. Qi, X. Wang, Z. Tang, and N. Duan. Visual chatgpt: Talking, drawing and editing with visual foundation models. CoRR, abs/2303.04671, 2023. find our card
- C. Xu, D. Guo, N. Duan, and J. J. McAuley. Baize: An open-source chat model with parameter-efficient tuning on self-chat data. CoRR, abs/2304.01196, 2023a. find our card
- H. Xu, M. Yan, C. Li, B. Bi, S. Huang, W. Xiao, and F. Huang. E2E-VLP: end-to-end vision-language pre-training enhanced by visual learning. In ACL/IJCNLP (1), pages 503–513. Association for Computational Linguistics, 2021. find
- H. Xu, Q. Ye, M. Yan, Y. Shi, J. Ye, Y. Xu, C. Li, B. Bi, Q. Qian, W. Wang, G. Xu, J. Zhang, S. Huang, F. Huang, and J. Zhou. mplug-2: A modularized multi-modal foundation model across text, image and video. CoRR, abs/2302.00402, 2023b. — [arXiv:2302.00402](https://arxiv.org/abs/2302.00402) find
- Z. Yang, L. Li, J. Wang, K. Lin, E. Azarnasab, F. Ahmed, Z. Liu, C. Liu, M. Zeng, and L. Wang. MM-REACT: prompting chatgpt for multimodal reasoning and action. CoRR, abs/2303.11381, 2023. find
- Q. Ye, G. Xu, M. Yan, H. Xu, Q. Qian, J. Zhang, and F. Huang. Hitea: Hierarchical temporal-aware video-language pre-training. CoRR, abs/2212.14546, 2022. doi: 10.48550/arXiv.2212.14546. URL https://doi.org/10.48550/arXiv.2212.14546. — [doi:10.48550/arxiv.2212.14546](https://doi.org/10.48550/arxiv.2212.14546) ↗
- S. Zhang, S. Roller, N. Goyal, M. Artetxe, M. Chen, S. Chen, C. Dewan, M. T. Diab, X. Li, X. V. Lin, T. Mihaylov, M. Ott, S. Shleifer, K. Shuster, D. Simig, P. S. Koura, A. Sridhar, T. Wang, and L. Zettlemoyer. OPT: open pre-trained transformer language models. CoRR, abs/2205.01068, 2022. find
- D. Zhu, J. Chen, X. Shen, X. Li, and M. Elhoseiny. Minigpt-4: Enhancing vision-language understanding with advanced large language models, 2023a. find our card
- W. Zhu, J. Hessel, A. Awadalla, S. Y. Gadre, J. Dodge, A. Fang, Y. Yu, L. Schmidt, W. Y. Wang, and Y. Choi. Multimodal C4: an open, billion-scale corpus of images interleaved with text. CoRR, abs/2304.06939, 2023b. — [arXiv:2304.06939](https://arxiv.org/abs/2304.06939) find