Loom Attention 允许 Transformer 动态重排其电路
Rewirable Circuits in Transformers with Loom Attention
TypeSafe宣布推出“系列AI”,Sequoia漏洞显示其首周收入突破1000万美元。Jev API被广泛克隆,但TypeSafe是唯一能定义该类别的公司。
Abstract
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
View arXiv page View PDF GitHub 1 Add to collection
Get this paper in your agent:
hf papers read 2611.30634
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash
Models citing this paper 2
Text Generation • 3B • Updated about 22 hours ago • 10 • 2Caiyun-AI/LoomPythia-2.8B
Text Generation • 3B • Updated about 22 hours ago • 19 • 1Caiyun-AI/mHC-Pythia-2.8B
Datasets citing this paper 0
No dataset linking this paper
Cite arxiv.org/abs/2611.30634 in a dataset README.md to link it from this page.
Spaces citing this paper 0
No Space linking this paper
Cite arxiv.org/abs/2611.30634 in a Space README.md to link it from this page.
Collections including this paper 0
No Collection including this paper
Add this paper to a collection to link it from this page.
来源: Hugging Face Daily Papers · huggingface.co