SKIM: Pruning Large Language Model Agents via Selective Knowledge Informed Masking

Large Language Model (LLM) agents are increasingly deployed under structured generation, where grammar constraints enforce output format at inference time. Whereas existing compression methods target unconstrained generation, we first identify a fundamental mismatch: under structured generation, grammar constraints reduce the model's output distribution to valid tokens, and the logits matter most at the small set of positions that decide the agent's action. Motivated by this finding, we propose SKIM (Selective Knowledge-Informed Masking), the first pruning and distillation framework for LLM agents under structured generation, with both stages guided by token role. SKIM partitions token positions into context, decision, and format categories, and this partition drives two complementary axes: (1) category-aware pruning saliency scores that preserve parameters most relevant for decision positions; and (2) an on-policy distillation objective that aligns student and teacher on valid tokens, paired with category-aware feature matching. We evaluate SKIM on tool-calling benchmarks and within multi-step agent loops, across multiple model scales and sparsity levels. SKIM consistently improves accuracy over baselines, with its superiority becoming most striking in high-sparsity regimes where conventional methods struggle, demonstrating the potential of category-aware compression for deployment-time grammar-constrained agents.

Link
https://www.semanticscholar.org/paper/8fb4f562d97c5390c2edc6a4ec2088649de087af
Found by
Semantic Scholar
Authors
Moonseok Choi, Jongwon Jeong, Minki Kang, G. Nam, Juho Lee
Categories
benchmark, evaluation, agentic
Published
2026-11-05
Last seen by the radar
2026-11-07
Citations
0
Influential citations
0
Radar score
44.25 / 100 (how it is scored)
Why it scored so
Matched: agent~evaluate, benchmark, evaluat; Primary record: Semantic Scholar
Related links
https://arxiv.org/abs/2611.07558
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar