HAPO: Training Language Models to Reason Concisely via History-Aware Policy Optimization
On the map: LLM reasoning → Reinforcement learning for reasoning
Abstract (arXiv)
While scaling the length of responses at test-time has been shown to markedly improve the reasoning abilities and performance of large language models (LLMs), it often results in verbose outputs and increases inference cost. Prior approaches for efficient test-time scaling, typically using universal budget constraints or query-level length optimization, do not leverage historical information from previous encounters with the same problem during training. We hypothesize that this limits their ability to progressively make solutions more concise over time. To address this, we present History-Aware Policy Optimization (HAPO), which keeps track of a history state (e.g., the minimum length over previously generated correct responses) for each problem. HAPO employs a novel length reward function based on this history state to incentivize the discovery of correct solutions that are more concise than those previously found. Crucially, this reward structure avoids overly penalizing shorter incorrect responses with the goal of facilitating exploration towards more efficient solutions. By combining this length reward with a correctness reward, HAPO jointly optimizes for correctness and efficiency. We use HAPO to train DeepSeek-R1-Distill-Qwen-1.5B, DeepScaleR-1.5B-Preview, and Qwen-2.5-1.5B-Instruct, and evaluate HAPO on several math benchmarks that span various difficulty levels. Experiment results demonstrate that HAPO effectively induces LLMs' concise reasoning abilities, producing length reductions of 33-59% with accuracy drops of only 2-5%.
Key facts. Cited by 19 papers in the map (data through 14 Oct 2026). Placed in Reinforcement learning for reasoning, one of 17 directions in LLM reasoning. Builds on 41 of its 47 references that are in the map. First posted on arXiv 16 May 2025.
Builds on
41 of 47 references.
Closest ancestors · 6
Same direction, newest first
- 2025SimpleRL-Zoo: Investigating and Taming Zero Reinforcement Learning for Open Base Models in the Wild24 Mar
- 2025Optimizing Test-Time Compute via Meta Reinforcement Fine-Tuning10 Mar
- 2025Training Language Models to Reason Efficiently6 Feb
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning22 Jan
- 2025Kimi k1.5: Scaling Reinforcement Learning with LLMs22 Jan
- 2017Proximal Policy Optimization Algorithms20 Jul
Other references · 35
- 2017Attention Is All You Needcited by 60,361
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
- 2025s1: Simple test-time scalingcited by 1,341
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 886
23 more
- 2024Training Large Language Models to Reason in a Continuous Latent Spacecited by 797
- 2024Do NOT Think That Much for 2+3=? On the Overthinking of o1-Like LLMscited by 570
- 2025Stop Overthinking: A Survey on Efficient Reasoning for Large Language Modelscited by 464
- 2024Training Language Models to Self-Correct via Reinforcement Learningcited by 426
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 415
- 2025L1: Controlling How Long A Reasoning Model Thinks With Reinforcement Learningcited by 384
- 2025Demystifying Long Chain-of-Thought Reasoning in LLMscited by 326
- 2025Chain of Draft: Thinking Faster by Writing Lesscited by 297
- 2025O1-Pruner: Length-Harmonizing Fine-Tuning for O1-Like Reasoning Pruningcited by 279
- 2025TokenSkip: Controllable Chain-of-Thought Compression in LLMscited by 249
- 2024Token-Budget-Aware LLM Reasoningcited by 247
- 2022Making Large Language Models Better Reasoners with Step-Aware Verifiercited by 233
- 2025CODI: Compressing Chain-of-Thought into Continuous Space via Self-Distillationcited by 225
- 2024Compressed Chain of Thought: Efficient Reasoning Through Dense Representationscited by 201
- 2024DeepSeek-Prover-V1.5: Harnessing Proof Assistant Feedback for Reinforcement Learning and Monte-Carlo Tree Searchcited by 197
- 2025ThinkPrune: Pruning Long Chain-of-Thought of LLMs via Reinforcement Learningcited by 192
- 2025DAST: Difficulty-Adaptive Slow-Thinking for Large Reasoning Modelscited by 158
- 2025OverThink: Slowdown Attacks on Reasoning LLMscited by 96
- 2025Token Assorted: Mixing Latent and Text Tokens for Improved Language Model Reasoningcited by 91
- 2025Concise Reasoning via Reinforcement Learningcited by 79
- 2025Efficient Reasoning with Hidden Thinkingcited by 75
- 2024Efficiently Scaling LLM Reasoning with Certaindexcited by 58
- 2025Hawkeye:Efficient Reasoning with Model Collaborationcited by 11
Built on by
Citing papers per year: 2025: 7; 2026: 12.
19 papers.
Sort:
By area:
- 2025Don't Overthink It: A Survey of Efficient R1-style Large Reasoning Modelscited by 37
- 2025Towards Concise and Adaptive Thinking in Large Reasoning Models: A Surveycited by 18
- 2025DRPO: Efficient Reasoning via Decoupled Reward Policy Optimizationcited by 16
- 2026On-policy Distillation with Verifiable Rewardcited by 15
- 2025LAPO: Internalizing Reasoning Efficiency via Length-Adaptive Policy Optimizationcited by 11
- 2025Hierarchical Budget Policy Optimization for Adaptive Reasoningcited by 8
- 2025Probing the Difficulty Perception Mechanism of Large Language Modelscited by 8
- 2026LACONIC: Length-Aware Constrained Reinforcement Learning for LLMcited by 4
- 2025Can Confidence Estimates Decide When Chain-of-Thought Is Necessary for LLMs?cited by 2
- 2026QA-Merging: Query-Adaptive Reasoning via Layer Selective Model Mergingcited by 1
- 2026MathMixup: Boosting LLM Mathematical Reasoning with Difficulty-Controllable Data Synthesis and Curriculum Learningcited by 1
- 2026Reasoning as Compression: Unifying Budget Forcing via the Conditional Information Bottleneckcited by 1
7 more
- 2026Revisiting Reinforcement Learning with Verifiable Rewards from a Contrastive Perspectivecited by 1
- 2026ENTRA: Entropy-Based Redundancy Avoidance in Large Language Model Reasoningcited by 0
- 2026Efficient Reasoning on the Edgecited by 0
- 2026Avoiding Overthinking and Underthinking: Curriculum-Aware Budget Scheduling for LLMscited by 0
- 2026LEAD: Length-Efficient Adaptive and Dynamic Reasoning for Large Language Modelscited by 0
- 2026Decomposer: Learning to Decompile Symbolic Music to Programscited by 0
- 2026Efficient Reasoning Training Does Not Always Harm CoT Faithfulness and Monitorabilitycited by 0
- 2026Efficient Reasoning Training Does Not Always Harm CoT Faithfulness and Monitorability2 Oct 2026
- 2026On-policy Distillation with Verifiable Reward25 Aug 2026
- 2026Decomposer: Learning to Decompile Symbolic Music to Programs2 Jul 2026
- 2026Revisiting Reinforcement Learning with Verifiable Rewards from a Contrastive Perspective13 May 2026
- 2026LEAD: Length-Efficient Adaptive and Dynamic Reasoning for Large Language Models10 May 2026
- 2026Avoiding Overthinking and Underthinking: Curriculum-Aware Budget Scheduling for LLMs29 Mar 2026
- 2026Efficient Reasoning on the Edge17 Mar 2026
- 2026Reasoning as Compression: Unifying Budget Forcing via the Conditional Information Bottleneck9 Mar 2026
- 2026LACONIC: Length-Aware Constrained Reinforcement Learning for LLM16 Feb 2026
- 2026MathMixup: Boosting LLM Mathematical Reasoning with Difficulty-Controllable Data Synthesis and Curriculum Learning14 Jan 2026
- 2026ENTRA: Entropy-Based Redundancy Avoidance in Large Language Model Reasoning12 Jan 2026
- 2026QA-Merging: Query-Adaptive Reasoning via Layer Selective Model Merging7 Jan 2026
7 more
- 2025Can Confidence Estimates Decide When Chain-of-Thought Is Necessary for LLMs?23 Oct 2025
- 2025Probing the Difficulty Perception Mechanism of Large Language Models7 Oct 2025
- 2025DRPO: Efficient Reasoning via Decoupled Reward Policy Optimization6 Oct 2025
- 2025Don't Overthink It: A Survey of Efficient R1-style Large Reasoning Models4 Aug 2025
- 2025Hierarchical Budget Policy Optimization for Adaptive Reasoning21 Jul 2025
- 2025LAPO: Internalizing Reasoning Efficiency via Length-Adaptive Policy Optimization21 Jul 2025
- 2025Towards Concise and Adaptive Thinking in Large Reasoning Models: A Survey13 Jul 2025
- 2025Don't Overthink It: A Survey of Efficient R1-style Large Reasoning Modelscited by 37
- 2025Towards Concise and Adaptive Thinking in Large Reasoning Models: A Surveycited by 18
- 2025DRPO: Efficient Reasoning via Decoupled Reward Policy Optimizationcited by 16
- 2025LAPO: Internalizing Reasoning Efficiency via Length-Adaptive Policy Optimizationcited by 11
- 2025Hierarchical Budget Policy Optimization for Adaptive Reasoningcited by 8
- 2025Can Confidence Estimates Decide When Chain-of-Thought Is Necessary for LLMs?cited by 2
- 2026QA-Merging: Query-Adaptive Reasoning via Layer Selective Model Mergingcited by 1
- 2026MathMixup: Boosting LLM Mathematical Reasoning with Difficulty-Controllable Data Synthesis and Curriculum Learningcited by 1
- 2026Reasoning as Compression: Unifying Budget Forcing via the Conditional Information Bottleneckcited by 1
- 2026Revisiting Reinforcement Learning with Verifiable Rewards from a Contrastive Perspectivecited by 1
- 2026ENTRA: Entropy-Based Redundancy Avoidance in Large Language Model Reasoningcited by 0
- 2026Efficient Reasoning on the Edgecited by 0
12 most cited of 15 All 15 (JSON)
- 2026Efficient Reasoning Training Does Not Always Harm CoT Faithfulness and Monitorability2 Oct 2026
- 2026Revisiting Reinforcement Learning with Verifiable Rewards from a Contrastive Perspective13 May 2026
- 2026LEAD: Length-Efficient Adaptive and Dynamic Reasoning for Large Language Models10 May 2026
- 2026Avoiding Overthinking and Underthinking: Curriculum-Aware Budget Scheduling for LLMs29 Mar 2026
- 2026Efficient Reasoning on the Edge17 Mar 2026
- 2026Reasoning as Compression: Unifying Budget Forcing via the Conditional Information Bottleneck9 Mar 2026
- 2026MathMixup: Boosting LLM Mathematical Reasoning with Difficulty-Controllable Data Synthesis and Curriculum Learning14 Jan 2026
- 2026ENTRA: Entropy-Based Redundancy Avoidance in Large Language Model Reasoning12 Jan 2026
- 2026QA-Merging: Query-Adaptive Reasoning via Layer Selective Model Merging7 Jan 2026
- 2025Can Confidence Estimates Decide When Chain-of-Thought Is Necessary for LLMs?23 Oct 2025
- 2025DRPO: Efficient Reasoning via Decoupled Reward Policy Optimization6 Oct 2025
- 2025Don't Overthink It: A Survey of Efficient R1-style Large Reasoning Models4 Aug 2025
12 newest of 15 All 15 (JSON)
- 2026On-policy Distillation with Verifiable Rewardcited by 15
- 2026On-policy Distillation with Verifiable Reward25 Aug 2026
Similar, not cited
Close in wording, no citation either way
- 2026Exploration-Driven Optimization for Test-Time Large Language Model Reasoning
- 2025SRPO: A Cross-Domain Implementation of Large-Scale Reinforcement Learning on LLM
- 2026Transformation-Augmented GRPO for Enhancing Exploration in Reasoning of Large Language Models
- 2026IAPO: Information-Aware Policy Optimization for Token-Efficient Reasoning
- 2026Policy of Thoughts: Scaling Test-Time Training for LLM Reasoning via Online Policy Evolution
- 2024Improving Multi-Step Reasoning Abilities of Large Language Models with Direct Advantage Policy Optimization
- 2025Thinking on the Fly: Test-Time Reasoning Enhancement via Latent Thought Policy Optimization
- 2025Multi-Layer GRPO: Enhancing Reasoning and Self-Correction in Large Language Models