Evaluating Prompting Strategies for Chart Question Answering with Large Language Models

Ruthuparna Naikar, Ying Zhu
3/3/2026
cs.CLcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

Prompting strategies affect LLM reasoning performance, but their role in chart-based QA remains underexplored. We present a systematic evaluation of four widely used prompting paradigms (Zero-Shot, Few-Shot, Zero-Shot Chain-of-Thought, and Few-Shot Chain-of-Thought) across GPT-3.5, GPT-4, and GPT-4o on the ChartQA dataset.

Show full abstract

Our framework operates exclusively on structured chart data, isolating prompt structure as the only experimental variable, and evaluates performance using two metrics: Accuracy and Exact Match. Results from 1,200 diverse ChartQA samples show that Few-Shot Chain-of-Thought prompting consistently yields the highest accuracy (up to 78.2\%), particularly on reasoning-intensive questions, while Few-Shot prompting improves format adherence. Zero-Shot performs well only with high-capacity models on simpler tasks. These findings provide actionable guidance for selecting prompting strategies in structured data reasoning tasks, with implications for both efficiency and accuracy in real-world applications.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{naikar2026evaluating,
  title  = {Evaluating Prompting Strategies for Chart Question Answering with Large Language Models},
  author = {Ruthuparna Naikar and Ying Zhu},
  year   = {2026},
  eprint = {2603.22288},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.22288v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.22288.svg)](https://codeofpaper.com/paper/2603.22288)

Discussion