CogVLM: Visual Expert for Pretrained Language Models

Weihan Wang, Qingsong Lv, Wenmeng Yu, Wenyi Hong, Ji Qi +11 more
2/12/2026

No official code found. Best implementation: zai-org/CogVLM (6,743 stars, Apache-2.0, last commit 2024-05-29).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

zai-org/CogVLMCommunity100%
Apache-2.0

a state-of-the-art-level open visual language model | 多模态预训练模型

6,743451Shell, PythonSep 18, 20232 years agoApache-2.0
cross-modalitylanguage-modelmulti-modalpretrained-modelsvisual-language-models

Similar Papers

Cite this paper

@article{wang2026cogvlm,
  title  = {CogVLM: Visual Expert for Pretrained Language Models},
  author = {Weihan Wang and Qingsong Lv and Wenmeng Yu and Wenyi Hong and Ji Qi and Yan Wang and Junhui Ji and Zhuoyi Yang and Lei Zhao and Xixuan Song and Jiazheng Xu and Bin Xu and Juanzi Li and Yuxiao Dong and Ming Ding and Jie Tang},
  year   = {2026},
  eprint = {2311.03079},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2311.03079},
  journal = {NEURIPS 2023 2023}
}

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

Discussion