2025-08-14 · 专家 · 机器学习 · 多模态 · 计算机视觉

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

VisCodex通过融合视觉和编码语言模型,实现了强大的多模态代码生成能力,并在开源多模态代码生成中达到了新的水平。

更新于 2025-08-19。作者:Lingjie Jiang、Shaohan Huang、Xun Wu、Yixia Li、Dongdong Zhang、Furu Wei。

中文摘要

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

英文摘要

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.

解读

一句话总结

VisCodex通过融合视觉和编码语言模型,实现了强大的多模态代码生成能力,并在开源多模态代码生成中达到了新的水平。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt