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

QueryWeaver: 基于LLM图生成的可靠多工具查询执行规划

QueryGraph: Reliable Multi-Tool Query Execution Planning via LLM-Based Graph Generation

School of Computational Science and Engineering, Georgia Institute of Technology, Atlanta, GA, USA(计算科学与工程学院,佐治亚理工学院,亚特兰大,GA,美国)

Aishwarya Chakravarthy, Vidhi Kulkarni, Duen Horng Chau

AI总结:

提出将自然语言查询转换为结构化图并通过确定性规划器执行的系统,利用深度优先搜索解决跨工具依赖,实现高可靠性查询。

摘要:

许多对个人数据的真实查询跨越多个应用程序,需要结构化规划,因为单个工具只暴露部分信息。虽然LLM展示了强大的推理和工具使用能力,但可靠地执行多步骤、跨工具查询仍然具有挑战性。我们引入了一个系统,将自然语言查询转换为结构化图,并通过确定性规划器执行它们。我们的方法使用深度优先搜索来解决依赖关系并跨工具组合结果,提高了可靠性,并支持超越传统基于关键词搜索的查询。我们展示了即使在较小或本地托管的LLM上也能实现高精度。

英文摘要:

Many real-world queries over personal data span multiple applications and require structured planning, as individual tools expose only partial information. While LLMs show strong reasoning and tool use, reliably executing multi-step, cross-tool queries remains challenging. We introduce a system that converts natural language queries into structured graphs and executes them via a deterministic planner. Our approach uses depth-first search to resolve dependencies and combine results across tools, improving reliability and enabling queries beyond traditional keyword-based search. We demonstrate high accuracy even with smaller or locally hosted LLMs.

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

↑