Skip to content

Recycler: Cost-Free Latent Reasoning via Hidden State Recycling

optionalcorefrontierpaperrubric 9/122026 · ~75 min

ByteDance Seed

Read first: Better & Faster Large Language Models via Multi-token Prediction · DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models

Status

TL;DR. A standard autoregressive Transformer carries previous continuous representations forward only through its KV cache; the next step’s input is just the sampled token’s embedding, and the top-layer hidden state hth_t is not fed back directly. Recycler keeps the token and the KV cache and additionally adds a projection of hth_t to the next token’s embedding. Decoding cost is almost unchanged, because hth_t already exists and the adapter is one linear layer. The model becomes a recurrence whose depth grows with every generated token. Exact training would be sequential, so the paper approximates it with two parallel passes and relies on the model extrapolating to deeper recurrence at decode time. Across pretraining, continued pretraining (CT), SFT and RL, it beats same-size baselines, with the largest gains on reasoning and math. It comes within about 1.7 points of a 2.4× larger model at the smaller model’s decoding cost.

Why it matters now. It links three threads on this site. The idea comes from multi-token prediction heads like the one in DeepSeek-V3. It is a cheap form of latent reasoning, close to continuous chain-of-thought, but it keeps discrete tokens. And it is evaluated through RL with GSPO. For an IR or agents reader the practical question is whether it is free in your workload: decode is nearly free, but prefill with k=2k=2 is not, and long-prompt RAG is prefill-heavy.

The clue from MTP. A recurrent MTP module looks like a small language model that also receives the backbone’s previous-position hidden state. The paper reports that such a head, with about 2% of the backbone’s parameters, reaches a loss comparable to a standalone model about 25% of the backbone’s size. Adding the previous hidden state is worth a great deal more than 2% of parameters would suggest. So why not give the backbone itself that input?

The bottleneck. Let Φ\Phi be the discrete feedback: unembed, softmax, sample, re-embed. A standard model is

ht+1=T(Φ(ht)),h_{t+1} = T\big(\Phi(h_t)\big),

where TT is the whole Transformer stack. This compact notation (the paper’s) suppresses attention history. Written out, a standard step is ht+1=T(Emb(xt+1); KV≤t)h_{t+1} = T\big(\mathrm{Emb}(x_{t+1});\ \mathrm{KV}_{\le t}\big): earlier continuous representations do reach step t+1t+1, but only through the KV cache. On the direct input path, Φ\Phi squeezes a dd-dimensional top-layer state into one token ID.

Recycler adds a continuous path alongside Φ\Phi:

A(h)=Linear(RMSNorm(h)),ht+1=T(Emb(xt+1)+A(ht))=T(Φ(ht)+A(ht)).A(h) = \mathrm{Linear}\big(\mathrm{RMSNorm}(h)\big), \qquad h_{t+1} = T\big(\mathrm{Emb}(x_{t+1}) + A(h_t)\big) = T\big(\Phi(h_t) + A(h_t)\big).

Written with attention history, Recycler adds A(ht)A(h_t) to the input embedding while keeping KV≤t\mathrm{KV}_{\le t} exactly as before: ht+1=T(Emb(xt+1)+A(ht); KV≤t)h_{t+1} = T\big(\mathrm{Emb}(x_{t+1}) + A(h_t);\ \mathrm{KV}_{\le t}\big). Only the top-layer state of the previous token is reused. There is no extra pass per token, no extra KV-cache entries and no change inside the stack. During decoding the recurrence is never truncated: hth_t depends on ht−1h_{t-1}, which depends on ht−2h_{t-2}, and so on, which the paper describes as “an effectively unbounded-depth information pathway without requiring additional backbone passes per generated token.”

Training: a truncated, parallel recurrence. The exact recurrence would force token-by-token training. Instead, Recycler runs ktraink_{\text{train}} full-sequence passes, each reading the previous pass’s states shifted by one position:

ht(1)=T(Emb(xt)),ht(i)=T(Emb(xt)+A(ht−1(i−1))),L=∑i=1ktrain∑tNTP(ht(i),xt+1).h^{(1)}_t = T\big(\mathrm{Emb}(x_t)\big),\qquad h^{(i)}_t = T\big(\mathrm{Emb}(x_t) + A(h^{(i-1)}_{t-1})\big),\qquad \mathcal{L} = \sum_{i=1}^{k_{\text{train}}} \sum_t \mathrm{NTP}\big(h^{(i)}_t, x_{t+1}\big).

Inside each pass all positions run in parallel. Pass ii bounds the depth of the additional recycling path to ii positions; each Transformer pass can still attend to its full causal prefix. The approximation is exact when ktrain≥tk_{\text{train}} \ge t. The default is ktrain=2k_{\text{train}} = 2, which doubles training cost.

Two positions, two passes (each pass is an ordinary causal pass with its own KV path):

position t-1 position t
pass 1: Emb(x[t-1]) -T-> h1[t-1] Emb(x[t]) -T-> h1[t] -> NTP(x[t+1])
KV1[t-1] ------------------> attended by pass-1 position t
|
A (recycle path, shifted by one position)
v
pass 2: Emb(x[t-1]) -T-> h2[t-1] Emb(x[t]) + A(h1[t-1]) -T-> h2[t] -> NTP(x[t+1])
KV2[t-1] ------------------> attended by pass-2 position t
gradient: NTP loss on h2[t] -> T -> A -> h1[t-1]
(lookahead signal into pass 1; blocked while A's linear weights are exactly zero)

Why the approximation holds up. There are three stabilisers:

  1. Zero-initialise the adapter’s linear layer, so the model starts as a standard Transformer.
  2. Put the NTP loss on every pass, so states of different depths share one representation space.
  3. Tie the input and output embeddings, so the input and output share one basis. The learned adapter maps hidden states into that embedding space.

None of these is a guarantee: neither tying nor zero initialisation ensures stable extrapolation to deeper recurrence, which is checked empirically (and needed a patch at scale; see Fig. 4 below).

A further gradient-level reading, which is mine but consistent with the paper’s “future-token prediction signals”: the pass-2 loss at position tt backpropagates through AA into ht−1(1)h^{(1)}_{t-1}. The pass-1 state is therefore trained to help predict a token two steps ahead, which is an MTP-like auxiliary signal built into the backbone.

Prefill also runs in parallel, at one of two operating points. With kprefill=1k_{\text{prefill}}=1, a standard pass gives the same cost as the baseline. With kprefill=2k_{\text{prefill}}=2, two passes double prompt compute. Decoding is the same recurrence in both cases. SFT has to match the choice. Response tokens are always trained with the two-pass approximation (ktrain=2k_{\text{train}}=2), and the loss is masked to the response; kprefillk_{\text{prefill}} only sets how prompt positions are processed. For kprefill=1k_{\text{prefill}}=1, the recycled term is zeroed at prompt positions in the second pass.

Extrapolation (Figs. 3–4). A small MoE (151M active, 1B total parameters) trained on 200B tokens with ktrain=2k_{\text{train}}=2 is decoded with kdeck_{\text{dec}} from 1 to 32. It beats the baseline already at kdec=1k_{\text{dec}}=1, gains more for kdec>1k_{\text{dec}}>1, and stays stable on eval loss, MMLU and C-Eval. At larger scale, two-pass training lets eval loss creep up as kk grows. Running a third pass on a subset of steps, for +3.3% training cost, keeps it flat.

Pretraining, model α (Figs. 5–6). Validation loss falls by about 0.013 with one pass and about 0.033 with two passes. Recycler beats the baseline on all 14 datasets, with the average rising from 42.97 to 46.21 (+3.24). The largest gains are DROP +6.31, BBH +5.53, AGI-Eval +5.35, MBPP+ +4.76 and MMLU-Pro +4.40. Knowledge-heavy sets gain less.

Model β against a 2.4× baseline (Fig. 7). Recycler scores 64.76 against 66.43, a gap of about 1.7 (the paper reports 1.68; the displayed values subtract to 1.67), with the decode cost and KV cache of the smaller model. The same-size baseline trajectory ends near 50% of training, and the paper explicitly does not treat these endpoints as an equal-budget comparison.

When to introduce it (Fig. 8, cumulative training FLOPs).

Introduced atΔ scoreΔ cumulative cost
Pretraining+1.87+100.50%
Continued pretraining+0.60+13.54%
SFT+1.14+0.19%

The PT/CT and SFT rows use different benchmark suites, so only the paired deltas within each suite are meaningful.

SFT, CT-introduced (Table 1, 22 benchmarks). Column labels are the prefill configuration; response tokens use two-pass training in every Recycler column.

Baselineprefill k=1k=1 (SFT + inference)prefill k=2k=2 (SFT + inference)SFT prefill k=2k=2, inference prefill k=1k=1
Average62.965.366.763.9
ARC-AGI32.639.441.937.0
ProcBench59.862.668.063.4
SuperGPQA50.456.060.056.8
IFEval86.583.984.884.1
COLLIE60.450.270.944.4

With k=2k=2, Recycler wins 19 of 22 benchmarks. It ties on MMLU-Pro and loses on IFEval and ArenaHard.

RL with GSPO on math (Table 2). Total scores are 60.06 for the baseline, 61.66 for prefill k=1k=1, 61.42 for the prefill-k=2k=2-trained route run with prefill k=1k=1, and 64.38 for prefill k=2k=2. From SFT to RL the baseline gains 1.39 and the k=2k=2 route gains 1.92, so the k=2k=2 margin widens from 3.79 to about 4.3. The k=1k=1 margin is essentially flat (1.56 → 1.59).

  • “Cost-free” means decode-free. Training roughly doubles in any stage where Recycler is active, and kprefill=2k_{\text{prefill}}=2 doubles prompt compute. That matters for RAG and agent prompts that are mostly prefill.
  • No equal-compute baseline. Two-pass training costs about the same per token as a model about 2× larger. The model β comparison is framed by model size and decode cost, not by training FLOPs, and the same-size curve is truncated. The abstract’s “outperforming models with 2–3× more parameters” is stronger than the roughly 1.7-point deficit shown for model β.
  • Regressions hidden by averages. IFEval falls below baseline in every SFT Recycler column, and COLLIE drops 10 points at k=1k=1. After RL, the k=1k=1 route is below baseline on math (82.80 against 83.80) and the mismatched route is below baseline on instruction following and multilingual.
  • RL is descriptive. The paper says its three routes differ in code revision and rollout schedule, the runs were stopped by hand before convergence, and no seeds are reported. Some numbers do not line up: the k=2k=2 RL margin is given as both 4.31 and 4.32, and the stated +1.76 stage gain at k=1k=1 needs an SFT score that Table 2 does not show.
  • Reproducibility. There is no arXiv version or code, model sizes for α and β are not given, and many evaluations are internal. The speculative-decoding fix is claimed in the introduction but not described in the text.
  • The approximation is empirical. Stability at unbounded depth is shown by curves up to k=32k=32 (small model) and about k=60k=60 (Fig. 4). It needed a patch, the partial third pass, once the model got larger.
  • Origin: multi-token prediction and the sequential MTP module in DeepSeek-V3. The MTP module receives the backbone’s hidden state as a side input. Recycler feeds that state back into the backbone, and its pass-2 loss acts like a built-in lookahead objective.
  • Recurrence in a different place: Mamba and Gated DeltaNet carry a state across tokens inside each layer, which replaces or reduces attention. Recycler keeps full attention and adds one recurrence at the top-to-bottom boundary between tokens. Like those models, it needs a trick to train a recurrence in parallel: a scan or chunking there, a truncated multi-pass approximation here.
  • Latent reasoning: Why we think surveys thinking in continuous space, including recurrent architectures. Compute-optimal test-time scaling is the token-level counterpart: spending more inference compute instead of more parameters, which Recycler does without generating extra tokens. COCONUT replaces tokens with hidden states and needs curriculum training. Recycler adds the hidden state next to the token and trains with plain NTP. Universal and looped Transformers and Mixture-of-Recursions spend extra passes within one token. Recycler spends none, and its depth comes from the sequence instead.
  • Concurrent work: the Full-Bandwidth Transformer fuses the same previous top-layer state through a gated linear unit. Recycler uses a simpler additive adapter. The Latent Recurrent Transformer injects an intermediate-layer state through KV projection instead.
  • RL stage: trained with GSPO, the sequence-level-ratio variant of GRPO. Rollouts use the selected prefill depth for the prompt and recurrent decoding for the response.
  • Serving: standard speculative decoding verifies drafted tokens in parallel, but Recycler makes each position depend on the previous position’s final hidden state. That is the parallel-verification problem the paper says it solves.

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Derive / compute

    Recycler trains with k_train sequence-level passes and decodes with one backbone pass plus an adapter A(h) = Linear(RMSNorm(h)). (a) Count one standard forward+backward pass as 1 unit. What does k_train = 2 cost? A third pass on some training steps adds 3.3% to the two-pass cost. Assuming equal-size steps, and that the added pass costs one full forward-plus-backward unit, roughly what fraction of steps get it? (b) For a hypothetical dense 7B model with d = 4096, estimate the adapter's per-token decode FLOP overhead. (c) Fig. 8 reports +1.87 points for +100.50% cumulative compute (introduced at PT), +0.60 for +13.54% (CT) and +1.14 for +0.19% (SFT). Compute points per 10% of extra compute for each, and explain why the SFT figure cannot be ranked directly against the other two.

    What a strong answer covers
    • (a) Two passes cost about 2 units, which the paper states as 2× the standard model. A third pass on a fraction p of steps costs 2 + p units, so p/2 = 0.033 and p ≈ 6.6% of steps. This is a toy inference under that assumption, not a schedule the paper discloses.
    • (b) The adapter is one d×d matmul per token: 2d² ≈ 2 × 16.8M ≈ 34M FLOPs, against about 2 × 7B = 14 GFLOPs for the backbone, so about 0.24%. RMSNorm is negligible, and the KV cache does not grow because no positions or layers are added.
    • (c) PT gives about 0.19 points per 10% of extra compute, CT about 0.44, and SFT about 60. Per unit of compute, introducing Recycler late is far cheaper.
    • The PT/CT and SFT arrows are measured on different benchmark suites (the paper says so), so their score deltas are not on one scale. The CT model also never saw the recycle path during PT.
    • The "cost-free" label covers decoding only. Prefill with k = 2 doubles prompt compute, and training roughly doubles in any stage where Recycler is active.
  2. Mechanism

    Using the two-pass training of Eq. 4, explain (a) why a Recycler model already beats the baseline when decoded with k_dec = 1, that is, with the recycle path unused (Fig. 3), and (b) why a zero-initialised adapter, an NTP loss on every pass and tied embeddings let a model trained only to depth 2 stay stable when decode depth grows without bound. Trace the gradient paths.

    What a strong answer covers
    • In pass 2, position t reads A(h¹ at t−1). The loss on x_(t+1) therefore sends gradient into the pass-1 state at position t−1, which must carry information about the token two steps ahead. This is an MTP-style lookahead signal (the paper credits the future-token loss), and it improves the pass-1 states even when recycling is switched off. At exact initialisation the zero linear projection blocks this gradient into the pass-1 state; it begins to flow once the adapter weights move.
    • Zero initialisation makes A = 0 at the start, so the model initially recovers the baseline computation exactly. This is what makes adding Recycler to an existing checkpoint at CT or SFT a safe starting point. It does not guarantee that later updates improve the loss or stay stable.
    • An NTP loss on every pass forces h¹ and h² to be decodable to the next token through the same unembedding, so the two depths live in a similar space. At decode the adapter receives states of arbitrary depth. If those also look like h¹ and h², its input distribution barely shifts.
    • Tied embeddings share the input and output basis, and the learned adapter maps hidden states into the embedding space. Neither tying nor zero initialisation guarantees stable extrapolation.
    • This is empirical, not a guarantee. Depth-2 training only ever feeds the adapter depth-1 states, and Fig. 4 shows eval loss drifting upward with k at larger scale until a partial third pass is added.
  3. What if…

    Table 1 (SFT, 22 benchmarks) gives averages of 62.9 for the baseline, 65.3 for k_prefill = 1 during SFT and inference (response training still uses two passes), 66.7 for k_prefill = 2 in both, and 63.9 for the k_prefill = 2 SFT checkpoint run with k_prefill = 1 at inference. After GSPO RL, Table 2 gives 60.06, 61.66, 64.38 and 61.42 for the same four set-ups. Explain what each comparison isolates, what the mismatched route tells you about prefill, and what the COLLIE row (60.4, 50.2, 70.9, 44.4) and the IFEval row (86.5, 83.9, 84.8, 84.1) add.

    What a strong answer covers
    • The 66.7 versus 65.3 comparison changes both the prompt-processing route trained during SFT and the inference prefill, so it does not isolate a second inference pass. Within the k_prefill = 2 checkpoint, 66.7 versus 63.9 isolates changing only its inference prefill, including the resulting mismatch.
    • The mismatched route (63.9) also falls below matched k_prefill = 1 (65.3), so the gain depends on processing the prompt the same way as in SFT. The extra +1.4 of matched k_prefill = 2 costs 2× prefill compute.
    • After RL the mismatched route (61.42) is close to matched k = 1 (61.66), but the two get there differently: +4.26 on code against +2.83 on comprehensive evaluation, per the paper. Tables 1 and 2 use different aggregates (baseline 62.9 against 58.67), so do not compare across them.
    • COLLIE swings by about 27 points across the Recycler columns and falls 10 points below baseline at matched k = 1. IFEval is below baseline in all three Recycler columns. Hard format constraints seem sensitive to the prompt-state distribution, and the 22-benchmark average hides it.
    • A cleaner ablation evaluates each trained checkpoint at both prefill settings with several seeds, to separate prefill depth from route-to-route noise.
  4. Critique

    The abstract says Recycler outperforms models with 2–3× more parameters. The main evidence is model β, which scores 64.76 against 66.43 for a 2.4× larger baseline. A second claim is that RL widens the k = 2 margin from 3.79 to 4.31 points. Identify the weakest points in both claims, and design the experiment that would show whether Recycler beats spending its extra training compute some other way.

    What a strong answer covers
    • In Fig. 7 Recycler trails the 2.4× baseline by about 1.7 points (the paper reports 1.68; the displayed 64.76 and 66.43 subtract to 1.67). The body says "nearly matches", so "outperforming" in the abstract is not supported by the model β data shown.
    • The same-size baseline trajectory stops near 50% of training, and the paper says the endpoints are not an equal-budget comparison. Per training token, k_train = 2 costs about 2×, close to the 2.4× model's cost, and training FLOPs are not matched. Recycler keeps roughly the smaller backbone's decode path and KV-cache size, but a 2.4× parameter ratio does not establish a 2.4× latency or KV-memory ratio.
    • RL: the routes differ in code revision and rollout schedule, runs were stopped by hand before convergence, and there are no seeds or error bars. A widening of about 0.5 points (stage gains of 1.92 against 1.39) is within plausible run-to-run noise, and the text gives both 4.31 and 4.32 for the same margin.
    • Some groups regress: after RL the k = 1 route scores 82.80 on math against 83.80 for the baseline, and SFT IFEval is below baseline in every Recycler column.
    • Settling experiment: an equal-training-FLOP grid on the same data, covering a baseline with 2× tokens, a baseline with about 2× parameters, a looped model with two passes per token, and Recycler. Report score and decode cost, with seeds.
  5. Design

    You own a pretrained 8B dense model that serves a RAG answerer. Prompts average 6,000 tokens of retrieved passages and answers average 300 tokens. You can afford continued pretraining at about 15% of the original pretraining compute, plus SFT and RL. Decide whether and where to add Recycler (CT or SFT only), which prefill depth to serve with, and how you would validate the choice.

    What a strong answer covers
    • PT adoption doubles the dominant stage (+100.50% in Fig. 8), so it is out of scope. CT adoption cost +13.54% in the paper, roughly the budget here. SFT-only adoption cost +0.19% and still gained +1.14 on its suite.
    • The paper prefers CT because it gives a longer adaptation window. Its Fig. 8 deltas are on different suites, though, so pilot both the CT and the SFT routes on your own evaluation before committing.
    • Serving cost is dominated by prefill here. Under a uniform token-pass compute proxy, k_prefill = 2 costs (12,000 + 300)/(6,000 + 300) ≈ 1.95×. This is not a measured latency ratio: attention, caching and prefill-versus-decode hardware efficiency differ. With k_prefill = 1 the cost matches baseline, and in Table 1 it kept +2.4 of the +3.8 average gain.
    • Train SFT and RL with the prefill depth you will serve. The k_prefill = 2 SFT checkpoint run with k_prefill = 1 scored 63.9, below the 65.3 of matched k = 1.
    • Validate with citation and faithfulness metrics, format adherence (watch for COLLIE/IFEval-style regressions), per-token latency, and eval loss against decode depth on long answers, as in Fig. 4.
    • Speculative decoding has to verify drafted tokens whose recycled hiddens do not exist yet. The paper says it solves this but gives no details, so budget engineering time.
  6. Research idea

    The paper attributes Recycler's gain to continuous information that the discrete feedback Φ (unembed, sample, re-embed) throws away. Propose a study that tests what the recycled channel actually carries, comparing it against feeding back the expected embedding under the next-token distribution, and against COCONUT-style replacement of the token by the hidden state.

    What a strong answer covers
    • Hypothesis: the gain comes from information beyond the next-token distribution, such as plans or latent variables about later tokens, rather than from uncertainty over which token was sampled.
    • Arms at matched training cost: Recycler; an adapter fed Σ p(v)·Emb(v) (a soft embedding); Recycler with stop-gradient from pass 2 into pass 1, which removes the lookahead gradient; and Recycler decoded at k_dec = 1 only.
    • Measure validation loss per pass and reasoning benchmarks, and train linear probes on the recycled vector for the token two ahead or for task variables such as arithmetic carries.
    • Falsification: if soft-embedding feedback matches Recycler, the advantage over Φ is about the distribution, not rich hidden semantics. If the stop-gradient arm loses most of the gain, the benefit is mainly the MTP-like training signal.
    • A COCONUT-style arm (hidden state replaces the token, curriculum training) tests whether keeping the discrete path is what makes plain NTP training work.

Done with this page?

Status