VCode: a Multimodal Coding Benchmark with SVG as Symbolic Visual Representation
VCode提出了一种新的多模态编码基准,使用SVG作为符号视觉表示,通过将多模态理解重新定义为核心视觉编码,从而推动视觉和语言模型在符号视觉表示方面的进步。
更新于 2025-11-05。作者:Kevin Qinghong Lin、Yuhao Zheng、Hangyu Ran、Dantong Zhu、Dongxing Mao、Linjie Li、Philip Torr、Alex Jinpeng Wang。
中文摘要
代码已成为代理时代推理和行动的精确且可执行的中介。然而,进步主要集中在以语言为中心的任务上,如程序综合和调试,而对视觉为中心的编码探索不足。受人类如何推理草图所启发,我们提倡使用SVG代码作为紧凑、可解释和可执行的可视表示。我们引入了VCode,这是一个将多模态理解重新定义为代码生成的基准:给定一个图像,模型必须生成保留符号意义的SVG代码,以便进行下游推理。VCode涵盖了三个领域——通用常识(MM-Vet)、专业学科(MMMU)和视觉为中心的感知(CV-Bench)。为了评估符号保真度,我们提出了CodeVQA,这是一种新颖的评估协议,其中策略模型针对渲染的SVG回答问题;正确答案表明符号被忠实保留。从实证角度看,前沿的VLMs在生成忠实SVG方面遇到了困难,揭示了语言为中心和视觉为中心编码之间持续存在的差距。为了缩小这一差距,我们引入了VCoder,这是一个代理框架,它从两个轴向上增强VLMs:(i)通过修订进行思考,迭代分析差异并细化SVG代码;(ii)通过视觉工具进行行动,检测器和解析器提供模型内在能力之外的有序线索,如物体、形状和文本。在基准测试中,具有强大推理能力的VLMs在总体上得分良好,但在专业知识三维推理方面仍然有限。VCoder在总体上比表现最佳的Claude-4-Opus提高了12.3分。人类研究表明,人类和VLMs在渲染的SVG上的表现都较差,其一致性揭示了符号可视化表示的潜力。基准和代码可在https://github.com/CSU-JPG/VCode上获取。
英文摘要
Code has emerged as a precise and executable medium for reasoning and action in the agent era. Yet, progress has largely focused on language-centric tasks such as program synthesis and debugging, leaving visual-centric coding underexplored. Inspired by how humans reason over sketches, we advocate SVG code as a compact, interpretable, and executable visual representation. We introduce VCode, a benchmark that reframes multimodal understanding as code generation: given an image, a model must produce SVG that preserves symbolic meaning for downstream reasoning. VCode covers three domains - general commonsense (MM-Vet), professional disciplines (MMMU), and visual-centric perception (CV-Bench). To assess symbolic fidelity, we propose CodeVQA, a novel evaluation protocol in which a policy model answers questions over rendered SVGs; correct answers indicate faithful symbolic preservation. Empirically, frontier VLMs struggle to generate faithful SVGs, revealing a persistent gap between language-centric and visual-centric coding. To close this gap, we introduce VCoder, an agentic framework that augments VLMs along two axes: (i) Thinking with Revision, which iteratively analyzes discrepancies and refines SVG code; and (ii) Acting with Visual Tools, where detectors and parsers supply structured cues such as objects, shapes, and text beyond the model's intrinsic capacity. Across benchmarks, frontier VLMs with strong reasoning capabilities score well overall yet remain limited in professional knowledge and 3D reasoning. VCoder delivers a 12.3-point overall gain over the top-performing Claude-4-Opus. Human studies show that both humans and VLMs perform worse on rendered SVGs, their consistency reveals the promise of symbolic visual representation. The benchmark and code are available at https://github.com/CSU-JPG/VCode.
解读
一句话总结
VCode提出了一种新的多模态编码基准,使用SVG作为符号视觉表示,通过将多模态理解重新定义为核心视觉编码,从而推动视觉和语言模型在符号视觉表示方面的进步。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:传统的编码基准主要集中在语言中心任务上,而视觉中心编码则被忽视。现有的图像表示依赖于密集的RGB像素,虽然可以捕获外观,但缺乏符号抽象。
- 现有方案不足:现有的视觉编码方法难以生成符合符号意义的SVG代码,导致在语言中心和视觉中心编码之间存在差距。
- 研究目标:通过VCode基准,推动视觉和语言模型在符号视觉表示方面的进步,并开发能够生成符号视觉表示的模型。
问题2:论文的核心创新点是什么?
- 技术创新:使用SVG代码作为视觉表示,它是一种紧凑、可解释和可执行的视觉表示形式。
- 方法改进:提出VCode基准,将多模态理解重新定义为视觉编码,并开发VCoder框架,通过测试时缩放和修订策略以及视觉工具来增强视觉语言模型。
- 优势:与现有方法相比,VCode能够更准确地捕捉图像的符号信息,并生成更符合要求的SVG代码。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在VCode基准上进行的实验,包括SigLIP分数、CodeVQA和代码令牌长度。
- 性能提升:与基线模型相比,VCoder在所有三个子任务(MM-Vet、MMMU和CV-Bench)上均取得了显著的性能提升。
- 对比结果:与Claude-4-Opus等基线模型相比,VCoder的整体得分提高了12.3分。
问题4:这个研究的实际应用价值是什么?
- 应用场景:VCode可以用于评估和改进视觉和语言模型在符号视觉表示方面的能力,从而在图像理解和视觉任务自动化等方面有潜在的应用价值。
- 实施建议:VCode可以用于开发新的视觉和语言模型,并在实际应用中进一步测试和改进。
- 局限与展望:VCode的当前局限性在于其数据集的规模和多样性,未来可以进一步扩展数据集,以包含更多样化的图像和任务。
来源
机器可读索引:llms.txt