Manuscript Offprint
arXiv:2610.34728SKALOS: Learning to Distinguish Similar Skills with Capability Graphs
Abstract
Skills provide LLM agents with reusable procedural knowledge, making appropriate skill selection essential for reliable agent behavior. As skill libraries expand, distinguishing semantically similar candidates becomes increasingly difficult. Existing methods encode or rewrite skill descriptions for relevance-based ranking, yet heterogeneous descriptions can obscure capability differences. To address this challenge, we propose SKALOS, a graph-native reranker that compares skills via explicit capability evidence. Its multi-hierarchy graph aligns equivalent expressions across skills while preserving skill-specific capability evidence. Since individually relevant capability elements may not jointly support a query, semiring-based capability witness learning scores each branch by its weakest evidence, checks joint support for the extracted requirements within one implementation, and selects the strongest alternative. To reduce the influence of extraction errors, we develop ranking-feedback graph calibration that adjusts unreliable evidence for candidate comparison. Experiments on SkillRet show that SKALOS improves NDCG@10 by 2.68 percentage points over a matched text-only reranker. Witness-guided skill selection also increases ALFWorld task success rate from 22% to 29%.
CCS Concepts
• Information systems → Retrieval models and ranking; • Mathematics of computing → Graph algorithms.
1 Introduction
Web agents rely on reusable skills to turn user requests into executable workflows across heterogeneous tools and services. Selecting suitable skills requires matching their procedures, outputs, and usage constraints to the requested workflow, since similar descriptions can correspond to different execution capabilities [2, 19, 29, 43]. Within this setting, skills provide reusable procedural knowledge that guides how agents use available tools and services. By retaining established methods for reuse across tasks, skill libraries support the accumulation of agent capabilities and reduce the need to derive procedures from scratch [34]. As these libraries expand, selecting appropriate skills becomes increasingly important. Recent advances in skill retrieval and reranking address this need.

Figure 1: Three challenges in capability-aware skill selection: heterogeneous descriptions, implicit relations in text, and errors in extracted structures.
through specialized models and richer skill descriptions, improving access to relevant candidates in large libraries [5, 18, 41].
Despite these advances, relevance alone is insufficient for selecting among semantically similar skills. Candidates may receive similar relevance scores even when their evidence supports different requirements through separate procedures, rather than jointly within one implementation. Heterogeneous descriptions also obscure shared capabilities and meaningful implementation differences. The central challenge is therefore not merely to retrieve related descriptions, but to establish a common basis for comparing the capability evidence of easily confused candidates.
Recent studies attempt to expose skill structure by extracting workflows, dependencies, and relations from skill documents [1, 7, 21]. Recent skill graphs primarily organize dependencies and execution relationships across skills, clarifying how skills can be combined or invoked rather than how semantically similar candidates can be distinguished. Moreover, extracting structure does not by itself resolve how equivalent evidence should be compared, how its relations should be used, or how extraction errors should be handled. Figure 1 illustrates three resulting challenges.
Challenge I: Heterogeneous descriptions. Skills developed by different authors often express equivalent capabilities through
Corresponding author.
different terminology and sentence structures. When encoded as text, equivalent evidence may receive different representations and ranking scores; prior work also shows that tool-selection preferences are sensitive to textual descriptions [8]. This motivates aligning equivalent phrases across skill documents [6, 33]. However, alignment should not erase meaningful implementation differences: two skills may share a broad capability while differing in methods, outputs, or constraints that determine their suitability for a task. The challenge is to align equivalent capabilities while retaining the details that distinguish skill implementations.
Challenge II: Implicit relations. A skill may mention all the operations and outputs relevant to a task, yet provide no single procedure that meets all of the task's requirements. Text-based representations encode these relations through word order and context, making their interpretation sensitive to wording, ordering, and templates [9, 28]. The presence of individually relevant elements therefore does not establish capability completeness: their supporting relations and implementation boundaries also matter. The challenge is to determine whether the extracted requirements are jointly supported within one implementation, without combining evidence from separate procedures.
Challenge III: Extraction errors. Extracting and canonicalizing capability evidence from skill documents may introduce incorrect node mappings or unsupported relations [6, 37]. Incorrect mappings can obscure skill-specific distinctions, while unsupported relations can introduce misleading capability evidence. Calibrating such evidence is difficult because ranking labels identify preferred skills without specifying the contribution of each extracted node or relation. Moreover, evidence irrelevant to a particular query may still be correctly extracted. The challenge is to suppress unreliable structure while retaining useful capability evidence.
To address these challenges, we propose SKALOS, a graph-native reranker that uses textual relevance and structural support to compare candidate skills. First, our graph aligns shared capabilities and retains local evidence specific to each skill. Next, witness learning scores each branch by its weakest evidence, checks joint requirement coverage within one implementation, and selects the strongest valid alternative. Finally, graph calibration adjusts node representations and relation weights by ranking feedback obtained via element masking. Experiments on SkillRet demonstrate improved skill reranking across multiple rerankers and robustness to structural perturbations, and controlled ALFWorld tasks confirm the downstream value of witness-guided skill selection.
The witness tests whether one procedure jointly supports the query, rather than treating a union of relevant elements as complete evidence. Calibration then controls how strongly uncertain nodes and relations influence candidate ranking. These stages preserve the distinction between textual relevance, structural support, and evidence reliability throughout skill comparison.
Our contributions are summarized as follows:
• We design a multi-hierarchy capability graph that makes heterogeneous skills comparable while preserving their distinctive implementation evidence.
• We propose a graph-native skill reranking framework that integrates relation-aware graph modeling with semiring-based capability witness learning.
• We develop ranking-feedback graph calibration to limit the influence of unreliable evidence during skill selection.
2 Related Work
2.1 Text-Based Skill Retrieval and Reranking
Recent work addresses large-scale skill selection through specialized text embeddings and retrieve-and-rerank pipelines, using skill descriptions to match queries with candidate skills [5, 18, 41]. Related tool-retrieval methods also exploit specialized retrieval models and library hierarchies to improve candidate selection [30, 40]. Despite these advances, text-based matching leaves internal capability relations implicit in the input sequence. Equivalent evidence expressed through different descriptions may therefore receive different representations, consistent with findings that tool-selection preferences are sensitive to textual descriptions [8]. High semantic relevance alone does not explicitly establish whether a candidate jointly supports the required methods, artifacts, and constraints.
2.2 Retrieval-Augmented Generation
RAG retrieves and organizes external evidence for generation [10, 12, 24, 26]. Retrieval augmentation also supports access to agent skills [32], while skill graphs model how multiple skills can be combined [1, 20, 21]. SKALOS tests whether one candidate implementation jointly supports the query requirements.
2.3 Structured Skill Representation
Existing structured approaches to skill selection operate at different levels. Inter-skill graph methods represent skills as nodes and encode dependencies, compatibility, and procedural relations to support retrieval and composition [1, 20, 21]. Their structural information primarily describes how skills relate to one another and can be organized into task-relevant combinations. Our focus is the internal capability composition of individual candidates, where semantically similar skills may differ in the methods, artifacts, and constraints they can jointly support.
Other methods expose capability distinctions through discriminative text or retrieval supervision derived from structure [7, 35]. They enrich textual representations or training signals with capability information. SKALOS instead uses capability relations directly in candidate scoring, making joint requirement support within one implementation an explicit ranking signal.
Complementary research on extraction and canonicalization supports relation recovery and alignment of heterogeneous expressions [6, 16, 33, 37]. However, extraction errors and mistaken merges can distort the evidence used for candidate comparison. The remaining challenge is to align capability evidence across candidates, retain implementation-specific distinctions, and assess joint support when the extracted structure is imperfect.
3 Method
Figure 2 presents the three stages of SKALOS. Graph construction aligns equivalent capability expressions and retains the evidence specific to each skill. Witness learning checks joint requirement coverage within one implementation, scores its branches by their
Multi-Hierarchy Capability Graph Construction (Offline)

Adaptive Cluster Selection


Capability
Canonicalization
Node Types
C Capability
A Artifact
M Method
K Constraint
Edge Weight
Node Weight
M A
C K M
Multi-Hierarchy Graph
Query
Skill Retrieval
Graph-Encoding
Query Relevance

Evidence Weighting
Local
Shared
...
...
...
...
Path Closure
Semiring-Based Capability Witness Learning
Skill Reranking
Graph Calibration
Element Masking
Misleading
Node
Contribution Evaluation
Canonical
Weighted ↑
Weighted ↓
raw
Positive
Positive
Negative
Negative
Weight Calibration
Ranking Feedback Graph Calibration
Figure 2: Overview of SKALOS. Multi-hierarchy capability graphs organize shared and skill-specific evidence; semiring-based witness learning aggregates requirement-covering branches anchored to one implementation; ranking-feedback graph calibration adjusts unreliable evidence used for skill reranking.
weakest evidence, and selects the strongest alternative. Graph calibration uses ranking feedback to adjust unreliable evidence before scoring candidate skills against the query requirements.
3.1 Multi-Hierarchy Capability Graphs
Our graph aligns equivalent capability expressions to compare similar skills, while preserving the methods, outputs, and constraints that distinguish individual implementations. Its shared and local layers retain both common references and skill-specific evidence. Figure 3 illustrates the four node types and three typed relations extracted from a skill document.
Capability canonicalization. To align heterogeneous expressions within a finite canonical node bank, we perform cluster-scoped capability canonicalization. Skills are first grouped in the embedding space, with the cluster count adaptively selected according to compactness, separation, and cluster size [25]. Within each cluster, we extract capability, method, artifact, and constraint expressions and consolidate semantically equivalent expressions of the same type [6, 16]. Canonicalizing expressions separately within each cluster and node type reduces the risk of merging expressions with different contextual meanings or semantic roles. These nodes provide a common basis for comparing differently worded skill descriptions.
Shared and local evidence. Canonicalization reveals both recurring nodes used by multiple skills and nodes specific to a single skill. Although recurring nodes expose common capabilities, skill-specific nodes may capture precisely the implementation details that distinguish otherwise similar candidates. Removing them
| Original Skill | Extracted Graph |
|---|---|
| PDF Table ExtractionExtract tables from scanned PDF documents.ProcedureApply OCR to recognize table content and reconstruct rows and columns.OutputExport the extracted tables as CSV files.ConstraintThe OCR procedure supports English text only. | {"nodes": {"c":["capability","PDF tables"],"m":["method","OCR"],"a":["artifact","CSV"],"k":["constraint","English only"]},"edges": ["m","implements","c"],"m","produces","a"],"k","constrains","m"] |
Figure 3: A constructed skill graph with four node types and three typed relations. Its OCR method produces CSV tables under an English-only constraint.
would make these candidates less distinguishable. We place recurring nodes in a shared layer and skill-specific nodes in a local layer, preserving both common references and implementation details.
Multi-hierarchy graph. We organize the shared and local evidence in a multi-hierarchy graph. Skills may contain similar elements but connect them differently, making typed relations necessary for comparing their implementations. We encode these connections through typed relations, including REQUIRES, SUPPORTS, IMPLEMENTS, PRODUCES, and CONSTRAINS, making implementation relationships explicit for subsequent comparison. For a candidate skill s, we denote the resulting graph by . Each typed edge has an inverse view with the same relation identity; denotes this augmented edge set.
3.2 Semiring-Based Capability Witnesses
A skill may contain several highly relevant elements without providing a jointly supported implementation. Additive aggregation can conceal a missing requirement behind other strong matches, while selecting a single strong path may bypass a necessary branch. Moreover, evidence belonging to different implementations should not be assembled into one apparently complete witness. We therefore introduce capability witness learning to require joint coverage within one implementation while retaining alternative implementations as competing sources of support.
Let denote the typed capability requirements expressed by query , such as its required capability, method, artifact, and constraint. Requirement phrases are aligned to the canonical node bank by type-constrained query-node matching; types not specified by the query are not forced into the witness. The witness treats extracted requirements as mandatory conjunctions; optional, disjunctive, and preference-based requests are outside this definition. The typed graph induces a set of method-anchored realizations, each containing one method anchor and its schema-compatible supporting nodes. A capability witness is a set of supporting branches that covers every within one ; branches assigned to different realizations are never combined.
Graph encoding. Relation-aware message passing combines node-text, type, and layer information to encode the candidate graph [27]. A query-conditioned scoring head assigns each node or relation z an evidence strength , computed from its current element representation and sigmoid-normalized before witness aggregation. These scores weight each branch in the Max-Min computation. Ranking feedback calibrates these node representations and relation weights (Section 3.3).
Graph-aware score. The frozen encoder embeds queries, skills, and nodes. The reranker uses a hidden dimension of 128, two relation-aware layers, and a dropout rate of 0.15. Its score is:
Here represents skill text; concatenates query-attentive, max, and mean graph pooling; contains witness, branch, node-match, typed-edge, and attention summaries; and contains first-stage features. The two-layer GELU MLP outputs . Graph and retrieval scores are normalized within each pool and fused with .
Witness operationalization. We extract query requirements and match same-type canonical nodes (Appendix A.2); unmatched requirements remain uncovered. The extractor assigns each alternative procedure an implementation ID, retained by its node and edge occurrences. Canonical nodes share representations while retaining these IDs. Paths stay within one realization and cannot traverse another method anchor. The witness and branch scores enter as auxiliary evidence for skill reranking.
Max-Min witness semiring. We follow semiring graph reasoning [42] and score branches using the Max-Min operations and . The requirement and realization aggregations below enforce joint coverage. The min operator limits each supporting branch by its weakest node or relation, while the max operator selects the strongest alternative branch for the same requirement. A second minimum then enforces conjunction across all requirements covered by one realization, and a final maximum selects among alternative realizations.
(a) Mult-Candidate Paths
(b) Bottleneck within Path

Figure 4: Max-Min path scoring: each branch is limited by its weakest node or relation.
For a realization I, let contain the schema-valid paths from its method anchor to nodes that support requirement r. The bottleneck score of the strongest supporting branch for r is:
where when no such branch exists. We then require the same realization to cover the complete requirement set and select the strongest valid realization:
Thus, a missing requirement makes the realization-level witness zero, strong evidence for one requirement cannot compensate for weak evidence for another, and branches from different realizations cannot be combined.
Query-conditioned semiring path closure. For each realization I, closure uses its schema-compatible edges [22] and the path restrictions in Appendix A.3. For nodes and in I, define:
where parallel typed relations are combined by . Matrix multiplication over the Max-Min semiring is defined as follows:
Consequently, the entry of gives the strongest bottleneck value among all length- paths from to . Using yields the truncated closure:
For illustration only, with unrestricted path lengths, let and let denote the best bottleneck value when only may be used as intermediate nodes. This closure admits the dynamic-programming recurrence:
illustrating bottleneck extension and alternative selection. In practice, uses the truncated, schema-valid paths above, with a zero-edge branch for a matched method anchor; Equation 3 then enforces requirement conjunction and realization selection.
Differentiable relaxation. Because strict min and max operations yield sparse gradients, we use a log-sum-exp approximation for the minimum within each branch:
The remaining extrema are relaxed analogously and approach min and max as . Incomplete realizations are hard-masked to zero and excluded from smooth aggregation; if none fully covers the requirements, the skill witness is zero.
Capability witness objective. For a positive skill and hard negatives , define ). We optimize the capability witness loss:
where is the witness margin. This objective encourages a positive skill to provide a stronger requirement-covering witness than semantically similar hard negatives.
3.3 Ranking-Feedback Graph Calibration
Extracted capability graphs may contain incorrect mappings or relations that distort candidate ranking. We use ranking feedback to estimate each element's contribution to candidate discrimination and calibrate its influence. This connects evidence calibration to the skill-selection objective. Earlier graph-learning methods jointly refine structure and representations [4, 14]; preference-based tool retrieval learns to reflect the preferences of downstream models [23]. We distinguish two signals: structural reliability, a query-independent estimate of document support for a mapping or relation, and query relevance, which measures the element's usefulness for a particular query.
Element masking and contribution evaluation. Document support and query relevance alone do not reveal whether an element helps distinguish a positive skill from a semantically similar hard negative. Masking each element reveals its contribution: the change in ranking margin supervises how strongly it should influence each positive-negative candidate comparison.
Given a query , a positive skill , and a hard negative , let denote their margin under the Graph-Aware Score. To estimate the contribution of a graph element , we temporarily mask it and measure the change in the margin:
A positive means that masking z weakens the correct ranking and that z provides useful ranking evidence. A negative value means that removing z improves the margin, indicating that the element may be noisy or misleading. This ranking utility is not itself a label of extraction correctness.
We convert masking utility into a bounded contribution target and incorporate a query-relevance prior to regularize calibration:
Here, combines normalized masking utility with the query-relevance prior and is treated as a stop-gradient target. Target construction details are provided in Appendix A.2. Ranking feedback can therefore adjust how much each extracted node or relation contributes without immediately rewriting the discrete graph.
Weight calibration. An element may be unhelpful because its extracted structure is unreliable or because it is irrelevant to the current query. Treating these cases identically would suppress valid information that may be useful for other queries. We therefore distinguish document support from query relevance when weighting graph elements.
For each element z, a structural MLP estimates confidence from document support. Shared-node features compare canonical and raw representations; edge features encode endpoints and relation type. A query-conditioned MLP estimates relevance . Their product, , weights the element's contribution. Low query relevance alone does not imply a structural error. We interpret as a query-independent structural confidence prior and evaluate its empirical association with extraction errors in Section B.4.
Graph calibration. A questionable canonical mapping should not erase the original information that distinguishes a skill, and an unreliable relation should not dominate its representation. Learned calibration signals therefore adjust node representations and relation weights within the extracted graph.
For shared nodes, calibration interpolates between the canonical mapping and the original extracted representation:
where controls the interpolation toward the raw representation, increasing as canonical grounding weakens and query-dependent importance grows. Reliable mappings retain the unified representation; unreliable mappings fall back toward the raw node and preserve local skill information. Edge reliability and query relevance control relation-aware propagation through . The calibrated representations and relation weights determine the updated strengths used in reranking and witness scoring.
3.4 Training and Inference
Let denote the Graph-Aware Score difference between a positive skill and the -th hard negative.
Table 1: Retrieval and reranking on SkillRet (percentages). Meta denotes skill metadata. Underlines mark the best published protocol reranker; matched comparisons appear in a separate group.
| Method | Skill input | Model size | NDCG@5 | NDCG@10 | Recall@10 | Comp.@10 |
|---|---|---|---|---|---|---|
| RAG retrieval baselines | ||||||
| Naive-RAG | Full SKILL.md | — | 56.46 | 59.10 | 67.18 | 52.09 |
| HippoRAG 2 | Full SKILL.md | — | 44.80 | 47.15 | 55.55 | 39.23 |
| RAPTOR | Full SKILL.md | — | 59.23 | 62.16 | 69.08 | 53.35 |
| General-purpose rerankers | ||||||
| jina-reranker-v2 | Meta | 0.3B | 69.92 | 73.14 | 83.93 | 73.06 |
| bge-reranker-v2-m3 | Meta | 0.6B | 53.99 | 59.79 | 77.53 | 62.60 |
| Qwen3-Reranker-0.6B | Meta | 0.6B | 72.84 | 75.81 | 85.86 | 75.48 |
| Qwen3-Reranker-4B | Meta | 4.0B | 73.24 | 76.20 | 86.18 | 76.09 |
| Qwen3-Reranker-8B | Meta | 8.0B | 73.21 | 76.09 | 86.48 | 76.53 |
| Skill-specific rerankers | ||||||
| SkillRet-Reranker-0.6B | Meta | 0.6B | 80.71 | 82.18 | 87.61 | |
| SkillRouter-Reranker-0.6B | Full SKILL.md | 0.6B | ||||
| R3-Reranker-0.6B | Full SKILL.md | 0.6B | ||||
| Graph-based related work | ||||||
| SkillDAG | Full SKILL.md | — | 75.59 | 77.19 | 83.39 | 71.72 |
| Matched internal baselines | ||||||
| SkillRet-Embedding-0.6B (baseline) | Meta | 0.6B | 75.57 | 78.03 | 85.42 | 75.09 |
| Text-only Pairwise Reranker | Meta | — | 80.98 | 84.07 | 93.39 | 87.41 |
| Full SKILL.md Reranker | Full SKILL.md | — | 79.75 | 83.06 | 93.24 | 87.22 |
| Graph-as-Text Reranker | Meta + Graph Text | — | 81.10 | 84.09 | 93.17 | 86.66 |
| SKALOS | Meta + Graph | 2.0M + frozen 0.6B | 84.33 | 86.76 | 94.57 | 89.59 |
The pairwise ranking loss is defined as follows:
We train the graph reranker with the combined objective:
We then freeze its parameters and train a lightweight graph-calibration module using the masking-derived attribution objective. At inference, calibration is applied to the candidate graph before the frozen reranker and witness scorer are evaluated, keeping calibration and witness scoring active throughout inference.
Initialization uses 63,259 training queries, followed by graph-native updates on 1,000 queries and 8,120 pairs. Negatives come exclusively from the top-20 pool: half are the highest-ranked non-relevant candidates, and the rest are sampled from the remaining non-relevant candidates. Calibration collects 11,914 masking examples from 1,000 training queries, keeping the reranker frozen.
At inference time, the learned Graph-Aware Score is combined with the first-stage retrieval score using a fixed coefficient :
Both scores are normalized within each candidate pool. The witness supplies an auxiliary signal of joint requirement coverage within one implementation.
4 Experiments
We evaluate SKALOS through six research questions:
-
RQ1: How well does SKALOS rerank skills?
-
RQ2: Do gains transfer across rerankers?
-
RQ3: Which skill representation yields the best reranking performance?
-
RQ4: How much does each component contribute?
-
RQ5: Can feedback detect and correct graph errors?
-
RQ6: Do witnesses improve agent task success?
4.1 Experimental Setup
The frozen SkillRet-Embedding-0.6B retriever [5] supplies the top 20 candidate skills for reranking. SKALOS has about 2.0M trainable parameters: 1.999M for reranking and 1,089 for calibration. The text encoder remains frozen. A frozen Qwen2.5-7B-Instruct model extracts skill graphs offline and requirements from each query. The reranker is initialized on the full official training split, then fine-tuned as detailed in Appendix A.2. We fix the fusion weight at 0.70 using training data. Evaluation metrics are reported as percentages.
Baselines. We compare SKALOS with a broad set of representative baselines, including SkillRet-Embedding-0.6B and SkillRet-Reranker-0.6B [5]; general-purpose rerankers (Jina [15], BGE [3, 17], and Qwen3 [39]); skill-specific rerankers (SkillRouter [41] and R3 [36]); the graph-based SkillDAG [1]; and full-corpus RAG methods (Naive-RAG, HippoRAG 2 [11], and RAPTOR [26]). Matched baselines represent each skill using metadata, its full document, serialized capability nodes, or a serialized graph with the same frozen encoder, top-20 pools, and training protocol.
Datasets. We evaluate on SkillRet [5], a skill-retrieval benchmark with 63,259 training queries, 4,997 test queries, and binary relevance labels. For downstream generalization, we additionally use ALFWorld [31] household tasks.
Metrics. We follow earlier evaluations [1, 5, 36, 41] and report NDCG@5/10 for ranking quality [13], Recall@10, and Completeness@10. These metrics evaluate ranking quality and the coverage of relevant skills. All metrics are averaged across evaluation queries; detailed metric definitions and significance tests are reported in Appendix A.1.
4.2 Main Results
To answer RQ1, Table 1 reports overall results. On the matched candidate pool, SKALOS outperforms the text-only, full-document, and graph-as-text rerankers on all four metrics; published and full-corpus RAG scores are reference-only because their protocols differ. Using full documents does not improve performance over using metadata alone, and serialized graph text yields little gain. SKALOS instead tests how capability evidence fits together.
All three matched comparisons yield positive paired-bootstrap 95% confidence intervals for NDCG@10 gains, with Holm-adjusted (Appendix B.1).
First-stage ambiguity. We group all 4,997 test queries by the gap between their top two first-stage scores (Figure 5). SKALOS gains 3.23 and 3.27 NDCG@10 points in Q1 and Q2, respectively, versus 1.36 in Q4. Smaller gaps indicate first-stage ambiguity, not capability insufficiency; baseline difficulty also varies. Intervals are estimated from 5,000 paired bootstraps over the full set of test queries.

Figure 5: NDCG@10 gains by score-gap quartile (Q1: smallest gap). Error bars show 95% CIs.
4.3 Cross-Reranker Generalization
For RQ2, five rerankers span different architectures and model sizes, each with a separately trained graph module. On common top-20 pools, Base uses re-evaluated reranker scores; +Embed and +Graph fuse these with first-stage embedding scores and the corresponding Graph-Aware Score, respectively.

Figure 6: NDCG@10 gains from embedding fusion (+Embed) and graph augmentation (+Graph) across base rerankers.
Figure 6 shows that +Graph improves NDCG@10 by 7.43–24.81 points over Base and by 7.24–8.45 points over +Embed. These consistent gains indicate that embedding-score fusion alone does not explain the improvement. Full results appear in Appendix B.2.
4.4 Skill Representation Comparison
To answer RQ3, we compare metadata, full-document, serialized-node, and serialized-graph inputs against explicit graph modeling.
Table 2: Comparison of skill representations.
| Method | NDCG@10 | Recall@10 | Comp.@10 |
|---|---|---|---|
| First-stage Retrieval | 78.03 | 85.42 | 75.09 |
| Text-only Pairwise Reranker | 84.07 | 93.39 | 87.41 |
| Full SKILL.md Reranker | 83.06 | 93.24 | 87.22 |
| Node-as-Text Reranker | 84.21 | 93.48 | 87.43 |
| Graph-as-Text Reranker | 84.09 | 93.17 | 86.66 |
| SKALOS | 86.76 | 94.57 | 89.59 |
SKALOS exceeds Node-as-Text, the strongest alternative in Table 2, by 2.55 NDCG@10 points.
We directly test requirement coverage with 93 source-disjoint skills. Each four-candidate pool has one complete implementation and three similar negatives: one omits an artifact, one omits a constraint, and one splits evidence across implementations. We apply 10% node and relation dropout.
Table 3: Requirement-coverage stress test after removing 10% of graph nodes and relations.
| Method | NDCG@4 | Pair Acc. | Margin |
|---|---|---|---|
| Text Reranker | 94.97 | 95.40 | 0.0129 |
| Witness | 97.27 | 97.53 | 0.0391 |
The witness gains 2.29 NDCG@4 points, with a 95% CI of [1.54, 3.09] from source-clustered bootstraps. It also widens the positive–negative margin (Table 3). This controlled test checks joint support within a single procedure and complements the relevance-based SkillRet evaluation.
4.5 Component Ablation Studies
To answer RQ4, we retrain each ablation with the same data and supervision. W/O Graph retains query, skill-text, and first-stage features but removes graph pooling, summaries, and witnesses; other variants disable only the named channel.
Table 4: Component ablation results.
| Setting | NDCG@10 | Recall@10 | Comp.@10 |
|---|---|---|---|
| SKALOS | 86.76 | 94.57 | 89.59 |
| W/O Graph | 83.32 | 92.67 | 86.48 |
| W/O Edge | 80.35 | 93.00 | 86.58 |
| W/O Relation Type | 81.23 | 93.34 | 87.26 |
| W/O Node Type | 81.77 | 92.96 | 86.62 |
| W/O Hierarchy | 80.83 | 93.12 | 86.96 |
| W/O Attention | 79.26 | 92.03 | 84.86 |
| W/O Witness | 84.07 | 90.70 | 82.95 |
| W/O Graph Calib. | 84.28 | 88.29 | 78.48 |
| W/O Text | 26.38 | 50.35 | 33.93 |
Every removal hurts performance (Table 4). Removing graph-derived signals lowers NDCG@10 by 3.44 points; edge, type, and witness ablations further support relational and conjunctive modeling. Removing calibration from the original extracted graphs lowers NDCG@10 by 2.48 points.
Removing the witness also reduces Recall@10 from 94.57 to 90.70 and Completeness@10 from 89.59 to 82.95. Its effect therefore extends beyond ordering quality to retrieval coverage in the fixed pool. These labels identify relevant skills without certifying executable support; the separate coverage stress test provides the controlled check of implementation consistency.
4.6 Ranking-Feedback Graph Calibration
To answer RQ5, we introduce test-time extraction errors by replacing a query-relevant shared-node label with a plausible same-type label from its cluster. We measure detection by AUPRC, error Recall@20%, and Enrichment@20% (1× is random selection); definitions appear in Appendix B.4.
Table 5: Error detection under evidence corruption.
| Corruption | AUPRC | Recall@20% | Enrichment@20% |
|---|---|---|---|
| 25% | 0.799 ± 0.015 | 78.3% ± 1.9% | (3.92 ± 0.09)× |
| 50% | 0.593 ± 0.004 | 57.6% ± 0.7% | (2.88 ± 0.04)× |
| 75% | 0.369 ± 0.014 | 37.9% ± 1.8% | (1.89 ± 0.09)× |
| Random | 0.090 | 20.0% | 1.00× |
Table 5 shows that the lowest-confidence nodes are enriched 3.92× and 2.88× for inserted errors at 25% and 50% corruption; detection weakens but remains above random at 75%.
We also introduce errors identified by human inspection of extracted graphs. “Budget” is the targeted error fraction and “Perturbed” the realized fraction. Pair and score recovery measure reductions in deviations from clean ranking margins and candidate scores. W/O Attribution Loss replaces masking utility with the relevance prior; W/O Graph Calibration bypasses correction.
Table 6: Calibration under human-annotated errors. Error budgets and recovery scores are percentages.
| Setting | Perturbed (%) | Enrich. @20% (×) | Pair rec. (%) | Score rec. (%) |
|---|---|---|---|---|
| Full (10%) | 9.89 | 3.078 | 34.38 | 32.42 |
| Full (20%) | 20.10 | 3.029 | 33.58 | 32.45 |
| Full (30%) | 30.45 | 2.944 | 35.38 | 32.01 |
| W/O Attr. (20%) | 20.10 | — | 29.60 | 29.33 |
Table 6 shows that error enrichment remains near 3× random selection across budgets, while calibration recovers 33.58–35.38% of pair-margin and 32.01–32.45% of score deviations. Removing attribution loss reduces recovery by 3.98 and 3.12 percentage points at the 20% budget, confirming the additional value of ranking feedback beyond query relevance. Without graph calibration, these deviations remain uncorrected.
Scoring cost. With cached text embeddings and graph inputs, SKALOS scores a top-20 pool in 134.85 ms, or 146.97 ms with edge augmentation. Peak GPU memory, including the graph cache, is 181.64 and 184.16 MiB, respectively. Edge augmentation introduces only 12.12 ms additional latency and 2.52 MiB memory overhead, indicating modest computational overhead for richer structural evidence. These timings cover scoring alone and exclude extraction (Appendix A.5).
4.7 Agent Execution Generalization
To answer RQ6, each ALFWorld task pairs a valid skill with three textually similar negatives that corrupt one critical requirement. The selected skill guides the same Qwen2.5-7B controller; success is ALFWorld’s completion signal.

Figure 7: ALFWorld task success by task family.
Overall, witness selection succeeds on 58/200 tasks (29%) versus 44/200 (22%) for text relevance. The paired outcomes include 18 witness-only and four text-only successes, giving an exact two-sided McNemar test p = 0.004 (Appendix B.3).
5 Conclusion
SKALOS reranks skills using explicit capability evidence. Its graph aligns heterogeneous descriptions while retaining skill-specific details; witness learning checks joint requirement support within one implementation; and calibration limits the influence of unreliable evidence. SKALOS gains 2.68 NDCG@10 points over the matched text-only reranker and raises controlled ALFWorld success from 22% to 29%. Gains across five rerankers and the component ablations support the utility of the proposed framework. Controlled perturbations further show that ranking feedback helps recover scores and margins distorted by extraction errors. These results suggest that requirement coverage, implementation consistency, and evidence reliability provide complementary signals for distinguishing semantically similar skills. Future work will extend witness modeling to optional and disjunctive requirements and evaluate these extensions with more diverse skills and broader agent execution settings.
References
[1] Tong Bai, Zhenglin Wan, Pengfei Zhou, Xingrui Yu, Yang You, and Ivor W Tsang. 2026. SkillDAG: Self-Evolving Typed Skill Graphs for LLM Skill Selection at Scale. arXiv preprint arXiv:2606.03056 (2026).
[2] Hongru Cai, Yongqi Li, Wenjie Wang, Fengbin Zhu, Xiaoyu Shen, Wenjie Li, and Tat-Seng Chua. 2025. Large Language Models Empowered Personalized Web Agents. In Proceedings of the ACM on Web Conference 2025, WWW 2025, Sydney, NSW, Australia, 28 April 2025-2 May 2025, Guodong Long, Michale Blumestein, Yi Chang, Liane Lewin-Eytan, Zi Helen Huang, and Elad Yom-Tov (Eds.). ACM, 198–215. doi:10.1145/3696410.3714842
[3] Jianlyu Chen, Shitao Xiao, Peitian Zhang, Kun Luo, Defu Lian, and Zheng Liu. 2024. M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillation. In Findings of the Association for Computational Linguistics: ACL 2024, Lun-Wei Ku, Andre Martins, and Vivek Srikumar (Eds.). Association for Computational Linguistics, Bangkok, Thailand, 2318–2335. doi:10.18653/v1/2024.findings-acl.137
[4] Yu Chen, Lingfei Wu, and Mohammed Zaki. 2020. Iterative deep graph learning for graph neural networks: Better and robust node embeddings. Advances in neural information processing systems 33 (2020), 19314–19326.
[5] Hongcheol Cho, Ryangkyung Kang, and Youngeun Kim. 2026. SkillRet: A large-scale benchmark for skill retrieval in LLM agents. arXiv preprint arXiv:2605.05726 (2026).
[6] Sarthak Dash, Gaetano Rossiello, Nandana Mihindukulasooriya, Sugato Bagchi, and Alfio Gliozzo. 2021. Open knowledge graphs canonicalization using variational autoencoders. In Proceedings of the 2021 conference on empirical methods in natural language processing. 10379–10394.
[7] Lihui Ding, Zihan Guo, Bingwei Lu, Chenyu Zhou, Yuanjian Zhou, Weinan Zhang, Jianghao Lin, and Dongdong Ge. 2026. Skill2Query: Exploiting Skill Structure to Generate Pseudo-Queries for Agent Skill Retrieval. arXiv preprint arXiv:2608.16071 (2026).
[8] Kazem Faghih, Wenxiao Wang, Yize Cheng, Siddhant Bharti, Gaurang Sriramanan, Sriram Balasubramanian, Parsa Hosseini, and Soheil Feizi. 2025. Tool preferences in agentic LLMs are unreliable. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing. 20965–20980.
[9] Bahare Fatemi, Jonathan Halcrow, and Bryan Perozzi. 2024. Talk like a graph: Encoding graphs for large language models. In International conference on learning representations, Vol. 2024. 43909–43934.
[10] Bernal J Gutiérrez, Yiheng Shu, Yu Gu, Michihiro Yasunaga, and Yu Su. 2024. Hipporag: Neurobiologically inspired long-term memory for large language models. Advances in neural information processing systems 37 (2024), 59532–59569.
[11] Bernal Jiménez Gutiérrez, Yiheng Shu, Weijian Qi, Sizhe Zhou, and Yu Su. 2025. From RAG to Memory: Non-Parametric Continual Learning for Large Language Models. In Proceedings of the 42nd International Conference on Machine Learning, Aarti Singh, Maryam Fazel, Daniel Hsu, Simon Lacoste-Julien, Felix Berkenkamp, Tegan Maharaj, Kiri Wagstaff, and Jerry Zhu (Eds.), Vol. 267. 21497–21515.
[12] Xiaoxin He, Yijun Tian, Yifei Sun, Nitesh V Chawla, Thomas Laurent, Yann LeCun, Xavier Bresson, and Bryan Hooi. 2024. G-retriever: Retrieval-augmented generation for textual graph understanding and question answering. Advances in Neural Information Processing Systems 37 (2024), 132876–132907.
[13] Kalervo Järvelin and Jaana Kekäläinen. 2002. Cumulated gain-based evaluation of IR techniques. ACM Transactions on Information Systems (TOIS) 20, 4 (2002), 422–446.
[14] Wei Jin, Yao Ma, Xiaorui Liu, Xianfeng Tang, Suhang Wang, and Jiliang Tang. 2020. Graph structure learning for robust graph neural networks. In Proceedings of the 26th ACM SIGKDD international conference on knowledge discovery & data mining. 66–74.
[15] Jina AI. 2024. jina-reranker-v2-base-multilingual. https://huggingface.co/jinaai/jina-reranker-v2-base-multilingual. Hugging Face model card.
[16] Katikapalli Subramanyam Kalyan and Sivanesan Sangeetha. 2020. Medical concept normalization in user-generated texts by learning target concept embeddings. In Proceedings of the 11th international workshop on health text mining and information analysis. 18–23.
[17] Chaofan Li, Zheng Liu, Shitao Xiao, Yingxia Shao, and Defu Lian. 2024. Llama2vec: Unsupervised adaptation of large language models for dense retrieval. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 3490–3500.
[18] Fangzhou Li, Pagkratios Tagkopoulos, and Ilias Tagkopoulos. 2025. Skillflow: Scalable and efficient agent skill retrieval system. arXiv preprint arXiv:2504.06188 (2025).
[19] Xiaoxi Li, Wenxiang Jiao, Jiarui Jin, Guanting Dong, Jiajie Jin, Yinuo Wang, Hao Wang, Yutao Zhu, Ji-Rong Wen, Yuan Lu, and Zhicheng Dou. 2026. DeepAgent: A General Reasoning Agent with Scalable Toolsets. In Proceedings of the ACM Web Conference 2026, WWW 2026, Dubai, United Arab Emirates, originally scheduled for April 13-17, 2026, rescheduled for June 29 - July 3, 2026, Hakim Hacid, Yoelle Maarek, Francesco Bonchi, Ido Guy, and Emine Yilmaz (Eds.). ACM, 2219–2230. doi:10.1145/3774904.3792460
[20] Zhiyuan Li, Linyuan Gao, Xuechun Ding, Hongwei Chen, Yuan Wu, and Yi Chang. 2026. CaSKG: Counterfactual-Causal Skill Graphs for Scalable Agent Skill Retrieval. arXiv preprint arXiv:2608.25500 (2026).
[21] Dawei Liu, Zongxia Li, Hongyang Du, Xiyang Wu, Shihang Gui, Yongbei Kuang, and Lichao Sun. 2026. Graph-of-Skills: Dependency-Aware Structural Retrieval for Massive Agent Skills. arXiv preprint arXiv:2604.05333 (2026).
[22] Mehryar Mohri. 2002. Semiring frameworks and algorithms for shortest-distance problems. Journal of Automata, Languages and Combinatorics 7, 3 (2002), 321–350.
[23] Lorenzo Molfetta, Giacomo Frisoni, Nicolò Monaldini, and Gianluca Moro. 2025. PORTS: Preference-Optimized Retrievers for Tool Selection with Large Language Models. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing. 10018–10041.
[24] Boci Peng, Yun Zhu, Yongchao Liu, Xiaohé Bo, Haizhou Shi, Chuntao Hong, Yan Zhang, and Siliang Tang. 2025. Graph Retrieval-Augmented Generation: A Survey. ACM Transactions on Information Systems 44, 2, Article 35 (2025), 52 pages. doi:10.1145/3777378
[25] Peter J Rousseew. 1987. Silhouettes: a graphical aid to the interpretation and validation of cluster analysis. Journal of computational and applied mathematics 20 (1987), 53–65.
[26] Parth Sarthi, Salman Abdullah, Aditi Tuli, Shubh Khanna, Anna Goldie, and Christopher Manning. 2024. Raptor: Recursive abstractive processing for tree-organized retrieval. In International Conference on Learning Representations, Vol. 2024. 32628–32649.
[27] Michael Schlichtkrull, Thomas N Kipf, Peter Bloem, Rianne Van Den Berg, Ivan Titov, and Max Welling. 2018. Modeling relational data with graph convolutional networks. In European semantic web conference. Springer, 593–607.
[28] Melanie Sclar, Yejin Choi, Yulia Tsvetkov, and Alane Suhr. 2024. Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formatting. In International Conference on Learning Representations, Vol. 2024. 25055–25083.
[29] Zhengliang Shi, Shen Gao, Lingyong Yan, Yue Feng, Xiuyi Chen, Zhumin Chen, Dawei Yin, Suzan Verberne, and Zhaochun Ren. 2025. Tool Learning in the Wild: Empowering Language Models as Automatic Tool Agents. In Proceedings of the ACM on Web Conference 2025, WWW 2025, Sydney, NSW, Australia, 28 April 2025-2 May 2025, Guodong Long, Michale Blumestein, Yi Chang, Liane Lewin-Eytan, Zi Helen Huang, and Elad Yom-Tov (Eds.). ACM, 2222–2237. doi:10.1145/3696410.3714825
[30] Zhengliang Shi, Yuhan Wang, Lingyong Yan, Pengjie Ren, Shuaiqiang Wang, Dawei Yin, and Zhaochun Ren. 2025. Retrieval models aren't tool-savvy: Benchmarking tool retrieval for large language models. In Findings of the Association for Computational Linguistics: ACL 2025. 24497–24524.
[31] Mohit Shridhar, Xingdi Yuan, Marc-Alexandre Côté, Yonatan Bisk, Adam Trischler, and Matthew Hausknecht. 2020. Alfworld: Aligning text and embodied environments for interactive learning. arXiv preprint arXiv:2010.03768 (2020).
[32] Weihang Su, Jianming Long, Qingyao Ai, Qiaozhi He, Yichen Tang, Changyue Wang, Yiteng Tu, Yingbo Wang, and Yiqun Liu. 2026. Skill retrieval augmentation for agentic ai. arXiv preprint arXiv:2604.24594 (2026).
[33] Shikhar Vashishth, Prince Jain, and Partha Talukdar. 2018. Cesi: Canonicalizing open knowledge bases using embeddings and side information. In Proceedings of the 2018 World Wide Web Conference. 1317–1327.
[34] Guanzhi Wang, Yuqi Xie, Yunfan Jiang, Ajay Mandlekar, Chaowei Xiao, Yuke Zhu, Linxi Fan, and Anima Anandkumar. 2023. Voyager: An open-ended embodied agent with large language models. arXiv preprint arXiv:2305.16291 (2023).
[35] Zifei Wang, Wei Wen, Qiang Ji, and Ruizhi Qiao. 2026. Skills Know Their Neighbors: Cluster-Contrastive Capability Pages for Skill Retrieval. arXiv preprint arXiv:2608.04482 (2026).
[36] Zifei Wang, Wei Wen, Qiang Ji, Ruizhi Qiao, and Xing Sun. 2026. Skill Is Not Document: A Query-Conditional Benchmark and Two-Stage Retriever for LLM Agent Skill Routing. arXiv preprint arXiv:2606.03565 (2026).
[37] Hongbin Ye, Ningyu Zhang, Hui Chen, and Huajun Chen. 2022. Generative knowledge graph construction: A review. In Proceedings of the 2022 conference on empirical methods in natural language processing. 1–17.
[38] Yuxiang Zhang, Xin Fan, Junjie Wang, Chongxian Chen, Fan Mo, Tetsuya Sakai, and Hayato Yamana. 2024. Data-efficient massive tool retrieval: A reinforcement learning approach for query-tool alignment with language models. In Proceedings of the 2024 Annual International ACM SIGIR Conference on Research and Development in Information Retrieval in the Asia Pacific Region. 226–235.
[39] Yanzhao Zhang, Mingxin Li, Dingkun Long, Xin Zhang, Huan Lin, Baosong Yang, Pengjun Xie, An Yang, Dayiheng Liu, Junyang Lin, et al. 2025. Qwen3 embedding: Advancing text embedding and reranking through foundation models. arXiv preprint arXiv:2506.05176 (2025).
[40] Yuanhang Zheng, Peng Li, Wei Liu, Yang Liu, Jian Luan, and Bin Wang. 2024. Toolrerank: Adaptive and hierarchy-aware reranking for tool retrieval. In Proceedings of the 2024 joint international conference on computational linguistics, language resources and evaluation (LREC-COLING 2024). 16263–16273.
[41] YanZhao Zheng, ZhenTao Zhang, Chao Ma, YuanQiang Yu, JiHuai Zhu, Yong Wu, Tianze Xu, Baohua Dong, Hangcheng Zhu, Ruohui Huang, and Gang Yu. 2026. SkillRouter: Skill Routing for LLM Agents at Scale. arXiv:2603.22455 [cs.LG] https://arxiv.org/abs/2603.22455
[42] Zhaocheng Zhu, Zuobai Zhang, Louis-Pascal Xhonneux, and Jian Tang. 2021. Neural bellman-ford networks: A general graph neural network framework for link prediction. Advances in neural information processing systems 34 (2021), 29476–29490.
[43] Luyao Zhuang, Qinggang Zhang, Huachi Zhou, Yujing Zhang, and Xiao Huang. 2026. LoSemB: Logic-Guided Semantic Bridging for Inductive Tool Retrieval. In Proceedings of the ACM Web Conference 2026, WWW 2026, Dubai, United Arab Emirates, originally scheduled for April 13-17, 2026, rescheduled for June 29 - July 3, 2026, Hakim Hacid, Yoelle Maarek, Francesco Bonchi, Ido Guy, and Emine Yilmaz (Eds.). ACM, 3835–3846. doi:10.1145/3774904.3792336
A Reproducibility
A.1 Evaluation Protocol and Ranking Metrics
Controlled reranking uses the frozen SkillRet-Embedding-0.6B encoder and its top-20 candidate pool on all 4,997 test queries. Public baselines retain published protocols; RAG methods retrieve from the full corpus and are not matched comparisons. Feedback diagnostics use separate 300-query evaluations.
Ranking metrics. Using binary relevance labels, NDCG@k discounts gain at rank i by and normalizes it by ideal gain [13]. Recall@k is the fraction of labeled relevant skills retrieved in the top . Completeness@k equals one only when the top contains every labeled relevant skill [38]. It measures retrieval coverage without certifying capability sufficiency. We report query-level averages as percentages.
A.2 Model and Optimization Details
Graph construction. The offline Qwen2.5-7B-Instruct extractor uses deterministic decoding and validated JSON, extracting four node types before predicting typed edges with exact node endpoints; invalid output receives one format-repair pass. Within each cluster, the frozen encoder embeds raw phrases. Phrases of the same type merge at cosine similarity . Query requirements use the same frozen typed extractor and matching configuration; unmatched requirements remain uncovered. Nodes supported by at least two skills enter the shared layer; single-skill nodes remain local to preserve evidence specific to each candidate.
Optimization. All graph-reranker parameters remain trainable during initialization and graph-native updates. Negatives
Table 7: Capability-graph cluster and node statistics.
| Split | Clusters | Skills/cluster | Cap. | Method | Art. | Const. |
|---|---|---|---|---|---|---|
| Train | 100 | 101.23 | 420.87 | 19.25 | 17.95 | 20.03 |
| Test | 95 | 70.11 | 298.88 | 14.58 | 13.15 | 14.40 |
are drawn exclusively from the top-20 pool: half are the highest-ranked non-relevant candidates, and the rest are sampled from the remaining non-relevant candidates.
Table 8 summarizes these settings.
Table 8: Hyperparameters for graph-reranker training.
| Component | Hyperparameter | Value |
|---|---|---|
| Text encoder | Status | Frozen |
| Graph encoding | Hidden size / layers / dropout | |
| Optimization | Optimizer / weight decay | |
| Gradient clip / accumulation | ||
| Initialization | Epochs / LR / max negatives | |
| Graph training | Epochs / LR / max negatives | |
| Queries / training pairs | ||
| Ranking / witness | ||
| Calibration | Queries / masking examples | |
| LR / utility-prior mix / blend | ||
| Utility scale | ||
| Score fusion | ||
| Reproducibility | Random seed |
Graph-calibration module. We freeze the trained reranker and collect 11,914 masking examples from 1,000 training queries. The utility scale derived from these examples is . The 1,089-parameter calibrator uses AdamW at for at most 200 epochs (patience 20). Let and denote the presigmoid outputs of the structural-confidence and query-relevance networks, so and . Before frozen reranking and witness scoring, shared-node representations are updated with :
We construct the attribution target as:
The node-relevance prior uses frozen encoder embeddings:
Target weights are fixed; gradients do not pass through the target.
A.3 Witness Instantiation and Scope
Implementation IDs are retained on node and edge occurrences; canonical sharing preserves their membership. Each realization has a single method anchor; paths stay within that realization.
Witness computation. Paths stay within one implementation and use at most four declared or inverse typed edges. Allowed relations include IMPLEMENTS, PRODUCES, and CONSTRAINS; a matched method anchor permits a zero-edge branch. The complete relation schema and traversal checks are provided in the accompanying code. Incomplete realizations are excluded from smooth aggregation. If all realizations are incomplete, the witness is zero.
A.4 Statistical Protocol
Confidence intervals. With saved per-query predictions, we draw 5,000 same-size query bootstraps (seed 20260908). The 2.5th and 97.5th percentiles of their mean scores give the 95% CI. Paired gains resample identical IDs for both systems and are absolute percentage-point differences.
Significance tests. We apply two-sided Wilcoxon signed-rank tests to per-query differences, using Pratt zero handling and family-wise Holm correction, with NDCG@10 as the primary metric.
Run variation. Mean ± SD summarizes run variation using sample denominator ; bootstrap CIs describe query uncertainty for a fixed model. Two main-model seeds are reported separately, without seed-level CIs. Table 9 lists both runs.
Table 9: SKALOS results for two training seeds.
| Metric | Seed 42 | Seed 43 | Mean ± SD |
|---|---|---|---|
| NDCG@5 | 84.331 | 84.560 | 84.446 ± 0.162 |
| NDCG@10 | 86.758 | 87.032 | 86.895 ± 0.194 |
| Recall@10 | 94.568 | 94.959 | 94.764 ± 0.276 |
| Comp.@10 | 89.591 | 90.353 | 89.972 ± 0.539 |
A.5 Implementation and Online Efficiency
Table 10 times 300 queries after 20 warm-ups with per-query GPU synchronization on a V100-SXM2 (32 GB), Xeon Gold 6148, and 128 GiB RAM, using PyTorch 2.4.0/CUDA 12.1. It compares base and edge-augmented graphs.
Efficiency metrics. We measure reranker scoring latency per candidate pool using precomputed text embeddings and graph inputs. P95 denotes the 95th percentile of per-query scoring latency, and QPS measures scoring throughput. GPU memory reports peak allocation of the scoring workload, including the graph cache.
Table 10: Witness scoring efficiency for two graph inputs, using precomputed text embeddings.
| Graph | Mean (ms) | P95 (ms) | QPS | Memory (MiB) |
|---|---|---|---|---|
| Base | 134.85 | 155.60 | 7.42 | 181.64 |
| Augmented | 146.97 | 168.47 | 6.80 | 184.16 |
Full-evaluation records. Table 11 reports historical scoring logs for 4,986 queries with precomputed embeddings, separately from the current 4,997-query evaluation.
A.6 Training and Offline Construction Costs
Offline graph construction. Table 12 reports clustering and graph-extraction costs for both corpora.
Table 11: Graph-scoring latency from full evaluation with precomputed embeddings.
| Model/run | Time (s) | ms/query | QPS |
|---|---|---|---|
| Base reranker | 446 | 89.45 | 11.18 |
| Witness, run 1 | 623 | 124.95 | 8.00 |
| Witness, run 2 | 674 | 135.18 | 7.40 |
Latency and throughput are computed from logged elapsed times. Witness runs are separate evaluation records, not independent training seeds.
Table 12: Offline capability-graph construction cost.
| Split | Stage | Total | Median/Skill | P95/Skill |
|---|---|---|---|---|
| Train | Clustering | 128.96 min | - | - |
| Train | Graph extraction | 23.21 h | 24.34 s | 38.47 s |
| Test | Clustering | 64.63 min | - | - |
| Test | Graph extraction | 24.25 h | 22.80 s | 28.00 s |
Model and training costs. Table 13 separates initialization on all 63,259 queries from the 1,000-query graph update and subsequent calibration; parameter counts exclude the frozen encoder.
Table 13: Trainable model size and recorded training cost.
| Component | Parameters | Checkpoint | Training record |
|---|---|---|---|
| Base graph reranker | 0.916M | 3.51 MiB | 33.68 h (3 epochs) |
| Graph-native reranker | 1.999M | 7.65 MiB | 6.07 min (2 epochs) |
| Graph-calibration module | 1,089 | 9.70 KiB | 65.7 min (200 epochs) |
B Robustness and Additional Analyses
B.1 Main-Result Uncertainty
Paired NDCG@10 gains over matched baselines range from 2.672 to 3.703 points, with positive CI lower bounds and Holm-adjusted (Table 14).
Table 14: Paired NDCG@10 gains of SKALOS over matched internal baselines on all 4,997 test queries.
| Comparator | Gain | 95% CI | Holm |
|---|---|---|---|
| Text-only | 2.684 | [2.263, 3.103] | < 0.001 |
| Full SKILL.md | 3.703 | [3.257, 4.174] | < 0.001 |
| Graph-as-Text | 2.672 | [2.237, 3.095] | < 0.001 |
B.2 Cross-Reranker Generalization
In Table 15, Base denotes each reranker's scores re-evaluated on the common top-20 pools. +Embed fuses them with embedding retrieval scores; +Graph fuses them with a Graph-Aware Score trained separately for that reranker on SkillRet. These Base scores differ from the published-protocol results in Table 1.
All ten gains have positive 95% CI lower bounds and Holm-adjusted .
Table 15: Graph augmentation results (NDCG@10).
| Reranker | Base | +Graph | |
|---|---|---|---|
| Qwen3-0.6B | 79.06 | 87.97 | +8.91 |
| Jina-v2 | 75.91 | 87.67 | +11.76 |
| BGE-v2-m3 | 59.79 | 84.60 | +24.81 |
| Qwen3-4B | 81.10 | 88.53 | +7.43 |
| Qwen3-8B | 80.11 | 88.78 | +8.67 |
Table 16: Paired cross-reranker gains on NDCG@10.
| Model | Contrast | Gain | 95% CI | Holm |
|---|---|---|---|---|
| Qwen3-0.6B | vs. Base | 8.913 | [8.223, 9.599] | < .001 |
| vs. +Embed | 8.312 | [7.584, 9.046] | < .001 | |
| Jina-v2 | vs. Base | 11.758 | [11.033, 12.489] | < .001 |
| vs. +Embed | 8.106 | [7.369, 8.862] | < .001 | |
| BGE-v2-m3 | vs. Base | 24.805 | [23.973, 25.660] | < .001 |
| vs. +Embed | 7.236 | [6.473, 7.995] | < .001 | |
| Qwen3-4B | vs. Base | 7.427 | [6.742, 8.091] | < .001 |
| vs. +Embed | 8.289 | [7.546, 9.036] | < .001 | |
| Qwen3-8B | vs. Base | 8.671 | [7.995, 9.333] | < .001 |
| vs. +Embed | 8.446 | [7.696, 9.160] | < .001 |
B.3 Controlled Agent-Execution Protocol
We use all 200 distinct ALFWorld valid_train task directories, none used for selector training; Table 17 gives task-family counts.
Table 17: ALFWorld execution success by task family. Text and + Witness report successful task counts.
| Task family | Tasks | Text | + Witness |
|---|---|---|---|
| Look in light | 19 | 6 | 6 |
| Pick and place | 46 | 17 | 22 |
| Clean and place | 37 | 16 | 18 |
| Cool and place | 28 | 3 | 6 |
| Heat and place | 25 | 2 | 6 |
| Pick two and place | 45 | 0 | 0 |
| Total | 200 | 44 | 58 |
Each task has one valid skill and three fixed hard negatives retaining most text but corrupting a critical method, artifact, or constraint. Text Relevance uses the text reranker; + Capability Witness adds the requirement-covering Max-Min signal over this controlled structure.
Both conditions share candidates and a Qwen2.5-7B controller with deterministic decoding, a 30-step limit, and the same instruction to follow the selected skill's method, outcome, and constraint. Only ALFWorld's task-completion signal counts as success.
Paired outcomes are 18 witness-only and 4 text-only successes, 40 joint successes, and 138 joint failures (exact two-sided McNemar ). The controlled negatives test the witness mechanism, not unconstrained deployment.
B.4 Feedback-Based Error Detection
Controlled corruption. We sample 300 test queries (seed 101) and replace one query-relevant shared node per target graph with a plausible same-type cluster alternative. The 25%, 50%, and 75% settings give the probability of also replacing its raw-text label, removing a clean cue. Two model seeds (42, 43) crossed with three corruption seeds (201–203) give six runs (Table 18).
Detection metrics. Inserted errors are positives; nodes rank by , where is query-independent structural confidence, not relevance. AUPRC is average precision over pooled node records per run. If nodes contain errors and reviewing the lowest-confidence finds , we compute:
Here ; boundary ties receive expected random tie-breaking contribution. Random selection has about 20% recall and 1× enrichment; random AUPRC is 0.090, near error prevalence.
Within-Graph AUC pools error–clean pairs within each query–skill graph (half credit to ties; 0.5 is random). Threshold F1 uses confidence below 0.50 to predict errors.
Table 18: Error detection under raw-evidence corruption. Columns indicate corruption levels; values are mean ± SD.
| Metric | 25% | 50% | 75% |
|---|---|---|---|
| AUPRC | |||
| Recall@20% | |||
| Enrichment@20% | |||
| Within-graph AUC | |||
| Threshold F1 |
Despite stronger raw-evidence corruption, every setting retains enrichment above 1× and within-graph AUC above 0.5.
Recovery diagnostics. Two diagnostic runs (seeds 42 and 43) use 500 training queries and 300 test queries (Table 19). Their 10%, 20%, and 30% budgets specify the fraction of eligible shared nodes selected for error injection. These budgets differ from the probabilities used to corrupt raw labels above. Candidate-score error is the mean absolute deviation from clean-graph scores on matched query-candidate pairs; margin error uses each query's highest-positive minus highest-negative score. For either error , recovery is:
Zero denotes no reduction, 100% complete recovery, and negative values larger deviations. Negligible initial error returns zero. Enrichment uses the error-prevalence ratio above; its review budget is rounded down, with a minimum of one node.
Table 19: Calibration recovery and attribution ablation, with mean ± SD across two recorded runs.
| Metric | Full 10% | Full 20% | Full 30% | W/O Attr. 20% |
|---|---|---|---|---|
| Perturbed (%) | ||||
| Enrich.@20% | - | |||
| Pair rec. (%) | ||||
| Score rec. (%) |