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

VegaChat: 一种基于大语言模型的图表生成与评估稳健框架

VegaChat: A Robust Framework for LLM-Based Chart Generation and Assessment

JetBrains

Marko Hostnik, Rauf Kurbanov, Yaroslav Sokolov, Artem Trofimov

AI总结:

VegaChat通过引入Spec Score和Vision Score两个指标,解决了LLM基于自然语言生成可视化中的评估难题,实现了高准确率的图表生成与评估。

摘要:

基于大语言模型(LLMs)的自然语言到可视化(NL2VIS)系统显著提高了数据可视化的可访问性。然而,其进一步采用受到两个相互关联的挑战的阻碍:(i)缺乏标准化的评估指标使得难以评估领域内的进展并比较不同方法;(ii)自然语言描述本质上是不充分的,因此相同的查询可能产生多种有效的可视化。为了解决这些问题,我们引入了VegaChat,一种从自然语言生成、验证和评估声明性可视化的框架。我们提出了两个互补的指标:Spec Score,一个确定性的指标,用于测量规格层面的相似性而不调用LLM;Vision Score,一个库无关、基于图像的指标,利用多模态LLM来评估图表相似性和提示合规性。我们对NLV语料库和ChartLLM的注释子集进行了评估。VegaChat实现了接近零率的无效或空的可视化,而Spec Score和Vision Score与人类判断之间表现出强相关性(Pearson 0.65和0.71),表明所提出的指标支持一致的、跨库比较。代码和评估工具包可在https://zenodo.org/records/17062309获取。

英文摘要:

Natural-language-to-visualization (NL2VIS) systems based on large language models (LLMs) have substantially improved the accessibility of data visualization. However, their further adoption is hindered by two coupled challenges: (i) the absence of standardized evaluation metrics makes it difficult to assess progress in the field and compare different approaches; and (ii) natural language descriptions are inherently underspecified, so multiple visualizations may be valid for the same query. To address these issues, we introduce VegaChat, a framework for generating, validating, and assessing declarative visualizations from natural language. We propose two complementary metrics: Spec Score, a deterministic metric that measures specification-level similarity without invoking an LLM, and Vision Score, a library-agnostic, image-based metric that leverages a multimodal LLM to assess chart similarity and prompt compliance. We evaluate VegaChat on the NLV Corpus and on the annotated subset of ChartLLM. VegaChat achieves near-zero rates of invalid or empty visualizations, while Spec Score and Vision Score exhibit strong correlation with human judgments (Pearson 0.65 and 0.71, respectively), indicating that the proposed metrics support consistent, cross-library comparison. The code and evaluation artifacts are available at https://zenodo.org/records/17062309.

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

↑