Rewirable Circuits in Transformers with Loom Attention
Summary
Xiao, Meng, Li & Yuan (Caiyun-AI), 'Rewirable Circuits in Transformers with Loom Attention' (arXiv 2611.30634, Nov 23 2026, v2 Nov 24, CC BY 4.0; code at github.com/Caiyun-AI/LoomFormer). Loom attention lets each token dynamically rewire head circuits: a head's vertical attention over the outputs of earlier heads (which produces its query, key and value) is interwoven with its horizontal attention over tokens. Vertical attention is instantiated efficiently with normalized, gated linear attention over a per-token matrix memory that stores compressed head outputs and serves as a second residual stream - yielding LoomFormer, a dual-stream architecture that splits control (vector stream) and content (matrix stream). Across model sizes and token budgets, LoomFormer matches Transformers trained with over 3x compute and recent residual-stream baselines (HC/mHC, MUDDFormer, AttnRes) trained with ~1.7-2.8x. Headline: 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. Flags, as entered: abstract-level at cataloging, authors' own numbers; Pythia-scale evidence (2.8B, 300B tokens). Cross-references: the residual-stream expansion cluster - SimpleHC (staged slot 5, the mHC ablation), ARLoop/AttnRes (live ID 1820 and staged enrichment slot 8), Hyperloop (ID 1710, hyper-connections between loops); Loom is the matrix-memory member of that family, where the second stream is a per-token matrix rather than an expanded vector residual. For the user's stack: not a drop-in for the 3:1 SWA hybrid - it replaces the residual stream itself - but it is the strongest current evidence that the residual stream, not attention, is the bottleneck worth spending 2% extra FLOPs on, and its baselines (mHC, AttnRes) are exactly the staged alternatives it should be compared against.
- Venue
- arXiv 2611.30634, Nov 23 2026
- Source
- arxiv
- Access
- free
- Language
- en
- Added
- Nov 25, 2026
- Verified
- Nov 25, 2026
- Found via
- #paperswithcode
Research notes
- Shared 2026-11-25 via Papers With Code link (paperswithcode.co/paper/2611.30634); abstract verified on PwC and the arXiv record directly (CC BY 4.0). STAGED 2026-11-25 during the Neon quota freeze; insert after the earlier staged items when writes reopen. Slot 34 in the Dec 1 landing order (33rd confirmed landing).
Similar entries
- Paper Differential Transformer
- Paper Ceiling of a Task: When Can a Transformer Succeed Without Its Chain of Thought?
- Model LT2: Linear-Time Looped Transformers
- Paper LiFT: Loop Flow Transformers
- Paper You Need Better Attention Priors
- Thread Attention Drift in Speculative Decoding (drafter attention sink → recent tokens)