ChartEditor: A Reinforcement Learning Framework for Robust Chart Editing

Authors

  • Liangyu Chen Renmin University of China
  • Yichen Xu Renmin University of China
  • Jianzhe Ma Renmin University of China
  • Yuqi Liu The Chinese University of Hong Kong
  • Donglu Yang Renmin University of China
  • Liang Zhang Independent Researcher
  • Zihao Yue Renmin University of China
  • Wenxuan Wang Renmin University of China
  • Qin Jin Renmin University of China

DOI:

https://doi.org/10.1609/aaai.v40i24.39107

Abstract

Chart editing reduces manual effort in visualization design. Typical benchmarks assume access to complete chart code, which is unrealistic for real-world applications. In this paper, we present ChartEditVista, a comprehensive benchmark consisting of 7,964 samples spanning 31 chart categories. It encompasses diverse editing instruction types 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 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.

Downloads

Published

2026-03-14

How to Cite

Chen, L., Xu, Y., Ma, J., Liu, Y., Yang, D., Zhang, L., Yue, Z., Wang, W., & Jin, Q. (2026). ChartEditor: A Reinforcement Learning Framework for Robust Chart Editing. Proceedings of the AAAI Conference on Artificial Intelligence, 40(24), 20199-20207. https://doi.org/10.1609/aaai.v40i24.39107

Issue

Section

AAAI Technical Track on Machine Learning I