論文解説
ToolGraph as a Q-Function for Test-Time Scaling of Tool-Use Agents
Q関数としてのToolGraph:ツール利用エージェントのTest-Time Scalingに向けて
- 課題 ツール利用エージェントが連鎖的に呼び出しを行う際、ツール間の依存構造を言語モデルが安定して読み取るのは困難です。
- 手法 依存グラフ上でエンティティ集合に対する単調緩和価値を計算し、それを蒸留した推定器とLLM採点器で行動と目標の値を作って、元のエージェントにフィードバックします。
- 結果 Qllmは、ToolCompとτ 2-Benchの6つのベンチマーク・バックボーン設定すべてで個人化PageRankを上回り、平均は8.3点上がりました。構造のみの推定器QdpとQembは、平均ではPPRを下回りました。
ツールチェーンの依存構造を価値に変える問題
ツール利用エージェントは、あるツールの出力が次のツールの入力になる連鎖呼び出しを行う必要があります。どの出力がどの後続入力を満たすかは、デプロイされたツールカタログの構造で決まりますが、ツールの説明を一つずつ読む言語モデルがこれを安定して推論するのは困難です。この論文では、同じ依存グラフを検索や次の呼び出しの採点に使うのではなく、多段階の目標条件付き行動価値Q(s, a, g)として合成できるかを検討しています。グラフの構築は、カタログ単位で一度だけ発生するコストとして別途報告されています。
グラフから行動価値を計算する方法
ToolGraphは、ツールをノード、あるツールが別のツールに必要な情報を供給できることを有向エッジで表します。エッジは、パラメータ照合と介入プローブが示した根拠を組み合わせた信頼度w_abを持ち、しきい値未満のエッジは除去されます。Qdpは、エンティティ集合を状態とし、効果がエンティティを追加するだけの単調緩和の上で、Q̄_g(e, a)=γ[p_a V_g(e_a)+(1−p_a)V_g(e)]とV_g(e)=max_a q_g(e, a)を価値反復で解きます。ここでV_gは、目標ツールが実行可能な終了状態では+1、実行可能な行動がない行き止まりの状態では−1です。信頼度の縮小式2は、q_gの大きさにκ(1−c_a)を掛けた値を差し引きます。
論文では、この縮小は楽観的な値を0の方へ下げ、悲観的な値をさらに深くする大きさのペナルティであると説明されており、κは0.3に固定したと述べられています。Qembは、GraphSAGEで正規化したQdpの目標値を蒸留します。Qllmは、グラフの根拠とQdpの値をプロンプトに入れ、LLMに0~10点の点数を付けさせます。verbalizerは上位の行動と目標の値を自然言語で伝え、最終的な行動の選択は元のエージェントが保持します。

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.
出典 · 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 · 論文の図を引用 · 元のPDFの3ページ目から図の部分を抽出しています。
Table 3 : ToolGraph statistics per benchmark. “Param. only” / “probe only” / “both” partition the retained edges by which proposer supplied their evidence. The lower block gives the threeτ 2 domains that are evaluated separately, counting only intra-domain nodes and edges; the 73 domain nodes are a subset of the 146 in the catalog graph, the remainder belonging to τ 2 domains we do not evaluate. In that block the last column isnot θprune but k/|T |, the fraction of the domain catalog exposed at k= 8, which shows where retrieval has little room to act.
出典 · 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 · 論文の図を引用 · 元のPDFの13ページ目から図の部分を抽出しています。比較設計と評価条件
中心となる比較は、同じグラフと同じk=8の注入インターフェースを使う平面top-k検索、個人化PageRank検索、3つの価値推定器の間で行われます。平面検索はグラフを使わず、埋め込みの類似度だけでツールを選びます。PPRは同じグラフを質問条件付きで順位付けします。評価は、ToolCompとτ 2-Benchで、Ministral 3 8B、Gemma 4 31B、DeepSeek V3.2 685Bのプランナーを用いて行い、すべての評価アームの採点器とverbalizerはGemma 4 31Bです。各アームはn=4個の候補を選び、成功率はベンチマーク固有の二値報酬です。各セルは単一シードの点推定値で、信頼区間はありません。
結果:構造だけでは不十分で、状態を読む採点器が優位
Nativeから平面top-k検索に変えると、6つの設定のうち5つで成功率が下がり、平均は63.6から60.9に下がりました。平面検索からTG–PPRに変えると依存構造だけが変わり、平均は60.9から62.7に上がりました。QdpはPPRと比べて平均が2.8点低く、Qembは平均で4.7点低くなりました。この2つの構造のみの推定器は、ツールの種類を基準に順位を付けるため、同じツールに誤った引数を入れた候補を区別できません。著者らは、単調緩和価値が多くの下流タイプを解除する行動を、バイアスとして過大評価してしまうことを、構造のみの推定器の損失の原因と解釈しています。

Table 1 : Task success rate (%). Flat top- k retrieval and the four ToolGraph rows share the same k= 8 injection interface and prompt template; they differ only in how the injected tools are ranked, and only the ToolGraph rows use the graph. M, G, and D denote Ministral 3 8B, Gemma 4 31B, and DeepSeek V3.2 685B. Bold marks the best value in each column. Verifier: Gemma 4 31B for every scored arm; ToolComp answers are additionally graded by the benchmark’s own answer judge, held fixed across arms.
出典 · 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 · 論文の図を引用 · 元のPDFの7ページ目から図の部分を抽出しています。根拠予算のスイープとコスト
Qllmを基準に、τ 2-Benchで4つのノブを一度に1つずつ変えました。近傍半径h、エッジのしきい値θ、ノード注釈の深さ、候補数nです。θを0.9に上げるとエッジの半分以上が除去され、トークンは9.5K減りますが、成功率は2.5点下がりました。候補数n=8は、n=4より116.6Kトークン多く使い、1.7点低くなりました。グラフ構築のコストは、100個の評価タスクでタスクあたり88Kトークンに分けられ、リクエスト時のアンカーコスト155Kと同程度です。論文では、このコストは評価タスク数が増えると1/Nに減るため、実際のデプロイ規模によって変わると見ています。

Table 2 : Evidence-budget sweeps for Qllm on τ 2-Bench. Each block variesoneknob and holds the rest at the anchor (†: h=1, θ=0.0, N0, n=4). Success is the macro average of task pass rate (%) over three planners and the three τ 2 domains; Tok. K is anestimatedrequest-time cost in thousands of tokens per task (planner, scorer and verbalizer at ≈5.5 decisions/task), computed from measured prompt sizes and per-mechanism call counts rather than per-call accounting. Blocks 1–3 and block 4 are separate run series, so the nominally identical anchor reads 65.8 in the first three and 66.4 in the fourth — a 0.6-point gapon the macro average; the same replicate pair differs by up to 2.5 points within a single planner column, which is the scale at which per-backbone differences should be read. Sweeps are run on the evaluation split. Verifier: Gemma 4 31B; verbalizer enabled throughout.
出典 · 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 · 論文の図を引用 · 元のPDFの9ページ目から図の部分を抽出しています。
Table 4 : Graph construction and maintenance cost, in language-model calls and estimated tokens, broken out by construction phase. Construction is a one-time, catalog-level cost; the amortized rows divide it by the number of evaluated tasks that reuse the graph. On the larger catalog, adding a tool later costs about two orders of magnitude less than a rebuild and deleting one is near-free, which is what makes the compiled artifact reusable under catalog churn; on a catalog as small as ToolComp’s eleven tools the saving is correspondingly smaller. Token counts are estimates, derived from measured prompt sizes and the max-token setting of each phase rather than from per-call accounting. Construction uses a fixed closed model (Sonnet 4.5 for edge proposal and probe synthesis, Sonnet 4 for probe evaluation), independent of the planner and verifier models used at request time.
出典 · 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 · 論文の図を引用 · 元のPDFの13ページ目から図の部分を抽出しています。残された制約
グラフのエッジは、ツールの組に対するカタログ単位の記述なので、同じツールを別の引数で呼び出す候補を、グラフの値だけでは区別できません。プローブの結果は合成されたクエリに対するモデルの判定なので、エッジの重みは依存関係の証拠であって、証明ではありません。評価は公開ベンチマーク2種に限られ、未知のカタログへのQembの転移は検証していません。結果は単一シードの点推定値なので、セル間のわずかな差を順位として解釈することはしていません。論文では、コード、グラフの成果物、軌跡を公開できないと述べられています。
論文情報
- 著者
- Ke Shen, Ankita Bhaumik, Li Dong, Shengjie Liu, Shuzhen Li, Naveed Ahmed Janvekar
- 学会・ジャーナル
- arXiv · プレプリント
- 公開日
- 2026年11月16日
- 登録日
- 2026年11月17日
- 更新日
- 2026年11月16日
- バージョン
- v1
- arXiv
- 2611.20569
- カテゴリ
- cs.AI
- ライセンス
- CC BY 4.0
- 掲載内容
- 論文情報・解説・論文の図
この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。
アブストラクト
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.
この論文を引用
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}
}