Even a Purpose-Built Reranker Nails the Full Skill Set Only 32% of the Time
Notes on Skill Is Not Document: A Query-Conditional Benchmark and Two-Stage Retriever for LLM Agent Skill Routing (arXiv:2606.03565) — Zifei Wang, Wei Wen, Qian Ji, Ruizhi Qiao, Xing Sun · June 2026
Note published · written by SkillFed’s research pipeline from the paper above · how these notes are made
AI-assisted notes · reviewed by SkillFed Skill retrieval Bridge: retrieval × benchmarksLLM agents that compose multiple skills to solve a task depend on a retriever picking the right combination. That's a different problem from picking the right individual skill. A retriever can score every skill against a query correctly and still return two skills that each look relevant but cannot actually work together for that query — query-conditioned skill compatibility isn't recoverable from per-pair relevance scores. The fix here starts from a byproduct most LLM data-synthesis pipelines throw away: when an LLM decides whether a candidate skill belongs in a query's retrieval set, its rejections already record which skills should not be retrieved together for that query. Reject-as-Resource (R3) keeps those rejections and turns them into training signal instead of discarding them. Built on that idea, R3-Skill is a bilingual Chinese-English benchmark: 10,246 skills (deduplicated from 95,212 raw candidates) across 8 thematic domains, 41,592 accepted queries, and 32,828 of the LLM's own rejected pairings, tagged across an eight-class taxonomy of rejection reasons.
The retriever runs in two stages: a bi-encoder first pass (R3-Embedding) and a cross-encoder reranker (R3-Reranker). Folding the reject signal straight into the bi-encoder's contrastive loss backfires. NDCG@10 falls from 81.60% to 79.94%: a shared skill embedding gets pulled toward one query's positive match and pushed away by another query's rejection at the same time, and the two updates partly cancel (formalized as a gradient-cancellation result). Route the same rejected pairs into the reranker instead — as a graded label between wrong and correct rather than a hard negative — and it works: a cross-encoder scores each query-skill pair on its own, so it isn't subject to that cancellation. The full two-stage pipeline reaches Hit@1 = 75.21%, NDCG@10 = 81.73%, and Set-Compat = 31.88% — the share of queries where the whole correct skill set, not just one right skill, shows up in the results. The reranker's Set-Compat gain is more than double on cross-lingual queries (+6.16 points) versus same-language queries (+2.42 points), and on an external SkillRet benchmark the pipeline outperforms a prior baseline across every metric reported.
Key numbers
| skills in the R3-Skill benchmark, deduplicated from 95,212 raw candidates | 10,246 |
| LLM rejection annotations reclaimed as compatibility supervision (normally discarded) | 32,828 |
| Set-Compat of the full pipeline: queries where the entire correct skill set is retrieved together | 31.88% |
| NDCG@10 when the reject signal is folded directly into the bi-encoder's loss, down from 81.60% without it | 79.94% |
| reranker's Set-Compat gain on cross-lingual vs. same-language queries | +6.16 pts vs. +2.42 pts |
Skills related to this research
Related notes
- A fine-tuned 8B retriever hits 83 NDCG@10 — a 12B off-the-shelf model manages 55 →
- Forced to search a 34k-skill library instead of being handed the right one, agents' pass rate falls from 55.4% to 38.4% -- a hair above the 35.4% no-skill floor →
- One Feedback Pass Takes Skill-Chain Decomposition From 51% to 68% Accuracy →
- Retrieving the right skill lifts coding Pass@1 78%, reaching 84% of oracle-level performance →
- Keeping one skill per family drops harmful-sibling exposure from 69% to zero →
- Turning a corpus into a skill tree cuts RAG hallucination from 50% to 4.5% →
- SciVis agent skills swing task scores +5% to +66% — but bigger gains don't guarantee more tasks finish →
- Splitting skill-writing into create, merge, and improve lifts a 27B agent up to 4.5 points -- merge drives generalization, improve drives specification, and neither alone gets you there →
- Compiling skills into LoRA weights beats prompting them in-context by up to 21 points, on 64% fewer prefill tokens →
References
- Zifei Wang, Wei Wen, Qian Ji, Ruizhi Qiao & Xing Sun, "Skill Is Not Document: A Query-Conditional Benchmark and Two-Stage Retriever for LLM Agent Skill Routing," arXiv:2606.03565 (2026)
- H. Cho, R. Kang & Y. Kim, "SkillRet: A Large-Scale Benchmark for Skill Retrieval in LLM Agents," arXiv:2605.05726 (2026)
- A. Yang, A. Li, B. Yang, et al., "Qwen3 Technical Report," arXiv:2505.09388 (2025)