Not All Dimensions Are Equal: Outlier-Aware Attention Linearization with Grouped Quadratic Kernels
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:00 UTC · 8d9594a2ef0a ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "GSbPYEcVt2"- }- ],- "title": "Not All Dimensions Are Equal: Outlier-Aware Attention Linearization with Grouped Quadratic Kernels",- "authors": [],- "abstract": "Linearizing softmax attention offers a route to efficient Transformer inference, but preserving pretrained attention remains challenging.\nWe identify an important source of approximation error overlooked by standard linearization methods: a small number of outlier dimensions contribute disproportionately to query--key dot products and account for a large fraction of the approximation error. \nMotivated by this heterogeneity, we propose Outlier-Aware Attention Linearization (OAL), a dimension-aware method for constructing quadratic attention approximations.\nStarting from a second-order Taylor approximation, we introduce a Hadamard-product formulation that makes individual query--key contributions explicit.\nThis formulation relaxes globally shared coefficients to support dimension-specific linear terms and cross-dimensional quadratic interactions while preserving separable evaluation. \nTo retain this flexibility with fewer parameters, OAL groups dimensions with similar contribution scales to share coefficients, while allowing distinct treatment of the few outliers. \nThe resulting positive quadratic kernel is calibrated against pretrained attention outputs and admits linear-time evaluation with respect to sequence length for fixed head dimensions.\nOn Qwen2.5-0.5B, OAL reduces frozen-attention output\nrelative MSE by approximately 8.9% compared with DiJiang. \nReplacing middle-layer attention modules and jointly fine-tuning the kernel coefficients with LoRA further lowers WikiText-103 perplexity from 31.71 to 27.50 compared with a learned global quadratic, while improving accuracy on PIQA, HellaSwag, and ARC-E. \nThese results demonstrate the value of outlier-aware dimension grouping for both attention approximation and pretrained-model conversion.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "a69ded94-ace4-42d2-89b8-3fd433f006f4"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Not All Dimensions Are Equal: Outlier-Aware Attention Linearization with Grouped Quadratic Kernels",+ "authors": [],+ "abstract": "Linearizing softmax attention offers a route to efficient Transformer inference, but preserving pretrained attention remains challenging.\nWe identify an important source of approximation error overlooked by standard linearization methods: a small number of outlier dimensions contribute disproportionately to query--key dot products and account for a large fraction of the approximation error. \nMotivated by this heterogeneity, we propose Outlier-Aware Attention Linearization (OAL), a dimension-aware method for constructing quadratic attention approximations.\nStarting from a second-order Taylor approximation, we introduce a Hadamard-product formulation that makes individual query--key contributions explicit.\nThis formulation relaxes globally shared coefficients to support dimension-specific linear terms and cross-dimensional quadratic interactions while preserving separable evaluation. \nTo retain this flexibility with fewer parameters, OAL groups dimensions with similar contribution scales to share coefficients, while allowing distinct treatment of the few outliers. \nThe resulting positive quadratic kernel is calibrated against pretrained attention outputs and admits linear-time evaluation with respect to sequence length for fixed head dimensions.\nOn Qwen2.5-0.5B, OAL reduces frozen-attention output\nrelative MSE by approximately 8.9% compared with DiJiang. \nReplacing middle-layer attention modules and jointly fine-tuning the kernel coefficients with LoRA further lowers WikiText-103 perplexity from 31.71 to 27.50 compared with a learned global quadratic, while improving accuracy on PIQA, HellaSwag, and ARC-E. \nThese results demonstrate the value of outlier-aware dimension grouping for both attention approximation and pretrained-model conversion.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}