CogVLM:预训练语言模型的视觉专家

CogVLM: Visual Expert for Pretrained Language Models

唐杰 Jie Tang · Zhipu AI · 2023-11-06 · arXiv:2311.03079 ↗ · 被引 818

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

我们介绍了 CogVLM,一个强大的开源视觉语言基础模型。与流行的浅层对齐方法(将图像特征映射到语言模型的输入空间)不同,CogVLM 通过在注意力层和前馈网络层中引入可训练的视觉专家模块,弥合了冻结的预训练语言模型与图像编码器之间的差距。因此,CogVLM 实现了视觉语言特征的深度融合,同时不牺牲任何 NLP 任务的性能。CogVLM-17B 在 10 个经典跨模态基准上取得了最先进的结果,包括 NoCaps、Flicker30k 描述、RefCOCO、RefCOCO+、RefCOCOg、Visual7W、GQA、ScienceQA、VizWiz VQA 和 TDIUC,并在 VQAv2、OKVQA、TextVQA、COCO 描述等任务上排名第二,超越或媲美 PaLI-X 55B。代码和检查点可在 https://github.com/THUDM/CogVLM 获取。

We introduce CogVLM, a powerful open-source visual language foundation model. Different from the popular shallow alignment method which maps image features into the input space of language model, CogVLM bridges the gap between the frozen pretrained language model and image encoder by a trainable visual expert module in the attention and FFN layers. As a result, CogVLM enables deep fusion of vision language features without sacrificing any performance on NLP tasks. CogVLM-17B achieves state-of-the-art performance on 10 classic cross-modal benchmarks, including NoCaps, Flicker30k captioning, RefCOCO, RefCOCO+, RefCOCOg, Visual7W, GQA, ScienceQA, VizWiz VQA and TDIUC, and ranks the 2nd on VQAv2, OKVQA, TextVQA, COCO captioning, etc., surpassing or matching PaLI-X 55B. Codes and checkpoints are available at https://github.com/THUDM/CogVLM.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 11)

阅读逐段中英对照全文 →