TL;DR
CAPO (Critic-Guided Action-Aligned Policy Optimization) addresses a fundamental granularity mismatch in reinforcement learning for LLM agents: environments transition based on complete actions, but standard algorithms optimize at the token level. By aligning both credit assignment and policy updates at the action level using a novel length-calibrated policy ratio, CAPO significantly improves the performance and training stability of LLM agents on complex, long-horizon tasks.
What Problem Does This Paper Address?
When Large Language Models (LLMs) act as autonomous agents, they interact with external environments via complete actions—such as generating a full reasoning turn or executing a specific tool call. The environment's state only changes after the entire action is completed.
However, standard critic-based reinforcement learning (RL) algorithms like Proximal Policy Optimization (PPO) compute value estimations, assign credit, and perform policy updates at the individual token level. Conversely, popular critic-free methods like GRPO operate at the coarse trajectory level, assigning a single advantage score to an entire multi-turn interaction.
This creates a fundamental granularity mismatch, illustrated below:
Token-level updates introduce noise and fail to capture the cohesive impact of a full decision, while trajectory-level updates cannot distinguish which specific intermediate action led to success or failure.
Methods
The authors propose CAPO, which reformulates the complete agent action as the fundamental decision unit for RL optimization while remaining fully compatible with standard token-level gradient computation.
CAPO introduces two core action-aligned designs:
- Action-Level Credit Assignment: Instead of evaluating every token, a critic model estimates the state value exclusively at the action boundaries (pre-action states). Generalized Advantage Estimation (GAE) is then applied along the multi-turn interaction timeline, assigning a single, informative advantage score to the complete action.
- Action-Aware Policy Updates: Standard PPO clips token-level importance ratios. CAPO instead aggregates token log-ratios into a single action-level policy ratio. To prevent longer actions from dominating the gradient updates, it introduces a square-root length calibration over centered token log-ratios, combined with a batch-mean centering mechanism to stabilize policy clipping.
The overall architecture of CAPO is detailed in the framework overview:
Datasets
The authors evaluated CAPO across four diverse, interaction-heavy agent benchmarks using Qwen3-1.7B and Qwen3-4B-Instruct backbones:
- Multi-hop QA: HotpotQA (in-domain training and evaluation), along with 2Wiki and MuSiQue to test out-of-domain generalization.
- Academic Paper Search: RealResearchQuery, evaluating the agent's ability to search, cite, and expand reference pools.
- Embodied Text-World Tasks: ALFWorld, where the agent solves household tasks via textual commands in seen and unseen environments.
- Web Navigation: WebShop, a text-based e-commerce environment requiring multi-step search, selection, and purchase actions.
Key Insights and Ideas
- The Square-Root Calibration Intuition: Directly multiplying token ratios to get an action ratio makes the gradient highly sensitive to action length. Conversely, taking the geometric mean under-corrects, diminishing the clipping effect for long actions. CAPO utilizes a square-root scaling factor ($\alpha = 0.5$), which empirically matches the natural variance growth of token log-ratios ($L_t^{0.90}$) and ensures balanced clipping behavior regardless of action length.
- Joint Component Alignment: Prior works attempted to fix either the reward design or the policy ratio at the step level, but CAPO demonstrates that credit assignment and policy updates must be jointly aligned at the same action granularity to unlock maximum sample efficiency and stability.
- No Shifted Costs: Unlike group-based critic-free methods that require generating massive numbers of rollouts per prompt to estimate relative advantages, CAPO achieves fine-grained updates via a critic model without inflating rollout overhead or wall-clock training time per iteration.
Key Results
CAPO consistently outperformed standard prompting (ReAct) and all representative RL baselines (including PPO, GRPO, and other turn-based variants like ST-PPO) across all benchmarks.
- Performance Boosts: On Qwen3-4B, CAPO achieved a 64.12% accuracy on HotpotQA (outperforming PPO's 56.75%) and an 86.57% win rate on ALFWorld Unseen tasks (outperforming PPO's 72.39%).
- Training Stability: CAPO demonstrated highly stable training dynamics. As shown in the training curves, CAPO achieves higher rewards faster while maintaining a significantly lower and more controlled critic loss compared to PPO:
- Trajectory Efficiency: On ALFWorld, CAPO generated more efficient problem-solving paths, maintaining the lowest gap ("delta steps") between the agent's actual execution steps and human-verified optimal paths.
Limitations and Future Work
- Critic Overhead: While CAPO does not increase rollout overhead, it still requires training and maintaining a separate critic model, which incurs higher GPU memory overhead than critic-free methods like GRPO.
- Scope of Interaction: The current implementation focuses primarily on single-agent, ReAct-style interaction loops. The authors note that validating CAPO's effectiveness in multi-agent or hierarchical agent systems remains an open direction.
- Scale and Tasks: CAPO has yet to be tested on very large frontier models (e.g., >70B parameters) or applied to broader post-training scenarios like general alignment and pure mathematical reasoning.
Summary updated