LLM4Vis: Explainable Visualization Recommendation using ChatGPT. Wang, L., Zhang, S., Wang, Y., Lim, E., & Wang, Y. October, 2023. arXiv:2310.07652 [cs]
Paper doi abstract bibtex 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. We make our code publicly available at \href\https://github.com/demoleiwang/LLM4Vis\\https://github.com/demoleiwang/LLM4Vis\.
@misc{wang_llm4vis_2023,
title = {{LLM4Vis}: {Explainable} {Visualization} {Recommendation} using {ChatGPT}},
shorttitle = {{LLM4Vis}},
url = {http://arxiv.org/abs/2310.07652},
doi = {10.48550/arXiv.2310.07652},
abstract = {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. We make our code publicly available at {\textbackslash}href\{https://github.com/demoleiwang/LLM4Vis\}\{https://github.com/demoleiwang/LLM4Vis\}.},
urldate = {2024-03-27},
publisher = {arXiv},
author = {Wang, Lei and Zhang, Songheng and Wang, Yun and Lim, Ee-Peng and Wang, Yong},
month = oct,
year = {2023},
note = {arXiv:2310.07652 [cs]},
keywords = {Computer Science - Computation and Language, Computer Science - Human-Computer Interaction},
}
Downloads: 0
{"_id":"Hs7stBEAHuHpYnDbn","bibbaseid":"wang-zhang-wang-lim-wang-llm4visexplainablevisualizationrecommendationusingchatgpt-2023","author_short":["Wang, L.","Zhang, S.","Wang, Y.","Lim, E.","Wang, Y."],"bibdata":{"bibtype":"misc","type":"misc","title":"LLM4Vis: Explainable Visualization Recommendation using ChatGPT","shorttitle":"LLM4Vis","url":"http://arxiv.org/abs/2310.07652","doi":"10.48550/arXiv.2310.07652","abstract":"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. We make our code publicly available at \\href\\https://github.com/demoleiwang/LLM4Vis\\\\https://github.com/demoleiwang/LLM4Vis\\.","urldate":"2024-03-27","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Wang"],"firstnames":["Lei"],"suffixes":[]},{"propositions":[],"lastnames":["Zhang"],"firstnames":["Songheng"],"suffixes":[]},{"propositions":[],"lastnames":["Wang"],"firstnames":["Yun"],"suffixes":[]},{"propositions":[],"lastnames":["Lim"],"firstnames":["Ee-Peng"],"suffixes":[]},{"propositions":[],"lastnames":["Wang"],"firstnames":["Yong"],"suffixes":[]}],"month":"October","year":"2023","note":"arXiv:2310.07652 [cs]","keywords":"Computer Science - Computation and Language, Computer Science - Human-Computer Interaction","bibtex":"@misc{wang_llm4vis_2023,\n\ttitle = {{LLM4Vis}: {Explainable} {Visualization} {Recommendation} using {ChatGPT}},\n\tshorttitle = {{LLM4Vis}},\n\turl = {http://arxiv.org/abs/2310.07652},\n\tdoi = {10.48550/arXiv.2310.07652},\n\tabstract = {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. We make our code publicly available at {\\textbackslash}href\\{https://github.com/demoleiwang/LLM4Vis\\}\\{https://github.com/demoleiwang/LLM4Vis\\}.},\n\turldate = {2024-03-27},\n\tpublisher = {arXiv},\n\tauthor = {Wang, Lei and Zhang, Songheng and Wang, Yun and Lim, Ee-Peng and Wang, Yong},\n\tmonth = oct,\n\tyear = {2023},\n\tnote = {arXiv:2310.07652 [cs]},\n\tkeywords = {Computer Science - Computation and Language, Computer Science - Human-Computer Interaction},\n}\n\n\n\n","author_short":["Wang, L.","Zhang, S.","Wang, Y.","Lim, E.","Wang, Y."],"key":"wang_llm4vis_2023","id":"wang_llm4vis_2023","bibbaseid":"wang-zhang-wang-lim-wang-llm4visexplainablevisualizationrecommendationusingchatgpt-2023","role":"author","urls":{"Paper":"http://arxiv.org/abs/2310.07652"},"keyword":["Computer Science - Computation and Language","Computer Science - Human-Computer Interaction"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/warren.pettine","dataSources":["zYjFbyFmZWKpRCD4j"],"keywords":["computer science - computation and language","computer science - human-computer interaction"],"search_terms":["llm4vis","explainable","visualization","recommendation","using","chatgpt","wang","zhang","wang","lim","wang"],"title":"LLM4Vis: Explainable Visualization Recommendation using ChatGPT","year":2023}