- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 4
- Significance
- 3
Read review
Summary
This paper introduces an artificial grammar setup for studying RL post-training in transformers. The question the authors address is whether RL builds new reasoning procedures, or merely reweights existing behaviours. To tackle this, the authors introduce a data generation procedure based on a synthetic grammar, consisting of expansions (one to multiple characters) and contractions (multiple to one). They first train transformers on next-token prediction within a dataset generated from that grammar, and then post-train the model to generate sequences from an input string to a target string, which can be reached by chaining multiple contractions. The paper shows that, within this setting, RL outperforms rejection fine-tuning (RFT), finds "macro" and "parallel" contractions if presented with a limited token budget, and that this performance correlates with the the number of chained contractions observed in the training data. The authors conclude that their results provide support for the hypothesis that RL post-training learns to compose new behaviours from building blocks that were present in the training data.
Strengths and weaknesses
Quality
Strengths
- The artificial grammar setup makes sense and addresses a weakness of pre-trained LLM studies where the pre-training data is not controlled.
- The synthetic training setup is sound and serves as a good abstraction for the LLM training process.
Weaknesses
- The GRPO selectivity story, while compelling, is theory and correlation, not intervention. The spurious contraction / action results are consistent with this, but a cleaner version would causally test this. I find the "exploration not selection" story compelling, but without a causal test it is not demonstrated, since GRPO and RFT differ in more ways than one. See question 1 for a causal ablation suggestion.
Clarity
Strengths
- Overall, the paper is clearly written and the figures are clearly presented.
weaknesses
- RFT acronym is used before it's defined.
- The line plots show shaded confidence intervals but the caption does not say how these are computed. Please clarify.
Significance
Strengths
- This paper addresses an important question that has sparked widespread debate in the field: knowing the limits of what behaviours RL-finetuning can and cannot elicit is highly significant for many practitioners. The artificial grammar setup is a good way of studying this in a controlled context.
Weaknesses
- It is unclear how well these results translate to practical LLM settings. The controlled, synthetic setup is great for a study, but the paper would significantly strengthen from showing that some of the results found in this synthetic setup say something meaningful about real deployed LLMs.
- The authors used only a single grammar, without sweeping over alphabet size, RHS-length distribution or multiple sampled grammar. This means the specific results (timing of phase transition, discovery peak around 10k, the thresholds) could all be properties of this particular grammar, rather than the mechanism.
Originality
Strengths
- The idea of using pre-training on this artificial grammar to study the effects of RL post-training is a good one, and the paper does well combining the formal argument about finite-sample distinctions between GRPO and RFT with results in the synthetic setup.
Questions
- Are there testable predictions that you can draw from the theory and syntethic setup experiments explored here, that you can test in LLMs?
- Have you tried a causal test of the GRPO selectivity story? For example, ablate the negative advantage term, and check if the spurious ratio moves as the theory predicts.
- Figure 6 suggests that contraction-after-contraction probability P(C_t=1|C_t-1=1) controls. whether macro-contractions and parallel contractions are found by the model. Have the authors tried another control where they match P(C_t=1|C_t-1=1) rather than (marginal) contraction ratio, and is it a good predictor?
- The authors define macro-actions on an instance level. Do you every observe schema-like transfer, where the model discovers it can make a two-step contraction on one pair (bc ->a) and immediately generalises this to other pairs (ae -> c)?
Limitations
The authors acknowledge the controlled scope, but claim that "grammar exposes quantities normally hidden in LLM post-training". However, the authors have not shown yet that these quantities indeed exist in normal LLM post-training. This is a significant limitation that the authors have in my opinion not yet addressed. The paper is already valuable as it stands, but would strengthen from addressing this.
Paper formatting concerns
None
Final justification
the positive-only GRPO ablation is exactly what I asked for, and the 27.2-point shift in spurious ratio makes the mechanism argument interventional rather than correlational, which was my sharpest criticism. Resampled variable names plus the 37/70 held-out-operation result address memorization and train/test overlap. Replication across three grammars resolves the single-draw concern. The Qwen3-4B experiment significantly strengthens the paper.
We thank the reviewer for concrete suggestions that we were able to run directly. We answer Q1 and Q4 together first, since they share evidence, then Q2 and Q3.
Q1 — Testable predictions, tested with Qwen3-4B on Boolean circuits
The prediction our setup makes for LLM post-training: outcome-only RL can compose lower-level capabilities already present in the starting model into new, reusable reasoning operations. Three testable consequences follow. After RL:
We tested all three with Qwen3-4B on Boolean-circuit simplification.
Setup. The task mirrors the rewrite grammar. A problem is a circuit written as a sequence of gate assignments; the goal is to reduce it to simplest form. A primitive step eliminates one gate: given u = B XOR B and y = A XOR u, first derive u = 0, then y = A. A macro collapses this into one algebraically equivalent step: A XOR (B XOR B) -> A. So gate elimination = primitive contraction, multi-gate collapse = macro contraction, and a derivation whose primitive trace exceeds the 128-token budget = an over-budget problem.
Gate semantics are hidden behind opaque symbols, so the model cannot identify operations from names like XOR or AND. An initial SFT stage establishes the primitive substrate — hidden gate semantics, trace format, single-gate eliminations — and demonstrates none of the macro schemas evaluated below. Variable names are resampled for every problem, so no macro ever recurs as the same string. From this checkpoint we run GRPO with only final-answer reward. A problem counts as solved only if every intermediate assignment is algebraically valid and the final form is correct, each step checked independently by exact Boolean algebra. D0 fits a primitive solution in budget; D1–D4 require skipping one to four primitive gate lines. 40 held-out prompts per bucket, identical sampling for both policies.
Consequence 1: frontier expansion under a much smaller sampling budget.
The starting policy is competent in-budget but rarely crosses the frontier even at 1024 samples. RL crosses it at 16 — a 64× smaller budget.
Consequence 2. Every RL success above consists entirely of algebraically valid steps, and every over-budget success uses at least one valid macro. RL makes new verifier-valid compressed procedures accessible rather than merely raising the probability of existing primitive traces.
Consequence 3 — whether these procedures are reusable operations rather than instance-specific shortcuts — is tested in our answer to Q4 below.
Broader relevance. Formal proofs and semantics-preserving program transformations are natural next settings, since each intermediate step is mechanically checkable. Recent work models human mathematics as hierarchically nested macros — definitions and lemmas that compress strings of primitive deductions [Aksenov, Bodnia, Freedman, Mulligan, 2026]. Our experiment supplies the complementary learning-dynamics result: from primitive competence and final-answer reward alone, RL discovers verifier-valid macros, reuses them on new problems, and extends them to an operation neither demonstrated nor required during training. The budget creates the need for compression; RL learns the reusable reasoning operation that performs it.
Q4 — Schema transfer: across variable names, and to an undemonstrated operation
We tested this at two levels.
In the original grammar. We enumerated all 204 level-2 macro compositions and held out 70 from the RL task distribution — no training problem requires them — then evaluated on problems whose efficient solutions do. Pass@16: 81.25 / 56.25 / 31.25 / 18.75 / 12.50 across Difficulties 1–5, overall 40.00 (single run). The model discovers and applies 37 of the 70 held-out operations, and also emits level-3 macros outside the enumerated set — never required in training, with test-time instances distinct from training-time ones.
The grammar's rules are arbitrary symbol mappings, though, so bc -> a and ae -> c don't instantiate a shared underlying rule. Our new Boolean experiments give a stronger test: the abstract operation stays fixed while all variable names change.
Rows 1–2: the same operation applied correctly across 20 and 22 problems, each with different variable names, none repeated — so success cannot come from memorizing particular strings; the model has learned the operation itself. Row 3: an operation neither demonstrated during SFT nor required by any RL problem, discovered and applied on 7/9 evaluation-only circuits; the SFT checkpoint applies no undemonstrated operation. Row 4 bounds the result: the three successful operations all collapse a subexpression that produces a constant and then eliminate it; absorption is a structurally different move, and transfer stops there. One D3 solution additionally used a novel size-6 composition — larger than anything demonstrated in SFT (max size 4) or required in RL (sizes 2–3).
This completes consequence 3 from Q1: the learned procedures are reusable operations, transferring across surface forms and to one related operation never required — with a characterizable boundary. We have not measured whether transfer occurs immediately after first discovery, so our evidence supports schema-level transfer rather than single-update immediacy.
Q2 — Causal test: the proposed ablation confirms the prediction
We ran exactly the ablation the reviewer proposed: remove the negative-advantage term (positive-only GRPO), holding sampling, grouping, clipping, KL, and all hyperparameters fixed, and check whether the spurious ratio moves as the theory predicts.
Spurious-action ratio over iterations 15k–20k
Removing the failure-side update increases the spurious-action ratio by 27.2 percentage points. This directly supports the prediction from the finite-group analysis: negative same-prompt advantages are a substantial causal contributor to suppressing spurious passenger actions. Positive-only GRPO moves clearly toward RFT but remains substantially less spurious, so the within-group contrast accounts for much of the selectivity gap, with the remainder attributable to the policy-gradient versus cloning update. We agree the submission's evidence for this mechanism was correlational; this ablation makes it an intervention.
Clarity items
RFT will be defined before first use. All shaded bands are ±1 SD over training seeds, and captions will state this.