NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Growing Synthetic Reasoning Chains Alongside the Student

Teams that train small models on data written by large ones usually generate the whole dataset first, at full length, and train on it afterwards. For long reasoning chains and multi-turn agent traces this is expensive in two ways. Longer samples cost more teacher tokens to write, and they fail verification more often, so a growing share of that compute goes into samples that are thrown away. Separately, work on sequence-length curricula shows that models learn best when they see short sequences first and long ones only late in training. That makes the order of generation look wrong. The expensive long samples are produced at the start, yet the student cannot use them until the end.

We propose to build synthetic reasoning data the way a length curriculum consumes it. Short verified chains are generated first and trained on first. Each later, longer chain is made by extending an already-verified shorter chain by one checked step, never by writing a fresh long chain from scratch. Extension is deferred until the student reaches that horizon, and it is aimed at the prefixes the student currently gets wrong. The claim to test is simple: at a fixed teacher-compute budget, including rejected samples, this pipeline yields a stronger student on long-horizon verified reasoning than generating uniformly and training afterwards. It should also be able to match that baseline with substantially less teacher compute.

Core Claim

Length curricula are usually justified by training-side savings. GrowLength grows the context from 128 to 4096 tokens, and reports that at length 128 a model processes about 3.4x more tokens than at 16,384 in the same memory budget. Dataset Decomposition buckets documents by power-of-two lengths with a short-to-long sampling schedule and reaches baseline accuracy 6x faster. The same paper also constrains our design. It reports that the speedup fades when the target length is short, because attention stops being the bottleneck. Reasoning chains of a few thousand tokens fall in exactly that regime, so we do not expect meaningful training-side savings.

Our claim is that in synthetic-data pipelines the savings from a length curriculum appear on the generation side instead, provided generation is coupled to training.

A back-of-envelope model shows where the savings come from. Let each reasoning step pass its verifier independently with probability $p$, and let the target chain have $K$ steps. If you write whole chains and verify only the final answer, you need on average $1/p^K$ attempts per accepted chain, and each attempt costs $K$ step-generations. Growing a chain one verified step at a time needs about $1/p$ attempts per step. The expected cost per accepted depth-$K$ chain therefore falls from roughly

$$ C_{\text{end}} \approx \frac{K}{p^{K}} \quad\text{to}\quad C_{\text{grow}} \approx \frac{K}{p}. $$

The independence assumption is optimistic, so the gap in real pipelines will be smaller. It is still the mechanism behind the discard ratios Loong documents: a 62.0% pass rate for GPT4.1-mini on Evol-Instruct Advanced Physics data, and roughly 10–13% accuracy in Mathematical Programming.

Most of that saving comes from checking each step, which is not new. The curriculum contributes two things that step-wise checking alone does not. First, every verified prefix is itself a complete, shorter training problem. The short early phase of the curriculum is therefore a by-product of building the long data rather than extra cost. Second, because long extensions are deferred, they can be spent on the prefixes the student currently fails, rather than spread uniformly.

Research Program

We need problems whose horizon can be grown one checkable step at a time. We borrow the construction from MuSiQue, which builds multi-hop questions by composing single-hop ones so that each hop depends on the previous answer. That construction exists to block shortcut solutions: single-hop models lost about 30 F1 moving from HotpotQA to MuSiQue.

We apply the same composition to the executable-verifier seeds of LoongBench, which provides 8,729 human-vetted seeds with Python verifiers across 12 domains. We restrict to domains where one step's output can serve as the next step's input: Advanced Math, Graph & Discrete Math, Mathematical Programming, and Programming. A depth-$k$ item is a question, a chain of $k$ teacher-written solution steps, and a verifier at every step. Its depth-$(k-1)$ prefix states a valid intermediate question with its own answer.

The pipeline alternates between the student and the teacher. The student trains on a horizon schedule, starting at depth 1 and doubling the maximum depth, in the style of Dataset Decomposition's short-to-long sampling. Before each horizon increase, we evaluate the student on held-out prefixes at the current depth. The teacher then extends archived prefixes by one step, with a sampling weight that rises on prefixes the student fails. Rejected extensions are retried from the same verified prefix, not from scratch.

Each phase ends when validation loss plateaus, not at a fixed step count. This addresses the lack of adaptive transitions that GrowLength itself notes. We account for teacher compute as generated tokens (accepted and rejected), times teacher forward-pass FLOPs, plus verifier execution time.

We test transfer to agentic trajectories on BFCL multi-turn, where the horizon is the number of turns. Beyond Quantity synthesizes full multi-agent traces upfront and reports that sheer quantity saturates early. Turn-by-turn extension of verified prefixes is the direct analogue of our pipeline there.

Related work plays three roles here.

Evidence that staged synthetic curricula help, but with generation done upfront. GraphWalker trains first on 15k random-walk trajectories and then on 6k reflection trajectories, reaching 79.6% exact match on Complex WebQuestions. Its ablations show both stages matter. It generates everything offline, never accounts for generation cost, and never reuses early data to build later data. We differ on all three.

Evidence that easier intermediate supervision helps students, from the logit side. Progressive Distillation Induces an Implicit Curriculum shows that intermediate teacher checkpoints preserve easy, short-range structure that the final teacher loses. It names distillation through generated text as open. We vary the horizon of the generated data rather than the teacher checkpoint. This is a different lever that stays compatible with black-box teachers.

Constraints on the design. Balancing Cost and Effectiveness of Synthetic Data Generation Strategies for LLMs finds two things that bear on us. The best generation strategy shifts with the ratio of query budget to seed count. And verifying against ground truth did not significantly help on GSM8k, Spider, or ARC-C. That second finding is a real threat to any verification-centred proposal, and we test it directly.

Baselines

Naive reference: uniform generation, no curriculum. Using the same seeds and teacher, we generate composed problems at a fixed depth distribution matching the evaluation's, verify only the final answer as standard rejection sampling does, and train on a shuffled mix. Every other method is scored against this in two ways. The first is accuracy at equal teacher FLOPs. The second is the teacher FLOPs each method needs to reach this baseline's final accuracy.

Strongest existing competitor: Loong-style verified synthesis with post-hoc length sorting. We generate the same budget of verified chains as Loong's pipeline does. We then apply a Dataset Decomposition–style short-to-long schedule by sorting the finished data by depth. This gets the training-side curriculum for free. On this question it is the method to beat, because it isolates whether coupling generation to training matters at all or whether ordering the finished data is enough. No reported result on Lacuna gives student accuracy on LoongBench after training on Loong-synthesized data. The only reported numbers there are teacher pass rates: 62.0% on Advanced Physics for GPT4.1-mini with Evol-Instruct, and about 10–13% in Mathematical Programming.

On BFCL multi-turn, the competitor is TDScaling from Beyond Quantity. It reports 40.44% with 5,000 samples and 36.66% with 500. Qwen3-Coder-480B-A35B-Instruct scores 35.91%.

Fairness conditions for all methods. Every method uses the same student, teacher, seeds, verifier, total teacher-FLOP budget, student training steps, and hyperparameter search budget.

What counts as beating the competitor. Either higher accuracy at the deepest evaluation depth at matched teacher FLOPs, beyond seed variance over three runs. Or equal accuracy at no more than half the teacher FLOPs.

Ablations that isolate each ingredient. 1. Incremental step-verified growth, training only on the final deepest chains. This isolates the step-checking saving. 2. Growth with all prefixes mixed uniformly. This isolates reuse of prefixes as training data. 3. Growth with the curriculum but uniform, untargeted extension. This isolates the effect of spending extensions on student failures.

Why not just…?

Why not just generate once and sort by length? This is the most serious alternative. It is the strongest baseline above, and ablation 2 separates it cleanly. If sorted uniform data matches our pipeline at equal teacher FLOPs, the coupling claim is false. What remains would be a reminder to verify step by step, and we would report it that way. We expect a gap only because uniform generation pays end-of-chain rejection costs for its long samples, and because its long budget cannot follow what the student gets wrong.

Why not just use a small open generator? Study on LLMs for Promptagator-Style Dense Retriever Training shows a 3B model roughly matching an unfiltered 137B teacher on BEIR query generation: 45.1 versus 44.7 NDCG@10. That task is single-turn and short. Balancing Cost reports that weaker generators degrade sharply on harder synthesis. The two choices are also orthogonal, so we run our pipeline and the baselines with both a mid-size and a small teacher. A small teacher also has a lower per-step pass rate $p$. That should widen the benefit of step-by-step growth, and if it does not, that counts against our cost model.

Why not just drop verification entirely? Balancing Cost found verification unnecessary on GSM8k-scale problems, and Promptodile's unfiltered 14B model (46.2) beat filtered Promptagator (46.0). We include an unverified arm of the uniform baseline. Our prediction is that it holds up at depth 1–2 and collapses at larger depths, consistent with MuSiQue's shortcut findings and Loong's failure rates in hard domains. If unverified data matches verified data at every depth, the verification-cost motivation disappears and we would say so.

Why not just generate only short, cheap problems? Many more short items fit in the same budget. But extrapolating across depth is the capability being measured. Every arm reports accuracy stratified by depth, including depths beyond any it trained on.

Proposed Experiments

Main experiment. On the four composable LoongBench domains, we plot student accuracy against cumulative teacher FLOPs for every arm. We use held-out seeds composed to depths 1 through 16 and report accuracy per depth. The decisive check is the gap at depths 8–16 between our pipeline and sorted Loong-style synthesis at matched compute. We also report the realized discard ratio for each arm and compare it to the $K/p^K$ versus $K/p$ prediction, using $p$ measured at depth 1. This tests whether the independence approximation holds.

Transfer experiment. On BFCL multi-turn, we compare turn-by-turn growth against TDScaling-style full-trace synthesis at 500 and 5,000 samples' worth of teacher compute. We use TDScaling's reported 36.66% and 40.44% as reference points, and rerun it ourselves under matched conditions.

Failure criterion. If neither the main nor the transfer experiment shows that coupling beats post-hoc sorting, we conclude that length curricula and generation cost are separable concerns, and publish that.