Language Models Can See Better: Visual Contrastive Decoding For LLM Multimodal Reasoning

Yuqi Pang, Bowen Yang, Haoqin Tu, Yun Cao, Zeyu Zhang
2/17/2025
cs.CVcs.AI

Official code: Pbhgit/MVCD (7 stars, Apache-2.0, last commit 2025-07-29).

Abstract

Although Large Language Models (LLMs) excel in reasoning and generation for language tasks, they are not specifically designed for multimodal challenges. Training Multimodal Large Language Models (MLLMs), however, is resource-intensive and constrained by various training limitations. In this paper, we propose the Modular-based Visual Contrastive Decoding (MVCD) framework to move this obstacle. Our framework leverages LLMs' In-Context Learning (ICL) capability and the proposed visual contrastive-example decoding (CED), specifically tailored for this framework, without requiring any additional training. By converting visual signals into text and focusing on contrastive output distributions during decoding, we can highlight the new information introduced by contextual examples, explore their connections, and avoid over-reliance on prior encoded knowledge. MVCD enhances LLMs' visual perception to make it see and reason over the input visuals. To demonstrate MVCD's effectiveness, we conduct experiments with four LLMs across five question answering datasets. Our results not only show consistent improvement in model accuracy but well explain the effective components inside our decoding strategy. Our code will be available at https://github.com/Pbhgit/MVCD.

View on arXivView PDF

Code Implementations(1)

Pbhgit/MVCDOfficial100%
Apache-2.0

Language Models Can See Better: Visual Contrastive Decoding For LLM Multimodal Reasoning

70PythonDec 26, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{pang2025language,
  title  = {Language Models Can See Better: Visual Contrastive Decoding For LLM Multimodal Reasoning},
  author = {Yuqi Pang and Bowen Yang and Haoqin Tu and Yun Cao and Zeyu Zhang},
  year   = {2025},
  eprint = {2502.11751},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.11751v1}
}

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

Discussion