Chart-to-Text: A Large-Scale Benchmark for Chart Summarization

Shankar Kantharaj, Rixie Tiffany Ko Leong, Xiang Lin, Ahmed Masry, Megh Thakkar, Enamul Hoque, Shafiq R. Joty

Abstract

Researchers have introduced Chart-to-Text, a massive new benchmark designed to teach AI how to summarize visual data. Featuring over 44,000 charts from Statista and Pew Research, the benchmark challenges models to generate natural language insights from both raw data tables and raw chart images. The study reveals that while modern AI is improving at data interpretation, it still struggles with factual accuracy and complex trend analysis, particularly when working directly from images.

Introduction

Data visualization is a powerful but "high-cognitive-load" medium. While humans can intuitively identify trends in a line graph, machines face a complex multi-step challenge involving computer vision, data extraction, and natural language generation. Previous research has been limited by small, narrow datasets often restricted to simple bar or line charts from single sources. Moreover, most models assumed perfectly formatted underlying data was available. In practice, however, only the chart image is often accessible. The Chart-to-Text benchmark addresses these gaps by providing a large-scale, diverse dataset to test state-of-the-art models on the transition from "pixels to paragraphs."

The Chart-to-Text Benchmark

The benchmark consists of two distinct datasets totaling 44,096 charts, offering significantly more diversity than previous benchmarks by including bar, line, area, scatter, pie, and complex stacked charts.

  • Statista Dataset: Contains 34,811 charts covering economics, politics, and society, accompanied by clean, underlying data tables.
  • Pew Dataset: Includes 9,285 charts from Pew Research articles. These are more challenging as raw data tables are not provided, forcing models to rely on the image and surrounding text.
Distribution of chart types across the Statista and Pew datasets.

Modeling Approaches

The authors evaluated three primary categories of neural models to establish baselines for the benchmark:

  1. Image Captioning Models: These treat the chart as a photograph, utilizing a vision encoder (ResNet50) and a text decoder (LSTM). Performance was enhanced using the Barlow Twins self-supervised technique for chart-specific pre-training.
  2. Data-to-Text Models: These assume the data table is available. The study tested specialized architectures like Chart2text and Field-Infusing models, alongside powerful pre-trained transformers like BART and T5.
  3. OCR-to-Text Models: A hybrid approach where the model uses Optical Character Recognition (OCR) to extract text and numbers from the chart image, feeding this "noisy" data into a transformer (e.g., T5) to generate a summary.
Neural architectures evaluated for chart summarization, including specialized and transformer-based models.

Key Insights and Results

The evaluation revealed several critical findings regarding the current state of AI chart interpretation:

  • The "Table Gap": There is a significant performance drop when models work from images rather than clean data tables. OCR-based models often struggle to correctly associate data values with their labels.
  • Pre-training Efficacy: Large-scale pre-trained models like T5 and BART outperformed specialized architectures, suggesting that general linguistic knowledge is vital for fluent data summarization.
  • Factual Accuracy and Hallucination: A major concern is the "hallucination" problem, where models generate fluent but factually incorrect summaries—for instance, describing a decreasing trend as "increasing."
  • Performance Metrics: On the Statista dataset, the TAB-T5 model (with table access) achieved a BLEU score of 37.01, compared to just 15.94 for vision-only models. The Pew dataset proved much harder, with the best OCR-T5 model reaching only 10.49 BLEU.

Conclusion

While AI has made strides in natural language generation, the Chart-to-Text benchmark highlights the remaining hurdles in visual data reasoning. Future work must focus on improving vision-data association, developing robust logical reasoning modules, and ensuring factual reliability, especially for accessibility applications like automated Alt-text for the visually impaired.

Summary updated

BibTeX
@inproceedings{kantharaj2022chart,
  author = {Shankar Kantharaj and Rixie Tiffany Ko Leong and Xiang Lin and Ahmed Masry and Megh Thakkar and Enamul Hoque and Shafiq R. Joty},
  title = {{Chart-to-Text: A Large-Scale Benchmark for Chart Summarization}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.277},
}
Figure