ChartInsighter: An Approach for Mitigating Hallucination in Time-series Chart Summary Generation with A Benchmark Dataset

Fen Wang, Bomiao Wang, Xueli Shu, Zhen Liu, Zekai Shao, Chao Liu, Siming ChenarXiv 2025

TL;DR

ChartInsighter is a novel multi-agent framework designed to automatically generate accurate, semantically rich summaries of time-series charts while mitigating Large Language Model (LLM) hallucinations. By combining patch-based data segmentation, multi-agent iterative collaboration, and programmatic self-consistency tests, it significantly reduces errors like incorrect trend judgments and faulty numerical calculations. The authors also introduce a high-quality benchmark dataset with sentence-by-sentence hallucination annotations to advance research in chart comprehension.

What Problem Does This Paper Address?

While LLMs excel at generating fluent, semantically rich text, they frequently "hallucinate" when analyzing complex, multi-dimensional time-series data. When tasked with summarizing line charts, state-of-the-art models often misinterpret trend directions, mistake local extrema for global ones, or omit critical fluctuations entirely.

Existing chart summarization methods typically focus on basic visual elements (e.g., axes and labels) or simple statistical metrics, failing to capture deep, cross-dimensional relationships. Furthermore, standard evaluation metrics only measure text similarity or semantic richness, completely overlooking the factual accuracy of the generated insights. This paper tackles both challenges: providing a framework to generate reliable summaries and establishing a rigorous benchmark to quantify chart-reading hallucinations.

Fig. 1: Examples of time-series chart summaries generated with GPT-4, VL2NL [28], and ChartInsighter. Errors are indicated in red text, while correct points are highlighted in green text. GPT-4 makes an “Extremum Error”, misidentifying 2008 as the peak year instead of the correct year, 2007, and a “Trend Direction Error”, incorrectly describing a downward trend as an upward trend. VL2NL makes a “Numerical Value Error”, incorrectly calculating Apple’s average stock price. In contrast, ChartInsighter provides a correct summary.

Methods

ChartInsighter uses a structured pipeline driven by specialized LLM agents and external data analysis tools, taking a chart's data table and visualization specification (e.g., Vega-Lite) as inputs. The pipeline consists of three main stages:

  1. Brainstorming:
  2. Uni-Insighter Agent: Invokes a Numerical Pattern Analysis Module to segment long time-series data into optimal "patches" based on variance and extreme values. It extracts localized statistics (max, min, volatility) to help the LLM grasp granular details.
  3. Multi-Insighter Agent: Examines these uni-dimensional trends to identify cross-dimensional relationships (e.g., whether one variable consistently exceeds another). It utilizes a Majority Vote strategy over multiple iterations to filter out inconsistent trend descriptions.
  4. Refining: The Multi-Insighter collaborates iteratively with a Writer Agent. The Writer drafts the summary, while the Multi-Insighter reviews it, uncovers missing insights, and refines temporal precision until no new data patterns are found.
  5. Self-Consistency Test: To eliminate lingering Extremum Errors and Proportion Perception Errors, the framework forces the LLM to write and execute Python code (via a programmatic module) to verify questionable claims against the raw dataset, automatically correcting any factual discrepancies.

Additionally, the authors developed a user interface that interactively links the generated summary text back to the chart—hovering over a sentence highlights the corresponding data points, making manual verification seamless.

Datasets

The authors introduced a newly curated benchmark dataset consisting of:

  • 75 time-series line charts sourced from reputable real-world databases (covering finance, energy, politics, and environment).
  • The charts are evenly split across three complexity levels (25 simple, 25 moderate, 25 complex) based on sequence length, dimensions, and the frequency of fluctuations.
  • 2,693 total sentences across four summary types per chart: a human-written "gold" summary, and automated summaries from GPT-4, VL2NL, and ChartInsighter.
  • Sentence-level annotations classifying 10 distinct types of hallucinations (such as Trend Direction Error, Extremum Error, and Detail Omission).

Key Insights and Ideas

  • The Local vs. Global Context Trap: LLMs often fail at time-series analysis because they confuse local variations with global trends. ChartInsighter bypasses this by explicitly segmenting data into patches, calculating mathematical properties programmatically, and then forcing the model to reconcile local patch insights with global properties.
  • Taxonomy of Chart Hallucinations: The paper categorizes errors into structural limitations (e.g., Detail Omission, Junk Description) and factual errors across different semantic levels (L2 statistical concepts vs. L3 trend relationships). This taxonomy allows researchers to design targeted algorithmic fixes for specific error types.
Fig. 2: Examples of time-series chart summary elements. We classify them into L1-L3, employ simple line diagrams to visually illustrate the meaning of these elements, and present example sentences containing specific elements.

Key Results

ChartInsighter was evaluated against human gold standards, base GPT-4, and VL2NL:

  • Lowest Hallucination Rate: ChartInsighter achieved a hallucination rate of 0.14, drastically outperforming base GPT-4 (0.48) and VL2NL (1.63).
  • High Semantic Richness: It maintained a semantic richness score of 0.75 (the ratio of complex trend/statistical sentences to total sentences), proving that mitigating hallucinations does not come at the cost of detail or depth.
  • Human Preference: In user studies evaluating accuracy, fluency, and chart-matching capability, ChartInsighter scored the highest average rating of 3.79 out of 5.

Limitations and Future Work

  • Chart Type Restrictions: The current framework and benchmark are strictly optimized for time-series line charts. Extending this to bar charts, scatter plots, and pie charts remains future work.
  • Text-Only Inputs: The pipeline relies on raw data tables and Vega-Lite code rather than direct visual inputs. Integrating Multimodal LLMs (MLLMs) to interpret chart images directly could capture stylistic visual semantics (like color and shape meanings) more effectively.
  • Domain-Specific Insights (L4 Content): The framework successfully captures structural and trend data (L1-L3), but struggles with high-level domain context (e.g., explaining why a stock crashed due to a specific political event). The authors suggest domain-specific fine-tuning as a next step.

Summary updated

BibTeX
@misc{wang2025chartinsighter,
  author = {Fen Wang and Bomiao Wang and Xueli Shu and Zhen Liu and Zekai Shao and Chao Liu and Siming Chen},
  title = {{ChartInsighter: An Approach for Mitigating Hallucination in Time-series Chart Summary Generation with A Benchmark Dataset}},
  year = {2025},
  eprint = {2501.09349},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.09349},
}

Loading related content...

Figure