Replay Failures as Successes: Sample-Efficient Reinforcement Learning for Instruction Following
On the map: LLM alignment / RLHF / preference optimisation → Reward modeling and RLHF
Abstract (arXiv)
Reinforcement Learning (RL) has shown promise for aligning Large Language Models (LLMs) to follow instructions with various constraints. Despite the encouraging results, RL improvement inevitably relies on sampling successful, high-quality responses; however, the initial model often struggles to generate responses that satisfy all constraints due to its limited capabilities, yielding sparse or indistinguishable rewards that impede learning. In this work, we propose Hindsight instruction Replay (HiR), a novel sample-efficient RL framework for complex instruction following tasks, which employs a select-then-rewrite strategy to replay failed attempts as successes based on the constraints that have been satisfied in hindsight. We perform RL on these replayed samples as well as the original ones, theoretically framing the objective as dual-preference learning at both the instruction- and response-level to enable efficient optimization using only a binary reward signal. Extensive experiments demonstrate that the proposed HiR yields promising results across different instruction following tasks, while requiring less computational budget. Our code and dataset is available at https://github.com/sastpg/HIR.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Placed in Reward modeling and RLHF, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 49 of its 60 references that are in the map. First posted on arXiv 29 Dec 2025.
Builds on
49 of 60 references.
Closest ancestors · 2
Same direction, newest first
- 2024HybridFlow: A Flexible and Efficient RLHF Framework28 Sep
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Model29 May
Other references · 47
- 2025Qwen3 Technical Reportcited by 8,820
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2023Let's Verify Step by Stepcited by 3,789
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
- 2023PaLM-E: An Embodied Multimodal Language Modelcited by 2,071
- 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,848
- 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
- 2023Instruction-Following Evaluation for Large Language Modelscited by 1,228
- 2017Hindsight Experience Replaycited by 1,136
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,125
- 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,053
35 more
- 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 982
- 2024Large Language Models: A Surveycited by 525
- 2025SimpleRL-Zoo: Investigating and Taming Zero Reinforcement Learning for Open Base Models in the Wildcited by 511
- 2024From Generation to Judgment: Opportunities and Challenges of LLM-as-a-judgecited by 494
- 2025Logic-RL: Unleashing LLM Reasoning with Rule-Based Reinforcement Learningcited by 262
- 2025WebSailor: Navigating Super-human Reasoning for Web Agentcited by 229
- 2023Foundation Models in Robotics: Applications, Challenges, and the Futurecited by 216
- 2025Generalizing Verifiable Instruction Followingcited by 194
- 2025A Survey of Reinforcement Learning for Large Reasoning Modelscited by 180
- 2024Benchmarking Complex Instruction-Following with Multiple Constraints Compositioncited by 152
- 2024InFoBench: Evaluating Instruction Following Ability in Large Language Modelscited by 135
- 2024Self-play with Execution Feedback: Improving Instruction-following Capabilities of Large Language Modelscited by 73
- 2025WebResearcher: Unleashing unbounded reasoning capability in Long-Horizon Agentscited by 68
- 2024CFBench: A Comprehensive Constraints-Following Benchmark for LLMscited by 67
- 2025AGENTIF: Benchmarking Instruction Following of Large Language Models in Agentic Scenarioscited by 49
- 2025VerIF: Verification Engineering for Reinforcement Learning in Instruction Followingcited by 44
- 2025QiMeng-CodeV-R1: Reasoning-Enhanced Verilog Generationcited by 35
- 2024Financial Statement Analysis with Large Language Modelscited by 31
- 2024IOPO: Empowering LLMs with Complex Instruction Following via Input-Output Preference Optimizationcited by 31
- 2023Making Large Language Models Better Data Creatorscited by 28
- 2019Competitive Experience Replaycited by 23
- 2024SPaR: Self-Play with Tree-Search Refinement to Improve Instruction-Following in Large Language Modelscited by 23
- 2018Energy-Based Hindsight Experience Prioritizationcited by 21
- 2025Train Long, Think Short: Curriculum Learning for Efficient Reasoningcited by 20
- 2025GraphCoT-VLA: A 3D Spatial-Aware Reasoning Vision-Language-Action Model for Robotic Manipulation with Ambiguous Instructionscited by 19
- 2025Incentivizing Reasoning for Advanced Instruction-Following of Large Language Modelscited by 17
- 2025IFIR: A Comprehensive Benchmark for Evaluating Instruction-Following in Expert-Domain Information Retrievalcited by 16
- 2025MulDimIF: A Multi-Dimensional Constraint Framework for Evaluating and Improving Instruction Following in Large Language Modelscited by 15
- 2025Reasoning with Reinforced Functional Token Tuningcited by 14
- 2024Constraint Back-translation Improves Complex Instruction Following of Large Language Modelscited by 11
- 2025WildIFEval: Instruction Following in the Wildcited by 11
- 2025AIR: Complex Instruction Generation via Automatic Iterative Refinementcited by 10
- 2025Revisiting Compositional Generalization Capability of Large Language Models Considering Instruction Following Abilitycited by 10
- 2023Numerical Reasoning for Financial Reportscited by 3
- 2025Reverse Preference Optimization for Complex Instruction Followingcited by 3
Built on by
Citing papers per year: 2026: 8.
8 papers.
- 2026From Storage to Experience: A Survey on the Evolution of LLM Agent Memory Mechanismscited by 21
- 2026Rubrics to Tokens: Bridging Response-level Rubrics and Token-level Rewards in Instruction Following Taskscited by 10
- 2026FMBench: Adaptive Large Language Model Output Formattingcited by 1
- 2026Learning from Failures: Correction-Oriented Policy Optimization with Verifiable Rewardscited by 0
- 2026Counterfactual Constraint-Conditioned On-Policy Distillation for Multi-Constraint Instruction Followingcited by 0
- 2026MOPD-Router: Rethinking Teacher Routing in Multi-Teacher On-Policy Distillationcited by 0
- 2026ScopeIF: Improving Scope-Aware Precise Instruction-Following in Large Language Models via Graded Reward Modelingcited by 0
- 2026Rubrics from the Task, Verdicts from Evidence: Pointwise Rubric Rewards with Tool-Augmented Judgescited by 0
- 2026Rubrics from the Task, Verdicts from Evidence: Pointwise Rubric Rewards with Tool-Augmented Judges13 Oct 2026
- 2026ScopeIF: Improving Scope-Aware Precise Instruction-Following in Large Language Models via Graded Reward Modeling26 Sep 2026
- 2026MOPD-Router: Rethinking Teacher Routing in Multi-Teacher On-Policy Distillation25 Sep 2026
- 2026Counterfactual Constraint-Conditioned On-Policy Distillation for Multi-Constraint Instruction Following23 Sep 2026
- 2026Learning from Failures: Correction-Oriented Policy Optimization with Verifiable Rewards14 May 2026
- 2026From Storage to Experience: A Survey on the Evolution of LLM Agent Memory Mechanisms7 May 2026
- 2026Rubrics to Tokens: Bridging Response-level Rubrics and Token-level Rewards in Instruction Following Tasks3 Apr 2026
- 2026FMBench: Adaptive Large Language Model Output Formatting6 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2023The Wisdom of Hindsight Makes Language Models Better Instruction Followers
- 2025Learning Instruction-Following Policies through Open-Ended Instruction Relabeling with Large Language Models
- 2026Prioritized Replay for RL Post-training
- 2025Improving RL Exploration for LLM Reasoning through Retrospective Replay
- 2026Hindsight-Anchored Policy Optimization: Learning Through Hindsight with Thompson Sampling-Inspired Adaptive Gating
- 2025Instructions are all you need: Self-supervised Reinforcement Learning for Instruction Following
- 2025AdvancedIF: Rubric-Based Benchmarking and Reinforcement Learning for Advancing LLM Instruction Following
- 2025RLSR: Reinforcement Learning with Supervised Reward Outperforms SFT in Instruction Following