VCode
收藏资源简介:
VCode是一个多模态编码基准,使用SVG作为符号视觉表示。该数据集涵盖了三个具有挑战性的领域:通用常识、专业学科和视觉感知。数据集包含464个图像-问题对,旨在评估模型是否能够从自然图像中生成SVG代码,并保留其符号结构。数据集的创建过程包括从现有的多模态理解基准中重新利用数据,并对图像进行渲染和评估。VCode的应用领域包括多模态理解和视觉编码,旨在解决语言和视觉编码之间的差距问题。
VCode is a multimodal coding benchmark that adopts SVG as its symbolic visual representation. This dataset encompasses three challenging domains: general common sense, professional disciplines, and visual perception. Comprising 464 image-question pairs, it is designed to assess whether models can generate SVG code from natural images while preserving their symbolic structural integrity. The dataset development process involves repurposing data from existing multimodal understanding benchmarks, followed by image rendering and evaluation. The application domains of VCode cover multimodal understanding and visual coding, with the goal of bridging the gap between linguistic and visual coding.
VCode数据集概述
数据集简介
VCode是一个多模态编码基准数据集,使用SVG作为符号化视觉表示。该数据集将SVG代码作为视觉表示方法,提供完整的图像到SVG到渲染的工作流程工具包。
核心组件
VCode-suite工具包
VCode-suite是一个综合性工具包,自动化完整的图像到SVG到渲染工作流程,包含集成管道和独立模块:
- 生成模块:img2svg.py、img2text2svg.py、img2svgthinking.py、img2svg-w-visual-tool.py
- 渲染模块:svg_render_img.py
- 优化模块:revision.py
- 过滤模块:filter.py
- 管道脚本:pipeline.sh、revision_pipeline.sh
数据集构成
数据集包含三个主要评估基准:
- MM-Vet:数据位于
data/mm-vet/images - CV-Bench:数据位于
data/cv-bench/img - MMMU:数据位于
data/mmmu/mmmu_dev_processed_single_img_subset
主要功能
生成和渲染SVG
- 使用
pipeline.sh执行完整的图像到SVG到渲染工作流程 - 支持多种生成模块连接
- 输出生成SVG和渲染图像
SVG优化
- 使用
revision_pipeline.sh自动化修订和优化过程 - 基于视觉反馈优化生成的SVG
- 输出优化后的SVG和渲染图像
评估方法
评估流程
- 为三个数据集生成图像
- 运行各数据集的评估脚本:
evaluation/mm-vet/mmvet_eval.shevaluation/cv-bench/cvbench_eval.shevaluation/mmmu/mmmu_eval.sh
评估指标
使用metrics.py计算数据集指标,支持以下参数:
--folder1:参考图像文件夹路径--folder2:模型输出文件夹路径--ckpt:SigLIP模型检查点(默认:google/siglip2-so400m-patch14-384)
技术特性
- 支持批量处理和模块化实验
- 提供端到端管道和独立脚本执行
- 基于API的视觉反馈优化机制
- 支持多种SVG生成策略
引用信息
bibtex @misc{VCode, title={VCode: a Multimodal Coding Benchmark with SVG as Symbolic Visual Representation}, author={Kevin Qinghong Lin and Yuhao Zheng and Hangyu Ran and Dantong Zhu and Dongxing Mao and Linjie Li and Philip Torr and Alex Jinpeng Wang}, year={2025}, eprint={2511.02778}, archivePrefix={arXiv}, primaryClass={cs.CV}, url={https://arxiv.org/abs/2511.02778}, }

- 1VCode: a Multimodal Coding Benchmark with SVG as Symbolic Visual Representation中央南大学 · 2025年



