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

探索大语言模型在SVG数据可视化上执行低层级视觉分析任务的能力

Exploring the Capability of LLMs in Performing Low-Level Visual Analytic Tasks on SVG Data Visualizations

Zhongzheng Xu, Emily Wall

AI总结:

本文通过零样本提示评估大语言模型在SVG可视化上执行10项低层级视觉分析任务的能力,发现其在聚类等任务上表现良好,但在计算派生值等数学任务上表现较差,且性能受数据点数量、数值标签和图表类型等因素影响。

摘要:

数据可视化有助于从数据集中提取洞察,但达成这些洞察需要将高层目标分解为低层级分析任务,而由于用户的数据素养和可视化经验程度不同,这些任务可能十分复杂。大语言模型(LLMs)的最新进展已显示出降低用户完成诸如编写代码等任务门槛的前景,并可能同样促进可视化洞察的获取。可缩放矢量图形(SVG)是一种在数据可视化中常见的基于文本的图像格式,与基于Transformer的LLMs的文本序列处理方式高度契合。在本文中,我们探索了LLMs直接在基于SVG的可视化上执行Amar、Eagan和Stasky所定义的10项低层级视觉分析任务的能力。我们使用零样本提示,指示模型基于给定的可视化提供回答或修改SVG代码。我们的研究结果表明,LLMs能够有效地为某些任务(如聚类Cluster)修改现有的SVG可视化,但在需要数学运算的任务(如计算派生值Compute Derived Value)上表现不佳。我们还发现,LLM的表现可能因数据点数量、数值标签的存在以及图表类型等因素而变化。我们的发现有助于衡量LLMs的通用能力,并凸显了进一步探索和开发的必要性,以充分挖掘其在支持视觉分析任务方面的潜力。

英文摘要:

Data visualizations help extract insights from datasets, but reaching these insights requires decomposing high level goals into low-level analytic tasks that can be complex due to varying degrees of data literacy and visualization experience. Recent advancements in large language models (LLMs) have shown promise for lowering barriers for users to achieve tasks such as writing code and may likewise facilitate visualization insight. Scalable Vector Graphics (SVG), a text-based image format common in data visualizations, matches well with the text sequence processing of transformer-based LLMs. In this paper, we explore the capability of LLMs to perform 10 low-level visual analytic tasks defined by Amar, Eagan, and Stasko directly on SVG-based visualizations. Using zero-shot prompts, we instruct the models to provide responses or modify the SVG code based on given visualizations. Our findings demonstrate that LLMs can effectively modify existing SVG visualizations for some tasks like Cluster but perform poorly on tasks requiring mathematical operations like Compute Derived Value. We also discovered that LLM performance can vary based on factors such as the number of data points, the presence of value labels, and the chart type. Our findings contribute to gauging the general capabilities of LLMs and highlight the need for further exploration and development to fully harness their potential in supporting visual analytic tasks.

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

↑