Manuscript Offprint

arXiv:2610.22796

Causal Latent Workspaces for Looped Transformers

Ilia Zaznov

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.

Keywords Transformer · recurrent Transformer · parameter sharing · neural memory · byte-level language modeling · causal attention

1 Introduction

Self-attention provides the Transformer with a direct, parallel mechanism for integrating information across a sequence [1]. Its effectiveness also raises a continuing architectural question: how should this information be organized as representations are refined through depth? In a conventional stack, independently parameterized layers successively transform the hidden sequence. A looped Transformer instead reuses a shared block, allocating more computation to refinement without replicating the block's parameters [2, 5]. This makes the transition between rounds a central design choice. A standard shared loop carries forward the hidden sequence, but provides no separate, addressable representation of the causal prefix.

We introduce the causal latent workspace Transformer, which augments shared-depth refinement with a learned write/read pathway. At each round, gated writes accumulate information from the causal prefix into a small set of vector slots. A query derived from the current token state retrieves a weighted summary from these slots before the next shared block application. The original input embedding remains available through an anchor, allowing refinement to combine the input, the evolving hidden sequence, and a content-addressed prefix summary. Causal self-attention and the workspace consequently provide complementary routes: the former operates on individual token states, while the latter operates on learned prefix summaries. Each prefix has its own workspace, reconstructed from the current round and reset at the next input block.

Our experiments examine whether this additional information pathway improves language modeling beyond shared depth, input anchoring, and more expressive recurrent transitions. We compare the proposed model with five Transformer controls at approximately 0.918M and 101.71M parameters, using the same training-target budget within each size. Across WikiText-103 raw, enwik8, and TinyStories, with three seeds per condition, the workspace achieves the lowest mean held-out perplexity in five of six corpus-size settings. It improves upon the anchored loop in all six settings. At

A preprint

101.71M parameters it also outperforms the strongest alternative on every corpus and for every corresponding seed label. At the smaller budget it leads on WikiText-103 and TinyStories, while the conditioned-dense control leads on enwik8. These comparisons establish the value of a causal workspace under matched parameter and training-target budgets.

The contribution is a causal write/read mechanism that makes compact prefix summaries available throughout recurrent refinement, together with an empirical study of its effect relative to alternative recurrent architectures. The following sections place the design in the context of recurrent depth and neural memory, derive the architecture, and illustrate its computation with a fully specified example. We then describe the matched evaluation and use architectural ablations to distinguish the benefit of adding a workspace from the choice of how its state is updated across rounds.

References (31)