SKIM: Pruning Large Language Model Agents via Selective Knowledge Informed Masking
On the map: LLM agents and tool use → Agent memory systems also fits: General LLM agent frameworks and benchmarks
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 40 of its 43 references that are in the map. Submitted 5 Nov 2026.
Builds on
40 of 43 references.
Closest ancestors · 1
Same direction, newest first
- 2025Can Compressed LLMs Truly Act? An Empirical Evaluation of Agentic Capabilities in LLM Compression26 May
Other references · 39
- 2021Training Verifiers to Solve Math Word Problemscited by 11,055
- 2015Distilling the Knowledge in a Neural Networkcited by 10,967
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,481
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,469
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,986
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,399
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 2,115
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 2,083
- 2014FitNets: Hints for Thin Deep Netscited by 1,712
- 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,450
- 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,418
27 more
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,372
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,206
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,205
- 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakescited by 1,201
- 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,183
- 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 878
- 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 686
- 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 646
- 2019Importance Estimation for Neural Network Pruningcited by 556
- 2019Patient Knowledge Distillation for BERT Model Compressioncited by 517
- 2023Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningcited by 445
- 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 433
- 2024SliceGPT: Compress Large Language Models by Deleting Rows and Columnscited by 422
- 2023ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddingscited by 245
- 2023Efficient Guided Generation for Large Language Modelscited by 244
- 2023Grammar-Constrained Decoding for Structured NLP Tasks without Finetuningcited by 229
- 2024APIGen: Automated Pipeline for Generating Verifiable and Diverse Function-Calling Datasetscited by 214
- 2024Compact Language Models via Pruning and Knowledge Distillationcited by 168
- 2023Fluctuation-based Adaptive Structured Pruning for Large Language Modelscited by 120
- 2024xLAM: A Family of Large Action Models to Empower AI Agent Systemscited by 117
- 2022Prompting Is Programming: A Query Language for Large Language Modelscited by 116
- 2024XGrammar: Flexible and Efficient Structured Generation Engine for Large Language Modelscited by 98
- 2023Sequential Monte Carlo Steering of Large Language Models using Probabilistic Programscited by 88
- 2025JSONSchemaBench: A Rigorous Benchmark of Structured Outputs for Language Modelscited by 86
- 2024Hammer: Robust Function-Calling for On-Device Language Models via Function Maskingcited by 60
- 2024SlimGPT: Layer-wise Structured Pruning for Large Language Modelscited by 48
- 2022Knowledge Distillation of Transformer-based Language Models Revisitedcited by 12
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026LLMs can Compress LLMs: Adaptive Pruning by Agents
- 2026StepKV: Step-Aware KV Cache Compression for LLM Agents
- 2025RAP: Runtime Adaptive Pruning for LLM Inference
- 2026UniComp: A Unified Evaluation of Large Language Model Compression via Pruning, Quantization, and Distillation
- 2025ACON: Optimizing Context Compression for Long-horizon LLM Agents
- 2026Rethinking LLM Pruning via Test-Time Scaling
- 2025Structured Agent Distillation for Large Language Model
- 2025Pruning Laws for Large Language Models