Agentic RL 综述:POMDP 形式化、训练基础设施与算法演进

从 Agent 定义、POMDP 形式化与核心挑战出发,分别讨论 Data、Infra 与 Methods(奖励、算法、上下文、评测),并覆盖近期进展与案例。

Author

Nov, 28, 2026

13 min

Agentic RL 相对 RLVR 的本质差异是 turn-level 决策、long-horizon 交互,以及稀疏可验证奖励。本文在 Introduction 中给出 Agent 范式、POMDP 形式化与核心挑战,再分别讨论 Data 与 Infra,随后在 Methods 中统一奖励、算法、上下文管理与评测,最后以 Recent Progress(含案例)收束。

Introduction

Agentic RL 的目标是训练 agent 使用 tools,以最大化完成任务的能力:

  1. SFT: 模仿学习,避免模型出现低级的工具调用错误
  2. RL: 让模型探索并强化有效轨迹

要解决的问题:

  1. 高质量的可验证训练数据
  2. 怎样将可验证的数据有效地喂给模型

Scaling agentic RL 面临的系统瓶颈:

  1. large scale sandbox environment
  2. long context inference: 128k-1M, 50~100+ turns
  3. long context training
  4. agent harness RL: memory, tool, subagent, etc

agentic AI 的下一个瓶颈是 system scaling,而不只是 model scaling:

相对 RLHF / RLVR,Agentic RL 的本质差异在于 turn-level 决策、long-horizon 交互,以及稀疏的可验证 outcome reward。后文按「Introduction(Agent / 形式化 / 挑战)→ Data / Infra → Methods → Recent Progress」展开;实践上,agent RL 往往是 environment > reward > algorithm,而 reasoning RL 更接近 algorithm > reward > environment。

Agent

Agent 定义为

An LLM agent runs tools in a loop to achieve a goal.

agent 的核心能力:

  1. accurate tool calling
  2. coherence over long context
  3. customizability
  4. complex task management
  5. environment understanding
  6. safety

提升模型的这些能力有两条路径:

  1. LLM training
  2. harness engineering
CapabilityHarnessTraining
accurate tool callinggrammar-constrained decodingSFT on tool-calling traces
coherence over long context1. context compression/compaction; 2. dynamic memory lookup; 3. sub-agent delegationSFT on long context
Customizabilityagent memory; skills; custom toolsRLHF
Complex task managementprovide planning/decomposition tools;sub-agent delegationtrain on complex/long horizon tasks
environment understandinglearn skills corresponding to domain knowledgeSFT on data with expected observation shape; RL on domain specific-env
safetysandbox tools; limit access to credentials; monitor trajectoriessafety aware RL

Paradigm

ReAct-style 中,agent 与 environment 交互过程定义如下:

给定 query qq, system prompt s0s_0, tool metadata Tmeta\mathcal{T}_{\mathrm{meta}}, agent 通过 reasoning 产生 action 与环境进行交互, 这个交互过程产生一个轨迹 HT\mathcal{H}_{T}

HT:={(q,s0,Tmeta),(r1,a1,o1),…,(ri,ai,oi),…,(rT,aT)}\mathcal{H}_{T}:= \{(q,s_0,\mathcal{T}_{\mathrm{meta}}),(r_1,a_1,o_1),\dots,(r_i,a_i,o_i),\dots,(r_T,a_T)\}

其中 ri,ai,oir_i,a_i, o_i 分别代表 reasoning CoT, action 和 observation, aTa_T 是最终回答。给定 t≤Tt\leq T, agent π\pi 基于历史交互信息 Ht−1\mathcal{H}_{t-1} 生成 reasoning CoT rtr_t 和 action ata_t,

rt,at∼π(⋅∣Ht−1)r_t,a_t \sim\pi(\cdot\mid \mathcal{H}_{t-1})

environment E\mathcal{E} 基于 action ata_t 返回 observation ot=E(at)o_t=\mathcal{E}(a_t), 然后更新轨迹

Ht=Ht−1∪(rt,at,ot)\mathcal{H}_{t} = \mathcal{H}_{t-1}\cup (r_t,a_t,o_t)

Formulation

Agentic RL 解决的任务可以定义为一个 partially Observable Markov Decision Process (POMDP)。

一个 POMDP 由 tuple (S,A,T,R,Ω,O,γ)(\mathcal{S},\mathcal{A},\mathcal{T},\mathcal{R},\Omega,\mathcal{O}, \gamma) 确定,其中:

  1. S\mathcal{S} 是状态空间
  2. A\mathcal{A} 是动作空间
  3. Ω\Omega 是 observation, 是状态空间的部分描述
  4. T:S×A→S\mathcal{T}:\mathcal{S}\times\mathcal{A}\to\mathcal{S} 是状态转换函数
  5. R:S×A→R\mathcal{R}:\mathcal{S}\times\mathcal{A}\to\mathbb{R} 是 reward function

在 agentic 场景下,模型输入为一个 task prompt s0s_0,与环境交互后产生轨迹

τ=(s0,a0,o0,r0,s1,a1,…,aT−1,oT−1,rT−1,sT)\tau=(s_0,a_0, o_0,r_0, s_1, a_1,\dots,a_{T-1}, o_{T-1}, r_{T-1}, s_T)

agent πθ\pi_{\theta} 从 action space 采样得到 at∼πθ(⋅∣st)a_t\sim\pi_{\theta}(\cdot\mid s_t),这里 at=(at1,at2,…,at<eos>)a_t=(a_t^1,a_t^2,\dots,a_t^{<eos>}) 是按自回归方式生成的 token sequence,即 ati∼πθ(⋅∣st,at<i)a_t^i\sim\pi_{\theta}(\cdot\mid s_t,a_t^{<i});oto_t 是执行 ata_t 后环境返回的观测,环境给予奖励 rt=R(st,at)r_t=\mathcal{R}(s_t,a_t) 并更新状态 st+1∼T(st,at)s_{t+1}\sim \mathcal{T}(s_t,a_t) oto_t 是 agent 对于 sts_{t} 的一个观测,当 ot=sto_t=s_t 时,POMDP 退化为 MDP.

与 reasoning RL 相比,Agentic RL 的状态、动作与转移都发生了本质变化:

Paradigmreasoning RLagentic RL
statecontext (y<t,x)(y_{<t},x)context, environment observation
actiontoken yty_tcomplete response at turn tt
transitionconcatenationstochastic depends on tool use
rewardterminal stateterminal state
horizon1 turn, 0.5k-30k tokens10-100 turns, 100k-1M tokens
action typetokens, homogeneoustool, plan heterogeneous
intermediate verificationpossiblerarely possible
MethodRLVR/RLHFAgentic RL
Granularitytokenturn
Actiontokentool call / turn response
horizonshortlong
StateMDP (approx)POMDP

Core Challenges

Agentic RL 相比 RLHF / RLVR 有三个核心挑战:

  1. Granularity mismatch: 决策的自然单位从 token-level 转向 turn-level。agent 的一次交互包括 observation、reasoning、tool call、tool result;单个 token 不独立面对环境,也不会收到反馈。因此 agentic RL 与 RLHF/RLVR 存在 granularity mismatch:后者比前者细两三个数量级。
  2. Long-horizon tasks: agentic rollout 动辄几十步、上万到数十万 token,很难做 credit assignment;由于 discount 的存在,初始 token 衰减严重,而早期决策往往又最关键。
  3. Sparse outcome reward: agentic tasks 通常只有任务成功/失败信号。GRPO (Shao et al., 2024) 让一条 rollout 内所有 token 共享 advantage;在 agentic 场景下,这会显著降低数据使用效率。

用 GRPO 直接做 agentic RL 的问题:一条成功 rollout 里也有无效动作,一条失败 rollout 里也有高质量动作,但 episode-level outcome 会「凭结果论英雄」。本质上是把 multi-turn 当成 single-turn,仅用 outcome reward 打分,整个 rollout 变成一个单一决策步。

为什么需要更细的 credit assignment:

  1. reasoning RL: 10k~30k tokens(例如 DeepSeek-R1 在 AIME2025 上平均输出约 23k tokens)。episode-level 方法对每个 token 使用相同 advantage。
  2. agentic RL: 10100 turns,总 token 数 100k500k(如 SWE-bench 平均约 131k tokens、64 turns)。episode-level 方法可能给一个错误工具调用和三个正确工具调用相同的奖励。

除此之外,Agentic RL 还面临:

  1. 环境转移是随机的
  2. 部分可观测(POMDP)
  3. vastly longer horizon
  4. heterogeneous action types
  5. non-verifiable intermediate states
  6. The Bifurcation Point Problem

对 agent RL,优先级通常是 environment > reward > algorithm。环境与 reward 准备好之后,再做数据和算法消融更有意义;同时需要稳定的工具调用训练环境,并对齐训练与评测环境。工具层面的探索会影响能力上限;更大模型的 RL 泛化通常更好;continue RL 往往更依赖高质量数据,而不只是 trick。

  1. Shao, Z., Wang, P., Zhu, Q., Xu, R., Song, J., Bi, X., Zhang, H., Zhang, M., Li, Y. K., Wu, Y., & Guo, D. (2024). DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models. https://arxiv.org/abs/2402.03300

Data

Agentic 训练数据由三部分构成:

  1. environment: 比如 code repository、web browser 等,让模型理解不同环境
  2. tools: 提供信息或改变环境,让模型学会使用不同工具
  3. verifier: 比如代码单元测试、proof 的 math checker、DOM scripts 等,定义可完成的目标

关键是 environment 与 verifier 的 diversity。Mach-Mind-4-Flash (Team, 2026) 介绍了 EnvScaling,用于提高 multi-turn agentic RL 表现。工具层面的探索会影响模型能力上限;MiMo-V2.6 (Xiaomi MiMo Team, 2026) 发现 scaling harness 也可以迁移到其他 harness。

Chat Template

FormatLanguagesModels
SchemaJson
SchemaXMLMach-Mind-4-Flash

Dataset

(Jiang et al., 2026) 提出了 MidTool,一个合成 mid-training 阶段 general tool-use 数据的 pipeline,以及一个包含 20.3b token 的数据集;该数据可有效提高后续 SFT 与 RL 阶段表现。

Data Process

  1. 训练之前,先将 non-model error 降到 0, 用训练的模型先对训练数据集跑一次 rollout.
  2. 保证 harness 正确性,确保模型表现差是模型本身的问题
  1. Jiang, F., Wang, Y., Liu, B., Wang, Z., Xu, C., Yao, Z., Poovendran, R., & He, Y. (2026). MidTool: Mid-training Data Synthesis for Agentic Tool Use. Third Conference on Language Modeling. https://openreview.net/forum?id=T552O6uGeF
  2. Team, F. M. (2026). Mach-Mind-4-Flash Technical Report. https://arxiv.org/abs/2607.09375
  3. Xiaomi MiMo Team. (2026). MiMo-V2.6-Pro-RL. https://huggingface.co/XiaomiMiMo/MiMo-V2.6-Pro-RL

Infra

大规模 Agentic RL 依赖稳定的训练与推理系统:sandbox 扩缩容、长上下文训练/推理,以及 async rollout 与 train/infer 分离。

已知线索:

待补充:async agent loop、sandbox 调度与长轨迹内存优化。

Low Precision RL

RL 特别是 agentic RL 训练过程中,rollout 阶段的时间占总训练时间大约为 80%80\%, 另一方面,agentic RL 的超长上下文也会导致 KV cache 占用急剧增加。

而 low precision RL 则是通过使用低精度来进行 rollout 或者训练来提高整体训练效率的一个方法。 目前,low precision RL 可以分为两种:

  1. 仅在 inference engine 上使用低精度
  2. 同时在 training engine 和 inference engine 上使用低精度

对于第一种方式,低精度可以提高推理速度,减少 KV cache 占用,能够比较好提高整体的推理效率。 已有实验发现,对于 Qwen3-30B-A30B, 方式 1 可以提高 35%35\% 的 rollout throughput, 对于 Qwen3-8B, 可以提高 10%∼20%10\%\sim20\% 的 rollout throughput. 这个效率的提升是因为我们将 model weights 部分所占用的内存转化为了 KV cache. 但是,使用 low precision 进行 rollout 会导致 training inference mismatch.

对于第二种方式,对比第一种方式和高精度 RL 之后,(Qiu et al., 2026) 发现

  1. e2e FP8 与 BF16 的准确率差不多
  2. TIM 现象的对比为,方式 1 > 方式 2 > BF16, 但是方式 2 整体可控,方式 1 在 700 step 时 TIM 就会超过 5

对于 MoE router 这部分,使用 BF16 的效果是最好的,方式 1/2 均会导致较差的结果。

ConfigurationRollout speedupMismatch KLVerdict
BF16 baseline-~1e-3, higher on MoEMoE needs correction even at BF16
W8A8 linear (rollout only)10-20% (8B) / 30-50% (30B)higher, stableMatches BF16 with token-level TIS
FP8 KV cache (rollout only)38% alone / 44% combined (8B)higher againAligned on 8B; MoE trend still open
End2end FP830-50% rollout gain, no trainer gainlower than rollout onlyMost stable: hybrid + FP32 scales
  1. Qiu, Z., Yu, S., Zhang, J., Zhang, S., Huang, X., Yang, J., & Lai, J. (2026). FP8-RL: A Practical and Stable Low-Precision Stack for LLM Reinforcement Learning. https://arxiv.org/abs/2601.18150
  2. Xiaomi MiMo Team. (2026). MiMo-V2.6-Pro-RL. https://huggingface.co/XiaomiMiMo/MiMo-V2.6-Pro-RL

Methods

Methods 覆盖奖励与验证、credit assignment 算法、长轨迹上下文管理,以及面向 harness 的评测。

Reward and Verification

Agentic RL 的奖励信号通常来自可验证的环境反馈,而不是纯偏好模型:

  1. Outcome reward: 任务成功/失败、单元测试通过、exact match 等终局信号
  2. Process / turn-level reward: 对中间工具调用或子目标打分,用于缓解 sparse outcome 与 credit assignment 困难

Verifier 是奖励的基础设施。需要同时关注 false positive 与 false negative:过松的 verifier 会鼓励 reward hacking,过严则会浪费有效探索。实践上应减少脆弱的 hand-craft reward,并警惕 LLM-as-a-judge:模型可能通过拉长回答等方式刷分,却仍有事实性错误。

典型约定:

  1. 结构化短答案:exact match
  2. 自由文本答案:rubric reward(需约束 hacking)
  3. 代码 / 证明 / UI:单元测试、math checker、DOM scripts 等可执行 verifier

奖励设计应与评测环境对齐;environment 与 reward 稳定后,再比较算法往往更可靠。

Algorithms and Credit Assignment

针对 turn-level、long-horizon 与稀疏 outcome reward,现有方法大致可分为:

  1. Turn-level PRM: 如 agentPRM,在 turn 粒度估计过程奖励或优势
  2. Hindsight and counterfactual methods: 如 reflection,利用事后信息或反事实轨迹重新分配 credit
  3. Critic-free methods: 如 GiGPO、POAD,减少对额外价值网络的依赖
  4. Hierarchical methods: 在不同时间尺度上分解决策与信用分配
  5. Information-theoretic methods: 如 IGPO
  6. Implicit and DPO-based methods: 用偏好或隐式目标近似多步优势

这些路线共同针对同一问题:避免把整条 multi-turn trajectory 压成单一 episode advantage。具体算法细节与近期进展(如 TEMPO 对 long-horizon 训练效率的优化)见 Recent Progress;奖励设计本身见上文 Reward and Verification。

Odyssey (Qin et al., 2026) 提出了 Heuristic Credit Assignment (HCA), 其核心思想是减少 agent 在 multi-turn rollout 中出现的错误

最终,HCA 的训练目标函数为

JHCA(πθ)=Ex∼D,{τi}i=1G∼πθ(⋅∣x)[1G∑i=1G1max⁡(1,Ni)∑t,jmt,jilog⁡πθ(at,ji∣hti,at,<ji)A^iHCA]\mathcal{J}_{\mathrm{HCA}}(\pi_\theta) = \mathbb{E}_{x \sim \mathcal{D}, \{\tau_i\}_{i=1}^G \sim \pi_\theta(\cdot|x)} \left[ \frac{1}{G} \sum_{i=1}^{G} \frac{1}{\textcolor{red}{\max(1, N_i)}} \sum_{t,j} \textcolor{red}{m_{t,j}^i} \log \pi_\theta(a_{t,j}^i \mid h_t^i, a_{t,\text{<}j}^i) \widehat{A}_i^{\mathrm{HCA}} \right]

其中 Ni=∑t,jmt,jiN_i=\sum_{t,j}m_{t,j}^i 是 masked token count.

目标函数的意义为,每个 sample rollout GG 条轨迹,如果轨迹是正常的,则

Context Management

长轨迹场景下,上下文管理属于 harness / system 侧能力:在有限 context window 中保留对后续决策有用的 observation 与进度,而不是把完整交互历史原样塞进模型。这与 Agent 章中「coherence over long context」的 harness 路径一致。

Mach-Mind-4-Flash (Team, 2026) 提出了四个机制:

  1. sliding window observation filtering
  2. context restart via progress summary
  3. dynamic adaptive threshold
  4. answer self-check

相关讨论也出现在 DeepSeek-V3.2、DeepSeek-V4 等长上下文 agent 系统中。

Evaluation

为什么 model-centric evaluation 不够:

  1. 同一个模型,在不同 memory / tool / policy / runtime 下表现可能完全不同
  2. 风险往往不是单组件错误,而是组件交互产生
  3. final answer 只是一小部分,真正重要的是整个 execution trajectory

因此评测需要同时覆盖工具、场景、指令模糊度、软件系统与鲁棒性这五个维度:

  1. agents are expected to work with many different tools
  2. agents are expected to work for many different use cases
  3. agents are expected to work under vaguely specified instructions
  4. agents are expected to work under many software systems
  5. agents are expected to be robust

off-the-shelf benchmarks: (1) and (2)

Agent Harness: (4)

focused unit-test evaluations: (3) and (5)

  1. structured output adherence, structeval
  2. instruction following, w/ conditional instructions, IFBench
  3. Long Trajectories: NexusBench

好的评估:

  1. 多任务,多 verifier
  2. 当改变 harness 时,可以以不同的方式让 agent 在 sandbox 中探索
  3. 每个任务应该都包含多个 tools

benchmark 的质量:

  1. hardness
  2. separability
  3. diversity

long horizon benchmark:

  1. Qin, S., Liu, Y., Li, J., Bai, J., Wang, X., Wu, T., Wang, Y., Yao, G., Chen, H., Jia, Z., & Zheng, Z. (2026). Odyssey: Forging Language Agents with Synthesized Environments and Mixed RL at a Humble Scale. https://bigai-nlco.github.io/Odyssey
  2. Team, F. M. (2026). Mach-Mind-4-Flash Technical Report. https://arxiv.org/abs/2607.09375

Framework

agentic RL training framework 由三部分组成:

  1. trainer: 负责更新 agent 或者 policy model
  2. generator: 负责进行 rollout 生成轨迹
  3. environment: 提供与管理 agent 交互的环境

训练过程中,generator 负责提供数据,保存在 trajectory buffer 中,trainer 从 trajectory buffer 中提取数据用于更新模型,这时候,容易出现两个问题:

  1. 当 trainer 比 generator 速度更快(消耗速度大于产出速度)时,trajectory buffer 内容不足以支撑 trainer 训练, trainer 会闲置
  2. 当 generator 比 trainer 速度更快(产出速度大于消耗速度)时,trajectory buffer 内容会越来越多导致 policy staleness.
Trajectory Buffer
Policy Staleness

因此,一个理想的 RL 系统需要兼顾 generator 和 trainer 的 throughput.

为了解决这个问题,Forge (MiniMax, 2026) 提出了如下的优化目标形式

max⁡θJ(θ)=Throughput(A)×Sample Efficiency(A)s.t.∀A∈Ωagent(Arbitrary Agent)E[Update Variance]<δ(Stability)E[∥J(T)−J∗∥]<ϵ(Convergence)\begin{aligned} \max_{\theta} J(\theta) &= \text{Throughput}(\mathcal{A}) \times \text{Sample Efficiency}(\mathcal{A}) \\ \text{s.t.} \quad &\forall \mathcal{A} \in \Omega_{\text{agent}} \quad (\text{Arbitrary Agent}) \\ &\mathbb{E}[\text{Update Variance}] < \delta \quad (\text{Stability}) \\ &\mathbb{E}[\Vert{}J^{(T)} - J^*\Vert{}] < \epsilon \quad (\text{Convergence}) \end{aligned}

其中 throughput 指的是每秒处理的 token 数量,由 rollout, training, data processing 以及 IO 四部分决定。 Sample efficiency 表示每个样本带来的性能提升,由 data distribution, data quality, algorithm efficiency 和 off-policy staleness 决定。

作者认为求解这个优化问题,我们需要解决三个挑战:

  1. 提高 agent 的可扩展性
  2. 提高系统整体的效率,包括使用 async controller 和减少 prefix redundancy
  3. 提高 RL 训练的稳定性

针对这三个问题,作者提出了 Forge, Forge 的框架图如下所示

Framework of Forge

从框架图中,可以看到,Forge 在 agent 层面进行了统一,将不同 agent harness 抽象成了 agent loop 与 LLM api.

为了支持训练,Forge 使用了 gateway 来连接 agent 与 inference engine, 记录 trajectory 用于训练。

在 engine 层面,作者分别对 inference engine 和 training engine 进行优化

为了平衡 async 和 sync, 作者使用了 windowd FIFO, 让训练策略只能看到某个 window size 以内的 rollout.

为了提高 rollout 效率,作者使用了 prefix tree merging 来解决 multi-turn 场景下 prefix overlap 的问题,作者提到通过 prefix tree merging, 我们可以减少 prefix prefilling, 实现 rollout 加速和更大 batch size 的训练

算法层面,Forge 使用了 CISPO (MiniMax et al., 2025) 来进行训练,训练策略为 multi-task RL, 覆盖 reasoning, general QA 和 agent 等 domain.

SkyRL

SkyRL 支持 FP8 RL 训练,其关键是 on-policy weight sync, 其核心在于在 weight sync 的时候,会同步将 quantized weights 和 weight scale 一起同步给 inference engine.

对于 MoE 模型,skyRL 使用了 R3 和 top-p replay, top-p replay 可以减缓 entropy collapse.

OpenForge RL

OpenForge RL (Yu et al., 2026) 提出了一个可插拔的 rollout interface 来连接 RL 框架与 harness rollouts. 给定一个 inference server,

  1. OpenForge RL 启动一个 Kubernetes orchestrator 来构建,管理与删除 rollout container pods
  2. 创建一个 proxy 来 wrap inference server 来不同的 container 提供服务

Kubernetes orchestrator 基于 Orchard,

Lego-RL

LEGO-RL (Du et al., 2026) 提出了 harness-native RL 的概念,主要有三个特征

  1. faithful optimization
  2. reliable execution
  3. observable training

Rocket

Rocket (The Microsoft AI Team, 2026) 是 Microsoft AI 用于 MAI 系列大模型 (MAI-base-1, MAI-base 2) 的 async RL 训练框架。

Rocket 通过每 4 次 training steps 更新一次 inference engine 的权重来将 sampler lag 控制在 [0,3][0,3] 以内

对于 training-inference tradeoff, Rocket 选择 inference-bound, 也就是将更多的 GPU 分配给 trainer. 这样做的好处是一旦训练所需数据准备完毕,就可以立马被 trainer 消费,缺点是 trainer 可能会有 idle time.

训练时,作者使用 MXFP8 来量化 MoE weights 以及 KV cache. 作者发现,使用 MXFP8 来计算 MoE 会产生比较高的 trainer-generator log-prob discrepancy, 因此作者存储使用 MXFP8, 但是计算使用 dequantize 的 BF16, 为了提升训练稳定性,作者在 trainer 中重现了 generator 的 quantize-dequantize 操作。KV cache 也使用了类似的操作,local attention 使用了 BF16精度,global attention 除了最后三层都使用 MXFP8 精度。

对于 kernel 方面,作者发现使用 bitwise parity 之后,模型表现能够稳固提升,并且最终的 evaluation performance 更高。因此,作者主要做了几点改动:

  1. attention output projection, 将 output-projection weight 复制到不同的 GPU 上来减少 cross-GPU reduction 带来的误差
  2. MoE expert combination, all-to-all combine 之后,使用 FP32 来进行加权求和
  3. attention kernels, 在 trainer forward, generator perfilling, generator decode 过程中使用共享的 FlashAttention 4 kernel.
  1. Du, Y., Jiang, Y., Yuan, T., Dai, J., Wang, S., Chen, J., Tao, C., Yu, X., Shang, L., Wong, K.-F., Li, X., & Bai, H. (2026). LEGO-RL: Harness-Native Reinforcement Learning for Coding Agents. https://arxiv.org/abs/2608.17393
  2. MiniMax. (2026). Forge: Scalable Agent RL Framework and Algorithm. https://www.minimax.io/news/forge-scalable-agent-rl-framework-and-algorithm
  3. MiniMax, :, Chen, A., Li, A., Gong, B., Jiang, B., Fei, B., Yang, B., Shan, B., Yu, C., Wang, C., Zhu, C., Xiao, C., Du, C., Zhang, C., Qiao, C., Zhang, C., Du, C., Guo, C., … Sun, Z. (2025). MiniMax-M1: Scaling Test-Time Compute Efficiently with Lightning Attention. https://arxiv.org/abs/2506.13585
  4. The Microsoft AI Team. (2026). RL infrastructure at Microsoft AI. Microsoft AI. https://microsoft.ai/news/rl-infrastructure-at-microsoft-ai
  5. Yu, X., Peng, B., Xu, R., Zou, H., Wu, Q., Cheng, H., Yao, W., Singh, N., Yu, Z., & Gao, J. (2026). OpenForgeRL: Train Harness-native Agents in Any Environment. https://arxiv.org/abs/2607.21557

Recent Progress

开放问题可以概括为三条:

  1. 构建并持续扩充 environments 与 verifiers 的集合,用环境多样性 scale intelligence
  2. 更清楚地定义「agent intelligence」应如何被测量与比较
  3. 发布能 train longer、on harder prompts、with diverse high-quality reward feedback 的算法与系统

一个好的 agentic RL 训练范式同样强调:

  1. train for longer: 保持 entropy balance,控制 verbosity 无涨
  2. train on more difficult prompts and tasks
  3. train on more diverse responses,并配以高质量 reward feedback

Token In Token Out

现代的 agent 在运行过程中,经常会选择编辑或者修改其对话历史,比如:

  1. 清除思考过程,比如 DeepSeek-V3.2 (DeepSeek-AI et al., 2025) 会清除每一轮的 CoT
  2. compaction, harness (Clade Code, Codex 等) 在对话长度接近上下文限制时,会主动压缩对话历史
  3. sub-agent, agent 会调用产生 multi-agent

在这些操作下,agent 时即生成并输出的 token, 在下一轮会变成被修改,精简或者摘要后的新内容。

一个解决方法是将产生变动之前的对话历史变为 prompt, 并将这部分内容的 loss mask 设置为 0, 不参与反向传播,其代价在于可计算的 token 数量会变少。

Cases

Search-R1

Search-R1 让模型在回答过程中自主决定是否需要进行搜索,是 agentic RAG / tool-use RL 的一个代表性案例。

agentic RAG 的典型问题:

  1. multi hop reasoning 能力不行
  2. 正确文档在库里,但是检索不到
  3. 同名实体

工程侧常见解决方案:

  1. 实体归一
  2. 重新分块
  3. 去重和时效性处理,去除重复文档,增加时效信息
  4. 混合检索和 reranker

奖励设计上,结构化短答案可用 exact match;自由文本答案常用 rubric reward。后者若直接用 LLM-as-a-judge,容易出现 reward hacking(回答很长但事实性仍错),具体讨论见 Methods 中的 Reward and Verification。

Algorithms

Pivot-RL

Pivot RL (Yi et al., 2026) 提出了使用 partial rollout 作为初始状态来解决 rollout cost 高的问题

TEMPO

小红书提出了 TEMPO,用于提高 long-horizon RL 的训练效率。

TEMPO 的核心思想在于,将连续 HH turns 作为一个 macro-step, 然后,与 pivot-RL 类似,作者使用 critic 对 partial rollout 进行评分,然后选取更优的 partial rollout 继续交互。

Harness RL

在 agentic RL 的基础上,harness 进一步对环境的观测进行了封装,比如 agent 执行的 action 权限不够,或者工具调用错误,则 harness 会在 action 执行之前给予反馈,我们将 harness 记作 H\mathcal{H}, 则对应的轨迹为

τ=(s0,a0,H(o0),r0,s1,a1,…,aT−1,H(oT−1),rT−1,sT)\tau=(s_0,a_0, \mathcal{H}(o_0),r_0, s_1, a_1,\dots,a_{T-1}, \mathcal{H}(o_{T-1}), r_{T-1}, s_T)
  1. DeepSeek-AI, Liu, A., Mei, A., Lin, B., Xue, B., Wang, B., Xu, B., Wu, B., Zhang, B., Lin, C., Dong, C., Lu, C., Zhao, C., Deng, C., Xu, C., Ruan, C., Dai, D., Guo, D., Yang, D., … Qu, Z. (2025). DeepSeek-V3.2: Pushing the Frontier of Open Large Language Models. https://arxiv.org/abs/2512.02556
  2. Yi, J., Mosk-Aoyama, D., Huang, B., Gala, R., Wang, C., Devare, S. D., Bhardwaj, K., Gupta, A., Kuchaiev, O., Jiao, J., Zhang, J., & Srinivasan, V. (2026). PivotRL: High Accuracy Agentic Post-Training at Low Compute Cost. https://arxiv.org/abs/2603.21383