SkillGATE: Gate-Aware Monte Carlo Tree Search for Skill Retrieval
Anonymous authors
ICLR 2027
TL;DR. We propose SkillGATE, a graph-guided hierarchical retrieval framework with Gate-Aware Monte Carlo Tree Search, achieving a 16.3\% improvement in overall R@1 over the strongest retriever-based baseline.
Abstract. Skill Retrieval (SR) aims to identify the most relevant skills from external skill libraries, and becomes increasingly challenging as libraries grow in scale and diversity. Existing methods either rank skills independently or rely on predefined graph propagation and hierarchical routing, making them vulnerable to semantic distractors, local trapping, and early routing errors. We formulate SR as an adaptive information-foraging process that coordinates region-level navigation with skill-level selection according to the utility and uncertainty observed during search. Based on this formulation, we propose SkillGATE, a graph-guided hierarchical retrieval framework with Gate-Aware Monte Carlo Tree Search (MCTS). SkillGATE constructs a graph-preserving hierarchical index and performs adaptive retrieval through selection, expansion, simulation, and backpropagation. G-PUCT guides action selection, expansion explores new regions, simulation evaluates candidate skills, and backpropagation updates search statistics. Experiments on six SR benchmarks show that SkillGATE consistently improves diverse retrieval and reranking backbones, achieving a 16.3% improvement in overall R@1 over the strongest retriever-based baseline. Our code is available at https://anonymous.4open.science/r/SkillGate-EFD0/.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 24 Nov 2026, 17:18 UTC.
- Rating
- 2/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
The paper studies skill retrieval (SR): given a query, find the most relevant skills for an LLM agent in a large external skill library. The authors argue that flat retrieval is easily misled by semantically similar distractors, that graph propagation gets stuck in local neighborhoods, and that hierarchical routing cannot recover from an early routing error. Motivated by Optimal Foraging Theory, they treat SR as adaptive information foraging and propose SkillGATE. Offline, SkillGATE builds a weighted skill graph from semantic, lexical and LLM-extracted label similarity. It then splits the graph recursively with the Leiden algorithm into a hierarchical index that keeps the skill-level edges. Online, it runs a gate-aware MCTS over this index with four actions: node-aware descent, skill-aware descent, horizontal search and pruning. Actions are chosen by G-PUCT, which mixes the historical return with a gate score computed from the normalized return Q and the entropy H of visits over child nodes. Visit counts are updated along the actual search trajectory, while rewards are propagated along the hierarchical path. The final top-K is ranked by a relevance function over the pooled candidates.
The paper claims the following contributions: (1) A formulation of SR as adaptive information foraging that coordinates region-level navigation with skill-level selection. (2) A graph-preserving hierarchical index, obtained by recursive Leiden decomposition of a weighted skill graph, that supports both descent and cross-subgraph moves. (3) A gate-aware MCTS with four action types and the G-PUCT selection rule, in which the gate score depends on the return Q and the visit entropy H of the current node. (4) Decoupled back-propagation, which separates visit counting (search trajectory) from reward assignment (hierarchical path). (5) Experiments on six benchmarks over the shared 26,262-skill SRA-Bench library, with both retriever and reranker backbones.
The main evaluation covers TheoremQA, LogicBench, ToolQA, CHAMP, MedCalcBench and BigCodeBench and reports R@1 and R@10. Baselines include BM25, general dense retrievers, structured SR methods (GoS, GoSkills, SkillFlow, AgentSkillOS), and fine-tuned retrievers and rerankers (SkillRouter, SkillRet, R3). With the same backbone, SkillGATE raises overall R@1 from 36.9 to 47.9 with Ada-002 and from 41.5 to 58.6 with R3-Emb. Against the strongest baseline, the reported gains are 16.3 R@1 points in the retriever setting and 10.8 in the reranker setting. Ablations with Ada-002 remove each action, the gate and each back-propagation path; the graph-only and tree-only variants fall to 29.9 and 13.8 R@1. On a 540-query subset, G-PUCT is compared with RW, HKD, PPR, Greedy, UCT and PUCT (Table 7), and with PUCT, random H and fixed H over five seeds (Figure 3a). The appendix adds library scaling from 1K to the full library, level-wise action statistics, weight sensitivity, an update-path comparison, efficiency against GoS and AgentSkillOS, and a case study.
Strengths
The paper gives controlled evidence that the search policy itself matters. On a fixed index, R@1 rises from 31.0 with PPR to 36.9 with greedy descent, 43.7 with PUCT and 48.0 with G-PUCT. The gate comparison in Figure 3a is run over five seeds, and the gap to PUCT grows from 4.3 points at 64 iterations to 6.5 points at 128. The relevance weights change R@1 by about one point. With the same backbone, the gains hold for all three embedding models. So the improvement is not tied to one encoder or to a tuned scoring function. This is the main reason I see value in the work: the search can be placed on top of an existing retriever.
The second strength is cost. AgentSkillOS uses 848M LLM tokens and 104.86 s per query. SkillGATE scores its search steps rather than LLM judgments and needs 56M LLM tokens, 3.09 s per query and 0.15 s per skill for indexing, while being about 24 R@1 points more accurate. It also degrades less as the library grows: it goes from 52.87 at 5K skills to 47.99 at the full library, while Vanilla goes from 48.96 to 39.22. SR is mainly a problem at scale, so this result counts in the paper's favor.
Weaknesses
The main weakness is limited novelty and insight. Each building block is known: Leiden community detection for the hierarchy, PPR for graph moves, and PUCT-style MCTS for search. What is new is the gate score, a hand-designed product of Q and H with a different form for each action type, mixed in through kappa(u). The paper does not explain why this form or this mapping from actions to terms is the right one. Optimal Foraging Theory is used only as a narrative. With about twenty hyperparameter values chosen by grid search on SkillRet, the method reads more like a well-tuned search pipeline than a new principle. The paper also leaves the source of the gain unexplained. Since the final top-K is ranked by r function over the candidate pool, SkillGATE must win by keeping high-scoring distractors out of that pool. The paper does not test this. Without such an analysis, the contribution is narrow for a top venue.
The second weakness is the breadth of the evidence. Everything is measured on one library of 26,262 skills, and the scaling study only subsamples that same library. The headline average is query-weighted and driven largely by ToolQA. Some settings get worse, such as ToolQA R@10 and MedCalc R@1 with the R3 reranker. The main tables have no variance, there is no measure of downstream agent success, and there is no latency comparison with flat retrieval, which is the practical default. Given these gaps, I cannot tell whether the 16.3-point gain would carry over to other skill libraries, or whether better R@1 would lead to better agent behavior. This uncertainty weighs heavily in my recommendation.
Questions for the authors
N/A
Ethics concerns
N/A
- Rating
- 2/4
- Confidence
- 3/4
- Soundness
- 1/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
This paper proposes SkillGATE, a skill retrieval framework that combines a skill graph, hierarchical indexing, and gate-aware Monte Carlo Tree Search (MCTS). The method introduces four search actions: node-aware descent, skill-aware descent, horizontal search, and pruning. It uses historical rewards and entropy to guide action selection and employs a dual-path backpropagation mechanism to update search statistics. Experiments on six benchmarks demonstrate performance improvements over various retrieval and reranking methods.
Strengths
-
The combination of skill graphs and hierarchical indexing enables cross-region exploration and helps recover from incorrect hierarchical routing decisions.
-
The paper provides extensive experiments, including component ablations, comparisons of different search strategies, hyperparameter sensitivity analyses, and scalability evaluations.
Weaknesses
W1. The proposed method introduces four search actions, a heuristic gating function, a specialized reward function, and a dual-path backpropagation mechanism. Although the authors conduct component ablations and compare their method with Greedy, UCT, and PUCT, these experiments do not sufficiently isolate the benefits of the complex MCTS framework itself. In particular, Table 2 shows that removing skill-aware descent leads to performance even worse than the original Ada-002 retriever in Table 1. Meanwhile, Table 7 lacks a simple baseline that combines hierarchical indexing and skill-aware graph propagation without MCTS-based search feedback.
W2. Several structured retrieval baselines perform poorly, even compared with simple retrieval methods. However, the original objectives of these methods may differ from the single-skill ranking task considered in this paper. The paper does not sufficiently clarify how these baselines were adapted to the current evaluation setting or whether their original configurations were faithfully preserved.
Questions for the authors
-
Why is such a complex MCTS framework necessary? Could the authors include a simpler baseline that combines hierarchical indexing and skill-aware graph propagation without MCTS-based search feedback? Furthermore, what motivates the specific formulations of the gating functions for the four actions, and have alternative mappings been explored?
-
Do the search strategies compared in Table 7 use equivalent computational budgets? Could the authors provide recall–latency curves for different numbers of search iterations and compare the methods under matched computational budgets?
- Rating
- 2/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
The paper treats skill retrieval over large libraries as adaptive search. Offline, it builds a skill graph whose edges combine embedding similarity, TF-IDF similarity, and Jaccard overlap of LLM-extracted input/output/API labels. It then recursively partitions that graph with Leiden into a hierarchy. Online, MCTS runs over the hierarchy with four actions: child descent, "skill-aware" descent via intra-subgraph PPR, horizontal moves to sibling subgraphs via global PPR, and pruning. Actions are chosen by G-PUCT, which mixes historical return with a gate built from the node's return and the normalized entropy of its visit distribution. Visit counts are backpropagated along the trajectory and rewards along the hierarchical ancestor path. The final ranking is top-K by a hybrid relevance score over the accumulated candidate pool. On SRA-Bench (26,262 skills, six query sets), the method plugged into three retrievers and three rerankers improves overall R@1 by 16.3 points over the best retriever baseline and by 10.8 over the best reranker baseline. Ablations, per-level routing-failure/rescue statistics, a search-policy comparison, and a library-size scaling study are included.
Strengths
- The per-level diagnosis in Table 3 shows where hierarchical routing fails: node-descent failures of 30.6% at L1 and 20.2% at L4. It also shows how often the graph actions recover them (skill-aware descent 42–75%, horizontal 35–65%). This is concrete mechanistic evidence for the core design choice, coupling hierarchy with graph moves, not only an end-metric gain.
- Gains hold across three retrieval and three reranking backbones. Ablations remove each action and component, and Appendix E compares G-PUCT with RW, HKD, PPR, Greedy, UCT and PUCT on the same index. Together these show the improvement is not tied to a single backbone.
Weaknesses
- The headline comparison mixes the effect of the search with the effect of a stronger relevance function. SkillGATE's relevance r(q,x) is a hybrid of dense similarity (0.50), TF-IDF (0.25) and exact match on LLM-extracted labels (0.25). The final output is top-K of r over the MCTS candidate pool (Alg. 2, line 33). The Table 1 baselines are mostly single-signal retrievers. The only flat-ranking control with the same weighted similarity is the "Vanilla" curve in Fig. 3(b): at the full library it reaches 39.22% R@1 vs 47.99% for SkillGATE. That ~8.8-point gap is encouraging, but it is roughly half of the +16.3 headline, and it is reported only for R@1 and on the 10% sampled subset (the 47.99 matches the Ada-002 subset result in Table 6). Please add flat ranking by the same r, and a standard hybrid baseline such as BM25+dense with RRF, to Table 1 for every backbone, both metrics and all six datasets, so the search's own contribution is clear.
- Robustness and cost are under-characterized. The method has more than a dozen hyperparameter groups (Table 4), plus the prior weight λ and a hard-coded 0.4 constant in the expansion rule (Alg. 2). They were grid-searched on SkillRet. Sensitivity is reported only for the relevance and reward weights, not for τκ, τH, λ, the iteration budget, Knbr, lmax or the Leiden resolution. Main results have no variance even though the simulation is stochastic. Retrieval takes about 3.1 s/query with 128 iterations (Table 9), and there is no recall-vs-budget curve or comparison with simply reranking a deeper dense shortlist under the same compute. R@10 also drops on ToolQA (−5.0/−5.5) and MedCalc; the ToolQA drop is explained only qualitatively (similar candidate skills), without supporting analysis.
Questions for the authors
- Given that the final ranking uses r(q,x), what fraction of R@1 gains come from queries where a higher-r distractor exists in the full library but is excluded from S*(q)? Equivalently, what are flat-r R@1/R@10 on the full benchmark for each backbone (extending the Fig. 3(b) "Vanilla" point)?
- In the reranker setting, where exactly does the reranker enter? Does it replace r inside the reward, rerank the final pool, or both?
- Were hyperparameters tuned with the SkillRet-Emb backbone, which is itself trained on SkillRet data? If so, is there any overlap between the tuning and evaluation signals?
- Main-table variance over MCTS seeds?
- Code is stated as "available at here" but no link is given. Will it be released? Suggestions (not decisive): report latency and accuracy as a function of iterations, and quantify the ToolQA R@10 drop (e.g., how often the gold branch is pruned or never visited). The optimal-foraging framing is motivational only, since no patch-leaving rule is derived; either connect it more formally or tone it down. Typos: "Hierachy statics", "Updation Statics", "For eanch", "Tabel 6", "Ahorizon" vs "Ahoriz".
Comments on the paper
2 comments
Please take a look at the response!
Dear reviewers,
As the rebuttal period is about to end, please take a look at the authors' responses.
Best,
AC
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Thank you for your response, I still have some concerns unresolved:
The newly added Non-MCTS baseline provides evidence for the contribution of adaptive search, but its implementation details remain unclear, particularly how the search actions are performed without MCTS and whether the computational budgets are comparable.
You should explain why removing skill-aware descent causes performance to fall below the original Ada-002 retriever, do you investigate its interactions with other components?
You report overall retrieval latency and iteration-based Hit rates, but do not provide Recall–Latency curves or matched-budget comparisons across search strategies, leaving the computational fairness of the comparisons unclear.