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

面向可靠智能体渐进式文本到可视化的验证规则

Towards Reliable Agentic Progressive Text-to-Visualization with Verification Rules

The Hong Kong Polytechnic University(香港理工大学);ByteDance(字节跳动);The Hong Kong University of Science and Technology(香港科技大学)

Wenxin Xu, Chen Jason Zhang, Xiaoyong Wei, Haoyang Li, Hwanhee Kim, Yuanfeng Song, Raymond Chi-Wing Wong

AI总结:

提出渐进式多轮交互范式PMVis及基于智能体的框架PMVisAgent,通过验证规则和修复机制减少错误累积,在单表和多表设置中执行准确率分别提升17.57%和23.21%。

摘要:

文本到可视化(Text-to-Vis)将自然语言查询转换为可视化查询语言,使非专家用户能够进行数据分析。然而,现有方法大多遵循一次性范式,要求用户在一轮中指定所有可视化细节,常常导致认知过载和不正确的可视化。本文提出PMVis,一种渐进式多轮文本到可视化范式,通过多轮交互精炼用户意图。为支持该范式的研究,我们构建了PMVisBench,这是第一个旨在捕捉真实用户查询渐进和迭代性质的数据集。它通过VQL简化和NLQ重构构建,并带有显式规则约束以确保每个中间VQL有效且有意义。基于PMVis,我们进一步引入PMVisAgent,一个模拟真实用户-系统对话的智能体框架。PMVisAgent由用户、系统和验证智能体组成,验证智能体通过ReAct风格的工具使用循环执行验证和修复,以减轻跨轮错误累积,并带有显式交互和验证规则以确保多智能体系统的可靠性。在PMVisBench上的大量实验表明,PMVisAgent显著优于最先进的文本到可视化基线。它在单表和多表设置中分别实现了高达17.57%和23.21%的执行准确率提升,而消融研究证实了将渐进式交互与澄清相结合的重要性。代码可在https://github.com/wxxv/PMVis获取。

英文摘要:

Text-to-Visualization (Text-to-Vis) translates natural language queries into visualization query languages, enabling non-expert users to perform data analysis. However, most existing methods follow a one-shot paradigm that requires users to specify all visualization details in a single round, often leading to cognitive overload and incorrect visualizations. In this paper, we propose PMVis, a progressive multi-turn paradigm for text-to-vis, where users' intents are refined through multi-turn interactions. To support research in this paradigm, we construct PMVisBench, the first dataset designed to capture the progressive and iterative nature of real-world user queries. It is built through VQL simplification and NLQ reconstruction, with explicit rule constraints to ensure each intermediate VQL remains valid and meaningful. Building upon PMVis, we further introduce PMVisAgent, an agent-based framework that simulates realistic user-system dialogues. PMVisAgent consists of a User, a System, and a Validation Agent that performs verification and repair via a ReAct-style tool-use loop to mitigate error accumulation across rounds, with explicit interaction and verification rules to ensure reliability of the multi-agent system. Extensive experiments on PMVisBench demonstrate that PMVisAgent significantly outperforms state-of-the-art text-to-vis baselines. It achieves up to 17.57\% and 23.21\% improvements in execution accuracy in single-table and multi-table settings, respectively, while ablation studies confirm the importance of combining progressive interaction with clarification. The code is available at https://github.com/wxxv/PMVis.

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

↑