How New Reasoning Strategies Emerge in RL Post-Training: A Controlled Study

Azwar Abdulsalam, Nishil Patel, Andrew M SaxeNeurIPS 2026

TL;DR

When we fine-tune language models with Reinforcement Learning (RL) on math or logic puzzles, are they actually learning new ways to think, or just getting better at retrieving tricks they already learned during pretraining? By building a transparent "glass-box" symbol-rewriting game, the authors show that RL genuinely builds new, higher-level strategies out of basic building blocks. Much like a chess player learning to see whole board patterns instead of individual moves, RL compresses step-by-step operations into reusable mental shortcuts—allowing models to solve problems that were previously out of reach.

What Problem Does This Paper Address?

Post-training Large Language Models (LLMs) using Reinforcement Learning with Verifiable Rewards (RLVR)—where a model gets a simple thumbs-up or thumbs-down on its final answer—has sparked a major debate. One camp argues that RL merely reweights existing behaviors, surfacing solutions already latent in the base model. Another camp claims RL unlocks genuinely new capabilities.

Settling this in standard LLMs is nearly impossible because pretraining data is massive and opaque. When a model suddenly exhibits a clever reasoning step, we can't tell if it invented that step or just dusted off a low-probability memory from the internet. Furthermore, natural language steps are messy and hard to audit for logical validity. We needed a clean room where every rule, pretraining memory, and reasoning step is 100% observable.

Methods

The authors introduce a controlled, synthetic rewrite-grammar environment (think of it like simplified algebraic manipulation) to train a small Transformer from scratch, before scaling their test up to a real 4-billion-parameter LLM (Qwen3-4B).

Figure 1: Controlled environment and training pipeline. (a) Each source character maps to one or more globally unique right-hand-side strings. (b) Pretraining data consists of multi-step sequences in which the output of one step becomes the input to the next. (c) Each training triple encodes a single primitive expansion or contraction. (d) RL prompts are constructed by repeated forward expansion from a target symbol. (e) Difficulty levels are defined by how many optimal contraction steps lie beyond the model’s 256-token generation budget.
  1. Pretraining on Primitives: In the synthetic setup, the model is pretrained on chains of single-step rules: expansions (e.g., a -> bc) and contractions (bc -> a). It never sees multi-step shortcuts.
  2. Budget-Constrained Post-Training: The model is given an expanded string and asked to contract it back to a single target character within a strict 256-token budget. Harder problems are designed so that plodding along one primitive rule at a time runs out of tokens—forcing the model to invent shortcuts if it wants the binary final-answer reward.
  3. Standard Algorithms, Novel Auditing: They compare standard GRPO (Group Relative Policy Optimization, an RL algorithm that compares a group of good and bad rollouts from the same prompt) against Rejection Fine-Tuning (RFT) (an imitation baseline that simply clones successful rollouts). What's novel is the exact trajectory auditing: every generated step is mechanically classified as primitive, a macro contraction (collapsing sequential steps into one), a parallel contraction (doing independent steps simultaneously), or spurious (invalid).

Datasets

Rather than relying on existing benchmarks that an LLM might have memorized, the authors introduce two synthetic, procedurally generated environments:

  • Synthetic Rewrite-Grammar Testbed: Generated from a known alphabet where contractions are globally unambiguous. Problems are sorted into Difficulty Buckets 1–5 based on how many primitive steps exceed the 256-token generation limit.
  • Opaque Boolean Circuit Simplification: Used to test Qwen3-4B. Circuits are sequences of logic gate assignments, where gate names are replaced with opaque tokens so the LLM cannot rely on pre-existing knowledge of Boolean algebra. An initial supervised stage teaches single-gate eliminations, and RL is tested on budget-constrained simplification (Buckets D0–D4).

Key Insights and Ideas

  • Phased Procedural Chunking: RL doesn't invent shortcuts immediately. First, it strengthens basic primitive rule execution. Around iteration 5,000, it hits a phase transition: it begins "chunking" sequential steps into macros and combining independent steps in parallel, consolidating these discoveries into a stable, reusable toolkit.
Transition from primitive contractions to macros and parallel shortcuts
  • Selectivity, Not Exploration Volume: Why does RL beat RFT? Surprisingly, RFT explores plenty of shortcuts—most of them are just wrong! If a lucky trajectory gets the right final answer despite a flawed intermediate step, RFT blindly clones the whole sequence, "passenger" errors included. GRPO contrasts successes against failures from the same prompt, actively pushing down invalid actions that frequently appear in failed attempts.
Figure 5: RL discovers valid non-primitive strategies while suppressing spurious shortcuts. (a,b) Counts of valid macro and parallel contractions. (c) Count of spurious contractions. (d) Fraction of non-primitive contractions that are spurious. RFT generates many non-primitive actions, but they are mostly invalid; RL produces fewer spurious rewrites and increasingly concentrates behavior into valid macro and parallel contractions.
  • Pretraining Needs "Chaining", Not Just Facts: By tweaking the pretraining data mix, the authors found that just showing the model lots of isolated contractions isn't enough for RL to work its magic later. Pretraining must expose the model to sustained chains of reductions—providing the weak procedural glue that RL later compresses.

Key Results

  • Expanding the Capability Frontier: In the synthetic grammar, the pretrained base model gets 0.00% on Difficulty Buckets 4 and 5, even when given 1,024 tries (pass@1024). After RL post-training, the model reliably solves them within just 16 tries (pass@16), climbing past RFT which plateaus early.
  • Scaling to a Pretrained LLM: On Boolean circuits, the starting Qwen3-4B policy solves in-budget problems (39/40 on D0) but barely touches over-budget ones at pass@1024 (solving just 3, 1, 1, and 0 out of 40 across D1–D4). With a 64× smaller sampling budget (pass@16), GRPO solves 27, 20, 6, and 4 problems across D1–D4—and 100% of these over-budget wins use valid macros.
  • True Operational Transfer: Qwen3-4B doesn't just memorize strings. It applies its newly discovered Boolean macros accurately across randomized variable names (20/20 and 22/22 on test circuits) and even generalizes to a structurally related logical schema ($X \lor (Y \oplus Y) \to X$) that was never required during training, succeeding on 7/9 circuits where the starting policy scored zero.

Limitations and Future Work

The primary setup is synthetic by design: in the small scratch-trained Transformer, symbols are arbitrary and macros are fixed strings, meaning the grammar task alone couldn't rule out string memorization (which motivated the Qwen3-4B Boolean circuit experiments). While this controlled approach sacrifices the open-ended messiness of natural language, it makes hidden post-training dynamics measurable. Future work is not explicitly outlined in the main text.

Summary updated

Abstract

Does reinforcement learning (RL) post-training with verifiable rewards build new reasoning procedures, or merely reweight behaviors already latent in the base model? We study this question in a fully observable rewrite-grammar environment where the pretraining distribution is known and every generated rewrite can be audited. A Transformer is pretrained on primitive symbol-rewrite chains and post- trained with only a binary final-answer reward. RL solves held-out problems that remain rarely solved by the pretrained model even under much larger sampling bud- gets, while rejection fine-tuning (RFT) improves early but plateaus. Trace analysis reveals a phased mechanism: RL first strengthens primitive reductions, then enters a chunking phase, composing them into valid compressed procedures—macro con- tractions that collapse sequential reductions and parallel contractions that combine independent ones—which are reused and consolidated into a stable repertoire. RL’s advantage over RFT lies not in exploration volume but in selectivity: RFT produces many invalid shortcut-like rewrites, whereas RL concentrates exploration into valid reusable structure. Pretraining ablations show that strategy emergence depends on whether pretraining organizes primitive competence into reduction procedures that RL can later compress. The central result carries over to a pretrained LLM: on Boolean circuit simplification, GRPO makes valid compressed solutions accessible to Qwen3-4B at pass@16 that its starting policy rarely produces at pass@1024, and the learned macros transfer to new variable bindings and to a schema never required during training. The base model provides weak procedural ingredients; RL builds them into reliable higher-level strategies.
BibTeX
@inproceedings{abdulsalam2026how,
  author = {Azwar Abdulsalam and Nishil Patel and Andrew M Saxe},
  title = {{How New Reasoning Strategies Emerge in RL Post-Training: A Controlled Study}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=amAQ0bvrH7},
}
Figure