Loom Attention rewires Transformer circuits per token, matching 3x-compute baselines
Da Xiao · hf · 2026-11-25
Researchers from Beijing University of Posts and Telecommunications and Caiyun-AI propose Loom Attention, letting a Transformer dynamically rewire its circuits at every token by interweaving a head's vertical attention over earlier heads' outputs (to form query/key/value) with 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 acts as a second residual stream.
The resulting dual-stream LoomFormer splits control and content between vector and matrix streams. Results:
- Across model sizes and token budgets, it matches Transformers trained with over 3x compute and residual-stream baselines (HC/mHC, MUDDFormer, AttnRes) trained with 1.7-2.8x
- On 300B tokens with only 2% extra FLOPs, LoomPythia-2.8B achieves 1.6x the average downstream gain of mHC-Pythia-2.8B, and matches (0-shot) or surpasses (5-shot) Pythia-12B
Code: github.com/Caiyun-AI/LoomFormer
More from Research
- Systematic bpb and Memorization Measurements Across Strong Open-Weight Models — _arohan_ · 2026-11-25
- Virtual cell causal models: required data doesn't even exist yet, says prof — anshulkundaje · 2026-11-25
- Stanford prof: 'virtual cell' foundation models still lose to simple baselines — anshulkundaje · 2026-11-25
- Agent claims 55 overnight math conjecture solves, Lean verification underway — chrisalbon · 2026-11-25
- NightWatch adds a 0.8B streaming watcher to computer-use agents for real-time perception — Jiaqi Su · 2026-11-25
- ZoomTrace verifies whether an agent's zoom evidence really comes from its claimed slide location — Yan Wang · 2026-11-25