LoomFormer Rewires Transformer Head Circuits Per Token with 2-3.7% More FLOPs
LoomFormer rewires head-to-head circuits per token, with large gains at small compute cost.
The paper builds LoomFormer, a Transformer that lets each attention head choose which earlier heads to read from at each token, rather than relying on fixed connections. Its matrix-memory mechanism adds just 2.0-3.7% forward FLOPs.
On 300B training tokens, LoomPythia-2.8B gains 3.95 points on the mean of 0-shot and 5-shot benchmark accuracy over Pythia-2.8B - about 1.6 times mHC's gain - and matches Pythia-12B at 0-shot while beating it at 5-shot. In scaling experiments, it matches a standard Transformer trained with roughly 3.2 times the compute.
Motivation
The motivation is a mismatch in ordinary Transformers: attention dynamically chooses which tokens to read, but the connections between heads across layers are fixed by learned projections.
Loom attention makes those vertical connections input-dependent too, so different tokens can use different head circuits instead of keeping competing circuits active together. A shared matrix memory lets vertical routing feed horizontal attention.
This is a Plain English Papers summary of a research paper called LoomFormer Rewires Transformer Head Circuits Per Token with 2-3.7% More FLOPs. If you like these kinds of analyses, you can find more AI and machine-learning research on AIModels.fyi or follow us on Twitter.
Continue reading the full paper summary on AIModels.fyi →
Comments
No comments yet. Start the discussion.