PlotGen-Bench: 评估VLMs在从多样化图表生成可视化代码的能力 across 多个库
PlotGen-Bench: Evaluating VLMs on Generating Visualization Code from Diverse Plots across Multiple Libraries
AI总结:
PlotGen-Bench评估VLMs在多库场景下生成可视化代码的能力,发现开源模型在视觉和语义一致性上表现欠佳,需进一步提升。
摘要:
最近在视觉-语言模型(VLMs)上的进展扩展了它们的多模态代码生成能力,但它们生成可执行可视化代码的能力,特别是对于复杂的3D、动画、图表到图表转换或多库场景,仍处于探索阶段。为解决这一差距,我们介绍了PlotGen-Bench,一个用于评估在现实和复杂可视化场景下的图表到代码生成的综合基准。该基准涵盖9个主要类别、30个子类别和3个核心任务-图表复制、图表转换和多库生成,覆盖2D、3D和动画图表在内的5种广泛使用的可视化库。通过系统评估最先进的开源和闭源VLMs,我们发现尽管在代码可执行性上表现相当,开源模型在视觉保真度和语义一致性上仍显著落后。此外,所有模型在需要推理的任务如图表类型转换和动画生成上表现出显著的退化。PlotGen-Bench为推动研究向更强大和可靠的VLMs发展奠定了严格的基础,用于可视化创作和代码合成,所有数据和代码均可在https://plotgen.github.io上获得。
英文摘要:
Recent advances in vision-language models (VLMs) have expanded their multimodal code generation capabilities, yet their ability to generate executable visualization code from plots, especially for complex 3D, animated, plot-to-plot transformations, or multi-library scenarios, remains underexplored. To address this gap, we introduce PlotGen-Bench, a comprehensive benchmark for evaluating plot-to-code generation under realistic and complex visualization scenarios. The benchmark spans 9 major categories, 30 subcategories, and 3 core tasks-plot replication, plot transformation, and multi-library generation, covering both 2D, 3D and animated plots across 5 widely used visualization libraries. Through systematic evaluation of state-of-the-art open- and closed-source VLMs, we find that open-source models still lag considerably behind in visual fidelity and semantic consistency, despite achieving comparable code executability. Moreover, all models exhibit substantial degradation on reasoning-intensive tasks such as chart type conversion and animation generation. PlotGen-Bench establishes a rigorous foundation for advancing research toward more capable and reliable VLMs for visualization authoring and code synthesis, with all data and code available at https://plotgen.github.io.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。