arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.10880cs.CV
收藏

图表规范:用于促进VLM在图表到代码生成中推理的结构表示

Chart Specification: Structural Representations for Incentivizing VLM Reasoning in Chart-to-Code Generation

Waseda University(早稻田大学);University of Science and Technology of China(中国科学技术大学);NanKai University(南开大学)

Minggui He, Mingchen Dai, Jian Zhang, Yilun Liu, Shimin Tao, Pufan Zeng, Osamu Yoshie, Yuya Ieiri

AI总结:

本文提出图表规范,通过结构化中间表示提升VLM在图表到代码生成中的结构保真度,实验显示其在数据效率和性能上优于现有方法。

摘要:

视觉-语言模型(VLMs)在从图表图像生成绘图代码方面显示出潜力,但实现结构保真度仍具有挑战性。现有方法大多依赖于监督微调,鼓励表面级标记模仿,而不是对底层图表结构的忠实建模,这往往导致幻觉或语义不一致的输出。我们提出了图表规范,一种结构化的中间表示,将训练从文本模仿转移到语义基础的监督上。图表规范过滤语法噪声以构建结构平衡的训练集,并支持Spec-Align奖励,提供对结构正确性的细粒度、可验证的反馈,使强化学习能够强制一致的绘图逻辑。在三个公开基准上的实验表明,我们的方法在一致性上优于先前方法。仅使用3K训练样本,我们实现了强大的数据效率,在复杂基准上超过领先基线高达61.7%,并扩展到4K样本在所有评估指标上建立新的最先进结果。总体而言,我们的结果表明,精确的结构监督为高保真的图表到代码生成提供了一条高效路径。代码和数据集可在:https://github.com/Mighten/chart-specification-paper获取。

英文摘要:

Vision-Language Models (VLMs) have shown promise in generating plotting code from chart images, yet achieving structural fidelity remains challenging. Existing approaches largely rely on supervised fine-tuning, encouraging surface-level token imitation rather than faithful modeling of underlying chart structure, which often leads to hallucinated or semantically inconsistent outputs. We propose Chart Specification, a structured intermediate representation that shifts training from text imitation to semantically grounded supervision. Chart Specification filters syntactic noise to construct a structurally balanced training set and supports a Spec-Align Reward that provides fine-grained, verifiable feedback on structural correctness, enabling reinforcement learning to enforce consistent plotting logic. Experiments on three public benchmarks show that our method consistently outperforms prior approaches. With only 3K training samples, we achieve strong data efficiency, surpassing leading baselines by up to 61.7% on complex benchmarks, and scaling to 4K samples establishes new state-of-the-art results across all evaluated metrics. Overall, our results demonstrate that precise structural supervision offers an efficient pathway to high-fidelity chart-to-code generation. Code and dataset are available at: https://github.com/Mighten/chart-specification-paper

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

↑