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.
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 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