arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.07652cs.HCcs.CL
收藏

LLM4Vis:使用ChatGPT的可解释可视化推荐

LLM4Vis: Explainable Visualization Recommendation using ChatGPT

Singapore Management University(新加坡管理大学);Microsoft Research Asia(微软亚洲研究院)

Lei Wang, Songheng Zhang, Yun Wang, Ee-Peng Lim, Yong Wang

AI总结:

提出LLM4Vis,一种基于ChatGPT的提示方法,通过少量示例实现可解释的可视化推荐,在VizML数据集上优于或媲美监督学习模型,并生成类人解释。

摘要:

数据可视化是在各个领域中探索和交流见解的强大工具。为了自动化数据集的可视化选择,研究者提出了一个名为可视化推荐的任务。为此,已经开发了多种基于机器学习的方法,但这些方法通常需要大量的数据集-可视化配对语料进行训练,并且缺乏对其结果的自然解释。为了弥补这一研究空白,我们提出了LLM4Vis,一种新颖的基于ChatGPT的提示方法,通过极少的演示示例来执行可视化推荐并返回类人的解释。我们的方法包括特征描述、演示示例选择、解释生成、演示示例构建和推理步骤。为了获得具有高质量解释的演示示例,我们提出了一种新的解释生成引导方法,通过考虑先前生成的结果和基于模板的提示来迭代地改进生成的解释。在VizML数据集上的评估表明,LLM4Vis在少样本和零样本设置下均优于或与监督学习模型(如随机森林、决策树和MLP)表现相当。定性评估也显示了LLM4Vis生成的解释的有效性。我们的代码已在https://github.com/demoleiwang/LLM4Vis公开提供。

英文摘要:

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}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑