Skip to content
Preprint

Where RL Breaks: Localizing and Repairing Failures via Targeted Continued Pretraining

Oct 2026 · 0 citations · 53 references
Computer Science

TL;DR

The use of the failure $n$-grams to retrieve text from the pretraining corpus and continue pretraining the base model on it before RL suggests that where RL fails is a cheap and effective signal for selecting pretraining data.

Abstract

Reinforcement learning with verifiable rewards (RLVR) is widely used to improve reasoning in language models, yet growing evidence suggests that it mostly sharpens what the base model can already do. This raises a practical question: when RL fails, what is the base model missing? We look inside the RL policy's own rollouts and find that failures are localized: whether a rollout fails is strongly predicted by a small set of characteristic n-grams, ranging from reflection phrases such as"let's recheck"to specific operations such as"the inverse of A". These failures persist throughout RL training, although they are not beyond the model's reach: other sampled answers to the same question are often correct. Building on this observation, we use the failure $n$-grams to retrieve text from the pretraining corpus and continue pretraining the base model on it before RL. The resulting corpus has only 35M tokens, 3--4 orders of magnitude smaller than typical mid-training. We evaluate this approach on OLMo2 and Qwen3 models trained with RL on (1) GSM8K; (2) a mixture of math, commonsense, and knowledge questions; and (3) general math and science reasoning. Despite its size, the corpus yields consistent gains: our approach outperforms continued pretraining on the same amount of text sampled from the pretraining corpus across 10 out of 11 settings, including by $2.0$ points on GSM8K when inserted before mid-training. The retrieved text also transfers across model families: text retrieved for OLMo2-1B's failures improves Qwen3-4B on the mixture by $1.9$ points over the same baseline. Together, our results suggest that where RL fails is a cheap and effective signal for selecting pretraining data.

View source

Similar papers

#machine learning Preprint Oct 2026

Reinforcement Learning Done Right for Explicit Confidence Targets

Large language models (LLMs) can produce plausible but incorrect answers when they are uncertain, which can mislead users and undermine model reliability. Training models to abstain with reinforcement learning is a natural approach, but most existing methods use a fixed error penalty and therefore cannot adapt their be...

Ze-Feng He, Yi-Cheng He, Yuan Lin et al. · 0 citations
#artificial intelligence Preprint Oct 2026

When All Rollouts Fail: Policy-Compatible Joint Decoding for Hard-Problem Reasoning

Reinforcement Learning with Verifiable Rewards (RLVR) derives its learning signal from binary rewards via on-policy exploration and becomes a powerful paradigm for improving the reasoning of large language models. Yet it faces a learning cliff on problems beyond model's current ability: when every rollout fails, the sa...

Ze-Hao Wang, Han-Zhu Chen, Run-Quan Gui et al. · 1 citation
#natural language process... Preprint Oct 2026

Reasoning or Pattern Exploitation? Mechanistic Insights from RL-Trained Language Models

Large language models (LLMs) are increasingly described as acquiring"reasoning"skills after reinforcement learning with verifiable rewards. However, whether these gains reflect genuine reasoning or more superficial adaptations remains underexplored. In this work, we probe LLMs trained in a finite and exhaustively analy...

Aishik Nagar, Cheston Tan · 0 citations
#machine learning Preprint Oct 2026

Training Language Models to Fail Gracefully

This work proposes training models to fail gracefully: to preserve successful behavior whenever possible while learning to execute a safe fallback policy when acting would be unreliable, and shows that reinforcement learning can not only incentivize models to succeed, but also to reason about the limits of their capabi...

Daman Arora, Xue-Chen Liu, H. Singh et al. · 0 citations
Preprint Nov 2026

RLVR Sharpens the Pencil, Not the Mind

Models like DeepSeek-R1 made Reinforcement Learning with Verifiable Rewards (RLVR) famous: reward a model for correct answers and it gets dramatically better at reasoning without being taught how. The leading explanation is sharpening---that the base model already knows how to solve these problems and RLVR just makes i...

Shreeyam Bangera, Manya Gupta · 0 citations
#machine learning Preprint Oct 2026

Inherited, Not Invented: Tracing the Provenance of Wait in Reasoning Models

Reinforcement learning (RL) is credited with teaching reasoning models to write {wait} before reconsidering a step, yet large RL accuracy gains do not require the word. This view can confuse what RL discovers with what a model inherits from its training data. We trace the word through open models'training histories, re...

Zhi-Zhuo Kou, Si-Zai Hou, Long Chen et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.