arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2507.01436cs.HCcs.AI
收藏

基于大语言模型的可视化重定向挑战与机遇

Challenges & Opportunities with LLM-Assisted Visualization Retargeting

University of Washington(华盛顿大学);Microsoft Research(微软研究院)

Luke S. Snyder, Chenglong Wang, Steven M. Drucker

AI总结:

本文探讨了大语言模型在可视化重定向中的应用挑战与机遇,通过对比两种方法评估LLM在代码生成和适应中的性能及局限性。

摘要:

尽管网络上广泛发布了可视化示例,将现有定制图表实现重定向到新数据集仍然困难、耗时且繁琐。适应过程假定作者熟悉示例的实现以及新数据集如何转换以适应示例代码。随着大语言模型(LLMs)的最新进展,可以通过高级用户提示自动适应代码,从而降低可视化重定向的障碍。为了更好地理解LLMs如何帮助重定向及其潜在限制,我们对多个数据集和不同复杂度的图表进行了特征化和性能评估,根据失败类型和严重程度对失败进行分类。在我们的评估中,我们比较了两种方法:(1)直接指示LLM模型通过将代码视为文本输入来完全生成和适应代码;(2)一种更受约束的程序合成流程,其中LLM通过提供结构信息(例如视觉编码)来指导代码构建过程,基于示例代码和数据的属性。我们发现,当新数据未适当转换时,两种方法都面临困难,并讨论了未来重定向系统的重要设计建议。

英文摘要:

Despite the ubiquity of visualization examples published on the web, retargeting existing custom chart implementations to new datasets remains difficult, time-intensive, and tedious. The adaptation process assumes author familiarity with both the implementation of the example as well as how the new dataset might need to be transformed to fit into the example code. With recent advances in Large Language Models (LLMs), automatic adaptation of code can be achieved from high-level user prompts, reducing the barrier for visualization retargeting. To better understand how LLMs can assist retargeting and its potential limitations, we characterize and evaluate the performance of LLM assistance across multiple datasets and charts of varying complexity, categorizing failures according to type and severity. In our evaluation, we compare two approaches: (1) directly instructing the LLM model to fully generate and adapt code by treating code as text inputs and (2) a more constrained program synthesis pipeline where the LLM guides the code construction process by providing structural information (e.g., visual encodings) based on properties of the example code and data. We find that both approaches struggle when new data has not been appropriately transformed, and discuss important design recommendations for future retargeting systems.

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

↑