Paper: 2605.23904 Authors: Yifan Yang, Ziyang Gong, Weiquan Huang, Qihao Yang, Ziwei Zhou, Zisu Huang, Yan Li, Xuemei Gao, Qi Dai, Bei Liu Categories: cs.AI, cs.CL

The Gap

Agent skills today come from three sources: hand-crafted by humans, generated one-shot by LLMs, or evolved through self-revision methods like TextGrad or EvoSkill. None of these behave like a proper optimizer. Hand-crafted skills don’t improve automatically. One-shot generation has no feedback loop. Self-revision methods make uncontrolled edits without validation gates, so they drift rather than converge. The field lacks a text-space equivalent of SGD for skills.

Problem: Agent skills don't improve reliably under feedback
   |
   v
Assumption: Skills are external state that can be optimized
   |
   v
Method: Separate optimizer model + validation gate + edit budget
   |
   v
Evidence: +23.5 points on GPT-5.5, beats all baselines on 52 cells
   |
   v
Conclusion: Text-space optimization works when disciplined

The Increment

One sentence: Before SkillOpt, agent skills were static artifacts or drifted under loose self-revision; after SkillOpt, skills are trained through bounded edits with strict validation, converging like neural network weights.

Core Mechanism

SkillOpt separates the agent (frozen) from the skill (trainable). The skill is a text document containing instructions, examples, or heuristics. An optimizer model observes scored rollouts from the agent executing tasks with the current skill. It proposes edits: add a new example, delete a confusing instruction, replace a heuristic. Each edit is bounded by a learning-rate budget (max tokens changed per step). The edit is applied to a candidate skill, tested on a held-out validation set, and accepted only if validation score strictly improves. Rejected edits go into a buffer to prevent cycling. After multiple edits (an epoch), a slow update merges accepted changes into the skill, and a meta update adjusts the learning rate.

Rollouts (train) --> Optimizer Model --> Proposed Edit
                                              |
                                              v
                                    Apply to Skill Copy
                                              |
                                              v
                                    Test on Validation Set
                                              |
                         +--------------------+--------------------+
                         |                                         |
                    Score Up                                  Score Down
                         |                                         |
                    Accept Edit                              Reject --> Buffer
                         |
                         v
                    Update Skill

Think of SkillOpt as a personal trainer for the agent. The agent is the athlete (frozen, not changing its muscles). The skill is the training regimen (diet, exercises, rest schedule). The optimizer is the trainer who watches performance videos (rollouts), suggests tweaks to the regimen (edits), and only keeps changes that improve race times on a test track (validation set). The learning-rate budget is how much the trainer can change per week. The rejected-edit buffer is a logbook of failed experiments so the trainer doesn’t repeat mistakes. The slow update is the monthly review where successful tweaks become permanent habits. The meta update is adjusting how aggressive the trainer should be based on whether the athlete is plateauing or improving.

Key Concepts

  • Text-space optimization: Neural networks optimize in weight space (continuous numbers). SkillOpt optimizes in text space (discrete tokens). The skill is a document, not a parameter vector. Edits are add/delete/replace operations on text spans, not gradient steps on floats. The validation gate replaces the loss function: an edit is “better” if it raises validation accuracy, not if it lowers a differentiable loss. This makes optimization discrete and non-differentiable, but interpretable and transferable across models.

  • Validation gate: Most self-revision methods apply edits if they seem reasonable or improve training score. SkillOpt requires strict improvement on a held-out validation set. This prevents overfitting to training examples and stops the skill from drifting into local minima. It’s the equivalent of early stopping in neural network training, but applied per edit instead of per epoch. Without this gate, skills accumulate noise and degrade over iterations.

  • Learning-rate budget: In SGD, learning rate controls step size in weight space. In SkillOpt, the learning-rate budget controls how many tokens can be added, deleted, or replaced per edit. A small budget (e.g., 50 tokens) forces incremental changes. A large budget allows rewriting entire sections. The budget is adaptive: if validation scores plateau, the meta update shrinks the budget to make finer adjustments. This prevents the optimizer from making wild swings that break the skill.

Framework Shift

Before (one-shot or loose self-revision):

Human/LLM --> Skill (static) --> Agent --> Task
                                   |
                              (no feedback loop
                               or uncontrolled edits)


After (SkillOpt):

Rollouts --> Optimizer --> Edit Proposal --> Validation Gate
                                                    |
                                               Accept/Reject
                                                    |
                                                    v
                                            Skill (evolving) --> Agent --> Task
                                                    ^
                                                    |
                                            (disciplined loop)

From static artifact to trainable state, the core shift is treating the skill as the optimization target with the same rigor as neural network weights.

Expert Assessment

Problem choice: Real gap. Agent skills are a bottleneck in practice. Hand-crafting doesn’t scale, one-shot generation is hit-or-miss, and existing self-revision methods (TextGrad, EvoSkill) lack the discipline to converge reliably. This paper identifies that the missing piece is a proper optimizer with validation gates and learning-rate control. The problem sits at the intersection of prompt engineering and meta-learning, both active areas.

Method maturity: Clever insight with solid engineering. The core idea—treat skills as external state and optimize them like weights—is elegant. The validation gate and learning-rate budget are borrowed from neural network training, which is smart reuse. The rejected-edit buffer and slow/meta updates add stability without overcomplicating. However, the method requires a separate optimizer model, which adds cost during training (though zero cost at deployment). A simpler approach might be to use the agent itself as the optimizer, but that risks instability. The choice to freeze the agent and optimize the skill externally is defensible.

Experimental integrity: Strong. The paper tests on six benchmarks, seven models, and three execution harnesses (52 cells total). SkillOpt wins or ties on all cells. Baselines include human-written skills, one-shot LLM, and four self-revision methods (Trace2Skill, TextGrad, GEPA, EvoSkill). The +23.5 point gain on GPT-5.5 is substantial. Transfer experiments show skills retain value across model scales and execution environments, which is a good robustness check. One potential concern: the validation set is held-out from training, but it’s unclear if it’s from the same distribution as the test set. If validation and test distributions differ, the validation gate might not generalize. The paper doesn’t discuss this explicitly.

Writing quality: Clear structure, but the related work section is dense and could be trimmed. The method section is well-organized, though the slow/meta update mechanism is introduced late and feels tacked on. The ablation study (if present) would benefit from being highlighted earlier to show which components matter most. The transfer experiments are buried in the appendix but deserve more prominence in the main text since they demonstrate the skill artifacts’ value.

Verdict: strong accept — First systematic text-space optimizer for agent skills with rigorous validation and strong empirical results across diverse settings.

Takeaways

Practitioners can steal the validation gate pattern: don’t accept changes just because they improve training metrics—require strict improvement on a held-out set. This applies beyond agent skills to any iterative refinement process (prompt tuning, config optimization, hyperparameter search). The learning-rate budget is also transferable: when optimizing discrete objects (text, code, configs), bound how much you change per step to prevent instability. Finally, the rejected-edit buffer is a simple but effective way to avoid cycling in discrete optimization—keep a memory of what didn’t work and don’t retry it.

论文: 2605.23904 作者: Yifan Yang, Ziyang Gong, Weiquan Huang, Qihao Yang, Ziwei Zhou, Zisu Huang, Yan Li, Xuemei Gao, Qi Dai, Bei Liu 分类: cs.AI, cs.CL

缺口

当前智能体技能有三个来源:人工编写、大模型一次性生成、或通过 TextGrad 和 EvoSkill 等自我修正方法演化。

这三种方式都不像真正的优化器。

人工编写的技能不会自动改进。

一次性生成没有反馈循环。

自我修正方法进行无控制的编辑,没有验证门控,结果是漂移而非收敛。

该领域缺少技能的文本空间 SGD 等价物。

问题:智能体技能在反馈下无法可靠改进
   |
   v
假设:技能是可优化的外部状态
   |
   v
方法:独立优化器模型 + 验证门控 + 编辑预算
   |
   v
证据:GPT-5.5 上 +23.5 分,在 52 个单元格上击败所有基线
   |
   v
结论:有纪律的文本空间优化有效

增量

一句话: SkillOpt 之前,智能体技能是静态产物或在松散自我修正下漂移;SkillOpt 之后,技能通过有界编辑和严格验证进行训练,像神经网络权重一样收敛。

核心机制

SkillOpt 将智能体(冻结)与技能(可训练)分离。

技能是包含指令、示例或启发式规则的文本文档。

优化器模型观察智能体用当前技能执行任务的评分轨迹。

它提出编辑:添加新示例、删除混乱指令、替换启发式规则。

每次编辑受学习率预算约束(每步最多改变的 token 数)。

编辑应用到候选技能,在留出的验证集上测试,仅当验证分数严格提升时才接受。

被拒绝的编辑进入缓冲区以防止循环。

多次编辑后(一个 epoch),慢更新将接受的变更合并到技能中,元更新调整学习率。

轨迹(训练)--> 优化器模型 --> 提议编辑
                                  |
                                  v
                          应用到技能副本
                                  |
                                  v
                          在验证集上测试
                                  |
                 +----------------+----------------+
                 |                                 |
            分数上升                           分数下降
                 |                                 |
            接受编辑                          拒绝 --> 缓冲区
                 |
                 v
            更新技能

把 SkillOpt 想象成智能体的私人教练。

智能体是运动员(冻结,不改变肌肉)。

技能是训练方案(饮食、锻炼、休息计划)。

优化器是教练,观看表现视频(轨迹),建议调整方案(编辑),只保留在测试赛道(验证集)上提升成绩的变更。

学习率预算是教练每周能改变多少内容。

被拒绝编辑缓冲区是失败实验的日志,教练不会重复错误。

慢更新是每月复盘,成功的调整变成永久习惯。

元更新是根据运动员是否停滞或进步来调整教练的激进程度。

关键概念

  • 文本空间优化: 神经网络在权重空间(连续数字)优化。

SkillOpt 在文本空间(离散 token)优化。

技能是文档,不是参数向量。

编辑是对文本片段的添加/删除/替换操作,不是对浮点数的梯度步。

验证门控替代损失函数:如果编辑提升验证准确率就”更好”,而非降低可微损失。

这使优化离散且不可微,但可解释且可跨模型迁移。

  • 验证门控: 大多数自我修正方法在编辑看起来合理或提升训练分数时就应用。

SkillOpt 要求在留出验证集上严格提升。

这防止过拟合训练样本,阻止技能漂移到局部最小值。

相当于神经网络训练中的早停,但应用于每次编辑而非每个 epoch。

没有这个门控,技能会积累噪声并在迭代中退化。

  • 学习率预算: 在 SGD 中,学习率控制权重空间的步长。

在 SkillOpt 中,学习率预算控制每次编辑可添加、删除或替换的 token 数。

小预算(如 50 token)强制增量变更。

大预算允许重写整个部分。

预算是自适应的:如果验证分数停滞,元更新缩小预算以进行更精细调整。

这防止优化器做出破坏技能的剧烈摆动。

框架转变

之前(一次性或松散自我修正):

人类/大模型 --> 技能(静态)--> 智能体 --> 任务
                                   |
                              (无反馈循环
                               或无控制编辑)


之后(SkillOpt):

轨迹 --> 优化器 --> 编辑提议 --> 验证门控
                                    |
                               接受/拒绝
                                    |
                                    v
                            技能(演化)--> 智能体 --> 任务
                                    ^
                                    |
                            (有纪律的循环)

从静态产物到可训练状态,核心转变是用与神经网络权重相同的严谨性将技能视为优化目标。

专家评审

选题眼光: 真实缺口。

智能体技能在实践中是瓶颈。

手工编写不可扩展,一次性生成碰运气,现有自我修正方法(TextGrad、EvoSkill)缺乏可靠收敛的纪律。

本文识别出缺失的部分是带验证门控和学习率控制的真正优化器。

问题位于提示工程和元学习的交叉点,两者都是活跃领域。

方法成熟度: 巧妙洞察加扎实工程。

核心思想——将技能视为外部状态并像权重一样优化——很优雅。

验证门控和学习率预算借鉴自神经网络训练,是聪明的复用。

被拒绝编辑缓冲区和慢/元更新增加稳定性而不过度复杂化。

但方法需要独立的优化器模型,训练时增加成本(尽管部署时零成本)。

更简单的方法可能是用智能体本身作为优化器,但那会有不稳定风险。

冻结智能体并外部优化技能的选择是可辩护的。

实验诚意: 强。

论文在六个基准、七个模型、三个执行框架上测试(共 52 个单元格)。

SkillOpt 在所有单元格上获胜或打平。

基线包括人类编写技能、一次性大模型、四种自我修正方法(Trace2Skill、TextGrad、GEPA、EvoSkill)。

GPT-5.5 上 +23.5 分的提升很可观。

迁移实验显示技能在模型规模和执行环境间保留价值,是良好的鲁棒性检查。

一个潜在担忧:验证集从训练中留出,但不清楚是否与测试集同分布。

如果验证和测试分布不同,验证门控可能无法泛化。

论文没有明确讨论这点。

写作功力: 结构清晰,但相关工作部分密集,可以精简。

方法部分组织良好,尽管慢/元更新机制引入较晚,感觉是后加的。

消融研究(如果有)应更早突出以显示哪些组件最重要。

迁移实验埋在附录中,但值得在正文中更突出,因为它们展示了技能产物的价值。

判决: 强接收 — 首个系统化的智能体技能文本空间优化器,具有严格验证和在多样化设置下的强实证结果。

要点总结

实践者可以偷走验证门控模式:不要仅因变更提升训练指标就接受——要求在留出集上严格提升。

这适用于智能体技能之外的任何迭代精炼过程(提示调优、配置优化、超参搜索)。

学习率预算也可迁移:优化离散对象(文本、代码、配置)时,限制每步改变多少以防止不稳定。

最后,被拒绝编辑缓冲区是避免离散优化中循环的简单但有效方法——记住什么不起作用,不要重试。