arXiv(opens in a new tab)cs.AIAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.23493

SRPO: Self-Reflective Policy Optimization for Long-Horizon Reasoning

Jialong Liu, Yuling Shi, Ning Yang, Xiaodong Gu, Zuchao Li

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Self-reflection is a powerful mechanism for credit assignment in human learning, converting sparse outcome feedback into actionable guidance. However, its potential for post-training Large Language Models (LLMs) remains underexplored. We propose Self-Reflective Policy Optimization (SRPO), a framework that internalizes this capability. SRPO enables LLMs to analyze their own completed trajectories, synthesize errors into concise "reflection patches," and use reflection-conditioned teacher scores on student on-policy rollouts as dense token-level training signals. This process effectively transforms sparse terminal supervision into dense, token-level learning signals without requiring external critics, separate reward models, or larger teacher models. We demonstrate that SRPO achieves state-of-the-art performance across mathematical reasoning and long-horizon agentic benchmarks with exceptional data efficiency. Using a Qwen3-8B base model, SRPO attains 73.3% on AIME'24 using only 8% (0.08×) of the training FLOPs required by scaled supervised fine-tuning, while significantly improving success rates on WebShop (64.7%), ALFWorld (76.8%), and SWE-Bench-Lite (31.2%). Code is available at https://github.com/Galleons2029/SRPO

1. Introduction

Post-training has emerged as the critical phase for unlocking the reasoning and decision-making capabilities of large language models (LLMs) (OpenAI et al., 2024; Grattafori et al., 2024; Shao et al., 2024). Through reinforcement learning (RL) combined with inference-time techniques such as chain-of-thought prompting, modern LLMs achieve impressive performance on mathematical reasoning, code generation, and interactive decision-making. Yet a fundamental bottleneck remains: current post-training methods scale poorly to long-horizon tasks—those requiring coherent reasoning across extended interaction sequences with dozens or even hundreds of intermediate decisions (Gao et al., 2025; Laban et al., 2025).

The root cause is the credit assignment problem under sparse supervision. Standard RL approaches such as PPO (Schulman et al., 2017) and GRPO (Shao et al., 2024) receive only terminal feedback (success or failure) after an entire episode, regardless of trajectory length. This provides merely O(1)O(1) bits of information per episode—an information bottleneck that leads to high-variance gradients and sample-inefficient learning (Lu & Lab, 2025). Compounding this difficulty, recent studies reveal that RL fine-tuning often suffers from entropy collapse, progressively shrinking the policy’s exploration space without genuinely expanding reasoning capacity (Cui et al., 2025; Yue et al., 2025).

Self-reflection offers a compelling alternative by converting sparse outcome signals into rich textual feedback (Shinn et al., 2023; Madaan et al., 2023). Rather than receiving a scalar reward, the model analyzes its own failures, identifies specific errors, and generates corrective guidance—mirroring how humans learn from experience through deliberate reflection. However, existing reflection mechanisms suffer from fundamental limitations that restrict their utility for training. Iteratively appending reflections within an ongoing trajectory induces semantic drift, where accumulating context eventually collapses under its own weight (Laban et al., 2025). Furthermore, reflections conditioned on frozen parameters often fail to meaningfully explore the solution space, and injected reflection prompts can disrupt native thinking processes, producing chaotic or excessively verbose outputs.

To bridge the gap between reflection-based prompting and reinforcement learning, we propose SRPO (Self-Reflective Policy Optimization), a framework that casts self-reflection as a mechanism for dense reward generation. Our central insight is that an LLM can serve as its own teacher: hindsight reflections on completed trajectories define a reflection-augmented teacher distribution that, via teacher-

1^{1}School of artificial intelligence, Wuhan University, Wuhan, China 2^{2}School of computer science, Shanghai Jiao Tong University, Shanghai, China 3^{3}Institute of automation, Chinese Academy of Sciences, Beijing, China. Correspondence to: Zuchao Li zclcharlie@whu.edu.cn.

Proceedings of the 43rd43^{rd} International Conference on Machine Learning, Seoul, South Korea. PMLR 306, 2026. Copyright 2026 by the author(s).

forced scoring of the student’s on-policy rollouts, yields dense token-level supervision. Crucially, we introduce a reset-with-memory mechanism that prepends compact reflection patches to the original prompt and regenerates from a clean initial state. This design preserves task specification fidelity while injecting learned guidance, creating a principled asymmetry—training with reflection, inference without—that drives continuous self-improvement.

This reflection-enhanced behavior is transferred into the base policy through on-policy distillation with dense token-level supervision. Where sparse terminal rewards provide O(1)O(1) bits per episode, SRPO extracts O(T)O(T) bits by computing the per-token reverse KL divergence between the student and the reflection-augmented teacher distributions — a signal we refer to as hindsight-guided dense supervision, since reflections are generated after observing the full trajectory and densify supervision at every token rather than performing precise per-step causal attribution. This avoids the distribution shift inherent in off-policy methods.

In summary, this work presents a scalable and effective framework for advancing long-horizon reasoning. We introduce SRPO to convert sparse outcome signals into hindsight-guided dense token-level supervision, effectively mitigating the credit assignment problem where standard RL struggles. Empirically, SRPO achieves state-of-the-art results on mathematical reasoning (AIME'24: 73.3%) and complex agentic tasks (WebShop, ALFWorld, SWE-Bench-Lite), outperforming reflection-trained baselines (SCoRe (Kumar et al., 2025), R 3^{3}L (Shi et al., 2026), RISE (Qu et al., 2024)) and on-policy distillation from a 72B external teacher, while requiring ∼3.8×\sim3.8\times fewer total FLOPs than GRPO (full Stage 1+2 accounting).

References (4)

  • Matching the format, style, and token count of reflections does not transfer benefits; only task-relevant semantic content produces improvements
  • soft credit assignment
  • future information
  • - At the start of the 2nd minute, Beth places 5 ice cubes