When Can Attention Heads Be Statically Defined?
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:21 UTC · f458066bd8e6 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "LRFbpNsCXd"- }- ],- "title": "When Can Attention Heads Be Statically Defined?",- "authors": [],- "abstract": "Self-attention recomputes token interactions for each input, although some heads learn similar attention patterns across inputs. Reusing fixed patterns for these heads could reduce training cost by removing query-key score computation and softmax. Through controlled pretraining comparisons, we identify Selective Attention Freezing (SAF), a recipe that selects heads with low attention-pattern variance and fixes their attention weights to fitted post-softmax means halfway through training. We represent these fixed causal patterns with absolute-position and relative-distance preferences, reducing their storage from quadratic to linear in sequence length. A fused kernel reconstructs the patterns during execution and processes ordinary and replaced heads in a single launch. At matched training-token budgets, our\npreferred 25% replacement setting gives 1.056× faster post-replacement optimiser updates at 124M parameters and 4K context, with a 0.77% increase in perplexity. SAF transfers to 1B parameters at 8K context, giving a 1.066× update speedup with a 0.51% perplexity increase. Replacing 50% of heads extends the speedups to 1.119× and 1.165×, with perplexity increases of 2.49% and 2.03%, respectively. The resulting checkpoints also support downstream finetuning with faster updates for long inputs and faster causal prefill.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "8200c801-f0ef-41ad-9f09-4556c4b60ead"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "When Can Attention Heads Be Statically Defined?",+ "authors": [],+ "abstract": "Self-attention recomputes token interactions for each input, although some heads learn similar attention patterns across inputs. Reusing fixed patterns for these heads could reduce training cost by removing query-key score computation and softmax. Through controlled pretraining comparisons, we identify Selective Attention Freezing (SAF), a recipe that selects heads with low attention-pattern variance and fixes their attention weights to fitted post-softmax means halfway through training. We represent these fixed causal patterns with absolute-position and relative-distance preferences, reducing their storage from quadratic to linear in sequence length. A fused kernel reconstructs the patterns during execution and processes ordinary and replaced heads in a single launch. At matched training-token budgets, our\npreferred 25% replacement setting gives 1.056× faster post-replacement optimiser updates at 124M parameters and 4K context, with a 0.77% increase in perplexity. SAF transfers to 1B parameters at 8K context, giving a 1.066× update speedup with a 0.51% perplexity increase. Replacing 50% of heads extends the speedups to 1.119× and 1.165×, with perplexity increases of 2.49% and 2.03%, respectively. The resulting checkpoints also support downstream finetuning with faster updates for long inputs and faster causal prefill.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}