ChartInstruct: Instruction Tuning for Chart Comprehension and Reasoning
Ahmed Masry, Mehrad Shahmohammadi, Md Rizwan Parvez, Enamul Hoque, Shafiq Joty
TL;DR
ChartInstruct tackles the need for general-purpose chart understanding by creating a large instruction-following corpus tailored to charts and by developing two chart-specific vision-language systems: an end-to-end model that fuses a chart-pretrained vision encoder with a language model, and a pipeline that first extracts data tables from charts before querying the LM. The approach yields state-of-the-art results across multiple chart-domain benchmarks and demonstrates strong performance on novel tasks, with human evaluation supporting improved task adherence and usefulness. The work also provides a diverse WebCharts-derived dataset and release-worthy code to foster further research in chart comprehension and reasoning. Overall, ChartInstruct broadens the applicability of vision-language models to real-world chart analysis tasks, addressing both accuracy and generalization concerns in chart reasoning.
Abstract
Charts provide visual representations of data and are widely used for analyzing information, addressing queries, and conveying insights to others. Various chart-related downstream tasks have emerged recently, such as question-answering and summarization. A common strategy to solve these tasks is to fine-tune various models originally trained on vision tasks language. However, such task-specific models are not capable of solving a wide range of chart-related tasks, constraining their real-world applicability. To overcome these challenges, we introduce ChartInstruct: a novel chart-specific vision-language Instruction-following dataset comprising 191K instructions generated with 71K charts. We then present two distinct systems for instruction tuning on such datasets: (1) an end-to-end model that connects a vision encoder for chart understanding with a LLM; and (2) a pipeline model that employs a two-step approach to extract chart data tables and input them into the LLM. In experiments on four downstream tasks, we first show the effectiveness of our model--achieving a new set of state-of-the-art results. Further evaluation shows that our instruction-tuning approach supports a wide array of real-world chart comprehension and reasoning scenarios, thereby expanding the scope and applicability of our models to new kinds of tasks.
