ToolGraph as a Q-Function for Test-Time Scaling of Tool-Use Agents
Ke Shen, Ankita Bhaumik, Li Dong, Shengjie Liu, Shuzhen Li, Naveed Ahmed Janvekar
Abstract
Tool-use agents must chain interdependent calls, yet which outputs satisfy which later inputs in a deployed catalog is not something a general-purpose language model reliably infers from tool descriptions alone. We compile that structure once into a reusable external representation. ToolGraph is a directed, weighted dependency graph over a tool catalog: parameter matching and interventional probes, which execute a candidate chain with and without its proposed predecessor, propose edges whose evidence is combined into an edge confidence. Prior work uses such graphs to retrieve tools, search for tool paths, or score the next call. We ask instead whether the same structure can supply a multi-step value by composing graph paths into a goal-conditioned action value \(Q(s,a,g)\). We study three estimators (dynamic programming over entity sets, a GraphSAGE estimator distilled from it, and an LLM scorer conditioned on graph evidence) plus a verbalizer that returns action--goal feedback to the agent, which keeps final action selection. Across two tool-use benchmarks and three backbones, we compare value ranking against personalized-PageRank retrieval over the identical graph, and against direct and reflective agents. Composition pays off only when the estimator also reads the concrete state: the LLM estimator improves on PageRank in every benchmark--backbone setting, by \(8.3\) points on average, while the two purely structural estimators fall below it, because a value defined over tool types cannot separate a correct tool called with a wrong argument. Graph construction is a one-time cost; we report it separately rather than assume it amortized away (at our scale it is comparable to request-time cost) and sweep four knobs controlling how much graph evidence to expose against success and tokens.
Create a lesson
Related papers
Keep the Process, Change the Supplier: Runtime Governance for Tool-Using AI Agents
Shared title terminology · Deepak Waghmare, Shaad Sufi
A Matrix with Steps: An Episodic and Procedural Memory Method for Tool-Using Agents and Robots
Shared title terminology · Jürgen Paulhart, Peter Schüller
When Agents Play Differently: Localizing Human--Agent Behavioral Divergence with Conditional Distributional Testing
Shared title terminology · Oleg Smirnov, John Pertoft, Sara Karimi
Generalist Meets Specialists: An Evolving Multimodal Agent with Persistent Tool Orchestration for Traffic Scenario Understanding
Shared title terminology · Linjia Kang, Binhan Jiang, Juan Yang et al.
Continual Tool-Space Extension Learning for Multimodal Agents
Shared title terminology · Jinbae Seo, Jungin Park, Hyunsung Jang et al.
RefinementGuard: Counterexample-Directed Semantic Qualification for Hidden Agent-Tool Execution
Shared title terminology · Adhyayan Veer Singh, Fanjiang Ye, Yuke Wang