ChartInsights: Evaluating Multimodal Large Language Models for Low-Level Chart Question Answering

Yifan Wu, Lutao Yan, Yuyu Luo, Yunhai Wang, Nan Tang, Luo, Yuyu · DOI

Abstract

Chart question answering (ChartQA) tasks play a critical role in interpreting and extracting insights from visualization charts. While recent advancements in multimodal large language models (MLLMs) like GPT-4o have shown promise in high-level ChartQA tasks, such as chart captioning, their effectiveness in low-level ChartQA tasks (e.g., identifying correlations) remains underexplored. In this paper, we address this gap by evaluating MLLMs on low-level ChartQA using a newly curated dataset, ChartInsights, which consists of 22,347 (chart, task, query, answer) covering 10 data analysis tasks across 7 chart types. We systematically evaluate 19 advanced MLLMs, including 12 open-source and 7 closed-source models. The average accuracy rate across these models is 39.8%, with GPT-4o achieving the highest accuracy at 69.17%. To further explore the limitations of MLLMs in low-level ChartQA, we conduct experiments that alter visual elements of charts (e.g., changing color schemes, adding image noise) to assess their impact on the task effectiveness. Furthermore, we propose a new textual prompt strategy, Chain-of-Charts, tailored for low-level ChartQA tasks, which boosts performance by 14.41%, achieving an accuracy of 83.58%. Finally, incorporating a visual prompt strategy that directs attention to relevant visual elements further improves accuracy to 84.32%.

Introduction: The Gap in Low-Level Chart Understanding

While recent advancements in multimodal large language models (MLLMs) like GPT-4o have shown promise in high-level ChartQA tasks, such as chart captioning or trend description, their effectiveness in low-level tasks remains underexplored. High-level tasks focus on generalities, whereas low-level tasks require precise data retrieval and numerical reasoning—for instance, determining the exact rainfall in a specific month rather than just noting a summer peak.

High-level vs. Low-level ChartQA tasks

Current MLLMs often struggle with these granular tasks because they require high coordinate precision. They frequently "hallucinate" values or are distracted by visual clutter. This paper addresses this gap by introducing ChartInsights, a comprehensive benchmark for evaluating MLLMs on low-level ChartQA.

The ChartInsights Benchmark

The researchers curated a massive dataset consisting of 22,347 (chart, task, query, answer) samples. This benchmark covers 10 distinct data analysis tasks, categorized into three groups:

  • Analysis Tasks: Reasoning, Anomaly Detection, Distribution, and Correlation.
  • Search Tasks: Determining Range, Order, and Filtering.
  • Query Tasks: Retrieving Values, Finding Extremums, and Finding Clusters.

The dataset spans 7 common chart types, such as bar charts (basic, grouped, stacked), line charts, scatter plots, and pie charts. Unlike existing datasets, ChartInsights includes full metadata (underlying data and visual element positions), enabling precise visual prompting and ground truth verification.

Methods: Chain-of-Charts and Visual Prompting

To improve MLLM performance, the study explored several strategies:

  1. Chain-of-Charts (Textual Prompting): Inspired by "Chain-of-Thought," this strategy breaks down chart analysis into a sequence: identifying the chart type, then axes labels, then specific data labels, before answering the query. Providing correct intermediate metadata prevents "cascading errors."
  2. Visual Prompting: Graphical overlays (e.g., circling a data point or using arrows) were used to direct the model’s attention to specific pixels.
  3. Perturbation Testing: Charts were modified (e.g., changing colors, adding image noise like blur) to assess model robustness.

Key Results and Findings

The systematic evaluation of 19 advanced MLLMs (7 closed-source, 12 open-source) revealed a significant performance gap. The average accuracy across all models was only 39.8%, highlighting the difficulty of low-level ChartQA.

Impact of prompting strategies on model accuracy across task types

Prompting Power: * GPT-4o led the baseline with 69.17% accuracy. * Chain-of-Charts alone boosted GPT-4o’s accuracy by 14.41%, bringing it to 83.58%. * Combining Chain-of-Charts with Visual Prompts reached the peak accuracy of 84.32%.

Notable Insights: * The "No Label" Paradox: Surprisingly, removing numerical labels actually improved GPT-4o’s performance in anomaly detection (+17.5%), as it forced the model to rely on geometry rather than potentially misread OCR text. * Noise Sensitivity: "Median Blur" was the most destructive type of noise, causing a 16.8% performance drop, emphasizing the reliance on crisp visual text. * Model Size vs. Quality: In open-source models, parameter count didn't guarantee success; the 2B-parameter MiniCPM outperformed the 17B-parameter CogVLM, suggesting training data quality is more important than raw size.

Conclusion

Low-level ChartQA remains a significant challenge for even the most advanced MLLMs. While strategies like Chain-of-Charts significantly bridge the gap, models still struggle with spatial reasoning and are sensitive to visual noise. Future work should explore multimodal prompts that combine images with raw data (e.g., CSV snippets) and automate the generation of visual prompts to assist model attention.

Summary updated

BibTeX
@inproceedings{wu2024chartinsights,
  author = {Yifan Wu and Lutao Yan and Yuyu Luo and Yunhai Wang and Nan Tang and Luo, Yuyu},
  title = {{ChartInsights: Evaluating Multimodal Large Language Models for Low-Level Chart Question Answering}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.710},
}
Figure