Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

TinyChart: Efficient Chart Understanding with Visual Token Merging and Program-of-Thoughts Learning

About

Charts are important for presenting and explaining complex data relationships. Recently, multimodal large language models (MLLMs) have shown remarkable capabilities in various chart understanding tasks. However, the sheer size of these models in terms of parameters and computational requirements limits their use in resource-constrained environments. In this paper, we present TinyChart, an efficient MLLM for chart understanding with only 3B parameters. TinyChart overcomes two key challenges in efficient chart understanding: (1) reduce the burden of learning numerical computations through a Program-of-Thoughts (PoT) learning strategy, which trains the model to generate Python programs for numerical calculations, and (2) reduce lengthy vision feature sequences produced by the vision transformer for high-resolution images through a Vision Token Merging module, which gradually merges most similar vision tokens. Extensive experiments demonstrate that our 3B TinyChart achieves SOTA performance on a variety of chart understanding benchmarks including ChartQA, Chart-to-Text, Chart-to-Table, OpenCQA, and ChartX. It outperforms several chart understanding MLLM with up to 13B parameters such as ChartLlama and ChartAst, and close-sourced general-purpose MLLM GPT-4V on ChartQA. It also demonstrates its superior efficiency with higher throughput during inference due to a smaller model scale and more efficient vision encoding. Our code and model are available at https://github.com/X-PLUG/mPLUG-DocOwl/tree/main/TinyChart.

Liang Zhang, Anwen Hu, Haiyang Xu, Ming Yan, Yichen Xu, Qin Jin, Ji Zhang, Fei Huang• 2024

Related benchmarks

TaskDatasetResultRank
Chart Question AnsweringChartQA
Accuracy83.6
371
Chart Question AnsweringChartQA (test)--
190
Plot-to-code generationPlot2Code
Text-Match Accuracy44.6
73
Chart-based Question AnsweringChartQA Pro
Accuracy13.25
52
Chart UnderstandingCharXiv
Reasoning Score12.2
44
Chart Understanding and ReasoningCharXiv
Score8.3
37
Chart UnderstandingChartBench
NQA29.67
32
Chart UnderstandingChartX
GPT Score1.89
31
Chart2CodeChartMimic
Execution Rate42.5
30
Chart Question AnsweringChartQA augmented
Accuracy94.48
26
Showing 10 of 28 rows

Other info

Follow for update