Skip to main content
QUICK REVIEW

[Paper Review] InternLM-XComposer: A Vision-Language Large Model for Advanced Text-image Comprehension and Composition

Pan Zhang, Xiaoyi Dong|arXiv (Cornell University)|Sep 26, 2023
Multimodal Machine Learning ApplicationsComputer Science31 citations
TL;DR

InternLM-XComposer is a vision-language LLM that enables interleaved text-image composition and multilingual text-image understanding, achieving state-of-the-art results on multiple benchmarks and offering image retrieval/selection aligned with article context.

ABSTRACT

We propose InternLM-XComposer, a vision-language large model that enables advanced image-text comprehension and composition. The innovative nature of our model is highlighted by three appealing properties: 1) Interleaved Text-Image Composition: InternLM-XComposer can effortlessly generate coherent and contextual articles that seamlessly integrate images, providing a more engaging and immersive reading experience. Simply provide a writing instruction, and our system will generate the corresponding manuscript. It can intelligently identify the areas in the text where images would enhance the content and automatically insert the most appropriate visual candidates. 2) Comprehension with Rich Multilingual Knowledge: The text-image comprehension is empowered by training on an extensive multi-modal multilingual database with carefully crafted strategies, resulting in a deep understanding of visual content. 3) State-of-the-art Performance: Our model consistently achieves state-of-the-art results across various mainstream benchmarks for vision-language foundational models, including MME Benchmark, MMBench, MMBench-CN, Seed-Bench, CCBench (Chinese Cultural Benchmark), QBench and Tiny LVLM. Owing to the absence of established metrics for quantitatively assessing text-image composition, we have devised a robust evaluation procedure that comprises both human and GPT4-Vision (GPT4-V) to ensure reliability. Notably, our InternLM-XComposer achieves competitive text-image composition scores compared to public solutions, including GPT4-V and GPT3.5. Collectively, InternLM-XComposer seamlessly blends advanced text-image comprehension and composition, revolutionizing vision-language interaction and offering new insights and opportunities. The InternLM-XComposer model series are publicly available at https://github.com/InternLM/InternLM-XComposer.

Motivation & Objective

  • Develop a vision-language large model that can generate long-form articles interleaved with images.
  • Leverage multilingual knowledge to improve image-text comprehension in English and Chinese.
  • Achieve state-of-the-art performance on major vision-language benchmarks.
  • Design an evaluation protocol for interleaved text-image composition combining human and GPT-4V assessments.

Proposed method

  • Use a three-component architecture: visual encoder (EVA-CLIP), perceive sampler (BERT-base with cross-attention), and a frozen large language model (InternLM-Chat-7B).
  • Pre-train on 1.1B images and 77.7B text tokens, including interleaved multimodal data and over 11M in-house visual concepts.
  • Apply multi-task supervised fine-tuning with tasks like captioning, VQA, OCR-VQA, and scene reasoning, using LoRA to train the perceive sampler and LLM while keeping the LLM frozen.
  • Perform image-text retrieval with CLIP to narrow candidates, then select final images via the model’s interleaved context understanding.
  • Train on English and Chinese data, combining pure-text and image-text data to preserve LLM capabilities while enhancing multimodal understanding.
  • Introduce interleaved image-text composition data where the model generates text first, then identifies image locations and captions, followed by image retrieval and final selection.

Experimental results

Research questions

  • RQ1How effectively can a vision-language LLM perform interleaved text-image composition in long-form articles?
  • RQ2Can multilingual pretraining improve cross-lingual vision-language understanding and reasoning?
  • RQ3Does the proposed interleaved composition pipeline enable competitive performance on standard vision-language benchmarks and composition-quality evaluations?

Key findings

  • The model achieves state-of-the-art results on MME Benchmark, MMBench, Seed-Bench, QBench, Tiny LVLM in English and MMBench-CN, CCBench in Chinese.
  • It demonstrates competitive text-image composition performance compared to GPT-4V and GPT-3.5 in interleaved evaluations.
  • Human and GPT-4V evaluations confirm robust interleaved composition quality and image-text coherence.
  • Ablation shows the perceive sampler and LoRA-enabled components are critical for multi-task fine-tuning performance.
  • Chinese benchmarks show pronounced performance gains with multilingual pretraining and strong cross-language alignment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.