跳到主内容
@wquguru
精选75DAIR.AI(RSS)论文研究

DAIR.AI 周报:Agent 训练、技能瓶颈与系统优化论文汇总

🥇Top AI Papers of the Week

原文
发到 X

1. Agent Lightning v1.0

1. Agent Lightning v1.0

Modern agents run inside a harness that owns tools, context, and control flow. Training one gets awkward because the harness runs the environment loop while the trainer only ever sees LLM request and response pairs. This work from Microsoft uses that boundary as the integration point.

现代智能体运行在一个拥有工具、上下文和控制流的框架(harness)中。训练一个智能体会变得棘手,因为框架负责运行环境循环,而训练器只能看到 LLM 的请求和响应对。微软的这项研究利用这一边界作为集成点。

  • The harness stays opaque: An endpoint proxy sits at the model boundary and connects any harness to RL in about 3,500 lines, so an existing agent can be trained without being rewritten for the trainer.
  • The hard part comes after the proxy: The paper works through what actually breaks in that setup, retokenization, sample merging, advantage calculation, loss normalization, and backend scheduling. Each item silently corrupts gradients when a harness sits between the policy and the reward.
  • Small budget, real movement: Using 6K training examples and modest compute, it moves Qwen3.5-9B on SWE-bench Verified from 41.8% to 56.4%.
  • Why it matters: This is the clearest expression yet of the theme running through this week’s papers, that the harness belongs in the training stack as a first-class object. If your agent already works, you can now train the model against the exact system it runs in.
  • 框架保持不透明:一个端点代理位于模型边界处,并在约 3,500 行代码内将任何框架连接到强化学习(RL),因此现有的智能体无需为训练器重写即可进行训练。
  • 难点出现在代理之后:论文详细分析了该设置中实际出错的地方,包括重新分词、样本合并、优势计算、损失归一化和后端调度。当框架位于策略和奖励之间时,每一项都会无声地破坏梯度。
  • 预算有限,但成效真实:使用 6,000 个训练示例和适度的算力,它在 SWE-bench Verified 上将 Qwen3.5-9B 的表现从 41.8% 提升到了 56.4%。
  • 为何重要:这是本周论文贯穿主题的最清晰表达,即框架应作为一等公民对象纳入训练栈。如果你的智能体已经能正常工作,你现在可以针对其运行的确切系统来训练模型。

Paper | Tweet

论文 | 推文

2. The Skill Trigger Bottleneck

2. 技能触发瓶颈

There are 56,804 public agent skills today, all competing for fewer than 100 reliable trigger slots in the system prompt. Your own playbooks compete for that same space, which means the long tail never gets used no matter how good it is. The paper traces that scarcity back to how skills get installed.

目前共有 56,804 个公开的智能体技能,它们都在争夺系统提示词中不到 100 个可靠的触发槽位。你自己的剧本也在争夺同样的空间,这意味着无论长尾技能有多好,它们都永远不会被使用。论文将这种稀缺性追溯到了技能的安装方式。

  • One word for three separate things: Installation currently bundles content, persistence, and automatic triggering. Only triggering needs to occupy prompt space, so the protocol separates the three into Reference, Saved workflows, and Installed tiers.
  • A path is the whole interface: A path addresses any skill, subtree, or collection, and reading it is enough to use it. A directory becomes a menu, so bundles stop being all-or-nothing and you can pull one file out of someone else’s collection.
  • Vendoring gives you ownership: Copying a skill into your Git tree at the same path means your team owns and adapts it.
  • Why it matters: No manifest, no lockfile, no registration, and SKILL.md is unchanged, so this is adoptable without an ecosystem migration. The three-tier framing stays useful even if you never adopt the protocol. Decide per skill whether it needs to fire unasked, and most of yours will not.
  • 一个词对应三件事:当前的安装过程捆绑了内容、持久化和自动触发。只有触发需要占用提示词空间,因此协议将这三者分离为参考(Reference)、已保存工作流(Saved workflows)和已安装(Installed)层级。
  • 路径是整个接口:路径可以指向任何技能、子树或集合,读取它便足以使用。目录变成一个菜单,因此捆绑包不再是全有或全无的模式,你可以从别人的集合中提取单个文件。
  • vendoring(本地化复制)赋予你所有权:将技能复制到 Git 仓库中相同的路径下,意味着你的团队拥有并可以对其进行适配。
  • 为何重要:没有清单,没有锁文件,没有注册表,且 SKILL.md 保持不变,因此无需生态系统迁移即可采用。即使你从不采用该协议,这种三层架构的框架依然有用。针对每个技能决定它是否需要未经请求就自动触发,你会发现大多数都不需要。

Paper | Tweet

论文 | 推文

3. Harness-Level Forgetting

3. 框架级遗忘

Continual learning has always tracked what changes in the weights. Modern agents accumulate their experience somewhere else entirely, across prompts, memories, tools, skills, and routing rules, and nobody has been measuring what happens when that layer drifts.

持续学习始终追踪权重的变化。现代智能体将经验完全积累在其他地方,跨越提示词、记忆、工具、技能和路由规则,而无人测量过当这一层发生漂移时会发生什么。

  • The failure has a name now: Update any harness component and previously reliable behavior can break with the model completely untouched. The paper calls this harness-level forgetting and gives it a measurement protocol.
  • Proposing and committing are different jobs: Guarded harness evolution splits them. A Continual Optimizer drafts a candidate harness from post-execution feedback, and a Continual Evaluator commits only after checking current improvement, historical retention, and validity.
  • It generalizes across modality: Relative gains exceed 10% across textual reasoning, multimodal perception, and open-world interaction.
  • Why it matters: If you already let your agents rewrite their own prompts, skills, or memory files, you are running an unguarded version of this loop today. The gate between draft and commit is cheap to add, and the historical retention check is the one most self-editing setups skip.
  • 这种失败现在有了名字:更新任何编排组件(harness component),即使模型本身完全未动,以往可靠的行为也可能崩溃。论文称此为编排级遗忘(harness-level forgetting),并给出了测量协议。
  • 提议与提交是两项不同的工作:受保护的编排演进将其分离。持续优化器(Continual Optimizer)根据执行后反馈起草候选编排方案,而持续评估器(Continual Evaluator)仅在检查当前改进、历史保留率和有效性后才予以提交。
  • 它在跨模态场景下具有泛化能力:在文本推理、多模态感知和开放世界交互中,相对提升均超过 10%。
  • 为何重要:如果你已经让智能体重写自身的提示词、技能或记忆文件,那么你今天运行的正是该循环的无保护版本。添加草稿到提交的关卡成本很低,而历史保留率检查是最常被自编辑设置所忽略的一环。

Paper | Tweet

论文 | 推文

4. The Control-Plane Tax

4. 控制平面税(Control-Plane Tax)

Serving systems for agentic applications still carry assumptions inherited from single-turn LLM inference. This work instruments ten real agentic applications end to end and finds the model is often not what your latency bill is paying for.

智能体应用的服务系统仍带有从单轮 LLM 推理继承而来的假设。这项工作对十个真实的智能体应用进行了端到端的仪器化监测,发现模型往往并非你延迟账单所支付的对象。

  • Non-LLM components dominate in half the suite: Across ten instrumented applications, non-LLM components dominate latency in five of them. Task latencies inside a single application diverge by up to 32x across GPU-bound inference, memory-bound retrieval, and CPU-bound sandboxes.
  • Sessions sit idle for a long time: Sandbox working sets peak at 28 GB per session, and production sessions hold state idle for minutes to hours between active steps. That combination makes naive per-session provisioning expensive.
  • The tax is auxiliary calls: Helper LLM calls and tool schema overhead form a control-plane tax that crowds out productive compute, which stays invisible if you only profile the main generation path.
  • Why it matters: The fixes are concrete and orthogonal to the model. Task-aware serving cuts latency 29 to 40%, state offloading cuts memory 4.6x, and tool-result caching removes 35.2% of redundant search calls. Worth reading before you buy more GPUs.
  • 非 LLM 组件占据半数套件的主导地位:在十个被监测的应用中,非 LLM 组件在其中的五个里主导了延迟。单个应用内的任务延迟因 GPU 受限推理、内存受限检索和 CPU 受限沙箱的不同,最高相差 32 倍。
  • 会话长时间处于空闲状态:每个会话的沙箱工作集峰值达 28 GB,且生产环境中的会话在活跃步骤之间会保持状态空闲数分钟至数小时。这种组合使得朴素每会话配置的成本高昂。
  • 税收来自辅助调用:辅助 LLM 调用和工具模式开销构成了控制平面税,挤占了有效计算资源;如果仅分析主生成路径,这些影响将是不可见的。
  • 为何重要:修复措施具体且与模型正交。任务感知的服务可将延迟降低 29% 至 40%,状态卸载可将内存占用减少 4.6 倍,工具结果缓存可消除 35.2% 的冗余搜索调用。在购买更多 GPU 之前值得一读。

Paper | Tweet

论文 | 推文

Message from the Editor

编辑寄语

We just released Introduction to Exo, a hands-on DAIR Academy lab on the open-source agent harness built for recursive self-improvement. Across 6 labs, you drive the real exo CLI in a live terminal, give an agent a shell, read its raw event log, and fork a conversation to travel back in time.

我们刚刚发布了《Exo 入门》,这是 DAIR Academy 的一个动手实践实验,基于为递归自我改进而构建的开源智能体框架。在 6 个实验中,你在实时终端中操作真实的 exo CLI,赋予智能体 shell 权限,阅读其原始事件日志,并分叉对话以回溯时间。

Enroll Now

立即报名

5. Demystifying Agent Skills

5. 揭秘智能体技能

Skills are usually assumed to inject knowledge the model lacks. This paper runs the controlled comparison and finds the mechanism works differently, which changes what a good skill should contain.

通常假设技能会注入模型所缺乏的知识。本文进行了受控比较,发现该机制的工作方式不同,这改变了良好技能应包含的内容。

  • Procedure beats facts by an order of magnitude: Across 8,135 normalized trial records, procedural anchoring accounts for 65.7% of cases where a skill helps and explicit knowledge injection accounts for 4.5%. Skills mainly stabilize execution.
  • Precision collapses as the library grows: As the pool goes from 5 to 100 skills, actual-use precision falls from 29.6% to 3.3%. Every skill you add makes the rest harder to select correctly, which is the empirical version of the trigger scarcity problem.
  • They still beat the alternative: Skills outperform Workflow Memory by 6.06 points in matched comparisons, so the format earns its place even with the selection problem unsolved.
  • Why it matters: The failure modes are named and diagnosable, brittle assumptions, incompatible contexts, and insufficient adaptation. Combined with the precision curve, the practical read is to write skills as repeatable procedures and keep the active set small.
  • 程序性知识比事实知识高出数量级:在 8,135 条标准化试验记录中,程序性锚定占技能发挥作用的案例的 65.7%,而显式知识注入仅占 4.5%。技能主要用于稳定执行过程。
  • 随着库的扩大,精确度急剧下降:当技能池从 5 个增加到 100 个时,实际使用精确度从 29.6% 降至 3.3%。你添加的每个技能都会使其他技能更难被正确选择,这是触发稀缺问题的实证版本。
  • 它们仍然优于替代方案:在匹配的比较中,技能的表现比工作流记忆高出 6.06 分,因此即使选择问题尚未解决,这种格式也赢得了其地位。
  • 为何重要:失败模式已被命名且可诊断,包括脆弱的假设、不兼容的上下文和适应不足。结合精确度曲线,实际建议是将技能编写为可重复的程序,并保持活跃集合较小。

Paper | Tweet

论文 | 推文

6. Strategy Lock-In

6. 策略锁定

Agents post-training other agents is one of the more load-bearing assumptions in current recursive self-improvement arguments. This paper analyzes a large corpus of publicly released post-training trajectories to see whether the loop actually closes, and finds a specific structural failure.

智能体对其他智能体进行后训练是当前递归自我改进论点中较为关键的假设之一。本文分析了大量公开发布的后训练轨迹语料库,以观察循环是否真正闭合,并发现了一种特定的结构性失败。

  • The first step decides everything: Across tasks, the agent locks in its training strategy at the very first step, then spends the entire remaining budget on local adjustments inside that choice.
  • Better scaffolding lifts execution: An experience-driven scaffold was worth 12.6 points on GSM8K and 40.8 on HumanEval, and the strategy stayed frozen throughout. The agent got better at the plan it had already committed to.
  • Human guidance does not survive training: Redirecting the opening choice by hand worked, and the agent slid back into local loops once training began. Extra inference compute paid off on easy tasks and did almost nothing on the hardest one.
  • Why it matters: What agents lack here is a way to reconsider strategy while execution is still running. None of the three escalating fixes tried here touch that, which sets a clear target for the next round of work.
  • 第一步决定一切:在各种任务中,智能体在第一步就锁定了其训练策略,然后在剩余的全部预算中仅在该选择范围内进行局部调整。
  • 更好的脚手架提升执行效果:经验驱动的脚手架在 GSM8K 上带来了 12.6 分的提升,在 HumanEval 上带来了 40.8 分的提升,且策略在整个过程中保持冻结。智能体变得更擅长于它已承诺的计划。
  • 人类指导无法在训练中存活:手动重定向初始选择是有效的,但一旦训练开始,智能体又滑回局部循环。额外的推理计算在简单任务上有所回报,在最难的任务上几乎毫无作用。
  • 为何重要:代理在此缺乏的是一种在执行仍在运行时重新考虑策略的方法。此处尝试的三种逐步升级的修复方案均未触及这一点,这为下一轮工作设定了明确的目标。

Paper | Tweet

论文 | 推文

7. SocialRL

7. SocialRL

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

另一事件,读法相近