Evaluating Prompting Strategies for Chart Question Answering with Large Language Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Naikar, Ruthuparna, Zhu, Ying
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917358370553856
author Naikar, Ruthuparna
Zhu, Ying
author_facet Naikar, Ruthuparna
Zhu, Ying
contents 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. 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.
format Preprint
id arxiv_https___arxiv_org_abs_2603_22288
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Evaluating Prompting Strategies for Chart Question Answering with Large Language Models
Naikar, Ruthuparna
Zhu, Ying
Computation and Language
Artificial Intelligence
Machine Learning
68T50, 68T07
I.2.7; H.5.2; I.5.4
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. 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.
title Evaluating Prompting Strategies for Chart Question Answering with Large Language Models
topic Computation and Language
Artificial Intelligence
Machine Learning
68T50, 68T07
I.2.7; H.5.2; I.5.4
url https://arxiv.org/abs/2603.22288