RL Grokking Recipe: How Does RL Unlock and Transfer New Algorithms in LLMs?
Not on the map. Why?
Abstract (arXiv)
It remains an open question whether LLMs can acquire or generalize genuinely new reasoning strategies, beyond the sharpened skills encoded in their parameters during pre-training or post-training. To attempt to answer this debate, we introduce DELTA-Code -- Distributional Evaluation of Learnability and Transferrability in Algorithmic Coding -- a controlled benchmark of synthetic coding problem families designed to probe two fundamental aspects: learnability -- can LLMs, through reinforcement learning (RL), solve problem families where pretrained models exhibit failure with large enough attempts (pass@K=0)? -- and transferrability -- if learnability happens, can such skills transfer systematically to out-of-distribution (OOD) test sets? Unlike prior public coding datasets, DELTA isolates reasoning skills through templated problem generators and introduces fully OOD problem families that demand novel strategies rather than tool invocation or memorized patterns. Our experiments reveal a striking grokking phase transition: after an extended period with near-zero reward, RL-trained models abruptly climb to near-perfect accuracy. To enable learnability on previously unsolvable problem families, we explore key training ingredients such as staged warm-up with dense rewards, experience replay, curriculum training, and verification-in-the-loop. Beyond learnability, we use DELTA to evaluate transferability or generalization along exploratory, compositional, and transformative axes, as well as cross-family transfer. Results show solid gains within families and for recomposed skills, but persistent weaknesses in transformative cases. DELTA thus offers a clean testbed for probing the limits of RL-driven reasoning and for understanding how models can move beyond existing priors to acquire new algorithmic skills.
Key facts. Cited by 23 papers in the map (data through 14 Oct 2026). Builds on 28 of its 35 references that are in the map. First posted on arXiv 25 Sep 2025.
Builds on
28 of 35 references.
References · 28
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2022Competition-Level Code Generation with AlphaCodecited by 1,462
- 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 982
- 2021Measuring Coding Challenge Competence With APPScited by 902
- 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 688
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
- 2025OpenThoughts: Data Recipes for Reasoning Modelscited by 304
- 2025DeepMath-103K: A Large-Scale, Challenging, Decontaminated, and Verifiable Mathematical Dataset for Advancing Reasoningcited by 280
- 2017Thinking Fast and Slow with Deep Learning and Tree Searchcited by 252
- 2024Spider 2.0: Evaluating Language Models on Real-World Enterprise Text-to-SQL Workflowscited by 232
16 more
- 2025ProRL: Prolonged Reinforcement Learning Expands Reasoning Boundaries in Large Language Modelscited by 194
- 2023TACO: Topics in Algorithmic COde generation datasetcited by 160
- 2022Omnigrok: Grokking Beyond Algorithmic Datacited by 146
- 2025REASONING GYM: Reasoning Environments for Reinforcement Learning with Verifiable Rewardscited by 130
- 2024Lean Workbook: A large-scale Lean problem set formalized from natural language math problemscited by 122
- 2025KodCode: A Diverse, Challenging, and Verifiable Synthetic Dataset for Codingcited by 119
- 2025Does Math Reasoning Improve General LLM Capabilities? Understanding Transferability of LLM Reasoningcited by 106
- 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalizationcited by 79
- 2025LiveCodeBench Pro: How Do Olympiad Medalists Judge LLMs in Competitive Programming?cited by 55
- 2023Unifying Grokking and Double Descentcited by 50
- 2025OMEGA: Can LLMs Reason Outside the Box in Math? Evaluating Exploratory, Compositional, and Transformative Generalizationcited by 50
- 2024Grokfast: Accelerated Grokking by Amplifying Slow Gradientscited by 41
- 2025RLEP: Reinforcement Learning with Experience Replay for LLM Reasoningcited by 39
- 2025Proving Olympiad Inequalities by Synergizing LLMs and Symbolic Reasoningcited by 17
- 2025Grokking in the Wild: Data Augmentation for Real-World Multi-Hop Reasoning with Transformerscited by 12
- 2025Ineq-Comp: Benchmarking Human-Intuitive Compositional Reasoning in Automated Theorem Proving on Inequalitiescited by 8
Built on by
Citing papers per year: 2025: 3; 2026: 20.
23 papers.
Sort:
By area:
- 2025On the Interplay of Pre-Training, Mid-Training, and RL on Reasoning Language Modelscited by 69
- 2026Endless Terminals: Scaling RL Environments for Terminal Agentscited by 54
- 2026POPE: Learning to Reason on Hard Problems via Privileged On-Policy Explorationcited by 42
- 2026Teaching Models to Teach Themselves: Reasoning at the Edge of Learnabilitycited by 13
- 2026Reasoning Cache: Continual Improvement Over Long Horizons via Short-Horizon RLcited by 12
- 2025How and Why LLMs Generalize: A Fine-Grained Analysis of LLM Reasoning from Cognitive Behaviors to Low-Level Patternscited by 8
- 2026Learning with Rare Success but Rich Feedback via Reflection-Enhanced Self-Distillationcited by 8
- 2026The Tool-Overuse Illusion: Why Does LLM Prefer External Tools over Internal Knowledge?cited by 6
- 2026From Reasoning Traces to Reusable Modules: Understanding Compositional Generalization in Language Model Reasoningcited by 5
- 2026Understanding Reasoning from Pretraining to Post-Trainingcited by 5
- 2026Text Before Vision: Staged Knowledge Injection Matters for Agentic RLVR in Ultra-High-Resolution Remote Sensing Understandingcited by 4
- 2026Cog-DRIFT: Exploration on Adaptively Reformulated Instances Enables Learning from Hard Reasoning Problemscited by 4
11 more
- 2026VeriGate: Verifier-Gated Step-Level Supervision for GRPOcited by 4
- 2026Select and Improve: Understanding the Mechanics of Post-Training for Reasoningcited by 2
- 2025CoRPO: Adding a Correctness Bias to GRPO Improves Generalizationcited by 1
- 2026Breaking the Capability Ceiling of LLM Post-Training by Reintroducing Markov Statescited by 1
- 2026Combinatorial Synthesis: Scaling Code RLVR via Atomic Decomposition and Recombinationcited by 1
- 2026Parameter Exploration for RLVR via Variational Learningcited by 1
- 2026Learning to Solve Hard Problems in RL for LLMs by Never Giving Upcited by 1
- 2026TD-Grokking: Learning from Zero-Reward Problems by Training-Time Decompositioncited by 0
- 2026LLM Evolution as an Industry-Scale Ecosystem: A Lifecycle Perspective on Continual Learningcited by 0
- 2026The Generalization Spectrum: A Chromatographic Approach to Evaluating Learning Algorithmscited by 0
- 2026Self-Evolving Algorithm-Design Agents: Escaping In-Context Evolutionary Stagnation via Population-Curated Policy Optimizationcited by 0
- 2026Self-Evolving Algorithm-Design Agents: Escaping In-Context Evolutionary Stagnation via Population-Curated Policy Optimization30 Sep 2026
- 2026Learning to Solve Hard Problems in RL for LLMs by Never Giving Up11 Sep 2026
- 2026Parameter Exploration for RLVR via Variational Learning10 Aug 2026
- 2026Understanding Reasoning from Pretraining to Post-Training17 Jul 2026
- 2026The Generalization Spectrum: A Chromatographic Approach to Evaluating Learning Algorithms24 Jun 2026
- 2026From Reasoning Traces to Reusable Modules: Understanding Compositional Generalization in Language Model Reasoning16 Jun 2026
- 2026LLM Evolution as an Industry-Scale Ecosystem: A Lifecycle Perspective on Continual Learning12 Jun 2026
- 2026Select and Improve: Understanding the Mechanics of Post-Training for Reasoning11 Jun 2026
- 2026TD-Grokking: Learning from Zero-Reward Problems by Training-Time Decomposition3 Jun 2026
- 2026Combinatorial Synthesis: Scaling Code RLVR via Atomic Decomposition and Recombination29 May 2026
- 2026VeriGate: Verifier-Gated Step-Level Supervision for GRPO28 May 2026
- 2026Learning with Rare Success but Rich Feedback via Reflection-Enhanced Self-Distillation12 May 2026
11 more
- 2026Cog-DRIFT: Exploration on Adaptively Reformulated Instances Enables Learning from Hard Reasoning Problems6 Apr 2026
- 2026Breaking the Capability Ceiling of LLM Post-Training by Reintroducing Markov States20 Mar 2026
- 2026The Tool-Overuse Illusion: Why Does LLM Prefer External Tools over Internal Knowledge?3 Mar 2026
- 2026Text Before Vision: Staged Knowledge Injection Matters for Agentic RLVR in Ultra-High-Resolution Remote Sensing Understanding15 Feb 2026
- 2026Reasoning Cache: Continual Improvement Over Long Horizons via Short-Horizon RL3 Feb 2026
- 2026POPE: Learning to Reason on Hard Problems via Privileged On-Policy Exploration26 Jan 2026
- 2026Teaching Models to Teach Themselves: Reasoning at the Edge of Learnability26 Jan 2026
- 2026Endless Terminals: Scaling RL Environments for Terminal Agents23 Jan 2026
- 2025How and Why LLMs Generalize: A Fine-Grained Analysis of LLM Reasoning from Cognitive Behaviors to Low-Level Patterns30 Dec 2025
- 2025On the Interplay of Pre-Training, Mid-Training, and RL on Reasoning Language Models8 Dec 2025
- 2025CoRPO: Adding a Correctness Bias to GRPO Improves Generalization6 Nov 2025
- 2025On the Interplay of Pre-Training, Mid-Training, and RL on Reasoning Language Modelscited by 69
- 2026POPE: Learning to Reason on Hard Problems via Privileged On-Policy Explorationcited by 42
- 2026Teaching Models to Teach Themselves: Reasoning at the Edge of Learnabilitycited by 13
- 2026Reasoning Cache: Continual Improvement Over Long Horizons via Short-Horizon RLcited by 12
- 2025How and Why LLMs Generalize: A Fine-Grained Analysis of LLM Reasoning from Cognitive Behaviors to Low-Level Patternscited by 8
- 2026From Reasoning Traces to Reusable Modules: Understanding Compositional Generalization in Language Model Reasoningcited by 5
- 2026Understanding Reasoning from Pretraining to Post-Trainingcited by 5
- 2026Text Before Vision: Staged Knowledge Injection Matters for Agentic RLVR in Ultra-High-Resolution Remote Sensing Understandingcited by 4
- 2026Cog-DRIFT: Exploration on Adaptively Reformulated Instances Enables Learning from Hard Reasoning Problemscited by 4
- 2026VeriGate: Verifier-Gated Step-Level Supervision for GRPOcited by 4
- 2025CoRPO: Adding a Correctness Bias to GRPO Improves Generalizationcited by 1
- 2026Understanding Reasoning from Pretraining to Post-Training17 Jul 2026
- 2026From Reasoning Traces to Reusable Modules: Understanding Compositional Generalization in Language Model Reasoning16 Jun 2026
- 2026VeriGate: Verifier-Gated Step-Level Supervision for GRPO28 May 2026
- 2026Cog-DRIFT: Exploration on Adaptively Reformulated Instances Enables Learning from Hard Reasoning Problems6 Apr 2026
- 2026Text Before Vision: Staged Knowledge Injection Matters for Agentic RLVR in Ultra-High-Resolution Remote Sensing Understanding15 Feb 2026
- 2026Reasoning Cache: Continual Improvement Over Long Horizons via Short-Horizon RL3 Feb 2026
- 2026POPE: Learning to Reason on Hard Problems via Privileged On-Policy Exploration26 Jan 2026
- 2026Teaching Models to Teach Themselves: Reasoning at the Edge of Learnability26 Jan 2026
- 2025How and Why LLMs Generalize: A Fine-Grained Analysis of LLM Reasoning from Cognitive Behaviors to Low-Level Patterns30 Dec 2025
- 2025On the Interplay of Pre-Training, Mid-Training, and RL on Reasoning Language Models8 Dec 2025
- 2025CoRPO: Adding a Correctness Bias to GRPO Improves Generalization6 Nov 2025
- 2026The Tool-Overuse Illusion: Why Does LLM Prefer External Tools over Internal Knowledge?cited by 6
- 2026Select and Improve: Understanding the Mechanics of Post-Training for Reasoningcited by 2
- 2026Combinatorial Synthesis: Scaling Code RLVR via Atomic Decomposition and Recombinationcited by 1
- 2026Parameter Exploration for RLVR via Variational Learningcited by 1
- 2026Learning to Solve Hard Problems in RL for LLMs by Never Giving Upcited by 1
- 2026TD-Grokking: Learning from Zero-Reward Problems by Training-Time Decompositioncited by 0
- 2026LLM Evolution as an Industry-Scale Ecosystem: A Lifecycle Perspective on Continual Learningcited by 0
- 2026The Generalization Spectrum: A Chromatographic Approach to Evaluating Learning Algorithmscited by 0
- 2026Learning to Solve Hard Problems in RL for LLMs by Never Giving Up11 Sep 2026
- 2026Parameter Exploration for RLVR via Variational Learning10 Aug 2026
- 2026The Generalization Spectrum: A Chromatographic Approach to Evaluating Learning Algorithms24 Jun 2026
- 2026LLM Evolution as an Industry-Scale Ecosystem: A Lifecycle Perspective on Continual Learning12 Jun 2026
- 2026Select and Improve: Understanding the Mechanics of Post-Training for Reasoning11 Jun 2026
- 2026TD-Grokking: Learning from Zero-Reward Problems by Training-Time Decomposition3 Jun 2026
- 2026Combinatorial Synthesis: Scaling Code RLVR via Atomic Decomposition and Recombination29 May 2026
- 2026The Tool-Overuse Illusion: Why Does LLM Prefer External Tools over Internal Knowledge?3 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2025Reshaping Reasoning in LLMs: A Theoretical Analysis of RL Training Dynamics through Pattern Selection
- 2025Part I: Tricks or Traps? A Deep Dive into RL for LLM Reasoning
- 2025Scaling Up RL: Unlocking Diverse Reasoning in LLMs via Prolonged Training
- 2025Revisiting Reinforcement Learning for LLM Reasoning from A Cross-Domain Perspective
- 2026How RL Reshapes LLM Reasoning: Transferability, Coverage, and Scaling Laws
- 2025How Difficulty-Aware Staged Reinforcement Learning Enhances LLMs' Reasoning Capabilities: A Preliminary Experimental Study
- 2026Rethinking RL for LLM Reasoning: It's Sparse Policy Selection, Not Capability Learning
- 2025RL Squeezes, SFT Expands: A Comparative Study of Reasoning LLMs