Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

ToolGraph as a Q-Function for Test-Time Scaling of Tool-Use Agents

  • Problem Not stated in the paper.
  • Method Compiles a tool-dependency graph once per catalog and composes its paths into a goal-conditioned action value, which is compared with personalized-PageRank retrieval over the same graph.
  • Results The LLM estimator Qllm reached a mean task success of 71.0 against 62.7 for TG–PPR across ToolComp and τ 2-Bench with three backbones, a gain of 8.3 points averaged over six settings.

Figure 1: ToolGraph externalizes domain-specific tool dependencies and uses graph-derived Q-values
to score candidate actions. The top-k values are verbalized…

Figure 1 : ToolGraph externalizes domain-specific tool dependencies and uses graph-derived Q-values to score candidate actions. The top-k values are verbalized for the original agent, which retains final action selection.

Original paper · CC BY 4.0 · Ke Shen, Ankita Bhaumik, Li Dong, Shengjie Liu, Shuzhen Li, Naveed Ahmed Janvekar · ToolGraph as a Q-Function for Test-Time Scaling of Tool-Use Agents · Original paper figure · Extracted the figure area from page 3 of the original PDF.

Why tool graphs need a value view

For long tasks, the harder part is usually chaining calls rather than making one call correctly. The agent needs to know which output can feed a later input, in what sequence, and under which conditions, and those facts belong to the deployed catalog more than to general language. Models that read documentation alone classified dependency relations at only 42.3–70.0% accuracy against an expert-annotated, parameter-level API graph.

Earlier systems use such graphs in three ways: to retrieve tools, to search for tool paths, or to score the call that comes next. None of these composes the graph into a value that spans several steps and is conditioned on a goal. The study asks whether the same structure can supply an estimate of how useful a candidate action is for reaching a goal from the current state.

Its main experiment ranks the same graph in two ways, by query-conditioned personalized PageRank and by a composed value, so the difference is attributable to how the graph is used.

The planner keeps the final choice of action.

What the ToolGraph stores and where its edges come from

A node holds a tool's name, class, domain, description, and input and output fields. An edge from tool A to tool B records that running A can supply information that B needs, and it stores the matched fields, the probe evidence and a combined confidence.

Interventional probing treats each tool as a black box: a language model proposes a dependency and a probe query, the query is executed with and without the predecessor, and an evaluator scores how much the predecessor contributed.

Each retained piece of evidence contributes a confidence, and the edge weight combines them. Edges whose weight falls below a per-benchmark threshold are discarded. The graph records which outputs can satisfy which inputs and which orderings have empirical support, but it does not contain complete task trajectories, so the Q-estimators must compose its local evidence across multi-tool paths.

The evidence is catalog-level: edges describe tools, not particular argument values, and this limit bounds what any graph-derived value can discriminate.

From graph paths to a goal-conditioned value

The estimator treats the state as the set of entities currently available, where an entity is a named datum passed between tools. An action is executable when all its required entities are present, and a successful call adds its produced entities, so effects only accumulate. Because the reachable states form a finite lattice, the value can be computed as a small fixed-point problem rather than a search over concrete states.

If no goal is inferred, the estimator abstains and returns a neutral score. The immediate reward is zero everywhere, so goal attainment enters only through the terminal boundary.

The backup for a non-terminal state gives the value of an action as a discounted mix of the value after success and the value of staying in the same entity state, weighted by the action's success probability. \[\bar Q_g(e,a)=\gamma\,[\,p_a V_g(e_a)+(1-p_a)V_g(e)\,],\qquad V_g(e)=\max_{a:\,I_a\subseteq e} q_g(e,a)\] The state value is the maximum over actions whose inputs are contained in the current entity set, and the failure branch is a self-loop in the value recursion rather than permission to retry an action within an episode.

The fixed point is found by value iteration over the reachable lattice, starting from the entity set the agent holds and stopping at terminal states under an explicit cap on enumerated states.

The confidence shrinkage multiplies the backup by a term that depends on the magnitude of the value and on one minus the action's confidence, controlled by κ. \[q_g(e,a)=\bar Q_g(e,a)-\kappa\,(1-c_a)\,\bigl|\bar Q_g(e,a)\bigr|,\qquad \kappa\in[0,1]\] Because the penalty is subtracted and scales the absolute value, it pulls positive values toward zero and pushes negative values further negative, so it is a magnitude penalty on dispersion rather than a lower confidence bound.

The penalty is applied at each backup step, so a value supported by a longer chain of dependencies is penalized more than a one-step value. The authors fix κ at 0.3 without tuning it and do not sweep it. The quantities p_a and c_a are both aggregations of the same incoming edge weights, with p_a their maximum and c_a their mean, so the penalty acts on one body of evidence rather than on two independent measurements.

A tool that has failed in the episode and never succeeded is assigned p_a = 0.

The Qdp value of a candidate is mapped from the range −1 to 1 onto 0 to 1 monotonically. A message-only candidate receives γ times the value of the current entity state, a modelling assumption because a catalog-level graph cannot judge conversational value. For a candidate that proposes several calls, the per-tool values are multiplied and the minimum confidence is used.

Learned and LLM estimators built on Qdp

\[Q_{emb}(s,a,g)=\sigma\bigl(\mathrm{MLP}[\,z_a\,\|\,z_s\,\|\,z_g\,]\bigr)\] It is trained to regress normalized Qdp targets over reachable states, so the training labels need no task annotation. The motivation is amortization: once trained, Qemb scores a candidate in one forward pass without enumerating the lattice, whereas Qdp is re-solved for each decision and goal.

The authors do not test transfer to unseen catalogs.

It returns a 0–10 score with a rationale, several samples are averaged, and the result is normalized to 0 to 1. Because the scorer can read concrete entity values, conversation state and policies that the catalog-level graph does not represent, it is the only estimator that sees the arguments, at a higher request-time cost.

The three estimators are nested: Qemb is distilled from Qdp, and Qllm is conditioned on the Qdp value. Their comparison therefore measures how much each adds over the estimator it contains rather than comparing three independent methods.

Each goal is recomputed with Qdp to fill a matrix of action–goal values, M[a,g] = Qdp(s,a,g) for candidate actions a and inferred goals g. \[M[a,g]=Q_{dp}(s,a,g),\qquad a\in A(s),\ g\in G(s)\] The verbalizer converts each row and its graph evidence into feedback text. It does not select the argmax and does not estimate a new value, and it costs one model call per decision.

Three budgets are separated: the injection width k, the number of candidate actions n the planner proposes, and the number of Qllm scorer samples per candidate.

Benchmarks, backbones and controls

Experiments use ToolComp and τ 2-Bench with three planner backbones: Ministral 3 8B, Gemma 4 31B and DeepSeek V3.2 685B.

It is produced by the same code path with the graph propagation removed, so it isolates the interface from the structure. The authors note that the flat arm also serves as a stand-in for removing the graph from Qllm, on an untested assumption that a scorer without graph evidence adds little over similarity ranking.

The injection width k is set to 8 on a stratified development split, and every arm draws 4 candidate actions per decision. The τ 2 test split has 100 tasks, with 20 airline, 40 retail and 40 telecom tasks, and the ToolComp evaluation split has 214 tasks. Gemma 4 31B serves as scorer and verbalizer, Sonnet 4.5 as the τ 2 user simulator, and the ToolComp answer judge is held fixed, so only the planner varies.

Retrieval against composed value

Moving from the Native agent to flat top-k retrieval changes the interface, since the injected block is added to the prompt. Flat retrieval loses in five of six settings, by −3.1, −1.0 and −1.0 on ToolComp and by −6.0, −5.0 and 0.0 on τ 2-Bench, and the mean falls from 63.6 to 60.9.

TG–PPR helps in five of six settings, by +1.0, +2.5 and −2.6 on ToolComp and by +3.0, +4.5 and +2.0 on τ 2-Bench, and the mean rises from 60.9 to 62.7. TG–PPR still sits 0.9 points below Native on the mean, so the structure does not fully repay the interface.

Qdp reaches a mean of 59.9 and Qemb a mean of 58.0, both below TG–PPR at 62.7. Qdp wins three of six cells against TG–PPR, with differences of +1.0, −2.5 and +4.1 on ToolComp and +1.0, −12.5 and −7.4 on τ 2-Bench, and its two large losses outweigh the three wins, leaving it 2.8 points below TG–PPR on the mean. Qemb wins one cell and loses 4.7 points on the mean.

Qllm reaches a mean of 71.0 and beats TG–PPR in all six settings, by +7.2, +5.6 and +8.5 on ToolComp and by +16.0, +6.5 and +6.0 on τ 2-Bench. Averaged over those six settings, the gain over TG–PPR is 8.3 points.

The authors attribute the structural estimators' shortfall partly to argument blindness: TG–PPR and the structural estimators all rank tool types, so they cannot separate a correct tool called with the wrong argument. On this reading, Qdp serves better as the scorer's prior and admissibility filter than as a direct ranker. These cells are point estimates without intervals, so small differences are not ordered.

How much graph evidence the scorer should see

Taking Qllm as the best estimator, the study varies the evidence budget on τ 2-Bench along four knobs: the neighbourhood radius h, the edge-weight threshold θ, the per-node annotation depth, and the number of candidates n. Rather than crossing the knobs, the study runs four one-factor sweeps through an anchor configuration, which amounts to fourteen configurations.

The anchor configuration is h=1, θ=0.0, N0 and n=4, and it reads 65.8 on the macro average of success over three planners and three domains. Every knob except θ is non-monotone, and its peak sits at or near the second level, with h=1, N1 and n=4 as the macro peaks. Raising n to 8 adds 116.6K tokens over n=4 and loses 1.7 points. Raising θ to 0.9 removes over half the edges, saves 9.5K tokens and costs 2.5 points, so pruning to save tokens does not pay here.

Each block is read against its own cost, and the construction term C is amortized as C/N over N reusing tasks and kept separate from request-time tokens. Over the 100 evaluated τ 2 tasks, the amortized construction cost is 88K tokens per task, which is comparable to the anchor's 155K of request-time cost, so the authors do not treat construction as free.

The amortized term falls as the number of reusing tasks grows, so the argument concerns deployments with many more requests than this test split.

Node annotation is the cheapest gain: moving from N0 to N1 adds 0.6 points for 3.3K tokens. Radius adds 1.4 points for 18.3K tokens, and candidate count adds 5.3 points for 87.5K tokens, the largest absolute effect. With n=1, the verbalizer's feedback alone reaches 61.1, which the authors describe as most of the anchor's success at a much lower budget.

Limitations

Qemb transfer to unseen catalogs was not tested, and code, graph artifacts and trajectories cannot be released. The κ coefficient was fixed at 0.3 and not swept, so the gap of the structural estimators is not tested against it.

What the split answer means for compiled graphs

The study's answer is neither to retrieve from the graph nor to rank by its value alone; the result points to a composition of the two.

Paper info

Authors
Ke Shen, Ankita Bhaumik, Li Dong, Shengjie Liu, Shuzhen Li, Naveed Ahmed Janvekar
Venue
arXiv · Preprint
First published
2026-11-16
Added
2026-11-17
Updated
2026-11-16
Version
v1
arXiv
2611.20569
Category
cs.AI
Original paper terms
CC BY 4.0
What we show
Paper info, commentary and permitted figures from the original paper

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

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 \emph{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.

Quote from the paper

Ke Shen, Ankita Bhaumik, Li Dong, Shengjie Liu, Shuzhen Li, Naveed Ahmed Janvekar (2026). ToolGraph as a Q-Function for Test-Time Scaling of Tool-Use Agents. arXiv:2611.20569v1. https://arxiv.org/abs/2611.20569v1

BibTeX
@misc{shen2026toolgraph,
  title = {{ToolGraph as a Q-Function for Test-Time Scaling of Tool-Use Agents}},
  author = {Ke Shen and Ankita Bhaumik and Li Dong and Shengjie Liu and Shuzhen Li and Naveed Ahmed Janvekar},
  year = {2026},
  eprint = {2611.20569},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.20569v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up