arXiv:2608.11079cs.AI2026-08被引 2

不依赖评估的技能压缩方法,自动提炼可复用结构。

SkillZip: Evaluation-Free Skill Compression for Self-Evolving Agents by Discovering Reusable Structure

论文配图:SkillZip: Evaluation-Free Skill Compression for Self-Evolving Agents by Discovering Reusable Structure
图 1 · 摘自论文原文
  • 通过寻找最短忠实结构解释实现技能压缩
  • 压缩后技能体积平均减少63%,仍保持功能完整
  • 适合自进化智能体长期维护与快速更新

自进化智能体通过添加成功流程和失败修复积累可复用技能。随着时间推移,相同需求常在多个分支、示例和警告中重复出现,通用提示压缩方法不适用,因为技能不仅是文本:其名称与描述定义适用条件,工作流控制执行,工具与输出契约约束有效性,罕见例外即使未被触发也需保留。评估引导压缩虽可测试行为,但引入回放开销并依赖压缩时的评估集。本文提出SkillZip,一种无需评估的方法,通过发现技能最短忠实结构解释进行压缩。核心思想是‘解释一次,引用多次’:在作用域内仅声明一次重复规则,将重复动作序列抽象为共享过程,仅显式保留差异部分作为例外。我们形式化该思想为基于技能契约与残差的类型化最小描述长度目标,满足每个提取触发器、工作流边、工具要求、义务和输出字段的硬覆盖约束。该方法提供简单共享阈值,构造性保留唯一罕见规则,支持高效局部更新。SkillZip具备一次性压缩模式(单次结构提取调用+确定性优化)和持续压缩写入模式(每次自进化修补无需重播任务或重解析历史)。实验表明,SkillZip在压缩性能、泛化能力与开销方面均显著优于基线。

原文摘要 · Abstract (English)

Self-evolving agents accumulate reusable skills by appending successful procedures and failure fixes. Over time, the same requirement is often restated in several branches, examples, and warnings, while common action sequences are copied rather than reused. The resulting skill becomes expensive to inject and difficult to maintain. Generic prompt compression is ill-suited to this setting because a skill is not a flat passage: its name and description define when it applies, its workflow controls execution, its tool and output contracts constrain validity, and rare exceptions may remain essential even when no sampled task activates them. Evaluation-guided compression can test these behaviors, but it introduces rollouts, cost, and dependence on the compression-time evaluation set. We present SkillZip, an evaluation-free method that compresses a skill by finding its shortest faithful structural explanation. The intuition is explain once, reference many: state a repeated rule once at the scope where it applies, factor a repeated action sequence into a shared procedure, and keep only the differences as explicit exceptions. We formalize this intuition as a typed minimum description-length objective over a skill contract and a residual, subject to a hard coverage constraint for every extracted trigger, workflow edge, tool requirement, obligation, and output field. The formulation provides simple sharing thresholds, preserves unique rare rules by construction, and supports efficient local updates. SkillZip has a one-shot mode with one structured extraction call and deterministic optimization, and a continual Zip-on-Write mode that integrates each self-evolution patch without replaying tasks or reparsing the full history. Through comprehensive experimental evaluations, we demonstrate the effectiveness and superiority of SkillZip in compression performance, generalizability, and cost overhead.

智能体技能压缩结构发现

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。