ChartGemma: Visual Instruction-tuning for Chart Reasoning in the Wild
About
Given the ubiquity of charts as a data analysis, visualization, and decision-making tool across industries and sciences, there has been a growing interest in developing pre-trained foundation models as well as general purpose instruction-tuned models for chart understanding and reasoning. However, existing methods suffer crucial drawbacks across two critical axes affecting the performance of chart representation models: they are trained on data generated from underlying data tables of the charts, ignoring the visual trends and patterns in chart images, and use weakly aligned vision-language backbone models for domain-specific training, limiting their generalizability when encountering charts in the wild. We address these important drawbacks and introduce ChartGemma, a novel chart understanding and reasoning model developed over PaliGemma. Rather than relying on underlying data tables, ChartGemma is trained on instruction-tuning data generated directly from chart images, thus capturing both high-level trends and low-level visual information from a diverse set of charts. Our simple approach achieves state-of-the-art results across $5$ benchmarks spanning chart summarization, question answering, and fact-checking, and our elaborate qualitative studies on real-world charts show that ChartGemma generates more realistic and factually correct summaries compared to its contemporaries. We release the code, model checkpoints, dataset, and demos at https://github.com/vis-nlp/ChartGemma.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Chart Question Answering | ChartQA | Accuracy80.1 | 229 | |
| Chart Question Answering | ChartQA (test) | -- | 129 | |
| Claim Verification | ChartCheck | Macro F10.639 | 38 | |
| Claim Verification | AIChartClaim | Macro F169.1 | 38 | |
| Chart-based Question Answering | ChartQA Pro | Accuracy6.8 | 22 | |
| Chart Understanding and Reasoning | CharXiv | Score12.5 | 15 | |
| Chart Understanding and Reasoning | Evochart | Score30.6 | 14 | |
| Chart Understanding and Reasoning | ChartMuseum | Score12.2 | 13 | |
| Chart Insight Summarization | ChartSummInsight | ID-RC0.38 | 12 | |
| Chart Understanding and Reasoning | ChartQAPro | Score6.8 | 12 |