PromptChart: prompting InstructGPT for zero & few-shot chart question answering and summarization
Charts are commonly used in data analysis to summarize key insights and answer complex queries. However, comprehending charts through tasks such as chart question answering (CQA) and chart summarization (CS) can be cognitively intensive. Existing state-of-the-art models rely on fine-tuning strategie...
Saved in:
Main Author: | |
---|---|
Other Authors: | |
Format: | Final Year Project |
Language: | English |
Published: |
Nanyang Technological University
2023
|
Subjects: | |
Online Access: | https://hdl.handle.net/10356/166497 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Nanyang Technological University |
Language: | English |
Summary: | Charts are commonly used in data analysis to summarize key insights and answer complex queries. However, comprehending charts through tasks such as chart question answering (CQA) and chart summarization (CS) can be cognitively intensive. Existing state-of-the-art models rely on fine-tuning strategies and struggle with tasks that involve logical and arithmetic reasoning. Meanwhile, large language models (LLMs) such as InstructGPT have demonstrated strong capabilities to solve target tasks by conditioning on few-shot prompts. Nonetheless, exploring how chart comprehension tasks could benefit from LLMs has received limited attention, especially in the few-shot setting. To bridge this gap, we present PromptChart, the first multimodal framework for few-shot CQA and CS. It consists of three modules: (i) InstructGPT for generating the textual responses, (ii) Visual Data Table Generator (VDTG) aiming to output our proposed visual data tables which integrate data tables and visual colors from charts, and (iii) Prompt Constructor (PC) focusing on creating few-shot prompts. To construct the prompts, we analyze the chart benchmarks carefully, and define a set of attributes for each task to guide the prompt constructions. Compared with existing CQA and CS baselines, PromptChart achieves state-of-the-art performance with significant improvements in automatic metrics and human preferences. |
---|