LLM4Vis: Explainable visualization recommendation using ChatGPT
Data visualization is a powerful tool for exploring and communicating insights in various domains. To automate visualization choice for datasets, a task known as visualization recommendation has been proposed. Various machine-learning-based approaches have been developed for this purpose, but they o...
Saved in:
Main Authors: | , , , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2023
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/8330 https://ink.library.smu.edu.sg/context/sis_research/article/9333/viewcontent/2023.emnlp_industry.64.pdf |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Singapore Management University |
Language: | English |
id |
sg-smu-ink.sis_research-9333 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-93332024-04-18T03:18:43Z LLM4Vis: Explainable visualization recommendation using ChatGPT WANG, Lei ZHANG, Songheng WANG, Yun LIM, Ee-peng WANG, Yong Data visualization is a powerful tool for exploring and communicating insights in various domains. To automate visualization choice for datasets, a task known as visualization recommendation has been proposed. Various machine-learning-based approaches have been developed for this purpose, but they often require a large corpus of dataset-visualization pairs for training and lack natural explanations for their results. To address this research gap, we propose LLM4Vis, a novel ChatGPT-based prompting approach to perform visualization recommendation and return human-like explanations using very few demonstration examples. Our approach involves feature description, demonstration example selection, explanation generation, demonstration example construction, and inference steps. To obtain demonstration examples with high-quality explanations, we propose a new explanation generation bootstrapping to iteratively refine generated explanations by considering the previous generation and templatebased hint. Evaluations on the VizML dataset show that LLM4Vis outperforms or performs similarly to supervised learning models like Random Forest, Decision Tree, and MLP in both few-shot and zero-shot settings. The qualitative evaluation also shows the effectiveness of explanations generated by LLM4Vis. We make our code publicly available at https://github.com/demoleiwang/LLM4Vis. 2023-12-01T08:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/8330 info:doi/10.18653/v1/2023.emnlp-industry.64 https://ink.library.smu.edu.sg/context/sis_research/article/9333/viewcontent/2023.emnlp_industry.64.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Dataset visualization Example selection Feature description High quality Human like Large corpora Learning-based approach Machine-learning Artificial Intelligence and Robotics Databases and Information Systems |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
Dataset visualization Example selection Feature description High quality Human like Large corpora Learning-based approach Machine-learning Artificial Intelligence and Robotics Databases and Information Systems |
spellingShingle |
Dataset visualization Example selection Feature description High quality Human like Large corpora Learning-based approach Machine-learning Artificial Intelligence and Robotics Databases and Information Systems WANG, Lei ZHANG, Songheng WANG, Yun LIM, Ee-peng WANG, Yong LLM4Vis: Explainable visualization recommendation using ChatGPT |
description |
Data visualization is a powerful tool for exploring and communicating insights in various domains. To automate visualization choice for datasets, a task known as visualization recommendation has been proposed. Various machine-learning-based approaches have been developed for this purpose, but they often require a large corpus of dataset-visualization pairs for training and lack natural explanations for their results. To address this research gap, we propose LLM4Vis, a novel ChatGPT-based prompting approach to perform visualization recommendation and return human-like explanations using very few demonstration examples. Our approach involves feature description, demonstration example selection, explanation generation, demonstration example construction, and inference steps. To obtain demonstration examples with high-quality explanations, we propose a new explanation generation bootstrapping to iteratively refine generated explanations by considering the previous generation and templatebased hint. Evaluations on the VizML dataset show that LLM4Vis outperforms or performs similarly to supervised learning models like Random Forest, Decision Tree, and MLP in both few-shot and zero-shot settings. The qualitative evaluation also shows the effectiveness of explanations generated by LLM4Vis. We make our code publicly available at https://github.com/demoleiwang/LLM4Vis. |
format |
text |
author |
WANG, Lei ZHANG, Songheng WANG, Yun LIM, Ee-peng WANG, Yong |
author_facet |
WANG, Lei ZHANG, Songheng WANG, Yun LIM, Ee-peng WANG, Yong |
author_sort |
WANG, Lei |
title |
LLM4Vis: Explainable visualization recommendation using ChatGPT |
title_short |
LLM4Vis: Explainable visualization recommendation using ChatGPT |
title_full |
LLM4Vis: Explainable visualization recommendation using ChatGPT |
title_fullStr |
LLM4Vis: Explainable visualization recommendation using ChatGPT |
title_full_unstemmed |
LLM4Vis: Explainable visualization recommendation using ChatGPT |
title_sort |
llm4vis: explainable visualization recommendation using chatgpt |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2023 |
url |
https://ink.library.smu.edu.sg/sis_research/8330 https://ink.library.smu.edu.sg/context/sis_research/article/9333/viewcontent/2023.emnlp_industry.64.pdf |
_version_ |
1814047491781296128 |