Paper Reading AI Learner

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

2025-08-13 17:00:44
Lingjie Jiang, Shaohan Huang, Xun Wu, Yixia Li, Dongdong Zhang, Furu Wei

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.

Abstract (translated)

多模态大型语言模型(MLLMs)在视觉和文本理解的融合上取得了显著进步。然而,它们从多模态输入生成代码的能力仍然有限。在这项工作中,我们介绍了VisCodex,这是一个统一的框架,它无缝地将视觉与编码语言模型结合起来,赋予MLLM强大的多模态代码生成能力。通过采用基于任务向量的模型融合技术,我们将最先进的编码LLM集成到一个强大的视觉-语言骨干网络中,同时保持其对图像的理解能力和高级编程技能。 为了支持训练和评估,我们引入了多模态编码数据集(Multimodal Coding Dataset, MCD),这是一个包含598k个样本的大规模多样化数据集,其中包括高质量的HTML代码、图表图片-代码配对、带图增强的StackOverflow问答以及算法问题。此外,我们还提出了InfiBench-V,一个新的具有挑战性的基准测试,专门用于评估模型在视觉丰富的真实世界编程任务上的表现能力,这些任务需要同时理解文本和视觉上下文。 广泛的实验表明,VisCodex在开源MLLM中表现出最先进的性能,并且接近专有模型如GPT-4o的水平。这突显了我们的模型融合策略以及新数据集的有效性。

URL

https://arxiv.org/abs/2508.09945

PDF

https://arxiv.org/pdf/2508.09945.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot