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

nvAgent:通过协作式智能体工作流从自然语言自动生成数据可视化

nvAgent: Automated Data Visualization from Natural Language via Collaborative Agent Workflow

Huazhong University of Science and Technology(华中科技大学);Beijing University of Posts and Telecommunications(北京邮电大学);Chongqing University(重庆大学)

Geliang Ouyang, Jingyao Chen, Zhihe Nie, Yi Gui, Yao Wan, Hongyu Zhang, Dongping Chen

AI总结:

nvAgent 提出一种由处理器、组合器和验证器三个智能体协作的 NL2Vis 工作流,在 VisEval 基准上单表和多表场景分别提升 7.88% 和 9.23%,显著优于现有方法。

摘要:

自然语言到可视化(NL2Vis)旨在将自然语言描述转换为给定表格的可视化表示,使用户能够从大规模数据中获取洞察。大语言模型(LLMs)的最新进展显示出在自动化代码生成方面的潜力,可将表格数据转化为易于理解的可视化结果。然而,它们在处理需要跨多个表格进行推理的复杂查询时往往表现不佳。为了解决这一局限,我们提出了一种协作式智能体工作流,称为 nvAgent,用于 NL2Vis。具体而言,nvAgent 由三个智能体组成:一个处理器智能体,负责数据库处理和上下文过滤;一个组合器智能体,负责规划可视化生成;以及一个验证器智能体,负责代码翻译和输出验证。在新的 VisEval 基准上的综合评估表明,nvAgent 持续超越最先进的基线方法,在单表场景中实现了 7.88% 的提升,在多表场景中实现了 9.23% 的提升。定性分析进一步强调,nvAgent 相比先前模型保持了近 20% 的性能优势,凸显了其从复杂、异构数据源生成高质量可视化表示的能力。

英文摘要:

Natural Language to Visualization (NL2Vis) seeks to convert natural-language descriptions into visual representations of given tables, empowering users to derive insights from large-scale data. Recent advancements in Large Language Models (LLMs) show promise in automating code generation to transform tabular data into accessible visualizations. However, they often struggle with complex queries that require reasoning across multiple tables. To address this limitation, we propose a collaborative agent workflow, termed nvAgent, for NL2Vis. Specifically, nvAgent comprises three agents: a processor agent for database processing and context filtering, a composer agent for planning visualization generation, and a validator agent for code translation and output verification. Comprehensive evaluations on the new VisEval benchmark demonstrate that nvAgent consistently surpasses state-of-the-art baselines, achieving a 7.88% improvement in single-table and a 9.23% improvement in multi-table scenarios. Qualitative analyses further highlight that nvAgent maintains nearly a 20% performance margin over previous models, underscoring its capacity to produce high-quality visual representations from complex, heterogeneous data sources.

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

↑