Saved in:
Bibliographic Details
Main Authors: Sun, Yiyou, Cao, Yuhan, Huang, Pohao, Bai, Haoyue, Hajishirzi, Hannaneh, Dziri, Nouha, Song, Dawn
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2509.21016
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908574841569280
author Sun, Yiyou
Cao, Yuhan
Huang, Pohao
Bai, Haoyue
Hajishirzi, Hannaneh
Dziri, Nouha
Song, Dawn
author_facet Sun, Yiyou
Cao, Yuhan
Huang, Pohao
Bai, Haoyue
Hajishirzi, Hannaneh
Dziri, Nouha
Song, Dawn
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2509_21016
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle RL Grokking Recipe: How Does RL Unlock and Transfer New Algorithms in LLMs?
Sun, Yiyou
Cao, Yuhan
Huang, Pohao
Bai, Haoyue
Hajishirzi, Hannaneh
Dziri, Nouha
Song, Dawn
Machine Learning
Computation and Language
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.
title RL Grokking Recipe: How Does RL Unlock and Transfer New Algorithms in LLMs?
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2509.21016