Skip to content

Rewirable Circuits in Transformers with Loom Attention

Paper · arXiv 2611.30634 · daily list of November 25, 2026

Da Xiao, Qingye Meng, Shengping Li, Xingyuan Yuan

Collected · snapshot shipped with the site build, not a live feed

Abstract · as written by the authors

We propose loom attention, which allows a Transformer to dynamically rewire its circuits at every token by interweaving a head's vertical attention over the outputs of earlier heads (to obtain its query, key and value) with its horizontal attention over tokens. We instantiate vertical attention efficiently with normalized and gated linear attention over a per-token matrix memory, which stores the compressed head outputs and serves as a second residual stream. This yields LoomFormer, a dual-stream architecture that splits control and content between the vector and matrix streams. Across model sizes and training token budgets in language modeling and downstream tasks, LoomFormer matches Transformers trained with over 3x compute and recent residual-stream baselines (HC/mHC, MUDDFormer, AttnRes) trained with ~1.7-2.8x. For example, trained on the same 300B tokens with only 2% extra FLOPs, LoomPythia-2.8B achieves ~1.6x the average downstream gain of mHC-Pythia-2.8B over Pythia-2.8B, and matches (0-shot) or surpasses (5-shot) Pythia-12B. Code is available at https://github.com/Caiyun-AI/LoomFormer

This is the original abstract from arXiv. It has not been summarised, translated or rewritten.

Terms in plain language

Automatic

Made by matching the words of the title and abstract against a fixed list of definitions. It does not read the paper and does not change the abstract above.

Transformers
the neural-network design behind most modern language models, where attention lets each word weigh the other words in the text.
token
a small unit that a model reads and writes, often a part of a word.

Questions about this paper

Where can I read the full paper?

On arXiv, under the identifier 2611.30634: the abstract page is https://arxiv.org/abs/2611.30634 and the PDF is https://arxiv.org/pdf/2611.30634. The text on this page is the authors' abstract, not a summary.

Is there code for this paper?

Yes. The paper's page on Hugging Face links the repository github.com/Caiyun-AI/LoomFormer, which had 1 stars when we collected it.

What do the upvotes mean?

29 signed-in Hugging Face users upvoted it on the daily list of November 25, 2026. Upvotes measure attention from that community, not peer review.

What are the plain-language terms under the abstract?

Short notes on the technical words of the title and abstract, in everyday English, taken from a fixed list of definitions that we wrote. They are made automatically by matching words, so a note can miss a term or give a meaning that does not fit this paper. The abstract above them is the authors’ text and is not changed.