SAPO: Single-Rollout Autoregressive Policy Optimization for Agentic Reinforcement Learning
This paper introduces SAPO, a memory-efficient and compute-optimized framework for agentic reinforcement learning that utilizes a shared autoregressive backbone for policy and value functions to achieve superior performance and stability over existing methods like PPO and GRPO while eliminating the need for a separate critic model.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
In the rapidly evolving world of artificial intelligence, a new frontier has emerged where computer programs are no longer just passive text generators but active agents capable of reasoning, searching the web, and solving complex problems over many steps. This field, known as agentic reinforcement learning, teaches these digital assistants by letting them try actions in a simulated environment and learn from the results. Imagine a student taking a test: if they get the right answer, they feel good; if they fail, they try to figure out what went wrong. For an AI, this learning process relies on a system that can look back at a long chain of decisions and determine which specific step led to success or failure. Traditionally, this has required a heavy, two-part system: one part to decide what to do next, and a separate, massive "critic" part to evaluate how good the current situation is. This separation works well but demands enormous computing power and memory, often slowing down the learning process or making it too expensive to run on standard hardware.
Researchers have recently discovered that many of these AI agents struggle when the feedback they receive is sparse or delayed, such as waiting until the very end of a long task to know if they succeeded. Existing methods that try to simplify this process by removing the separate critic often end up with unstable learning or poor performance because they lack a clear way to assign credit to individual steps in a long sequence. To solve this, a team of scientists from Xiamen University and Nanyang Technological University has developed a new framework called SAPO, which stands for Single-Rollout Autoregressive Policy Optimization. Instead of using two separate models or requiring the AI to generate dozens of different attempts to learn from one task, SAPO teaches a single language model to do everything at once. It uses the natural flow of language generation to simultaneously decide on an action, evaluate the state before the action, and judge the value of the action itself, all within one continuous stream of thought.
The core innovation of SAPO lies in how it organizes information inside the AI's brain. In a standard conversation or task, the AI reads a prompt, thinks, and then writes a response. The researchers realized that the moment right before the AI starts writing a response is the perfect time to ask, "How good is this situation?" and the moment right after the response is finished is the perfect time to ask, "How good was that specific action?" By placing these two questions at specific, fixed points in the text generation process, the model can learn to answer both without needing a separate evaluator. This design allows the AI to learn from just one attempt at a task, rather than needing to generate a large group of variations to compare against each other. The system effectively learns to generalize its understanding of value across different situations, ensuring that it doesn't just memorize a specific path to success but understands the underlying logic of why a move was good or bad.
To test this approach, the team trained the AI on two challenging environments: a simulated household where the agent must complete physical tasks like cleaning or heating items, and a complex web shopping scenario where the agent must navigate websites to find specific products. They used two different sizes of language models, one with 1.5 billion parameters and another with 7 billion, to see if the method held up at different scales. The results were striking. In the household tasks, the new method improved the success rate by more than 15 percentage points compared to the standard method that uses a separate critic, and by over 12 percentage points compared to the leading method that tries to avoid using a critic entirely. In the web shopping tasks, the improvements were similarly significant, with the AI achieving higher scores and completing more tasks successfully. Perhaps most importantly, the new method did this while using significantly less memory and running about 33 percent faster per training step than the traditional approach, because it eliminated the need to run a second, separate model to evaluate performance.
The success of this framework suggests that the way large language models naturally process information can be harnessed to solve some of the most difficult problems in training AI agents. By aligning the learning process with the natural structure of language generation, the researchers have shown that it is possible to achieve high-level performance without the heavy computational cost of maintaining separate systems for decision-making and evaluation. This approach not only makes training more efficient but also more stable, allowing agents to learn effectively even when the rewards for their actions are delayed or infrequent. As the field of artificial intelligence moves toward creating more autonomous and capable agents, methods like this one offer a practical path forward, proving that efficiency and high performance can go hand in hand without sacrificing the ability to learn from complex, long-term interactions.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.