Skip to content
ImagineWorld

CAPO: Critic-Guided Action-Aligned Policy Optimization for Advancing LLM Agent Capabilities

node_idnode-paper_arxiv-2604.18401_capo-critic-guided-action-aligned-policy-optimization-for-advancing-llm-agent
node_typenode-paper
schema_profileworld.node_paper.v1
alternate_namesarxiv-2604.18401
statusactive
orthogonal_scopemanifold, entropy, authority, state
manifoldworld
entropymedium
authorityguides
stateexternal
domainimagineworld.net
node_interiorrosetta_contract
unisonone evidence claim read five ways: seated in the agentic-credit field, the work couples policy optimization to a critic that scores actions for alignment with intent, advancing LLM agents by making the value estimate action-shaped rather than trajectory-shaped — its framework, regime, and stance agreeing on what it is
governed_byWORLD-MANIFOLD, CORPUS
constitutional_citationCONSTITUTION
evidence_bundleworld-bundle-paper
publication_classarxiv_preprint
paper_titleCAPO: Critic-Guided Action-Aligned Policy Optimization for Advancing LLM Agent Capabilities
paper_authorsDaoyu Wang, Qingchuan Li, Mingyue Cheng, Jie Ouyang, Shuo Yu, Chunli Liu, Shijin Wang, Qi Liu, Enhong Chen
arxiv_id2604.18401
arxiv_urlhttps://arxiv.org/abs/2604.18401
arxiv_categories{"primary":"cs.CL","secondary":[]}
arxiv_v5
arxiv_submitted_at2026-04-20
arxiv_updated_at2026-08-11
ocr_sourcearxiv_html
ocr_quality_classverbatim_latexml_html
extraction_toolarxiv-nodepaper-transpose
extraction_pipeline_versionworld-ingest-arxiv-html-v1.0
extracted_at2026-10-13T06:51:09Z
math_preserved_as_latextrue
figures_extractedtrue
references_structurally_parsedfalse
created_at2026-10-13T06:51:09Z
updated_at2026-10-14T05:10:36Z
local graph

CAPO: Critic-Guided Action-Aligned Policy Optimization for Advancing LLM Agent Capabilities

Section titled “CAPO: Critic-Guided Action-Aligned Policy Optimization for Advancing LLM Agent Capabilities”

Authors: Daoyu Wang, Qingchuan Li, Mingyue Cheng, Jie Ouyang, Shuo Yu, Chunli Liu, Shijin Wang, Qi Liu, Enhong Chen

arxiv: 2604.18401

Converted to markdown on 2026-10-13 from the arXiv HTML (LaTeXML) rendering; figures embedded from the same source.


\correspondence\checkdata

[Code]https://github.com/AgentR1/CAPO

Reinforcement learning (RL) has become a key technique for improving the agentic capabilities of large language models (LLMs). Although critic-free methods such as GRPO are increasingly popular, we argue that critic-based methods remain well suited to long-horizon agentic tasks because their critic models can assess each state and assign credit to different decisions. However, representative critic-based methods such as PPO still organize value estimation, credit assignment, and policy updates at token granularity, whereas the environment state changes only after the agent completes a full action. In this work, we propose CAPO, a critic-guided action-aligned policy optimization method for advancing LLM agent capabilities. CAPO introduces two action-aligned designs. First, it estimates the state value at the action boundary using a critic model and assigns the corresponding advantage to the complete action rather than individual tokens. Second, CAPO introduces a novel action-aware policy ratio that aggregates token ratios within each action with length calibration for consistent updates across actions of different lengths. These two designs effectively achieve fine-grained credit assignment and consistent policy updates while remaining compatible with token-level gradient computation. Experiments across multi-hop QA, academic paper search, and text-world action tasks show that CAPO consistently outperforms representative RL methods. Further analyses validate both designs and reveal how action-aligned optimization improves multi-turn RL training. We hope this work provides a practical path for training more capable LLM agents.

Large language models (LLMs) are evolving into autonomous agents capable of interacting with external environments over multiple turns to complete complex tasks [1, 51, 25, 3, 42, 15]. One of the key techniques underlying this evolution is reinforcement learning (RL) [7, 5], particularly the recent multi-turn RL approaches [54, 43, 39, 28]. By treating the LLM as a policy model, multi-turn RL optimizes it over trajectories of long-horizon LLM–environment interactions [32, 4], thereby improving its agentic capabilities to reason over the current observation [44], make next-step decisions [16], and iteratively complete complex tasks [27].

Figure 1 : LLM agents make decisions through complete actions, but policy optimization is still performed at individual

Figure 1 : LLM agents make decisions through complete actions, but policy optimization is still performed at individual tokens, creating a fundamental granularity mismatch.

Recent multi-turn RL methods largely build upon conventional single-turn RL algorithms [38, 46]. Among them, critic-free methods such as GRPO [35] have become increasingly popular because of their simplicity and scalability [22]. These methods avoid training a separate critic model and instead construct relative advantages by comparing groups of sampled trajectories [24]. However, directly extending them to multi-turn training introduces a fundamental limitation: all tokens in a trajectory share one advantage, uniformly reinforcing or penalizing every decision [9, 20]. To move beyond this coarse trajectory-level signal, recent studies construct advantages from groups of actions under similar states or exploit tree- and graph-structured rollouts for localized comparisons [6, 14]. While these approaches provide finer credit signals to some extent, they rely on additional state grouping or structured rollouts, reducing either simplicity or scalability that motivate critic-free methods. Instead, we argue that critic-based methods remain well suited to long-horizon agent tasks because critic models directly estimate state values and enable decision-specific credit signals without modifying rollout trajectories [29, 59]. This makes critic-based methods an increasingly attractive alternative for multi-turn LLM agent training [53, 12].

However, as shown in Figure 1, representative critic-based methods such as PPO [34] still organize value estimation, credit assignment, and policy updates at token granularity. This creates a granularity mismatch because LLM agents interact with environments through complete actions, each defined as the full response generated before the environment transitions to the next state. Recent studies explore this through step-level formulations, reward designs, or value estimation [19, 45, 21, 41], but mainly address individual components rather than jointly aligning all components at the action granularity. Therefore, an open question arises: how can critic-based policy optimization be redesigned to better advance LLM agent capabilities by aligning with their decision granularity while remaining computable with token-level RL training?

In this work, we propose CAPO, a critic-guided action-aligned policy optimization method, where each complete agent action is formulated as the decision unit. CAPO introduces two key designs to perform policy optimization at action granularity: action-level credit assignment and action-aware policy updates. The former leverages a critic model to estimate state values at the action boundary and assigns the corresponding advantages to complete actions rather than individual tokens. The latter introduces a novel action-aware policy ratio that aggregates token ratios with length calibration, enabling consistent weighting and clipping across actions of different lengths. Together, the two designs form an action-aligned optimization objective while remaining compatible with token-level gradient computation.

The key insight behind CAPO is that LLM agents make decisions through complete actions, whereas tokens only serve as the underlying generation units. Accordingly, all components of policy optimization should be aligned with action granularity while remaining compatible with token-level gradient computation. This insight motivates two designs above. First, credit should reflect the contribution of each complete action rather than be spread across individual tokens or shared over an entire trajectory. Second, policy updates should weight and clip each complete action rather than each token within it. Additionally, because actions vary in length, directly aggregating token ratios through multiplication or averaging can introduce length-dependent inconsistency in weighting and clipping, motivating length calibration for more comparable and consistent updates across different actions.

We evaluate CAPO across multi-hop question answering (QA), academic paper search, and text-world action tasks. Experimental results show that CAPO consistently outperforms representative RL algorithms with different decision granularities, credit assignment strategies, and policy-update designs. Further analyses, including ablation and sensitivity studies, validate the effectiveness of both action-level credit assignment and action-aware policy updates, providing insights into how action-aligned optimization improves multi-turn RL training. We hope CAPO offers a useful and practical path toward training more capable LLM agents.

In summary, our contributions are as follows:

  • •

    We revisit the underexplored potential of critic-based methods for multi-turn LLM agents despite the popularity of critic-free RL methods, and identify the granularity mismatch that limits this potential.

  • •

    We propose CAPO, a critic-based policy optimization method that aligns credit assignment and policy updates with complete agent actions while remaining compatible with token-level gradient computation.

  • •

    We conduct extensive experiments across diverse agent tasks, showing consistent improvements and providing insights into action-aligned optimization for LLM agents.

In this section, we review advances in reinforcement learning (RL) for LLMs and its extension to multi-turn agent tasks. We focus on how existing methods choose the granularity of credit signals and policy updates, which motivates aligning both with complete agent actions.

Reinforcement Learning has become a major post-training method [30, 7]. Recent studies increasingly favor critic-free methods such as GRPO [35] because of their simple formulation and high scalability [2, 13]. These methods avoid training a separate critic and construct relative advantages by comparing sampled responses from the same prompt, enabling efficient optimization for long-form reasoning [52, 47]. However, they typically produce coarse credit signals that cannot distinguish intermediate decisions in multi-step tasks [26]. Recent extensions derive more localized signals through additional state grouping or structured rollouts, but partly sacrifice the simplicity [14, 6]. This limitation motivates renewed attention to critic-based methods such as PPO [34], whose critic models directly estimate state values and can provide decision-specific credit signals for long-horizon tasks, despite additional GPU memory overhead [12]. Critic-based and critic-free methods therefore offer complementary trade-offs: the former can localize credit through value estimates, while the latter avoids critic training but relies more heavily on the organization of rollout groups.

Multi-turn RL largely extends conventional single-turn RL algorithms by optimizing over trajectories of long-horizon LLM–environment interactions [44, 56, 8, 31]. This transition motivates new designs in credit assignment to handle sparse rewards and in policy updates to stabilize long-horizon optimization [14, 60, 23]. For credit assignment, recent studies such as GiGPO [6], ST-PPO [19], and Turn-PPO [21] begin to explore finer-grained credit assignment in multi-turn settings and show the benefits of more localized feedback. For policy updates, GSPO [58] and GMPO [57] replace token-wise policy ratios with sequence-level ratios to reduce noisy token weighting and stabilize clipping. CTPO [55] further studies the trade-off between local token correction and complete-sequence importance sampling. These lines of work improve either the signal assigned to a decision or the ratio used to update it, but do not generally make both choices at the same interaction granularity. In contrast, CAPO jointly aligns credit assignment and policy updates with the granularity of complete agent actions, providing a unified action-aligned optimization.

Figure 2 : Overview of CAPO. CAPO treats each complete action as the decision granularity, assigns action-level credit a

Figure 2 : Overview of CAPO. CAPO treats each complete action as the decision granularity, assigns action-level credit along interaction steps, and performs action-aware policy updates through a length-calibrated policy ratio across action lengths.

In this section, we present an overview of CAPO, formulate the decision granularity, decompose its two key designs and show the action-aligned optimization objective. The construction first assigns credit to complete actions and then uses an action-level ratio for weighting and clipping, while retaining the token score gradients required by autoregressive policy optimization.

The motivation of CAPO is that critic-based methods provide state-aware credit signals for multi-turn RL, but their potential is limited by the mismatch between agent decisions and token-level optimization. As shown in Figure 2, CAPO treats complete actions as the agent decision granularity and introduces two designs. The first uses the critic model to estimate state values and assign advantages to complete actions. The second constructs an action-aware policy ratio for length-calibrated weighting and clipping of complete actions. The two designs address distinct stages of the actor update: the advantage specifies which action is reinforced, whereas the ratio specifies how that action is weighted and clipped. Together, these designs form an action-aligned objective while remaining compatible with token-level gradient computation.

As illustrated in Figure 2(a), at interaction step tt, the state s(t)_1:M_ts^{(t)}\_{1:M\_{t}} denotes the interaction history available to the agent, including previous observations and actions, with M_tM\_{t} tokens. The action a(t)_1:L_ta^{(t)}\_{1:L\_{t}} is a complete response generated by the policy, containing L_tL\_{t} reasoning and tool-call tokens in common. The policy interacts with the environment over a horizon of TT steps. At each step tt, the policy observes s(t)_1:M_ts^{(t)}\_{1:M\_{t}}, emits a(t)_1:L_ta^{(t)}\_{1:L\_{t}}, receives reward r_tr\_{t}, and then transitions to the next state s(t+1)_1:M_t+1s^{(t+1)}\_{1:M\_{t+1}}. These steps form the trajectory τ\tau:

τ\displaystyle\tau={(s(t)_1:M_t,a(t)_1:L_t,r_t,s(t+1)_1:M_t+1)}_t=1T,\displaystyle=\{(s^{(t)}\_{1:M\_{t}},a^{(t)}\_{1:L\_{t}},r\_{t},s^{(t+1)}\_{1:M\_{t+1}})\}\_{t=1}^{T},(1)

where newly generated tokens are appended to the action prefix autoregressively until termination. The environment transition occurs only after the complete action, and subsequent observations are appended to the next state.

CAPO computes credit at the action granularity of agent decisions by assigning an advantage to each complete action. Specifically, the advantage compares the expected return after taking the action with the value of the pre-action state. Therefore, CAPO estimates V_ϕ(s(t)_1:M_t)V\_{\phi}(s^{(t)}\_{1:M\_{t}}) before generating a(t)_1:L_ta^{(t)}\_{1:L\_{t}} using the critic model. Notably, value estimation at this action boundary requires no additional state encoder. Since the final token of s(t)_1:M_ts^{(t)}\_{1:M\_{t}} is conditioned on the entire state prefix and lies at the action boundary, CAPO uses its value prediction as the state value, i.e., V_ϕ(s(t)_1:M_t)≜V_ϕ(s(t)_M_t)V\_{\phi}(s^{(t)}\_{1:M\_{t}})\triangleq V\_{\phi}(s^{(t)}\_{M\_{t}}), where V_ϕV\_{\phi} denotes the critic parameterized by ϕ\phi. Furthermore, r_tr\_{t} is defined as the reward of this action, which may consist of intermediate environment feedback or summed token penalties. Even with terminal-only rewards, the critic produces distinct advantages through bootstrapped value differences. As shown in Figure 2(b), CAPO orders the steps within each trajectory and applies Generalized Advantage Estimation (GAE) [33] along the resulting timeline to compute the action-level advantage A^_tAct\hat{A}\_{t}^{\mathrm{Act}} as follows:

A^_tAct\displaystyle\hat{A}\_{t}^{\mathrm{Act}}=∑_l=0T−t(γλ)lδ_t+l,\displaystyle=\sum\_{l=0}^{T-t}(\gamma\lambda)^{l}\delta\_{t+l},(2)
δ_t\displaystyle\delta\_{t}=r_t+γV_ϕ(s(t+1)_M_t+1)−V_ϕ(s(t)_M_t),\displaystyle=r\_{t}+\gamma V\_{\phi}(s^{(t+1)}\_{M\_{t+1}})-V\_{\phi}(s^{(t)}\_{M\_{t}}),

where γ\gamma is the discount factor, δ_t\delta\_{t} is the temporal-difference (TD) residual and λ\lambda denotes the trace parameter. For the terminal step, the value of the subsequent state is set to zero. The advantage A^_tAct\hat{A}\_{t}^{\mathrm{Act}} is assigned to the complete action and shared by its action tokens for the actor update. Compared with token-level credit that may not reflect complete-action effects and trajectory-level credit that shares one signal across the trajectory, action-level credit provides more informative signals for intermediate decisions in long-horizon interactions.

Action-level credit assignment provides one advantage for each complete agent action. However, PPO- and GRPO-style objectives still update the policy using token-wise weighting and clipping. Specifically, the importance sampling ratio for the ii-th token in the action at interaction step tt is defined as:

w_i(t)(θ)=π_θ(a(t)_i∣s(t)_1:M_t,a(t)_<i)π_old(a(t)_i∣s(t)_1:M_t,a(t)_<i),w\_{i}^{(t)}(\theta)=\frac{\pi\_{\theta}(a^{(t)}\_{i}\mid s^{(t)}\_{1:M\_{t}},a^{(t)}\_{<i})}{\pi\_{\mathrm{old}}(a^{(t)}\_{i}\mid s^{(t)}\_{1:M\_{t}},a^{(t)}\_{<i})},(3)

where π_θ\pi\_{\theta} and π_old\pi\_{\mathrm{old}} denote the current and rollout policies, respectively. For convenience, we define the log-ratio as z_i(t)(θ)≜log⁡w_i(t)(θ)z\_{i}^{(t)}(\theta)\triangleq\log w\_{i}^{(t)}(\theta). Although all tokens within an action share the action-level advantage, token-wise weighting and clipping still operate on individual tokens instead of complete actions [18].

Figure 3 : Toy experiment with different α \alpha across action lengths. (a) Out-of-range fraction: the proportion of length-scaled ratios that fall outside [ 1 − ϵ , 1 + ϵ ] [1-\epsilon,1+\epsilon] . (b) Active clipping fraction: the proportion for which clipping is activated in the policy objective. We set ϵ = 0.001 \epsilon=0.001 in this experiment.

The most straightforward way to construct an action-level policy ratio is to multiply the token-wise ratios of the complete action, yielding the exact action likelihood ratio ∏_i=1L_tw_i(t)(θ)=exp⁡(∑_i=1L_tz_i(t)(θ))\prod\_{i=1}^{L\_{t}}w\_{i}^{(t)}(\theta)=\exp(\sum\_{i=1}^{L\_{t}}z\_{i}^{(t)}(\theta)). However, its scale becomes increasingly sensitive to action length [55]. Existing aggregation methods, such as the geometric mean exp⁡(1L_t∑_i=1L_tz_i(t)(θ))\exp(\frac{1}{L\_{t}}\sum\_{i=1}^{L\_{t}}z\_{i}^{(t)}(\theta)), effectively control this growth but can result in substantially lower clipping fractions for longer actions [58]. More generally, the two approaches above can be unified within the length-scaled family exp⁡(1L_tα∑_i=1L_tz_i(t)(θ))\exp(\frac{1}{L\_{t}^{\alpha}}\sum\_{i=1}^{L\_{t}}z\_{i}^{(t)}(\theta)), where α=0\alpha=0 corresponds to the former and α=1\alpha=1 to the latter. In Figure 3, we compare α∈{0,0.25,0.5,0.75,1}\alpha\in\{0,0.25,0.5,0.75,1\} by plotting the out-of-range fraction and active clipping fraction across action lengths. Consistent with the discussion above, both fractions increase with length for α=0\alpha=0 and decrease for α=1\alpha=1, indicating length-dependent clipping bias, whereas α=0.5\alpha=0.5 yields more comparable fractions across action lengths.

Motivated by this observation, CAPO introduces a novel action-aware policy ratio that calibrates the update scale across action lengths using square-root scaling over centered token-level log-ratios. As shown in Figure 2(c), let B\mathcal{B} denote the set of actions in the current optimization batch, and let sg⁡(⋅)\operatorname{sg}(\cdot) denote the stop-gradient operation. We define:

w_tAct(θ)\displaystyle w\_{t}^{\mathrm{Act}}(\theta)=exp⁡(μ^(θ)+∑_i=1L_t(z_i(t)(θ)−μ^(θ))L_t),\displaystyle=\exp\Bigg(\hat{\mu}(\theta)+\frac{\sum\_{i=1}^{L\_{t}}\bigl(z\_{i}^{(t)}(\theta)-\hat{\mu}(\theta)\bigr)}{\sqrt{L\_{t}}}\Bigg),(4)
μ^(θ)\displaystyle\hat{\mu}(\theta)=sg⁡(∑_b∈B∑_i=1L_bz_i(b)(θ)∑_b∈BL_b),\displaystyle=\operatorname{sg}\left(\frac{\sum\_{b\in\mathcal{B}}\sum\_{i=1}^{L\_{b}}z\_{i}^{(b)}(\theta)}{\sum\_{b\in\mathcal{B}}L\_{b}}\right),

where w_tAct(θ)w\_{t}^{\mathrm{Act}}(\theta) is a length-calibrated policy ratio rather than an exact action likelihood ratio. Under an i.i.d. approximation in which the centered token-level log-ratios have variance σ2\sigma^{2}, the normalized sum has variance 1L_t⋅L_tσ2=σ2\frac{1}{L\_{t}}\cdot L\_{t}\sigma^{2}=\sigma^{2}, independent of action length. This provides the intuition for choosing α=1/2\alpha=1/2 in the proposed length calibration. The centering term further removes the length-dependent mean shift introduced by direct square-root aggregation: if E[z_i(t)(θ)]=μ\mathbb{E}[z\_{i}^{(t)}(\theta)]=\mu, direct aggregation has mean L_tμ\sqrt{L\_{t}}\mu, whereas centering before scaling and restoring the batch mean approximately preserves the original center. The resulting ratio therefore yields more consistent clipping fractions and more comparable policy updates across actions of different lengths.

3.5 Action-Aligned Policy Optimization Objective

Section titled “3.5 Action-Aligned Policy Optimization Objective”

Finally, CAPO combines the action-level advantage A^_tAct\hat{A}\_{t}^{\mathrm{Act}} with the action-aware policy ratio w_tAct(θ)w\_{t}^{\mathrm{Act}}(\theta) to define an action-aligned optimization objective:

J_CAPO(θ)\displaystyle\mathcal{J}\_{\mathrm{CAPO}}(\theta)=E_τ∼π_old[min⁡(w_tAct(θ)A^_tAct,\displaystyle=\mathbb{E}\_{\tau\sim\pi\_{\mathrm{old}}}\Big[\min\Big(w\_{t}^{\mathrm{Act}}(\theta)\hat{A}\_{t}^{\mathrm{Act}},(5)
clip⁡(w_tAct(θ),1−ϵ,1+ϵ)A^_tAct)],\displaystyle\operatorname{clip}\big(w\_{t}^{\mathrm{Act}}(\theta),1-\epsilon,1+\epsilon\big)\hat{A}\_{t}^{\mathrm{Act}}\Big)\Big],

where ϵ\epsilon is the clipping parameter. As μ^(θ)\hat{\mu}(\theta) is stop-gradient, it affects the ratio and clipping without introducing additional derivative terms through the shared batch statistic. Treating A^_tAct\hat{A}\_{t}^{\mathrm{Act}} as fixed during the actor update, before clipping is activated the gradient is:

∇_θ ⁣(w_tAct(θ)A^_tAct)\displaystyle\nabla\_{\theta}\!\left(w\_{t}^{\mathrm{Act}}(\theta)\hat{A}\_{t}^{\mathrm{Act}}\right)=w_tAct(θ)A^_tActL_t∑_i=1L_t∇_θz_i(t)(θ)\displaystyle=\frac{w\_{t}^{\mathrm{Act}}(\theta)\hat{A}\_{t}^{\mathrm{Act}}}{\sqrt{L\_{t}}}\sum\_{i=1}^{L\_{t}}\nabla\_{\theta}z\_{i}^{(t)}(\theta)(6)
=w_tAct(θ)A^_tActL_t∑_i=1L_t∇_θlog⁡π_θ ⁣(a_i(t)∣s(t)_1:M_t,a_<i(t)),\displaystyle=\frac{w\_{t}^{\mathrm{Act}}(\theta)\hat{A}\_{t}^{\mathrm{Act}}}{\sqrt{L\_{t}}}\sum\_{i=1}^{L\_{t}}\nabla\_{\theta}\log\pi\_{\theta}\!\left(a\_{i}^{(t)}\mid s^{(t)}\_{1:M\_{t}},a\_{<i}^{(t)}\right),

where the second equality follows because the rollout policy is fixed. Thus, token score gradients within an action are summed under one action advantage, action ratio, and clipping decision; L_t−1/2L\_{t}^{-1/2} calibrates their magnitude across action lengths. When L_t=1L\_{t}=1, the action-aware ratio reduces to the standard token ratio. Near the rollout policy, CAPO therefore follows the summed token-score direction for the action while preventing longer actions from dominating solely through token count. Because w_tAct(θ)w\_{t}^{\mathrm{Act}}(\theta) is a length-calibrated surrogate rather than the exact complete-action likelihood ratio, this analysis describes its gradient weighting and clipping behavior rather than an unbiased importance-sampling correction. The action-level advantage captures the contribution of each action, while action-aware policy updates provide length-calibrated weighting and clipping across actions with different lengths. Both designs operate at the action level while remaining compatible with token-level gradient computation.

In this section, we present the overall performance of CAPO and conduct in-depth analyses of its credit assignment and policy-update designs. We evaluate both task outcomes and optimization behavior under shared task interfaces, training data, and evaluation protocols.

Table 1: Main results on multi-hop QA, academic paper search, ALFWorld, and WebShop, reported as mean±std. HotpotQA is in-domain (†\dagger), while 2Wiki and MuSiQue are out-of-domain (⋆\star). Bold and underlining denote the best and second-best results.

MethodHotpotQA†2Wiki⋆MuSiQue⋆RealResearchQueryALFWorldWebShop
F1@allRecall@allSeenUnseenScoreSucc.
Qwen3-1.7B
+ ReAct3.622.240.500.0050.0122.862.242.030.80
+ PPO38.00±0.7550.12±1.0216.55±0.830.284±0.0040.514±0.00467.14±0.6069.40±2.1459.12±0.7834.60±1.34
+ Reinforce++37.92±2.6249.01±0.6717.09±0.310.281±0.0010.521±0.00665.00±0.0368.66±2.0061.34±2.1835.40±0.88
+ GRPO36.76±1.2548.30±1.3516.88±0.760.275±0.0030.530±0.00773.57±0.0675.37±2.2463.15±1.8536.20±0.60
+ RLOO37.41±0.8347.26±0.2315.93±0.770.279±0.0010.536±0.00571.43±1.5973.88±0.7665.74±0.1535.00±0.83
+ GSPO39.12±2.3346.83±0.6817.46±2.770.264±0.0080.541±0.00267.86±0.2767.91±1.2259.03±1.4732.40±1.05
+ GiGPO40.85±2.7952.43±0.6718.37±0.260.298±0.0100.545±0.00270.00±1.2469.40±1.1166.92±0.6541.80±1.83
+ ST-PPO41.32±0.2251.76±1.2918.91±0.100.294±0.0030.548±0.00469.29±0.9470.90±3.1665.80±0.5940.60±1.11
+ CAPO45.19±0.5456.64±1.2321.89±0.700.319±0.0070.557±0.00275.71±0.5979.85±0.5570.40±0.7045.60±0.58
Qwen3-4B
+ ReAct37.4548.5910.260.1710.1937.142.9951.5823.80
+ PPO56.75±1.0258.92±1.1619.82±0.810.303±0.0050.531±0.00276.43±0.0972.39±1.1670.18±2.7146.00±3.35
+ Reinforce++55.94±0.6760.48±0.9721.72±1.010.286±0.0030.548±0.00272.86±1.9271.64±0.2067.84±2.2547.20±0.71
+ GRPO56.61±1.0363.33±0.6225.07±0.850.294±0.0030.572±0.00581.43±2.1674.63±1.0965.83±0.8944.20±1.43
+ RLOO56.31±1.6661.85±0.8623.91±0.810.297±0.0030.563±0.00875.71±2.1070.90±0.8262.49±1.1242.60±0.71
+ GSPO57.08±1.4956.14±2.6822.59±0.130.289±0.0070.552±0.00279.29±1.7677.61±1.0069.78±0.2448.80±2.09
+ GiGPO58.14±0.7861.27±0.1623.50±2.040.306±0.0030.567±0.00188.57±2.5979.10±2.1967.13±0.7450.00±0.75
+ ST-PPO59.01±2.4160.84±2.7924.16±3.340.302±0.0040.571±0.00287.86±1.7580.60±0.8070.60±0.8749.60±0.98
+ CAPO64.12±1.2266.48±1.1227.16±0.840.318±0.0020.590±0.00292.86±1.4486.57±1.0078.12±1.1758.20±0.56

We evaluate CAPO on two backbone models, Qwen3-1.7B and Qwen3-4B-Instruct-2507 [48]. Across all tasks, we adopt an OpenAI-compatible tool calling format. The prompt includes the current observation, interaction history, available tools, and output format.

We evaluate CAPO on four agent tasks. For multi-hop QA, we use HotpotQA [49] as the in-domain benchmark and 2Wiki [11] and MuSiQue [40] for out-of-domain generalization. The agent performs Wikipedia search and generates short answers, and we report answer accuracy (Acc). For academic paper search, we evaluate on RealResearchQuery [10] under the same setting of PaperScout [31]. The agent performs paper search and citation/reference expansion over a maintained paper pool; we report F1@all and Recall@all. For ALFWorld [37], the agent solves household tasks in text-based embodied environments through textual commands, and we report win rates on seen and unseen validation splits. For WebShop [50], the agent navigates a text-based shopping environment with actions including search, selection, and purchase; we report average task score (Score) and purchase success rate (Succ.). Across all tasks, rewards combine terminal correctness with intermediate signals for valid tool-call formatting.

We compare against various baselines. The prompting baselines include ReAct [51]. RL baselines include PPO [34], Reinforce++ [13], GRPO [35], RLOO [2], GSPO [58], GiGPO [6] and ST-PPO [19]. All RL baselines share the same prompt, training data, and evaluation protocols.

Our implementation uses Agent-R1 [4] as the training framework, with veRL [36] as the backend RL engine. Experiments are run with 8 NVIDIA H100 GPUs, and all RL results are averaged over three random seeds. Unless otherwise specified, we set the actor learning rate to 1×10−61\times 10^{-6}, the critic learning rate to 1×10−51\times 10^{-5} for critic-based methods, the training batch size to 128128, and the actor micro-batch size to 44 per GPU. Group-based baselines use 88 rollouts per prompt and a batch size of 1616, yielding an effective batch size of 128128 for fair comparison. For CAPO, we use discount factor γ=0.99\gamma=0.99, trace parameter λ=1.0\lambda=1.0, KL regularization coefficient to 0.0010.001, and set the symmetric clipping parameter to ϵ=0.001\epsilon=0.001.

Table 1 summarizes the overall performance across multi-hop QA, academic paper search, and text-world action tasks. CAPO achieves the best results on all metrics for both backbone models, with substantial improvements on long-horizon tasks. On multi-hop QA, CAPO obtains consistent gains on in-domain HotpotQA and out-of-domain 2Wiki and MuSiQue, showing stronger generalization under distribution shifts. The improvements are more pronounced on agent tasks, where effective credit assignment over interaction steps is critical. Notably, CAPO surpasses GiGPO and ST-PPO, which also exploit action-level modeling but retain token-wise or sequence-aggregated policy ratios. These results demonstrate that aligning policy optimization with action granularity is essential for training capable LLM agents.

Figure 4 : Ablation across four benchmarks. Removing action-level credit assignment (CA) or action-aware policy updates (PU) hurts performance, particularly without both.

Figure 5 : Training dynamics on HotpotQA and ALFWorld. CAPO achieves higher rewards than PPO, GRPO, and GiGPO while maintaining lower critic loss than PPO after the initial updates, indicating more efficient learning and more stable optimization.

We ablate CAPO’s action-level credit assignment and action-aware policy updates. The former replaces interaction-step GAE with PPO token-level GAE; the latter restores token-wise ratios and clipping. Figure 4 shows that credit assignment contributes more on the interaction-intensive RealResearchQuery, ALFWorld, and WebShop, whereas policy updates matter relatively more on HotpotQA, with the contrast most pronounced on RealResearchQuery and ALFWorld. Notably, on HotpotQA, removing both causes a larger drop than the sum of the individual drops, showing that the two designs are not simply additive but reinforce each other by jointly aligning credit assignment and policy updates.

Unless otherwise specified, all in-depth analyses use Qwen3-4B-Instruct-2507 as the backbone model.

Figure 5 compares the training dynamics on HotpotQA and ALFWorld. CAPO achieves the highest rewards for most of training on both tasks, showing a consistent advantage throughout optimization. On HotpotQA, it generally exhibits lower critic loss than PPO after the initial updates. On ALFWorld, PPO’s critic loss becomes highly unstable, whereas CAPO remains more controlled while attaining stronger rewards. Together, these results suggest that CAPO supports effective policy learning and stable optimization across different agent tasks. On HotpotQA, CAPO reaches a reward above 0.5 by roughly 100 updates and remains at that level or higher, while PPO fluctuates around it. On ALFWorld, CAPO is the only method whose reward stays near 0.9 in the final training segment, whereas PPO remains below 0.6. The separation between the CAPO and PPO critic-loss curves persists in the latter half of training on both tasks, rather than arising from a single transient update.

Table 2: Effect of policy-ratio formulations (omitting θ \theta for brevity) under action-level credit assignment. We compare token-wise ratios; product, mean, and square-root aggregations of token log-ratios within an action; and the action-aware centered square-root aggregation with batch-mean restoration. We report the seen win rate on ALFWorld and task score on WebShop.

Table 3: Effect of GAE granularity across different γ\gamma on WebShop. Act. Tokens denotes average action tokens per trajectory, and Δ\Delta Score is the relative change from γ=1.00\gamma=1.00.

γ\gammaAct. TokensAvg. StepsScoreΔ\Delta Score (%)
Token-level GAE
1.00237.064.6373.74–
0.99248.414.4671.86-2.55
0.95275.924.2563.02-14.54
Act.-level GAE
1.00140.084.7974.83–
0.99143.374.9478.12+4.40
0.95183.614.1873.46-1.83

Table 3 studies GAE granularity on WebShop under different γ\gamma values, with λ\lambda fixed to 1.00. Action-level GAE consistently outperforms token-level GAE under matched settings, including γ=1.00\gamma=1.00, where credit is propagated without decay. Notably, token-level GAE at γ=1.00\gamma=1.00 performs similarly to action-level GAE at γ=0.95\gamma=0.95, despite the latter applying stronger discounting. Action-level GAE also remains more stable as γ\gamma decreases, whereas token-level GAE is more sensitive because credit is propagated over much longer token sequences. Across settings, action-level GAE achieves better performance with fewer action tokens and comparable average interaction steps. At γ=0.99\gamma=0.99, action-level GAE improves WebShop from 71.86 to 78.12 with shorter actions (143.37 vs. 248.41 tokens). It remains superior at γ=0.95\gamma=0.95 (73.46 vs. 63.02), indicating the gain is not due to longer trajectories.

We examine how different policy ratio formulations affect policy updates under the action-level credit assignment. Table 2 shows that product aggregation underperforms even the token-wise ratio. Length-scaled aggregation substantially improves both tasks, with square-root aggregation consistently surpassing mean aggregation. The complete action-aware ratio further achieves the best results, validating both square-root calibration and batch-mean correction. Figure 6 provides supporting evidence from training statistics: the variance of centered log-ratio sums scales approximately as L_t0.90L\_{t}^{0.90}, broadly supporting the square-root calibration intuition, while batch-mean restoration mitigates the length-dependent negative shift of direct square-root aggregation. The action-aware ratio improves ALFWorld Seen from 90.71 to 92.86 and WebShop from 76.18 to 78.12 over square-root aggregation. Product aggregation is weaker (74.29 and 68.72), while mean aggregation only partially recovers. The mean plot shows that action-aware scaling remains length-stable, avoiding the downward shift of square-root aggregation.

Table 4 evaluates CAPO under clipping thresholds on ALFWorld and WebShop. Unlike token-wise PPO, CAPO applies clipping to aggregated action-level policy ratios, whose scale is affected by action length, motivating a smaller clipping threshold. Across both tasks, increasing ϵ\epsilon reduces the out-of-range and active clipping fractions as the clipping interval widens. Performance remains comparable from 3×10−43\times 10^{-4} to 3×10−33\times 10^{-3}, indicating that the results are not tied to a threshold. Looser thresholds reduce clipping and degrade performance, suggesting that CAPO benefits from sufficiently tight constraints on policy updates. The default ϵ=10−3\epsilon=10^{-3} achieves the best performance (92.86 Seen, 78.12 WebShop). Larger ϵ\epsilon values reduce active clipping and degrade scores, with 10−110^{-1} nearly eliminating clipping (0.6%, 0.7%) and dropping performance to 83.57 and 69.33, showing that overly loose clipping weakens optimization.

Table 4: Clipping threshold sensitivity of CAPO. OOR is the percentage of action-aware ratios outside [1−ϵ,1+ϵ][1-\epsilon,1+\epsilon], while Active is the percentage that activates clipping in the policy objective. Seen and Score mean each task performance.

ϵ\bm{\epsilon}ALFWorldWebShop
OOR FractionActive FractionSeenOOR FractionActive FractionScore
3×10−43\times 10^{-4}66.8%33.7%91.4370.5%35.6%76.84
1×10−31\times 10^{-3}48.7%24.5%92.8652.3%26.4%78.12
3×10−33\times 10^{-3}29.4%14.8%92.1432.8%16.5%77.46
1×10−21\times 10^{-2}10.8%5.4%89.2912.6%6.3%74.95
1×10−11\times 10^{-1}1.1%0.6%83.571.4%0.7%69.33

Figure 7 : ALFWorld performance by task horizon, grouped by human-annotated golden steps. Delta steps measure the gap between actual and golden step counts.

We group ALFWorld validation tasks by their human-annotated golden steps, defined as the minimum verified action sequence for task completion. Figure 7 reports the success rate and the gap between agent and golden steps. CAPO matches or exceeds PPO and GRPO across task horizons, with consistent gains on longer tasks. It also produces smaller step gaps, suggesting more efficient trajectories during task execution that remain closer to human-verified paths across long-horizon task groups. Across every group from three to nine golden steps, CAPO has the lowest delta-step curve, including the longer groups where PPO and GRPO remain around six or more extra steps. Its success-rate curve is also never below either baseline: the advantage over PPO is particularly visible for five and seven-to-nine-step tasks.

Table 5: Tool-use behavior on the academic paper search task with Qwen3-4B-Instruct-2507. We report the average number of action tokens per complete trajectory, search calls, expansion calls, and F1@all.

MethodAct. TokensSearchExpandF1@all
PPO2719.781.9816.760.303
GRPO2951.572.7415.480.294
GiGPO2814.794.5716.540.306
ST-PPO2798.103.8517.170.302
CAPO2646.353.2119.840.318

Table 5 compares retrieval-tool usage in academic paper search. CAPO obtains the highest F1@all while using the fewest action tokens and the most expansion calls among the compared methods. GiGPO issues more search calls, whereas CAPO allocates more interactions to citation and reference expansion. These statistics provide a behavioral view of the performance differences reported in the Experiments section. CAPO reaches 0.318 F1@all, exceeding the next-best value of 0.306, while using 2646.35 action tokens per trajectory—fewer than every baseline. Its 19.84 expansion calls are also higher than the strongest baseline count of 17.17, whereas its 3.21 search calls are below GiGPO’s 4.57. This pattern indicates that the improvement is associated with more use of citation/reference expansion, not with a larger overall action-token budget.

Table 6: Training time per iteration. Units are seconds per iteration (s/iteration).

MethodRollout TimeActor UpdateCritic Update
PPO14.1276.65104.60
CAPO14.0174.35101.18

CAPO introduces only lightweight operations beyond PPO. Its measured per-iteration time on the same server with 8 NVIDIA H100 GPUs described above is 189.54 seconds, compared with 195.37 seconds for PPO on WebShop. Action-level credit assignment uses value predictions only at state boundaries and runs GAE over interaction steps rather than generated tokens. Action-aware policy updates add only simple reductions and length calibration, while stop-gradient on μ^\hat{\mu} introduces no additional backpropagation or parameter updates. Unlike critic-free group-based methods, CAPO requires critic training, which we view as a trade-off for finer-grained credit assignment and improved performance. Table 6 shows that the total difference is reflected in each measured phase: rollout takes 14.01 seconds for CAPO versus 14.12 for PPO, actor update takes 74.35 versus 76.65 seconds, and critic update takes 101.18 versus 104.60 seconds. Thus, the reported training-time comparison does not indicate a shifted cost from rollout into the update phases under this setting.

Figure 8 : Case study on academic paper search. Action-level credit assignment propagates credit across interaction step

Figure 8 : Case study on academic paper search. Action-level credit assignment propagates credit across interaction steps, while action-aware policy updates use a length-calibrated ratio to clip complete actions. Scissors mark ratios that activate clipping.

Figure 8 illustrates CAPO on a paper search trajectory. Values are estimated at state boundaries, and action-level GAE recursively propagates credit across the interaction sequence, assigning advantages to complete search and expansion actions. In the example, the agent alternates between search and citation/reference expansion actions, so each action receives a separate value difference and advantage rather than sharing a trajectory-level signal. Action-aware policy updates aggregate token-level changes within each action into a length-calibrated ratio for clipping, preventing the update scale from being dominated by action length. Together, these components align credit assignment and policy updates with agent decisions.

We propose CAPO, a critic-guided action-aligned policy optimization method for advancing LLM agent capabilities. CAPO mitigates the granularity mismatch between agent decisions and token-level optimization through two designs: action-level credit assignment through state value estimation at the action boundary and action-aware policy updates through a length-calibrated policy ratio. Together, these designs achieve fine-grained credit assignment and consistent policy updates while retaining token-level gradient computation. Across multi-hop QA, academic paper search, and text-world action tasks, CAPO consistently outperforms representative RL methods. Ablations and analyses validate both designs and reveal how action-aligned optimization improves multi-turn RL training. These results highlight complete actions as optimization units for training capable LLM agents.

  • [1] J. Achiam, S. Adler, S. Agarwal, L. Ahmad, I. Akkaya, F. L. Aleman, D. Almeida, J. Altenschmidt, S. Altman, S. Anadkat, et al. (2024) GPT-4 technical report. External Links: 2303.08774, Link Cited by: §1.
  • [2] A. Ahmadian, C. Cremer, M. Gallé, M. Fadaee, J. Kreutzer, O. Pietquin, A. Üstün, and S. Hooker (2024) Back to basics: revisiting reinforce-style optimization for learning from human feedback in llms. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 12248–12267. Cited by: §B.3, §2.1, §4.1.
  • [3] M. Cheng, D. Wang, S. Yu, Q. Li, J. Ouyang, Y. Luo, Y. Zhang, Q. Liu, and E. Chen (2026) A comprehensive survey of the llm-based agent: the contextual cognition perspective. Cited by: §1.
  • [4] M. Cheng, S. Yu, D. Wang, Q. Li, X. Tao, J. Ouyang, Y. Luo, Y. Zhou, Q. Liu, and E. Chen (2026) Agent-r1: a unified and modular framework for agentic reinforcement learning. External Links: 2511.14460, Link Cited by: §B.4, §1, §4.1.
  • [5] G. Dong, H. Mao, K. Ma, L. Bao, Y. Chen, Z. Wang, Z. Chen, J. Du, H. Wang, F. Zhang, et al. (2026) Agentic reinforced policy optimization. In The Fourteenth International Conference on Learning Representations, Cited by: §1.
  • [6] L. Feng, Z. Xue, T. Liu, and B. An (2026) Group-in-group policy optimization for llm agent training. Advances in Neural Information Processing Systems 38, pp. 46375–46408. Cited by: §B.3, §1, §2.1, §2.2, §4.1.
  • [7] D. Guo, D. Yang, H. Zhang, J. Song, P. Wang, Q. Zhu, R. Xu, R. Zhang, S. Ma, X. Bi, et al. (2025) DeepSeek-r1 incentivizes reasoning in llms through reinforcement learning. Nature 645 (8081), pp. 633–638. Cited by: §1, §2.1.
  • [8] Y. Guo, L. Xu, J. Liu, D. Ye, and S. Qiu (2026) Segment policy optimization: effective segment-level credit assignment in rl for large language models. Advances in Neural Information Processing Systems 38, pp. 114399–114431. Cited by: §2.2.
  • [9] S. He, L. Feng, Q. Wei, X. Cheng, L. Feng, and B. An (2026) Hierarchy-of-groups policy optimization for long-horizon agentic tasks. In The Fourteenth International Conference on Learning Representations, Cited by: §1.
  • [10] Y. He, G. Huang, P. Feng, Y. Lin, Y. Zhang, H. Li, et al. (2025) Pasa: an llm agent for comprehensive academic paper search. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 11663–11679. Cited by: §B.1, §4.1.
  • [11] X. Ho, A. D. Nguyen, S. Sugawara, and A. Aizawa (2020) Constructing a multi-hop qa dataset for comprehensive evaluation of reasoning steps. In Proceedings of the 28th International Conference on Computational Linguistics, pp. 6609–6625. Cited by: §B.1, §4.1.
  • [12] Z. Hou, Y. Li, J. Tang, and Y. Dong (2026) Single-rollout asynchronous optimization for agentic reinforcement learning. External Links: 2607.07508, Link Cited by: §1, §2.1.
  • [13] J. Hu, J. K. Liu, H. Xu, and W. Shen (2025) REINFORCE++: stabilizing critic-free policy optimization with global advantage normalization. External Links: 2501.03262, Link Cited by: §B.3, §2.1, §4.1.
  • [14] Y. Ji, Z. Ma, Y. Wang, G. Chen, X. Chu, and L. Wu (2026) Tree search for llm agent reinforcement learning. In The Fourteenth International Conference on Learning Representations, Cited by: §1, §2.1, §2.2.
  • [15] C. Jiang, M. Cheng, X. Tao, Q. Mao, J. Ouyang, and Q. Liu (2026) Tablemind: an autonomous programmatic agent for tool-augmented table reasoning. In Proceedings of the Nineteenth ACM International Conference on Web Search and Data Mining, pp. 260–270. Cited by: §1.
  • [16] B. Jin, H. Zeng, Z. Yue, J. Yoon, S. O. Arik, D. Wang, H. Zamani, and J. Han (2025) Search-r1: training llms to reason and leverage search engines with reinforcement learning. In Second Conference on Language Modeling, Cited by: §1.
  • [17] W. Kwon, Z. Li, S. Zhuang, Y. Sheng, L. Zheng, C. H. Yu, J. Gonzalez, H. Zhang, and I. Stoica (2023) Efficient memory management for large language model serving with pagedattention. In Proceedings of the 29th symposium on operating systems principles, pp. 611–626. Cited by: §B.4.
  • [18] S. Lei, Z. Cheng, and D. Tao (2026) A step back: prefix importance ratio stabilizes policy optimization. External Links: 2601.22718, Link Cited by: §3.4.
  • [19] C. Li, A. Elmahdy, A. Boyd, Z. Wang, S. Zeng, A. Garcia, P. Bhatia, T. Kass-Hout, C. Xiao, and M. Hong (2026) Stabilizing off-policy training for long-horizon llm agent via turn-level importance sampling and clipping-triggered normalization. External Links: 2511.20718, Link Cited by: §B.3, §1, §2.2, §4.1.
  • [20] J. Li, Y. Wang, Q. Yan, Y. Tian, Z. Xu, H. Song, P. Xu, and L. L. Cheong (2026) Salt: step-level advantage assignment for long-horizon agents via trajectory graph. In Findings of the Association for Computational Linguistics: EACL 2026, pp. 4709–4725. Cited by: §1.
  • [21] J. Li, P. Zhou, R. Meng, M. P. Vadera, L. Li, and Y. Li (2026) Turn-ppo: turn-level advantage estimation with ppo for improved multi-turn rl in agentic llms. In Findings of the Association for Computational Linguistics: EACL 2026, pp. 6227–6243. Cited by: §1, §2.2.
  • [22] W. Li, J. Wang, L. Yu, and X. Zhang (2026) Step-grpo: enhancing reasoning quality and efficiency via structured prm-based reinforcement learning. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 40, pp. 31734–31742. Cited by: §1.
  • [23] Y. Li, Z. Gao, J. Qiao, and S. Hu (2026) SSVPO: effective step-level credit assignment for RL training of language models. In The Fourteenth International Conference on Learning Representations, Cited by: §2.2.
  • [24] Z. Lin, M. Lin, Y. Xie, and R. Ji (2025) CPPO: accelerating the training of group relative policy optimization-based reasoning models. In Advances in Neural Information Processing Systems, D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen (Eds.), Vol. 38, pp. 61043–61068. External Links: Link Cited by: §1.
  • [25] X. Liu, K. Wang, Y. Wu, F. Huang, Y. Li, J. Jiao, and J. Zhang (2026) Agentic reinforcement learning with implicit step rewards. In The Fourteenth International Conference on Learning Representations, Cited by: §1.
  • [26] Y. Liu, C. Lu, and C. Yang (2026) SHADOW: dynamic-aware credit assignment against long-horizon tasks. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 40, pp. 23935–23944. Cited by: §2.1.
  • [27] J. Luo, W. Zhang, Y. Yuan, Y. Zhao, J. Yang, Y. Gu, B. Wu, B. Chen, Z. Qiao, Q. Long, R. Tu, X. Luo, W. Ju, Z. Xiao, Y. Wang, M. Xiao, C. Liu, J. Yuan, S. Zhang, Y. Jin, F. Zhang, X. Wu, H. Zhao, D. Tao, P. S. Yu, and M. Zhang (2025) Large language model agent: a survey on methodology, applications and challenges. External Links: 2503.21460, Link Cited by: §1.
  • [28] Y. Luo, Y. Zhou, M. Cheng, J. Wang, D. Wang, T. Pan, and J. Zhang (2025) Time series forecasting as reasoning: a slow-thinking approach with reinforced llms. arXiv preprint arXiv:2506.10630. Cited by: §1.
  • [29] V. Mnih, A. P. Badia, M. Mirza, A. Graves, T. Lillicrap, T. Harley, D. Silver, and K. Kavukcuoglu (2016) Asynchronous methods for deep reinforcement learning. In International conference on machine learning, pp. 1928–1937. Cited by: §1.
  • [30] L. Ouyang, J. Wu, X. Jiang, D. Almeida, C. Wainwright, P. Mishkin, C. Zhang, S. Agarwal, K. Slama, A. Ray, et al. (2022) Training language models to follow instructions with human feedback. Advances in neural information processing systems 35, pp. 27730–27744. Cited by: §2.1.
  • [31] T. Pan, J. Ouyang, M. Cheng, Q. Li, Z. Liu, D. Wang, M. Pan, S. Yu, and Q. Liu (2026) PaperScout: an autonomous agent for academic paper search with process-aware sequence-level policy optimization. External Links: 2601.10029, Link Cited by: §B.1, §2.2, §4.1.
  • [32] C. Qian, E. C. Acikgoz, Q. He, H. Wang, X. Chen, D. Hakkani-Tur, G. Tur, and H. Ji (2026) Toolrl: reward is all tool learning needs. Advances in Neural Information Processing Systems 38, pp. 105523–105553. Cited by: §1.
  • [33] J. Schulman, P. Moritz, S. Levine, M. Jordan, and P. Abbeel (2016) High-dimensional continuous control using generalized advantage estimation. In The Fourth International Conference on Learning Representations, Cited by: §3.3.
  • [34] J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov (2017) Proximal policy optimization algorithms. External Links: 1707.06347, Link Cited by: §B.3, §1, §2.1, §4.1.
  • [35] Z. Shao, P. Wang, Q. Zhu, R. Xu, J. Song, X. Bi, H. Zhang, M. Zhang, Y. K. Li, Y. Wu, and D. Guo (2024) DeepSeekMath: pushing the limits of mathematical reasoning in open language models. External Links: 2402.03300, Link Cited by: §B.3, §1, §2.1, §4.1.
  • [36] G. Sheng, C. Zhang, Z. Ye, X. Wu, W. Zhang, R. Zhang, Y. Peng, H. Lin, and C. Wu (2025) Hybridflow: a flexible and efficient rlhf framework. In Proceedings of the Twentieth European Conference on Computer Systems, pp. 1279–1297. Cited by: §B.4, §4.1.
  • [37] M. Shridhar, X. Yuan, M. Cote, Y. Bisk, A. Trischler, and M. Hausknecht (2021) ALFWorld: aligning text and embodied environments for interactive learning. In International Conference on Learning Representations, Cited by: §B.1, §4.1.
  • [38] H. Song, J. Jiang, Y. Min, J. Chen, Z. Chen, W. X. Zhao, L. Fang, and J. Wen (2025) R1-searcher: incentivizing the search capability in llms via reinforcement learning. External Links: 2503.05592, Link Cited by: §1.
  • [39] X. Tao, M. Cheng, C. Jiang, T. Gao, H. Zhang, and Y. Liu (2026) Cast-r1: learning tool-augmented sequential decision policies for time series forecasting. arXiv preprint arXiv:2602.13802. Cited by: §1.
  • [40] H. Trivedi, N. Balasubramanian, T. Khot, and A. Sabharwal (2022) MuSiQue: multihop questions via single-hop question composition. Transactions of the Association for Computational Linguistics 10, pp. 539–554. Cited by: §B.1, §4.1.
  • [41] D. Wang, M. Cheng, Q. Li, S. Yu, J. Ouyang, and Q. Liu (2026) Claw-r1: a step-level data middleware system for agentic reinforcement learning. arXiv preprint arXiv:2606.09138. Cited by: §1.
  • [42] D. Wang, M. Cheng, S. Yu, Z. Liu, Z. Guo, X. Li, and Q. Liu (2025) Paperarena: an evaluation benchmark for tool-augmented agentic reasoning on scientific literature. arXiv preprint arXiv:2510.10909. Cited by: §1.
  • [43] G. Wang, S. Dai, G. Ye, Z. Gan, W. Yao, Y. Deng, X. Wu, and Z. Ying (2026) Information gain-based policy optimization: a simple and effective approach for multi-turn search agents. In The Fourteenth International Conference on Learning Representations, Cited by: §1.
  • [44] Z. Wang, K. Wang, Q. Wang, P. Zhang, L. Li, Z. Yang, X. Jin, K. Yu, M. N. Nguyen, L. Liu, E. Gottlieb, Y. Lu, K. Cho, J. Wu, L. Fei-Fei, L. Wang, Y. Choi, and M. Li (2025) RAGEN: understanding self-evolution in llm agents via multi-turn reinforcement learning. External Links: 2504.20073, Link Cited by: §1, §2.2.
  • [45] Q. Wei, S. Zeng, C. Li, W. Brown, O. Frunza, W. Deng, A. Schneider, Y. Nevmyvaka, Y. K. Zhao, A. Garcia, and M. Hong (2025) Reinforcing multi-turn reasoning in llm agents via turn-level reward design. External Links: 2505.11821, Link Cited by: §1.
  • [46] Z. Xi, J. Huang, C. Liao, B. Huang, H. Guo, J. Liu, R. Zheng, J. Ye, J. Zhang, W. Chen, W. He, Y. Ding, G. Li, Z. Chen, Z. Du, X. Yao, Y. Xu, J. Chen, T. Gui, Z. Wu, Q. Zhang, X. Huang, and Y. Jiang (2025) AgentGym-rl: training llm agents for long-horizon decision making through multi-turn reinforcement learning. External Links: 2509.08755, Link Cited by: §1.
  • [47] F. Xu, Q. Hao, C. Shao, Z. Zong, Y. Li, J. Wang, Y. Zhang, J. Wang, X. Lan, J. Gong, et al. (2025) Toward large reasoning models: a survey of reinforced reasoning with large language models. Patterns 6 (10). Cited by: §2.1.
  • [48] A. Yang, A. Li, B. Yang, B. Zhang, B. Hui, B. Zheng, B. Yu, C. Gao, C. Huang, C. Lv, et al. (2025) Qwen3 technical report. External Links: 2505.09388, Link Cited by: §4.1.
  • [49] Z. Yang, P. Qi, S. Zhang, Y. Bengio, W. Cohen, R. Salakhutdinov, and C. D. Manning (2018) HotpotQA: a dataset for diverse, explainable multi-hop question answering. In Proceedings of the 2018 conference on empirical methods in natural language processing, pp. 2369–2380. Cited by: §B.1, §4.1.
  • [50] S. Yao, H. Chen, J. Yang, and K. Narasimhan (2022) Webshop: towards scalable real-world web interaction with grounded language agents. Advances in Neural Information Processing Systems 35, pp. 20744–20757. Cited by: §B.1, §4.1.
  • [51] S. Yao, J. Zhao, D. Yu, I. Shafran, K. R. Narasimhan, and Y. Cao (2022) React: synergizing reasoning and acting in language models. In NeurIPS 2022 Foundation Models for Decision Making Workshop, Cited by: §B.3, §1, §4.1.
  • [52] Q. Yu, Z. Zhang, R. Zhu, Y. Yuan, X. Zuo, Y. Yue, W. Dai, T. Fan, G. Liu, L. Liu, et al. (2026) Dapo: an open-source llm reinforcement learning system at scale. Advances in Neural Information Processing Systems 38, pp. 113222–113244. Cited by: §2.1.
  • [53] C. Zhang (2026) From reasoning to agentic: credit assignment in reinforcement learning for large language models. External Links: 2604.09459, Link Cited by: §1.
  • [54] G. Zhang, H. Geng, X. Yu, Z. Yin, Z. Zhang, Z. Tan, H. Zhou, Z. Li, X. Xue, Y. Li, Y. Zhou, Y. Chen, C. Zhang, Y. Fan, Z. Wang, S. Huang, F. Piedrahita-Velez, Y. Liao, H. Wang, M. Yang, H. Ji, J. Wang, S. Yan, P. Torr, and L. Bai (2026) The landscape of agentic reinforcement learning for llms: a survey. External Links: 2509.02547, Link Cited by: §1.
  • [55] Y. Zhang, C. Ye, S. Jin, C. Yu, W. Xiong, S. Sahu, and N. Jiang (2026) Rethinking importance sampling in llm policy optimization: a cumulative token perspective. External Links: 2605.07331, Link Cited by: §2.2, §3.4.
  • [56] Z. Zhang and B. Zhang (2026) When instinct guides and insight grounds: staged rl training for llm agents. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 40, pp. 34906–34914. Cited by: §2.2.
  • [57] Y. Zhao, Y. Liu, J. Liu, J. Chen, X. Wu, Y. Hao, T. Lv, S. Huang, L. Cui, Q. Ye, F. Wan, and F. Wei (2026) Geometric-mean policy optimization. In The Fourteenth International Conference on Learning Representations, Cited by: §2.2.
  • [58] C. Zheng, S. Liu, M. Li, X. Chen, B. Yu, C. Gao, K. Dang, Y. Liu, R. Men, A. Yang, J. Zhou, and J. Lin (2025) Group sequence policy optimization. External Links: 2507.18071, Link Cited by: §B.3, §2.2, §3.4, §4.1.
  • [59] Y. Zhou and A. Zanette (2024) ArCHer: training language model agents via hierarchical multi-turn rl. In Proceedings of the 41st International Conference on Machine Learning, pp. 62178–62209. Cited by: §1.
  • [60] Z. Zong, D. Chen, Y. Li, Q. Yi, B. Zhou, C. Li, B. Qian, P. Chen, and J. Jiang (2026) AT²PO: agentic turn-based policy optimization via tree search. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), M. Liakata, V. P. Moreira, J. Zhang, and D. Jurgens (Eds.), San Diego, California, United States, pp. 24120–24143. External Links: Link, Document, ISBN 979-8-89176-390-6 Cited by: §2.2.

We model agent–environment interaction as a step-level MDP M_Step=(S,A,P_Step,R,γ)\mathcal{M}\_{\mathrm{Step}}=(\mathcal{S},\mathcal{A},\mathcal{P}\_{\mathrm{Step}},\mathcal{R},\gamma). For brevity, let s_t≜s(t)_1:M_ts\_{t}\triangleq s^{(t)}\_{1:M\_{t}} denote the state and a_t≜a(t)_1:L_ta\_{t}\triangleq a^{(t)}\_{1:L\_{t}} the complete environment-facing action at step tt. The action probability factorizes autoregressively as

π_θ ⁣(a_t∣s_t)=∏_i=1L_tπ_θ ⁣(a_i(t)∣s_t,a_<i(t)).\pi\_{\theta}\!\left(a\_{t}\mid s\_{t}\right)=\prod\_{i=1}^{L\_{t}}\pi\_{\theta}\!\left(a\_{i}^{(t)}\mid s\_{t},a\_{<i}^{(t)}\right).(7)

Token decoding realizes a_ta\_{t} internally but does not trigger environment transitions. After executing the complete action, the environment returns reward r_tr\_{t} and observation o_t+1o\_{t+1}, from which the next state is constructed:

(r_t,o_t+1)\displaystyle(r\_{t},o\_{t+1})∼P_env ⁣(⋅∣s_t,a_t),\displaystyle\sim\mathcal{P}\_{\mathrm{env}}\!\left(\cdot\mid s\_{t},a\_{t}\right),(8)
s_t+1\displaystyle s\_{t+1}=U ⁣(s_t,a_t,o_t+1),\displaystyle=\mathcal{U}\!\left(s\_{t},a\_{t},o\_{t+1}\right),

where U\mathcal{U} denotes state construction. These operations induce P_Step\mathcal{P}\_{\mathrm{Step}} and R\mathcal{R}. Thus, the environment advances once per complete action rather than once per generated token.

A.2 Action-Level Value and Advantage Estimation

Section titled “A.2 Action-Level Value and Advantage Estimation”

Because the environment transitions after a complete action, the corresponding action value is defined over the complete interaction step:

$$Q_{t}^{\mathrm{Act}}!\left(s_{t},a_{t}\right)=\mathbb{E}!\left[\sum_{k=t}^{T}\gamma^{k-t}r_{k},\middle,s_{t},a_{t}\right].$$

The state value is the expected return before a particular action is specified, or equivalently the action value averaged over complete actions sampled from the current policy:

V_tAct ⁣(s_t)=E_a_t∼π_θ(⋅∣s_t) ⁣[Q_tAct ⁣(s_t,a_t)].V\_{t}^{\mathrm{Act}}\!\left(s\_{t}\right)=\mathbb{E}\_{a\_{t}\sim\pi\_{\theta}(\cdot\mid s\_{t})}\!\left[Q\_{t}^{\mathrm{Act}}\!\left(s\_{t},a\_{t}\right)\right].(10)

Accordingly, the population action-level advantage compares the realized complete action with its pre-action expectation:

A_tAct=Q_tAct ⁣(s_t,a_t)−V_tAct ⁣(s_t).A\_{t}^{\mathrm{Act}}=Q\_{t}^{\mathrm{Act}}\!\left(s\_{t},a\_{t}\right)-V\_{t}^{\mathrm{Act}}\!\left(s\_{t}\right).(11)

This definition places value estimation at the decision boundary before action generation. In a causal Transformer, the representation at the final state token is conditioned on the complete state prefix but not on the action. CAPO therefore parameterizes the state value as V_ϕ(s_t)≜V_ϕ(s(t)_M_t)V\_{\phi}(s\_{t})\triangleq V\_{\phi}(s^{(t)}\_{M\_{t}}). A value prediction at an action-side position is already conditioned on at least a partial realization of the current action, while a prediction after the full action is closer to an action-conditioned value associated with Q_tActQ\_{t}^{\mathrm{Act}}. CAPO estimates the advantage using GAE along the interaction-step timeline:

A^_tAct\displaystyle\hat{A}\_{t}^{\mathrm{Act}}=∑_l=0T−t(γλ)lδ_t+l,\displaystyle=\sum\_{l=0}^{T-t}(\gamma\lambda)^{l}\delta\_{t+l},(12)
δ_t\displaystyle\delta\_{t}=r_t+γV_ϕ(s_t+1)−V_ϕ(s_t),\displaystyle=r\_{t}+\gamma V\_{\phi}(s\_{t+1})-V\_{\phi}(s\_{t}),

with the value after a terminal step set to zero. The resulting A^_tAct\hat{A}\_{t}^{\mathrm{Act}} is assigned to the complete action and shared by its valid action tokens during policy optimization.

A.3 Analysis of Action-Aligned Policy Optimization

Section titled “A.3 Analysis of Action-Aligned Policy Optimization”

Policy-Ratio Construction for Action-Aware Updates.

Section titled “Policy-Ratio Construction for Action-Aware Updates.”

Let z_i(t)(θ)=log⁡π_θ(a_i(t)∣s_t,a_<i(t))−log⁡π_old(a_i(t)∣s_t,a_<i(t))z\_{i}^{(t)}(\theta)=\log\pi\_{\theta}(a\_{i}^{(t)}\mid s\_{t},a\_{<i}^{(t)})-\log\pi\_{\mathrm{old}}(a\_{i}^{(t)}\mid s\_{t},a\_{<i}^{(t)}) denote the token-level log-ratio. The product, geometric-mean, and direct square-root aggregations have the following log forms:

log⁡w_tProd\displaystyle\log w\_{t}^{\mathrm{Prod}}=∑_i=1L_tz_i(t),\displaystyle=\sum\_{i=1}^{L\_{t}}z\_{i}^{(t)},(13)
log⁡w_tMean\displaystyle\log w\_{t}^{\mathrm{Mean}}=1L_t∑_i=1L_tz_i(t),\displaystyle=\frac{1}{L\_{t}}\sum\_{i=1}^{L\_{t}}z\_{i}^{(t)},
log⁡w_tSqrt\displaystyle\log w\_{t}^{\mathrm{Sqrt}}=1L_t∑_i=1L_tz_i(t).\displaystyle=\frac{1}{\sqrt{L\_{t}}}\sum\_{i=1}^{L\_{t}}z\_{i}^{(t)}.

The product is the exact complete-action likelihood ratio, but its log-ratio accumulates over all action tokens and therefore becomes increasingly sensitive to action length. Geometric-mean aggregation controls this accumulation more strongly, but can concentrate long-action ratios near one and reduce their clipping frequency. Square-root aggregation lies between these two cases, retaining within-action accumulation while moderating its dependence on length.

CAPO additionally centers token log-ratios before square-root aggregation and restores their overall center:

log⁡w_tAct(θ)\displaystyle\log w\_{t}^{\mathrm{Act}}(\theta)=μ^(θ)+1L_t∑_i=1L_t(z_i(t)(θ)−μ^(θ)),\displaystyle=\hat{\mu}(\theta)+\frac{1}{\sqrt{L\_{t}}}\sum\_{i=1}^{L\_{t}}\left(z\_{i}^{(t)}(\theta)-\hat{\mu}(\theta)\right),(14)
μ^(θ)\displaystyle\hat{\mu}(\theta)=sg⁡ ⁣(∑_b∈B∑_i=1L_bz_i(b)(θ)∑_b∈BL_b).\displaystyle=\operatorname{sg}\!\left(\frac{\sum\_{b\in\mathcal{B}}\sum\_{i=1}^{L\_{b}}z\_{i}^{(b)}(\theta)}{\sum\_{b\in\mathcal{B}}L\_{b}}\right).

μ^(θ)\hat{\mu}(\theta) is a token-weighted empirical estimate of the average log-ratio between the current and rollout policies, rather than an additional learned parameter. Centering removes the shared policy shift before length scaling, while restoring μ^(θ)\hat{\mu}(\theta) retains the overall ratio center. At the rollout policy, all token log-ratios and μ^(θ)\hat{\mu}(\theta) are zero, so w_tAct(θ)=1w\_{t}^{\mathrm{Act}}(\theta)=1. As an empirical statistic, μ^(θ)\hat{\mu}(\theta) may vary with the composition of the current optimization set and is used as a practical calibration term rather than an exact population quantity. The stop-gradient operation allows it to affect the forward ratio and clipping decision without introducing derivative terms through the shared statistic. In particular, this prevents one step from receiving gradients contributed by other steps through the batch mean.

Gradient Interpretation and Relation to PPO.

Section titled “Gradient Interpretation and Relation to PPO.”

Treating A^_tAct\hat{A}\_{t}^{\mathrm{Act}} as fixed during the actor update, the gradient before clipping is activated is

∇_θ ⁣(w_tAct(θ)A^_tAct)\displaystyle\nabla\_{\theta}\!\left(w\_{t}^{\mathrm{Act}}(\theta)\hat{A}\_{t}^{\mathrm{Act}}\right)=w_tAct(θ)A^_tActL_t\displaystyle=\frac{w\_{t}^{\mathrm{Act}}(\theta)\hat{A}\_{t}^{\mathrm{Act}}}{\sqrt{L\_{t}}}(15)
⋅∑_i=1L_t∇_θlog⁡π_θ ⁣(a_i(t)∣s_t,a_<i(t)).\displaystyle\cdot\sum\_{i=1}^{L\_{t}}\nabla\_{\theta}\log\pi\_{\theta}\!\left(a\_{i}^{(t)}\mid s\_{t},a\_{<i}^{(t)}\right).

Thus, the token score gradients within an action are combined under the same action advantage, action ratio, and clipping decision, with L_t−1/2L\_{t}^{-1/2} calibrating the magnitude across action lengths. CAPO retains the clipped-surrogate structure of PPO but changes the update granularity: token-wise PPO weights and clips token ratios individually, whereas CAPO’s action-aware policy updates construct one ratio and one clipping decision for the complete action. When L_t=1L\_{t}=1, the action-aware ratio reduces to the standard token ratio. Near the rollout policy, its per-action gradient follows the summed action score direction while applying a length-dependent rescaling, which intentionally prevents longer actions from dominating through token count.

Because w_tAct(θ)w\_{t}^{\mathrm{Act}}(\theta) is a length-calibrated surrogate rather than the exact complete-action likelihood ratio, it should not be interpreted as an unbiased importance-sampling correction, and a TRPO-style guarantee does not directly apply. The analysis above instead clarifies how CAPO modifies the scale, gradient weighting, and clipping granularity of PPO to align policy updates with complete actions.

The multi-hop QA setting uses HotpotQA [49] in the distractor setting as the in-domain benchmark. We train on the official HotpotQA training split with 90,447 questions and evaluate in-domain performance on the development split with 7,405 questions, where each question is paired with 10 Wikipedia context paragraphs. To evaluate cross-dataset generalization, we further test on the development splits of 2Wiki [11] and MuSiQue [40], containing 12,576 and 2,417 questions respectively; these examples are used only for evaluation and do not participate in parameter updates on HotpotQA. The reward combines the normalized exact-match score between the predicted answer and the gold answer with an intermediate formatting reward for valid search(query) calls; malformed tool-call outputs receive format feedback. We report answer accuracy (Acc).

Academic paper search follows the multi-turn paper discovery setting studied in PaperScout [31]. The query data are built from RealResearchQuery [10], with 33,551 research queries for training and 50 queries for testing. Retrieved papers are evaluated against query-level relevance annotations. Reward and inference scoring use pasa-7b-selector, a Qwen2.5-7B based model optimized for relevance assessment, which is not exposed as an agent tool. For each newly discovered paper, the selector takes the research query together with the paper title and abstract, and returns a relevance score. During training, papers with near-zero selector scores are discarded, and each valid search(query) or expand(paper_id) call receives an intermediate formatting reward; each search or expansion step additionally receives the sum of the top three newly discovered relevance scores, minus optional action cost. Repeated search queries and malformed, invalid, or repeated expansions receive format feedback and a penalty of −0.5-0.5. During inference, the same selector scores the final paper pool, and we report post-threshold F1@all and Recall@all against the annotated arXiv IDs.

ALFWorld [37] is a text-based embodied household task benchmark. We filter the official household task data to solvable tasks from supported task types and use 3,553 training tasks, 140 valid-seen tasks, and 134 valid-unseen tasks, covering six task families: examining objects under light, pick-and-place, clean-and-place, cool-and-place, heat-and-place, and pick-two-and-place. Each episode provides a goal instruction and is evaluated by whether the agent completes the specified household task. The reward combines the terminal task-success signal with an intermediate formatting reward when the agent emits a valid admissible-command tool call; malformed outputs receive format feedback. We report win rate on the seen and unseen validation splits.

WebShop [50] is a text-based e-commerce navigation benchmark in which each goal specifies a shopping instruction. We use the full product setting, which contains approximately 1.18 million products and 12,087 predefined shopping goals. The split uses 11,587 goals for training and 500 goals for development. The reward combines the WebShop task score, computed from whether the purchased item satisfies the instruction and matches required product attributes, with an intermediate formatting reward for valid environment-action tool calls; purchase completion provides an additional success signal, and malformed outputs receive format feedback. We report both average task score (Score) and purchase success rate (Succ.).

Table 7: Key optimization hyperparameters used in the main experiments. The critic learning rate applies to critic-based methods, including PPO, ST-PPO, and CAPO.

HyperparameterHotpotQARealResearchQueryALFWorldWebShop
Actor learning rate1×10−61\times 10^{-6}1×10−61\times 10^{-6}1×10−61\times 10^{-6}1×10−61\times 10^{-6}
Critic learning rate1×10−51\times 10^{-5}1×10−51\times 10^{-5}1×10−51\times 10^{-5}1×10−51\times 10^{-5}
Max prompt length1024010240819216384
Max response length1024409640964096
Effective batch size128128128128
Group rollout number8888
Actor micro-batch size4444
Max environment steps552015

The multi-hop QA environment provides a dense retrieval interface over benchmark-specific Wikipedia paragraph indexes. For HotpotQA, the retrieval corpus is built by deduplicating all distractor context paragraphs from the training and development splits, yielding 509,308 passages. For cross-dataset evaluation, 2Wiki and MuSiQue use separate indexes built from the official full Wikipedia paragraph corpus with 5,902,082 passages and the deduplicated union of MuSiQue question-linked passages with 139,416 passages, respectively. We encode passages with BAAI/bge-large-en-v1.5 and index them with FAISS. At each step, the agent observes the question, retrieved passages, previous search queries, and format feedback. It can issue up to 4 parallel search(query) calls per step, and the maximum horizon is 5 steps. When the agent has enough evidence, it terminates by outputting a short answer inside … tags.

The academic paper search environment maintains a paper pool for each research query and exposes two tools: search(query), which retrieves papers from an academic search service, and expand(paper_id), which expands the citations and references of a paper already in the pool. The paper corpus is constructed from a January 2026 Semantic Scholar snapshot by retaining arXiv papers with abstracts, resulting in approximately 3 million papers and 30 million in-corpus citation edges. The retrieval API supports sparse retrieval with a SQLite FTS5 full-text index using BM25 ranking, dense retrieval with Qdrant and BGE-M3 embeddings, and hybrid retrieval through reciprocal-rank fusion. The default search returns 10 papers; citation expansion returns up to 30 citing papers, and reference expansion returns up to 99 referenced papers. At each step, the agent observes the user query, the current paper pool, and previous search or expansion actions. It can make up to 5 parallel tool calls per step, and the maximum horizon is 5 steps.

The ALFWorld environment is built on TextWorld. Each episode corresponds to a packaged TextWorld game file, and the runtime wrapper loads one game as an independent interaction instance. At each step, the wrapper returns the current textual observation and the admissible-command list, and the agent must submit exactly one command that matches the list through the environment-step tool. These commands include navigation and household operations such as moving, opening or closing objects, taking objects, and placing objects. Task success is determined by the won signal returned by the environment. For each agent step, the prompt is reconstructed from the current observation and history actions rather than accumulated as a full multi-turn dialogue, matching the step-level MDP formulation. We set the maximum horizon to 20 interaction steps.

The WebShop environment is implemented as a self-hosted HTTP shopping simulator. It builds a SQLite product store and a Lucene full-text search index over the full product catalog. During training, the client interacts with the server through reset and step calls: reset initializes a shopping goal, and each step applies one executable action to the current page state. Available actions are generated dynamically from the current page, including keyword search, product clicks, option selection, back navigation, and purchase. The agent issues one action through the environment-step tool and receives the next page observation. Each agent step reconstructs the prompt from the current observation and recent action history rather than carrying a full dialogue. We set the maximum horizon to 15 interaction steps.

The prompting baseline evaluates the LLM without RL fine-tuning. It uses the same task prompts and tool schemas as the RL methods, following a ReAct-style format [51] that interleaves reasoning and environment-facing actions. We set the evaluation temperature to 0.0. This baseline measures the policy’s capability under the interaction protocol before optimization.

PPO [34] is implemented as the token-level GAE baseline. It uses a learned critic and estimates advantages at token granularity. This baseline keeps the conventional LLM RL view that generated tokens are the optimization unit, even though the environment state changes only after a complete interaction response.

Reinforce++ [13] is a critic-free token-level return baseline. It computes discounted returns over valid generated tokens, uses the same-prompt rollout-group mean as a baseline, and applies masked whitening.

GRPO [35] is a critic-free group-relative baseline. For each prompt, it samples multiple rollouts and computes a trajectory-level relative advantage from the group rewards. We use 8 rollouts per prompt by default and reduce the effective prompt batch size accordingly to keep the update budget comparable.

RLOO [2] is another trajectory-level group baseline. It computes each rollout’s baseline from the average reward of the other rollouts in the same prompt group, leaving out the current rollout’s own reward. The resulting advantage is still assigned at trajectory granularity.

GSPO [58] is used as a sequence-level policy-loss baseline. In our implementation, it keeps the GRPO trajectory-level advantage estimator and replaces the token-level policy ratio with a sequence-level ratio objective. This isolates the effect of the sequence-level policy loss from CAPO’s action-level credit assignment.

GiGPO [6] is a critic-free baseline that combines trajectory-level group comparison with grouped step-level information. It introduces a step-advantage component grouped by anchor observations, but does not learn a value function. We include it as a strong comparison for finer-grained agent credit assignment.

ST-PPO [19] is a critic-based multi-turn PPO baseline. Following its original formulation, it replaces token-level importance sampling with a geometric-mean importance weight over each turn and further normalizes the resulting gradient using a clipping-bias correction. We map each turn to an interaction step and categorize its turn-level ratio as sequence aggregation in our comparison.

Our implementation uses Agent-R1 [4] as the training framework, with veRL [36] as the backend RL engine and vLLM generation [17]. Experiments are run on a server with 8 NVIDIA H100 GPUs. Unless otherwise specified, we set the actor learning rate to 1×10−61\times 10^{-6}, the critic learning rate to 1×10−51\times 10^{-5} for critic-based methods, the training batch size to 128128, and the actor micro-batch size to 44 per GPU. Group-based baselines use 88 rollouts per prompt and a batch size of 1616, yielding an effective batch size of 128128 for fair comparison. For policy clipping, we set ϵ=0.001\epsilon=0.001 for CAPO and ϵ=0.0003\epsilon=0.0003 for GSPO; the remaining baselines follow the clipping configurations in their original papers. We use neither learning-rate warm-up nor a separate critic warm-up stage. For CAPO, we use discount factor γ=0.99\gamma=0.99, GAE trace parameter λ=1.0\lambda=1.0, and actor-side KL regularization coefficient 0.0010.001. Within each benchmark, all RL methods share the same backbone model, training data, task description, tool interface, hyperparameter budget, and evaluation protocol; they differ only in their RL algorithm design. CAPO, PPO, and ST-PPO use a learned critic, while GRPO, RLOO, Reinforce++, GSPO, and GiGPO are critic-free baselines according to their definitions.

This appendix lists the prompt templates used to instantiate the tool-calling interface described in the Experimental Setup subsection of the main paper’s Experiments section. The prompt field stored in each dataset row contains the task input, such as the HotpotQA question, paper-search query, ALFWorld goal, or WebShop shopping instruction. During rollout, the agent flow reconstructs a step prompt from the current observation or retrieved evidence, action history, available tools or admissible actions, and expected output format. This construction matches the step-level MDP formulation: each prompt represents the interaction state, and each response is parsed as one environment-facing action. We preserve placeholders {observation} and {history_actions} because they are populated at rollout time.

To complement the case study in the main paper’s In-Depth Analysis subsection, we include a shortened academic paper search trajectory. The example illustrates how the agent grows a paper pool through search and citation/reference expansion, while selecting complete actions at each interaction step. It is lightly edited from a real rollout: long observations, full paper lists, and repetitive parallel tool calls are abbreviated with ellipses, while the action-level decision pattern is preserved.

All RL results are averaged over random seeds 41, 42, and 43. ReAct is evaluated once with temperature 0.0 using deterministic decoding. The hyperparameter comparisons cover γ∈{0.95,0.99,1.00}\gamma\in\{0.95,0.99,1.00\} and the policy-ratio variants reported in the policy ratio analyses. Experiments run on a server with eight NVIDIA H100 80GB HBM3 GPUs and dual Intel Xeon Platinum 8468 CPUs under Ubuntu 22.04.5 LTS. The software stack uses Python 3.10.20, CUDA 12.8, PyTorch 2.8.0+cu128, Transformers 4.57.6, veRL 0.7.0, and vLLM 0.11.0. The complete preprocessing, training and evaluation code is available in the supplementary material.

Our work has several limitations. First, although CAPO has comparable per-iteration training time to PPO in our measured setting, it still requires critic inference and updates, unlike critic-free algorithms such as GRPO. Extending action-aligned optimization to critic-free RL algorithms is an important direction for future work. Second, the current study mainly focuses on single ReAct-style agent settings and does not explore more complex multi-agent or hierarchical systems. Whether action-aligned optimization remains effective in these settings requires further investigation. Third, we have not validated CAPO on very large backbone models, leaving its scalability to stronger LLM agents for future study. Finally, we only validate CAPO on interactive agent tasks, including multi-hop QA, academic paper search, and text-world action tasks. Its effectiveness for broader post-training scenarios, such as alignment and reasoning tasks, remains to be explored.