Skip to content
نبض AIنبضAI

Loom Attention lets Transformers rewire circuits at every token

ResearchPublished: Source: Hugging Face Daily Papers

TL;DR:Researchers introduce Loom Attention, a Transformer mechanism that dynamically rewires connections between attention heads at each token.

Loom Attention lets Transformers rewire circuits at every token

Researchers introduce Loom Attention, a Transformer mechanism that dynamically rewires connections between attention heads at each token. Its LoomFormer architecture combines token-level attention with a matrix memory that carries compressed outputs from earlier heads, separating control and content across two streams. In tests, LoomFormer matched Transformers trained with more than 3× the compute and outperformed several residual-stream baselines; LoomPythia-2.8B, trained on 300B tokens with 2% extra FLOPs, achieved about 1.6× the average downstream gain of mHC-Pythia-2.8B and matched Pythia-12B in zero-shot tests or surpassed it in five-shot tests.

Key points

  • Loom Attention dynamically rewires a head's access to outputs from earlier heads at every token.
  • LoomFormer uses vector and matrix streams, with the matrix memory holding compressed head outputs.
  • With 300B training tokens and 2% extra FLOPs, LoomPythia-2.8B matched Pythia-12B zero-shot and surpassed it five-shot.

Why it matters

If the reported results generalize, this architecture could improve the capability gained per unit of training compute, giving model teams a potentially more efficient alternative to scaling conventional Transformers.

Companies and models mentioned

  • Loom Attention
  • LoomFormer
  • LoomPythia-2.8B
  • mHC-Pythia-2.8B
  • Pythia-12B
  • Caiyun-AI

More for AI Pulse members

A personalized pulse delivered daily on Telegram and the web by role and industry, plus the full story timeline, archive, search and bilingual view.

Start free

Related stories