arXiv:2511.15266cs.MMcs.CL2025-11中稿 · AAAI被引 6

用强化学习实现无需代码的智能图表编辑,真实场景更可靠。

ChartEditor: A Reinforcement Learning Framework for Robust Chart Editing

  • 基于自然语言指令和图像输入,无须原始代码
  • 构建7964样本多类型图表编辑数据集
  • 引入渲染奖励提升生成效果,适合可视化研究者

图表编辑可减少可视化设计的手动工作量。现有基准数据多样性不足,且假设可获取完整图表代码,这在实际场景中很少见。为此,我们提出ChartEditVista,一个包含7,964个样本、覆盖31种图表类别的综合性基准,涵盖多样化的编辑指令并几乎包含所有可编辑元素。其输入仅为原始图表图像和自然语言编辑指令,不依赖原始代码。ChartEditVista通过全自动流水线生成、编辑与验证,确保高质量数据。此外,我们引入两种新型细粒度规则评估指标:布局指标评估图形组件的位置、大小和颜色;文本指标联合评估文本内容与字体样式。基于ChartEditVista,我们提出ChartEditor,一种采用强化学习框架训练的模型,结合新颖的渲染奖励机制,同时保证代码可执行性和视觉保真度。大量实验与人工评估表明,ChartEditVista提供稳健评估,而ChartEditor在相似规模及更大规模模型中均表现更优。

原文摘要 · Abstract (English)

Chart editing reduces manual effort in visualization design. Typical benchmarks limited in data diversity and assume access to complete chart code, which is seldom in real-world scenarios. To address this gap, we present ChartEditVista, a comprehensive benchmark consisting of 7,964 samples spanning 31 chart categories. It encompasses diverse editing instructions and covers nearly all editable chart elements. The inputs in ChartEditVista include only the original chart image and natural language editing instructions, without the original chart codes. ChartEditVista is generated through a fully automated pipeline that produces, edits, and verifies charts, ensuring high-quality chart editing data. Besides, we introduce two novel fine-grained, rule-based evaluation metrics: the layout metric, which evaluates the position, size and color of graphical components; and the text metric, which jointly assesses textual content and font styling. Building on top of ChartEditVista, we present ChartEditor, a model trained using a reinforcement learning framework that incorporates a novel rendering reward to simultaneously enforce code executability and visual fidelity. Through extensive experiments and human evaluations, we demonstrate that ChartEditVista provides a robust evaluation, while ChartEditor consistently outperforms models with similar-scale and larger-scale on chart editing tasks.

图表编辑强化学习自动化可视化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。