atlas

Research map / Vision-language and multimodal / Human and embodied modeling

CogVLM: Visual Expert for Pretrained Language Models

NeurIPS 2024 · Vision-language and multimodal › Human and embodied modeling · approach: Region-level vision-language alignment · 77 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces CogVLM, an open-source VLM that adds a trainable visual expert (separate QKV and FFN per layer) to a frozen-initialized Vicuna-7B for deep vision-language fusion, reaching SOTA on many captioning, VQA, LVLM and grounding benchmarks.

Problem

Shallow alignment VLMs that map image features into a frozen LLM's input space underperform, while fully fine-tuning the LLM for VLM training causes catastrophic forgetting of NLP ability.

Approach

A trainable visual expert module with its own QKV matrices and FFN in every layer processes image tokens, initialized from the LLM, so image and text get deep fusion while the original language weights stay frozen and text-only behavior is preserved.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use deep visual expert fusion instead of shallow adapter-only alignment (ablation)CogVLM · COCO Karpathy testCIDEr: 131.2 -> 142.8Helped
Use visual expert fusion instead of training LLM parameters with the adapter (ablation)CogVLM · COCO Karpathy testCIDEr: 140.3 -> 142.8Helped
Use visual expert in every layer rather than every 4th layer (ablation)CogVLM · COCO Karpathy testCIDEr: 138.7 -> 142.8Helped
Add visual expert attention alongside the FFN expert (ablation)CogVLM · COCO Karpathy testCIDEr: 140.0 -> 142.8Helped
Initialize the visual expert from LLM weights rather than random initialization (ablation)CogVLM · COCO Karpathy testCIDEr: 138.0 -> 142.8Helped
Use a causal visual attention mask rather than a full mask (ablation)CogVLM · COCO Karpathy testCIDEr: 141.0 -> 142.8Helped
Add image self-supervised loss (ablation)CogVLM · TextVQAtop1: 45.3 -> 45.9No clear effect
Use EVA2-E rather than EVA2-L as visual encoder (ablation)CogVLM · TextVQAtop1: 42.8 -> 45.3Helped
Use EMA during pretraining (ablation)CogVLM · COCO Karpathy testCIDEr: 143.1 -> 142.8No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: LAION-2B COYO-700M LAION-115M VQAv2 OKVQA TextVQA OCRVQA ScienceQA LLaVA-Instruct LRV-Instruction LLaVAR Flickr30K Entities

Benchmarks: NoCaps Flickr30K COCO TextCaps VQAv2 OKVQA TextVQA OCRVQA ScienceQA MM-Vet SEED-Bench MMBench

Metrics: CIDEr VQA score accuracy GPT-4 score top-1 accuracy

Baselines: InstructBLIP MiniGPT-4 LLaVA-1.5 Qwen-VL GIT2 PaLI-X-55B PaLI-17B Emu2-Chat mPLUG-Owl2 SPHINX-2k Shikra-13B Ferret-13B

Builds on: BLIP-2 LLaVA-1.5 LoRA P-Tuning PaLI-X

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy