Boosting Text-to-Chart Retrieval through Training with Synthesized Semantic Insights

Yifan WuarXiv 2025 · DOI

Abstract

Efficiently retrieving specific visualizations from large-scale Business Intelligence (BI) repositories remains a significant challenge. Current models often rely on shallow visual features, failing to grasp the deep analytical semantics required for complex queries. This paper introduces CRBench, a benchmark designed for real-world text-to-chart retrieval, and ChartFinder, a model trained on a hierarchical pipeline of synthesized semantic insights. By leveraging visual, statistical, and task-oriented descriptions, ChartFinder achieves state-of-the-art performance, demonstrating a nuanced understanding of data relationships and significantly outperforming existing multimodal models in discriminative retrieval tasks.

Introduction

In modern Business Intelligence (BI) environments, users frequently need to locate specific charts within massive repositories using natural language. A typical query might be: "Find charts showing hotel booking distribution in Europe for 2022." However, existing text-to-chart retrieval systems face two primary hurdles. First, they often possess a "shallow understanding," focusing on colors and shapes rather than the underlying data trends. Second, evaluation datasets have historically been designed for captioning rather than retrieval, failing to simulate the "needle in a haystack" challenge where a model must distinguish a target chart from visually similar distractors.

The Semantic Insights Synthesis Pipeline

To bridge the gap between visual pixels and analytical semantics, the authors developed an automated pipeline using LLaMA-3.1 to generate three levels of hierarchical insights for nearly 70,000 charts. This approach ensures the model is trained on more than just surface-level descriptions.

The Semantic Insights Synthesis Pipeline generates visual, task, and statistics-oriented descriptions to train models on analytical semantics.

As shown in the figure above, the pipeline produces:

  • Visual-oriented insights: Descriptions of apparent patterns (e.g., chart type, color, and general trends).
  • Statistics-oriented insights: Data-driven details such as correlations, ranges, and specific data points.
  • Task-oriented insights: Practical context explaining how the chart serves specific user goals, such as policy-making or resource allocation.

ChartFinder: Architecture and Retrieval

The ChartFinder model utilizes a Long-CLIP architecture, which is specifically chosen for its ability to process longer, more complex text sequences compared to standard CLIP models. During training, the model learns to map latent visual representations of charts to the rich, multi-level semantic descriptions generated by the pipeline.

The training process (a) employs contrastive learning on flattened semantic insights, while the retrieval process (b) maps user queries to the chart repository in a shared latent space.

The retrieval process employs a "Target-and-Distractor" paradigm. Unlike simple matching tasks, ChartFinder is presented with a target chart alongside distractors that are visually almost identical (cosine similarity > 0.9) but semantically distinct. This forces the model to move beyond pattern matching and demonstrate true discriminative power.

Benchmarking with CRBench

The authors introduced CRBench, a comprehensive benchmark curated from real-world BI sources like Statista, Tableau, and Pew Research. It contains over 21,000 charts and 326 human-verified queries.

Key findings from the evaluation include:

  • Synergy of Insights: Ablation studies confirmed that combining visual, statistical, and task-oriented insights yields significantly better results than using any single category alone.
  • Preprocessing Matters: The study found that "direct resizing" of chart images is superior to "center cropping," as the latter often removes critical information like axis labels and titles.
  • SOTA Performance: ChartFinder achieved a 66.9% NDCG@10 on precise queries, an 11.58% improvement over previous benchmarks. It also showed remarkable zero-shot generalization on external datasets like VisText.

Conclusion

ChartFinder and the CRBench benchmark represent a significant step forward in the field of chart retrieval. By shifting the focus from pixel-level similarity to deep analytical semantics, this research enables more intuitive and accurate discovery of data visualizations in complex business scenarios. Future work will look toward reducing dependence on LLM-generated synthetic data and exploring vision-language backbones specifically optimized for structured data.

Summary updated

Abstract

Text-to-chart retrieval, enabling users to find relevant charts via natural language queries, has gained significant attention. However, evaluating models in real-world business intelligence (BI) scenarios is challenging, as current benchmarks fail to simulate realistic user queries or test for deep semantic understanding with static chart images.To address this gap, we introduce CRBench, the first real-world BI-sourced benchmark comprising 21,862 charts and 326 queries, utilizing a Target-and-Distractor paradigm to evaluate discriminative retrieval among highly similar candidates. Testing on CRBench reveals that existing methods, which rely primarily on visual features, perform poorly and fail to capture the rich analytical semantics of charts. To address this performance bottleneck, we propose a semantic insights synthesis pipeline that automatically generates three hierarchical levels of insights for charts: visual patterns, statistical properties, and practical applications. Using this pipeline, we produced 207,498 semantic insights for 69,166 charts as training data. By leveraging this data to bridge the gap between natural language query intent and latent visual representations via multi-level semantic supervision, we develop ChartFinder, a specialized model capable of deep cross-model reasoning. Experimental results show ChartFinder significantly outperforms state-of-the-art methods on CRBench, achieving up to 66.9% NDCG@10 for precise queries (an 11.58% improvement) and an average increase of 5% across nearly all metrics for fuzzy queries. This work provides the community with a much-needed benchmark for realistic evaluation and demonstrates a powerful data synthesis paradigm for enhancing a model's semantic understanding of charts.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
CRBenchChartFinder (fine-tuned Long-CLIP)NDCG@1066.90%Text to Chart Retrieval · fine-tuned · backbone=Long-CLIP · query-type=precise
Source quote
L489: 66.90 │ 41.98 │ 75.57 │ 80.15 │ 55.31 │ 61.40
BibTeX
@misc{wu2025boosting,
  author = {Yifan Wu},
  title = {{Boosting Text-to-Chart Retrieval through Training with Synthesized Semantic Insights}},
  year = {2025},
  eprint = {2505.10043},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.10043},
}
Figure