Provable and Practical In-Context Policy Optimization for Self-Improvement
On the map: LLM reasoning → Reinforcement learning for reasoning
also in 1 more
Abstract (arXiv)
We study test-time scaling, where a model improves its answer through multi-round self-reflection at inference. We introduce In-Context Policy Optimization (ICPO), in which an agent optimizes its response in context using self-assessed or externally observed rewards without modifying its parameters. To explain this ICPO process, we theoretically show that with sufficient pretraining under a novel Fisher-weighted logit-matching objective, a single-layer linear self-attention model can provably imitate policy-optimization algorithm for linear bandits. Building on this theory, we propose Minimum-Entropy ICPO (ME-ICPO), a practical algorithm that iteratively uses its response and self-assessed reward to refine its response in-context at inference time. By selecting the responses and their rewards with minimum entropy, ME-ICPO ensures the robustness of the self-assessed rewards via majority voting. Across standard mathematical reasoning tasks, ME-ICPO attains competitive, top-tier performance while keeping inference costs affordable compared with other inference-time algorithms. Overall, ICPO provides a principled understanding of self-reflection in LLMs and yields practical benefits for test-time scaling for mathematical reasoning.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Reinforcement learning for reasoning, one of 17 directions in LLM reasoning. Builds on 35 of its 43 references that are in the map. First posted on arXiv 2 Mar 2026.
Builds on
35 of 43 references.
Closest ancestors · 3
Same direction, newest first
- 2025TTRL: Test-Time Reinforcement Learning22 Apr
- 2023Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotations14 Dec
- 2023Let's Verify Step by Step31 May
Other references · 32
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2025Qwen3 Technical Reportcited by 8,195
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,655
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
- 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,057
20 more
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 873
- 2022Transformers learn in-context by gradient descentcited by 714
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2023Trained Transformers Learn Linear Models In-Contextcited by 331
- 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 291
- 2025MathArena: Evaluating LLMs on Uncontaminated Math Competitionscited by 275
- 2024Accessing GPT-4 level Mathematical Olympiad Solutions via Monte Carlo Tree Self-refine with LLaMa-3 8Bcited by 156
- 2024Self-Discover: Large Language Models Self-Compose Reasoning Structurescited by 108
- 2025Is Best-of-N the Best of Them? Coverage, Scaling, and Optimality in Inference-Time Alignmentcited by 91
- 2023Transformers as Decision Makers: Provable In-Context Reinforcement Learning via Supervised Pretrainingcited by 82
- 2020Optimistic Policy Optimization with Bandit Feedbackcited by 79
- 2025Can LLMs Replace Human Evaluators? An Empirical Study of LLM-as-a-Judge in Software Engineeringcited by 64
- 2024Self-Consistency Preference Optimizationcited by 50
- 2019Adaptive Exploration in Linear Contextual Banditcited by 43
- 2024Do LLM Agents Have Regret? A Case Study in Online Learning and Gamescited by 33
- 2021Leveraging Good Representations in Linear Contextual Banditscited by 29
- 2024AutoPRM: Automating Procedural Supervision for Multi-Step Reasoning via Controllable Question Decompositioncited by 24
- 2024Transformers Can Learn Temporal Difference Methods for In-Context Reinforcement Learningcited by 22
- 2020Stochastic Linear Contextual Bandits with Diverse Contextscited by 16
- 2024How Transformers Utilize Multi-Head Attention in In-Context Learning? A Case Study on Sparse Linear Regressioncited by 13
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026SRPO: Self-Reflective Policy Optimization for Long-Horizon Reasoning
- 2026Internalize the Temperature: On-Policy Self-Distillation as Policy Reheater for Reinforcement Learning
- 2026SIPO: Unifying Reinforcement Learning with On-Policy Self-Distillation
- 2026I-SDPO: Instance-Level Adaptive Self-Distillation Policy Optimization
- 2026Unifying Group-Relative and Self-Distillation Policy Optimization via Sample Routing
- 2026Restoring the Sweet Spot: Pass-Rate Weighted Self-Distillation for LLM Reasoning
- 2026A Survey on Self-Improving Test-Time Intelligence: Feedback-Driven Adapting, Learning, and Scaling at Inference
- 2026TTPO: Test-Time Policy Optimization