Sebastian Raschka

OpenAI Astra and Recurrent Depth / Looped Transformers

Published 2026-09-02 · Duration 28:04

Summary

This video provides a detailed architectural analysis of the 'recurrent depth' or 'looped transformer' concept, rumored to be used in OpenAI's Astra model. The technique allows for scaling LLM capacity and depth by reusing the same set of weights across multiple passes (loops) through the transformer stack, rather than duplicating all parameters. This approach is compared against traditional fixed-depth models and dynamic methods like Mixture-of-Recursions.

Download summary

Key takeaways

  1. Looped Transformers for Scaling Depth

    The core idea is to increase model depth (e.g., from 22 layers to 44) by reusing the same set of weights multiple times, significantly reducing parameter count compared to duplicating all layers.

  2. Nanbeige4.2-3B Implementation 5:02

    This model demonstrates a fixed repetition: passing the input through the same 22-layer stack twice, achieving increased computational depth without doubling the weights.

  3. Mixture-of-Recursions (MoR) 20:00

    A dynamic approach where different tokens within a sequence can pass through a variable number of passes (loops), determined at runtime, offering flexibility beyond fixed repetition.

  4. Training vs. Retrofitting 12:23

    The speaker asserts that training the model from scratch with the looped transformer aspect is significantly better than retrofitting it onto an already trained architecture, as LLM performance heavily relies on initial training data.

Technical details

  • Looped Transformer Mechanics 0s

    The technique involves passing intermediate representations through the same transformer block multiple times. While it increases computational depth (passes), it saves storage/loading costs by only requiring one set of weights.

  • Computational Trade-offs 1035s

    While looping reduces weight storage, the total computation remains high. The speaker notes that for optimal performance in a KV cache sense, separate caches per layer are needed, making naive sharing difficult.

  • Mixture-of-Recursions (MoR) 1200s

    This method uses a router mechanism (analogous to Mixture of Experts) to dynamically decide how many passes ($t$) a specific token should undergo, leading to variable depth per token.

  • Theoretical Basis

    The looped transformer concept is fundamentally related to the Universal Transformer (2008) and represents a scaling technique rather than an entirely new paradigm.

Mentioned resources

Channel & topics

Watch on YouTube · Back to latest

This independent, AI-assisted summary is provided for commentary and informational purposes. It may contain errors or omit important context. Please watch the original video for the creator's complete presentation. Video, thumbnail, and related copyrights belong to their respective owners.