Causal Latent Workspaces for Looped Transformers
Abstract
Reusing a Transformer block across depth increases computation without replicating its parameters, but successive passes have no dedicated state through which positions can exchange compact summaries of their causal prefix. We introduce the causal latent workspace Transformer: an anchored, four-round shared-depth architecture in which each position writes gated vectors into prefix-specific latent slots and retrieves a content-addressed summary before the next shared block application. This path complements causal self-attention while the original input embedding remains accessible at every round. Across three byte-level corpora, three seeds, and two matched parameter budgets, the proposed model achieves the best mean held-out perplexity in five of six settings against five Transformer controls. At 101.71M parameters it leads on WikiText-103 raw, enwik8, and TinyStories, reaching perplexities 2.7820, 2.7843, and 1.6823; these improve upon the strongest non-workspace control on each corpus by 1.06%, 0.73%, and 1.01%. All nine seed-labelled comparisons at this budget favor the workspace. At 0.918M parameters it leads on WikiText-103 and TinyStories, whereas a conditioned loop is stronger on enwik8. Architectural ablations show that adding the workspace improves upon the anchored loop in all six settings and support refreshing its causal summaries at each round. Together, these results identify a causal, content-addressable prefix workspace as an effective structural augmentation of looped Transformers.
Create a lesson
Metadata
- Comments
- 20 pages, 5 figures. Code and reproducibility materials: https://github.com/izaznov/causal-latent-workspace-transformer
Related papers
Evaluating Latent Knowledge Stability in Multimodal Large Language Models
Shared title terminologycs.CLChuancheng Shi, Shangze Li, Wenhua Wu et al.
Implementation of Machine Translation for the Uzbek Language Based on Transformer Models
Shared title terminologycs.CLMukhammadjon Musaev, Mannon Ochilov
Unlocking the Power of Loops in Pretrained LLMs with Loop Residuals
Shared title terminologycs.CLXuanlei Zhao, Hailun Xu, Kai Wang et al.
SARA: An Auditor-in-the-Loop LLM Recommender for Sustainability Reports
Shared title terminologycs.CLLars Hillebrand, Thiago B. F. de Oliveira, Tim Dilmaghani et al.
The Temporal Residual: Fast and Effective Retrofitting of Latent Feedback into Pretrained Language Models
Shared title terminologycs.CLZiyang Cai, Xingyu Zhu, Sanjeev Arora
Grammar Sparsity Sets How Transformers Learn Random Languages
Shared title terminologycs.CLEdgar Andres Hernandez Moreno, Francesco Cagnetta