Skip to content
aiqbench takeAI Products

aiqbench analysis

QueryWeaver addresses the reliability gap in multi-step, cross-tool queries by converting natural language inputs into structured graphs executed via a deterministic depth-first search planner. This architecture improves accuracy over traditional keyword search and maintains high performance even with smaller or locally hosted LLMs, making it viable for privacy-sensitive environments. The approach effectively decouples complex reasoning from stochastic generation, offering a robust framework for integrating fragmented data sources.
Source coveringarXiv
What this isA model's reading of the article and related coverage, written for aiqbench. Not the publisher's words.

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

arXiv2 min read

arXiv:2606.08300v1 Announce Type: new Abstract: 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.

Abstract: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.

Machine Learning (cs.LG)

arXiv:2606.08300 [cs.LG]

(or arXiv:2606.08300v1 [cs.LG] for this version)

https://doi.org/10.48550/arXiv.2606.08300 Focus to learn more arXiv-issued DOI via DataCite (pending registration)

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Full text under the publisher's open licence · 181 words

Related coverage