SKIM:通过选择性知识引导掩码剪枝大语言模型智能体
SKIM: Pruning Large Language Model Agents via Selective Knowledge Informed Masking
AI 导读
SKIM(Selective Knowledge-Informed Masking)是首个面向结构化生成场景的大语言模型智能体剪枝与蒸馏框架,按 context、decision、format 三类 token 位置引导剪枝显著度评分与 on-policy 蒸馏目标。在工具调用 benchmark 和多步智能体循环、多模型规模与稀疏度下的评估中,SKIM 准确率持续优于基线,高稀疏度下优势最明显。
正文 · 原文
Abstract: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.
| Comments: | NeurIPS 2026. Project page: this https URL |
| Subjects: | Computation and Language (cs.CL); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.07558 [cs.CL] |
| (or arXiv:2611.07558v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2611.07558 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Moonseok Choi [view email]
[v1]
Thu, 5 Nov 2026 07:04:45 UTC (891 KB)
来源:arXiv cs.AI · arxiv.org