CogVLM2: Visual Language Models for Image and Video Understanding

Wenyi Hong, Weihan Wang, Ming Ding, Wenmeng Yu, Qingsong Lv +20 more
8/29/2024
cs.CV

No official code found. Best implementation: zai-org/GLM-4 (7,076 stars, Apache-2.0, last commit 2025-07-04). 1 more below.

Abstract

Beginning with VisualGLM and CogVLM, we are continuously exploring VLMs in pursuit of enhanced vision-language fusion, efficient higher-resolution architecture, and broader modalities and applications. Here we propose the CogVLM2 family, a new generation of visual language models for image and video understanding including CogVLM2, CogVLM2-Video and GLM-4V. As an image understanding model, CogVLM2 inherits the visual expert architecture with improved training recipes in both pre-training and post-training stages, supporting input resolution up to $1344 \times 1344$ pixels. As a video understanding model, CogVLM2-Video integrates multi-frame input with timestamps and proposes automated temporal grounding data construction. Notably, CogVLM2 family has achieved state-of-the-art results on benchmarks like MMBench, MM-Vet, TextVQA, MVBench and VCGBench. All models are open-sourced in https://github.com/THUDM/CogVLM2 and https://github.com/THUDM/GLM-4, contributing to the advancement of the field.

View on arXivView PDF

Code Implementations(2)

zai-org/GLM-4Community100%
Apache-2.0

GLM-4 series: Open Multilingual Multimodal Chat LMs | 开源多语言多模态对话模型

7,076619PythonMay 15, 20241 years agoApache-2.0
chatglmchatglm-6bglmglm-4glm4
zai-org/CogVLM2Community100%
Apache-2.0

GPT4V-level open-source multi-modal model based on Llama3-8B

2,439163PythonMay 10, 20241 years agoApache-2.0
cogvlmlanguage-modelmulti-modalpretrained-models

Cite this paper

@article{hong2024cogvlm,
  title  = {CogVLM2: Visual Language Models for Image and Video Understanding},
  author = {Wenyi Hong and Weihan Wang and Ming Ding and Wenmeng Yu and Qingsong Lv and Yan Wang and Yean Cheng and Shiyu Huang and Junhui Ji and Zhao Xue and Lei Zhao and Zhuoyi Yang and Xiaotao Gu and Xiaohan Zhang and Guanyu Feng and Da Yin and Zihan Wang and Ji Qi and Xixuan Song and Peng Zhang and Debing Liu and Bin Xu and Juanzi Li and Yuxiao Dong and Jie Tang},
  year   = {2024},
  eprint = {2408.16500},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.16500v1}
}

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

Discussion