VisCodex: Unified Multimodal Code Generation via Merging Vision and Coding Models

Lingjie Jiang, Shaohan Huang, Xun Wu, Yixia Li, Dongdong Zhang +1 more
8/13/2025
cs.CLcs.AIcs.CV

No official code found. Best implementation: JackLingjie/VisCodex (23 stars, last commit 2025-08-14).

Abstract

Multimodal large language models (MLLMs) have significantly advanced the integration of visual and textual understanding. However, their ability to generate code from multimodal inputs remains limited. In this work, we introduce VisCodex, a unified framework that seamlessly merges vision and coding language models to empower MLLMs with strong multimodal code generation abilities. Leveraging a task vector-based model merging technique, we integrate a state-of-the-art coding LLM into a strong vision-language backbone, while preserving both visual comprehension and advanced coding skills. To support training and evaluation, we introduce the Multimodal Coding Dataset (MCD), a large-scale and diverse collection of 598k samples, including high-quality HTML code, chart image-code pairs, image-augmented StackOverflow QA, and algorithmic problems. Furthermore, we propose InfiBench-V, a novel and challenging benchmark specifically designed to assess models on visually-rich, real-world programming questions that demand a nuanced understanding of both textual and visual contexts. Extensive experiments show that VisCodex achieves state-of-the-art performance among open-source MLLMs and approaches proprietary models like GPT-4o, highlighting the effectiveness of our model merging strategy and new datasets.

View on arXivView PDF

Code Implementations(1)

Official Implementation for the paper "VisCodex: Unified Multimodal Code Generation via Merging Vision and Coding Models"

231Aug 13, 20251 years ago

Similar Papers

Cite this paper

@article{jiang2025viscodex,
  title  = {VisCodex: Unified Multimodal Code Generation via Merging Vision and Coding Models},
  author = {Lingjie Jiang and Shaohan Huang and Xun Wu and Yixia Li and Dongdong Zhang and Furu Wei},
  year   = {2025},
  eprint = {2508.09945},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.09945v1}
}

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

Discussion