arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.11255cs.HC
收藏

利用大语言模型进行可视化生成:一项评估

Visualization Generation with Large Language Models: An Evaluation

Beijing Institute of Technology(北京理工大学);University of Oxford(牛津大学)

Xinyu Wang, Chenwei Liang, Shunyuan Zheng, Jinyuan Liang, Guozheng Li, Yu Zhang, Chi Harold Liu

AI总结:

本文评估了不同大语言模型在NL2VIS任务中生成可视化规范的能力,发现提示策略、图表类型和模型间存在显著性能差异,并提出改进基准的方向。

摘要:

分析师频繁需要创建可视化以从数据中提取洞察力,推动了大量关于自然语言到可视化(NL2VIS)生成的研究。尽管大语言模型(LLMs)的近期进展表明它们有潜力有效支持NL2VIS任务,但现有研究缺乏对不同LLMs在不同提示策略下性能的系统性调查。本文填补了这一空白,贡献了LLMs在生成NL2VIS任务可视化规范方面的关键基准评估。我们的评估使用nvBench数据集,采用六个代表性的LLMs和八种不同的提示策略,评估它们在使用Vega-Lite可视化规范生成六种目标图表类型时的性能。我们通过多个指标评估模型性能,包括可视化准确性、有效性和合法性。我们的结果揭示了提示策略、图表类型和LLMs之间显著的性能差异。此外,基于评估结果,我们发现了这些维度中的若干反直觉行为,并提出了改进NL2VIS基准以更好地支持未来NL2VIS研究的方向。

英文摘要:

The frequent need for analysts to create visualizations to derive insights from data has driven extensive research into the generation of natural Language to Visualization (NL2VIS). While recent progress in large language models (LLMs) suggests their potential to effectively support NL2VIS tasks, existing studies lack a systematic investigation into the performance of different LLMs under various prompt strategies. This paper addresses this gap and contributes a crucial baseline evaluation of LLMs' capabilities in generating visualization specifications of NL2VIS tasks. Our evaluation utilizes the nvBench dataset, employing six representative LLMs and eight distinct prompt strategies to evaluate their performance in generating six target chart types using the Vega-Lite visualization specification. We assess model performance with multiple metrics, including vis accuracy, validity and legality. Our results reveal substantial performance disparities across prompt strategies, chart types, and LLMs. Furthermore, based on the evaluation results, we uncover several counterintuitive behaviors across these dimensions, and propose directions for enhancing the NL2VIS benchmark to better support future NL2VIS research.

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

↑