Understanding data visualizations like charts and plots requires reasoning about both visual elements and numerics. Although strong in extractive questions, current chart visual question answering (chart VQA) models suffer on complex reasoning questions. In this work, we address the lack of reasoning ability by data augmentation. We leverage Large Language Models (LLMs), which have shown to have strong reasoning ability, as an automatic data annotator that generates question-answer annotations for chart images. The key innovation in our method lies in the Synthesize Step-by-Step strategy: our LLM-based data generator learns to decompose the complex question into step-by-step sub-questions (rationales), which are then used to derive the final answer using external tools, i.e. Python. This step-wise generation procedure is trained on synthetic data generated using a template-based QA generation pipeline. Experimental results highlight the significance of the proposed step-by-step generation. By training with the LLM-augmented data (LAMENDA), we significantly enhance the chart VQA models, achieving the state-of-the-art accuracy on the ChartQA and PlotQA datasets. In particular, our approach improves the accuracy of the previous state-of-the-art approach from 38% to 54% on the human-written questions in the ChartQA dataset, which needs strong reasoning. We hope our work underscores the potential of synthetic data and encourages further exploration of data augmentation using LLMs for reasoning-heavy tasks.
翻译:理解图表等数据可视化需要同时推理视觉元素与数值信息。尽管现有图表视觉问答(chart VQA)模型在提取式问题上表现强劲,但在复杂推理问题上仍有不足。本文通过数据增强来解决推理能力缺失问题。我们利用具有强大推理能力的大语言模型(LLM)作为自动数据标注器,为图表图像生成问答标注。我们方法的关键创新在于“逐步合成”策略:基于LLM的数据生成器学习将复杂问题分解为逐步子问题(推理链),随后借助外部工具(如Python)推导最终答案。该逐步生成过程通过基于模板的问答生成流水线产生的合成数据进行训练。实验结果凸显了所提出的逐步生成方法的重要性。通过使用LLM增强数据(LAMENDA)进行训练,我们显著提升了图表VQA模型性能,在ChartQA和PlotQA数据集上达到了最先进的准确率。特别地,在ChartQA数据集中需要强推理能力的人工编写问题上,我们的方法将先前最优方法的准确率从38%提升至54%。我们期望这项工作能凸显合成数据的潜力,并鼓励进一步探索利用LLM进行推理密集型任务的数据增强。