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/8547 https://ink.library.smu.edu.sg/context/sis_research/article/9550/viewcontent/2023.emnlp_industry.64__1_.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-9550 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-95502024-01-22T14:49:52Z 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 template-based 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. 2023-12-01T08:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/8547 info:doi/10.18653/v1/2023.emnlp-industry.64 https://ink.library.smu.edu.sg/context/sis_research/article/9550/viewcontent/2023.emnlp_industry.64__1_.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 ChatGPT visualization recommendation Artificial Intelligence and Robotics Computer Sciences |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
ChatGPT visualization recommendation Artificial Intelligence and Robotics Computer Sciences |
spellingShingle |
ChatGPT visualization recommendation Artificial Intelligence and Robotics Computer Sciences 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 template-based 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. |
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/8547 https://ink.library.smu.edu.sg/context/sis_research/article/9550/viewcontent/2023.emnlp_industry.64__1_.pdf |
_version_ |
1789483262778802176 |