Yifan Zhang's RLT Grows Transformer Depth With Every Token Generated

A new architecture proposes latent reasoning that grows with sequence length, sharing one recurrent state across prompt, response, training, and RL replay.

·
·
Yifan Zhang's RLT Grows Transformer Depth With Every Token GeneratedPRO
  • Yifan Zhang released the Recurrent Looped Transformer, a causal encoder plus recurrent decoder architecture.
  • Decoder hidden state and sliding-window KV cache persist across every prompt and response token.
  • Reference config uses 48 encoder and 48 decoder layers with shared attention and FFN weights.
  • Unifies prefill, decode, pretraining, SFT, and current-policy RL under one state transition.
  • In independent 79K-parameter state-tracking tests, a plain GRU outperformed RLT at 4x training length.
  • Code, paper, and project page released under Apache 2.0.

Recurrent Looped Transformer Carries Depth Across Tokens

Yifan Zhang has released a technical report and the RLT repository for the Recurrent Looped Transformer, an architecture that carries decoder state from one token to the next. A conventional causal Transformer sends each token through a fixed stack of layers. RLT extends the causal computation path as the sequence grows while keeping the decoder’s layer count fixed.

Zhang’s announcement on X described the release as a step toward superintelligence. The report lists reasoning gains, hardware speedups, and reinforcement-learning scaling as research goals. Its current evidence consists of an architecture specification and a small synthetic experiment with mixed results.

How depth accumulates

With decoder depth LD, token position t sits at the end of a recurrent path containing t × LD decoder-block applications. The model executes LD decoder blocks for each new token, while the longest causal path grows linearly with sequence length. Attention and cache costs can still vary with context length.

The report’s phrase “infinite depth” refers to a temporal path that can keep extending as more tokens arrive. Every actual sequence has finite depth and compute. The report provides no measured evidence that a longer path improves reasoning.

Inside the recurrent loop

The reference configuration contains 48 encoder layers and 48 decoder layers. Compatible attention and feed-forward network weights are shared between the stages. Each decoder block also performs cross-attention over encoder memory, raising its floating-point operation count above that of an encoder block despite the equal layer counts.

Pro article

This story is for Pro members

You've reached the end of the free preview. Upgrade to AlphaSignal Pro to read the full article - and everything else behind the paywall.

Comments

avatar