Exact-Solution Volume and Length Generalization in Transformers
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:13 UTC · 5c66af1fab43 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "Xa7zNGGQhW"- }- ],- "title": "Exact-Solution Volume and Length Generalization in Transformers",- "authors": [],- "abstract": "Research on transformer expressivity shows whether a transformer is capable of solving a given task, but gives little indication of whether the solution, if learned, is generalizable to longer input lengths. We study this question through *normalized exact-solution volume (NESV)*: the fraction of a bounded parameter region that achieves an exact solution on every input of length $n$. For fixed-width, single-layer transformers with $\\log n$-scaled attention, we establish asymptotic bounds on NESV for four tasks: FIRST ($\\Theta(1)$), MAJORITY ($\\Theta(1/(n\\log n))$), INDEX ($\\Theta(1/n^3)$), and PARITY ($0$). These results are consistent with previous empirical results: the faster the NESV decays with input length, the harder it is to length-generalize on that task. Looking deeper into INDEX, our volume analysis reveals two error sources that grow with $n$. Consequently, we study a transformer model that would structurally eliminate one of the terms, theoretically improving the NESV bound to $\\Theta(n^{-1})$, and empirically achieving 85% accuracy when tested at 10 times the training length, compared with the 60\\% accuracy of the original model. We conclude that volume analysis may be a useful approach to identify concrete sources of length sensitivity and thus provide insights into task-specific model refinements.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "af8d6393-9055-40dc-a762-7ca4d90ce587"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Exact-Solution Volume and Length Generalization in Transformers",+ "authors": [],+ "abstract": "Research on transformer expressivity shows whether a transformer is capable of solving a given task, but gives little indication of whether the solution, if learned, is generalizable to longer input lengths. We study this question through *normalized exact-solution volume (NESV)*: the fraction of a bounded parameter region that achieves an exact solution on every input of length $n$. For fixed-width, single-layer transformers with $\\log n$-scaled attention, we establish asymptotic bounds on NESV for four tasks: FIRST ($\\Theta(1)$), MAJORITY ($\\Theta(1/(n\\log n))$), INDEX ($\\Theta(1/n^3)$), and PARITY ($0$). These results are consistent with previous empirical results: the faster the NESV decays with input length, the harder it is to length-generalize on that task. Looking deeper into INDEX, our volume analysis reveals two error sources that grow with $n$. Consequently, we study a transformer model that would structurally eliminate one of the terms, theoretically improving the NESV bound to $\\Theta(n^{-1})$, and empirically achieving 85% accuracy when tested at 10 times the training length, compared with the 60\\% accuracy of the original model. We conclude that volume analysis may be a useful approach to identify concrete sources of length sensitivity and thus provide insights into task-specific model refinements.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}