[论文解读] InternLM-XComposer: A Vision-Language Large Model for Advanced Text-image Comprehension and Composition
InternLM-XComposer 是一个视觉-语言大模型,能够实现文本与图像的交错构成与多语言文本-图像理解,在多个基准测试上达到最先进的结果,并提供与文章上下文对齐的图像检索/选择。
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.
研究动机与目标
- 开发一款能够生成长篇文章并与图像交错呈现的视觉-语言大模型。
- 利用多语言知识提升英文和中文的图像-文本理解。
- 在主要的视觉-语言基准上达到最先进的性能。
- 设计一个结合人类评估与 GPT-4V 评估的交错文本-图像构成评估协议。
提出的方法
- 采用三组件架构:可视编码器(EVA-CLIP)、感知采样器(带跨注意力的 BERT-base),以及一个冻结的大语言模型(InternLM-Chat-7B)。
- 在 1.1B 张图像和 77.7B 个文本标记上进行预训练,包括交错的多模态数据和超过 1100 万个内部视觉概念。
- 通过多任务监督微调,涵盖如 captioning、VQA、OCR-VQA 和场景推理等任务,使用 LoRA 来训练感知采样器和 LLM,同时保持 LLM 冻结。
- 使用 CLIP 进行图像-文本检索以缩小候选集,然后通过模型的交错上下文理解来选择最终图像。
- 在英文和中文数据上训练,结合纯文本和图像-文本数据,在保持 LLM 能力的同时提升多模态理解。
- 引入交错的图像-文本构成数据,其中模型先生成文本,然后标注图像位置和标题,再进行图像检索并最终选择。
实验结果
研究问题
- RQ1视觉-语言大模型在长篇文章中进行交错文本-图像构成的效果有多好?
- RQ2多语言预训练是否能提升跨语言的视觉-语言理解与推理?
- RQ3所提的交错构成流程是否能在标准视觉-语言基准和构成质量评估中实现具有竞争力的表现?
主要发现
- 该模型在英语的 MME Benchmark、MMBench、Seed-Bench、QBench、Tiny LVLM,以及中文的 MMBench-CN、CCBench 上均达到最先进水平。
- 在交错评估中,其文本-图像构成性能相较于 GPT-4V 与 GPT-3.5 具有竞争力。
- 人类与 GPT-4V 的评估确认了稳健的交错构成质量和图像-文本的一致性。
- 消融研究显示感知采样器与启用 LoRA 的组件对多任务微调性能至关重要。
- 中文基准显示通过多语言预训练实现显著的性能提升与强跨语言对齐。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。