ChartWalker: Benchmarking the Cross-Chart RAG Task with Hierarchical Knowledge Graphs

Ning Tang, Chenghan Xie, Hanyang Yuan, Yi Li, Renhong Huang, Qian Kou, Xiaofeng Shi, Hua Zhou, Jiarong XuarXiv 2026

TL;DR

The paper introduces ChartWalker, a novel framework that leverages hierarchical knowledge graphs (KGs) to construct logically sound, multi-hop cross-chart Retrieval-Augmented Generation (RAG) tasks. Alongside the framework, the authors release ChartWalker-Bench, a challenging evaluation dataset that exposes severe performance gaps in current vision-language models (VLMs), and ChartWalker-Agent, a reinforcement-learning-trained agent designed to navigate chart KGs iteratively.

What Problem Does This Paper Address?

Data analysts frequently synthesize information across multiple charts—for instance, correlating GDP trends in one report with unemployment rates in another. While Multimodal Language Models (MLMs) excel at single-chart reading, real-world open-domain analysis requires Chart RAG (Retrieval-Augmented Generation) to fetch relevant charts from large corpora.

However, existing benchmarks suffer from two major flaws:

  1. They primarily focus on text-based tables where structure is already explicit.
  2. When they do handle charts, they generate questions by simply concatenating isolated key statistics. As shown in Figure 1, this naive approach causes "semantic drift" and logical inconsistencies, prompting VLMs to hallucinate connections between incompatible populations or subjects.
Figure 1. Compared to (a) concatenating isolated key statistics and prompting a VLM to synthesize cross-chart questions, our hier- archical KG (b) explicitly represents entities with their structural relations. Conditioning question generation on these structural paths makes entity dependencies clear and reduces the hallucina- tion of incompatible subjects.

Methods

To preserve the analytical structure of charts, ChartWalker introduces a three-stage pipeline:

  1. Hierarchical Chart KG Construction: A VLM extracts entities and relations from each chart, organizing them into explicit layers based on information granularity (e.g., L0 for titles, L1 for legends/topics, L2 for subgroups, and L3+ for fine-grained attributes). Identical entities are then merged layer-wise across the corpus to form a global hierarchical KG.
  2. Structure-Aware Path Sampling: To prevent random walks from drifting into meaningless topics, the framework uses a modified PageRank algorithm that prioritizes source diversity (entities appearing across multiple unique charts). It then samples multi-hop reasoning paths using dynamic constraints that control semantic topic coherence and granularity transitions.
  3. QA Generation & Verification: The sampled paths and original chart images are fed to a VLM to generate self-contained, decontextualized QA pairs, which undergo strict automated quality control to verify answer correctness.
Figure 2. Illustration of the ChartWalker framework. Given a large chart corpus, a VLM first extracts entities and relations from each chart to build per-chart hierarchical knowledge graphs, where entities are organized by granularity levels. Then, identical entities are merged layer-wise to form a global hierarchical KG over the entire corpus. On top of this hierarchy, we perform structure-aware path sampling to construct multi-hop reasoning paths that traverse entities across levels and sources. Finally, we generate cross-chart QA pairs by conditioning on the original chart images and the sampled reasoning paths.

Additionally, the authors develop ChartWalker-Agent, an agentic baseline that treats multi-chart retrieval as a Partially Observable Markov Decision Process (POMDP). Instead of stuffing all charts into a single prompt, the agent iteratively explores the KG using actions like move, edge_search, and backward, and is optimized using Proximal Policy Optimization (PPO).

Datasets

The authors introduce ChartWalker-Bench, curated from real-world chart repositories (ChartMRAG and ChartQA-pro). After filtering for visual clarity and semantic richness, the final corpus contains 806 charts, mapped to a global KG with 8,802 entities and 21,436 relations.

The benchmark consists of 564 multi-hop QA pairs split into four query types: Fact Check, Manipulation (arithmetic/sorting), Analysis, and Complex Reasoning. Unlike previous benchmarks, ChartWalker-Bench explicitly requires multi-source reasoning, averaging 2.30 sources and 4.52 reasoning hops per question.

Key Insights and Ideas

  • Multimodal Embeddings Outperform Complex Heuristics: Directly aligning query text with chart visuals in a shared embedding space (using Vision-Language Embeddings) yields much higher retrieval recall than text-only indexing methods like BM25.
  • Graph-Based Retrieval Completes the Chain: Graph-based retrievers like HippoRAG excel at "relevance diffusion." Even when their raw recall isn't the absolute highest, they surface structurally connected charts that complete multi-hop reasoning chains, making it significantly easier for the downstream VLM generator to synthesize a correct answer.
  • The "Context Wall" for Small Models: For lightweight VLMs (e.g., 3B parameters), feeding more charts ($k=10$ vs. $k=5$) actually degrades performance due to visual token bloat and multi-image context limitations. This strongly justifies the need for iterative, agentic search strategies rather than static, long-context dumping.

Key Results

  • Retrieval Bottleneck: Retrieval remains highly challenging; the best-performing retriever (VL-Embed) tops out at a Recall@10 of 71.87% overall.
  • Generation Performance: Even when paired with the strongest models like GPT-4o, the highest overall answer correctness (Cor@10) peaks at only 64.89%.
  • Complex Reasoning Deficit: On the Complex Reasoning subset, performance drops sharply. Lightweight models score below 30%, and even GPT-4o struggles, highlighting the benchmark's difficulty.
  • Agentic Gains: After PPO training, the 3B ChartWalker-Agent achieved an overall accuracy of 33.14%, outperforming the best static pipeline using the same base model (31.74%), with the most pronounced improvements occurring in the search-intensive Complex Reasoning category.

Limitations and Future Work

The authors note that lightweight models face severe visual token and multi-image context limitations when processing multiple dense charts simultaneously. Furthermore, the framework relies heavily on the initial quality of the VLM-extracted KGs. The authors suggest that future work should focus on developing stronger multimodal embeddings tailored specifically for chart structures and advancing agentic multi-turn reasoning capabilities.

Summary updated

BibTeX
@misc{tang2026chartwalker,
  author = {Ning Tang and Chenghan Xie and Hanyang Yuan and Yi Li and Renhong Huang and Qian Kou and Xiaofeng Shi and Hua Zhou and Jiarong Xu},
  title = {{ChartWalker: Benchmarking the Cross-Chart RAG Task with Hierarchical Knowledge Graphs}},
  year = {2026},
  eprint = {2606.23997},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.23997},
}
Figure