arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.23642cs.SEcs.AIcs.CLcs.PL
收藏

VisCoder2:构建多语言可视化编码代理

VisCoder2: Building Multi-Language Visualization Coding Agents

University of Waterloo(滑铁卢大学);Carnegie Mellon University(卡内基梅隆大学);Korea Advanced Institute of Science & Technology(韩国科学技术院)

Yuansheng Ni, Songcheng Cai, Xiangchao Chen, Jiarong Liang, Zhiheng Lyu, Jiaqi Deng, Kai Zou, Ping Nie, Fei Yuan, Xiang Yue, Wenhu Chen

AI总结:

本文提出VisCoder2,一种多语言可视化编码模型,通过VisCode-Multi-679K大规模数据集和VisPlotBench基准测试,显著提升了多轮自调试能力,在32B规模下达到82.4%的执行通过率。

摘要:

大型语言模型(LLMs)近期使能够生成、执行和修订可视化代码的编码代理成为可能。然而,现有模型在实际工作流中常常因语言覆盖有限、执行不可靠和缺乏迭代修正机制而失效。进展受限于狭窄的数据集和基准测试,这些测试强调单轮生成和单语言任务。为解决这些问题,我们引入三个互补资源来推进可视化编码代理。VisCode-Multi-679K是一个大规模监督数据集,包含679,000个经过验证且可执行的可视化样本,涵盖12种编程语言的多轮修正对话。VisPlotBench是一个系统评估基准,包含可执行任务、渲染输出和初始生成及多轮自调试的协议。最后,我们提出VisCoder2,一种基于VisCode-Multi-679K训练的多语言可视化模型。实验表明,VisCoder2显著优于强大的开源基线,并接近专有模型如GPT-4.1的性能,进一步通过迭代自调试达到32B规模下的82.4%整体执行通过率,特别是在符号或编译器依赖语言中。

英文摘要:

Large language models (LLMs) have recently enabled coding agents capable of generating, executing, and revising visualization code. However, existing models often fail in practical workflows due to limited language coverage, unreliable execution, and lack of iterative correction mechanisms. Progress has been constrained by narrow datasets and benchmarks that emphasize single-round generation and single-language tasks. To address these challenges, we introduce three complementary resources for advancing visualization coding agents. VisCode-Multi-679K is a large-scale, supervised dataset containing 679K validated and executable visualization samples with multi-turn correction dialogues across 12 programming languages. VisPlotBench is a benchmark for systematic evaluation, featuring executable tasks, rendered outputs, and protocols for both initial generation and multi-round self-debug. Finally, we present VisCoder2, a family of multi-language visualization models trained on VisCode-Multi-679K. Experiments show that VisCoder2 significantly outperforms strong open-source baselines and approaches the performance of proprietary models like GPT-4.1, with further gains from iterative self-debug, reaching 82.4% overall execution pass rate at the 32B scale, particularly in symbolic or compiler-dependent languages.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑