Cheap in Memory, Not in Capacity: Depth-Weighted Sample Complexity of Gated Lookup Injection
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:05 UTC · 45721aa2c9d0 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "CtC4OdBY8O"- }- ],- "title": "Cheap in Memory, Not in Capacity: Depth-Weighted Sample Complexity of Gated Lookup Injection",- "authors": [],- "abstract": "Lookup tables are treated as ``free'' parameters because they are indexed\nrather than used as matrix multiplies. We show they are not free\nstatistically. Working in the tight VC framework for hard-attention\nTransformers, we study \\emph{gated lookup injection}\n(GLI), a class covering per-layer embeddings, $n$-gram tables, and\nconditional-memory modules, and give two results that together settle the\nquestion. First, an effective-depth accounting\n$\\Phi=\\sum_\\ell w_\\ell(L-\\ell+1)$ survives Transformer-specific $T^3$ attention\nbranching and an input-keyed multiplicative gate, giving\n$\\mathrm{VCdim}=O(\\Phi\\log(TL\\Phi))$. Second and centrally, we construct a\n\\emph{lookup-only} recursive-retrieval witness that \\emph{attains}\n$\\Omega(\\Omega_{\\Lambda}\\log T)$ in the exact-arithmetic tightness window: every\ncapacity-carrying parameter in the construction sits in the table, so indexed\nentries realise the same statistical capacity rate as ordinary parameters\ndespite never appearing in a matrix multiply. At $b$-bit precision the depth\nweighting saturates at $\\Theta(b/\\log T)$ retrieval steps, yet each table\nentry still realises $\\Omega(b)$ bits of capacity, matching the counting\nceiling any parameter obeys: the capacity result survives finite precision\nintact, even though the placement lever collapses. State-keyed lookup admits\nonly a weaker upper bound. Exact experiments verify the construction and\nbranching claims; a GPU implementation confirms the precision law within $2\\%$\nand scales the witness to $1.3\\times10^5$ keys, checking $449{,}184$ labels\nwith zero mismatches. A controlled placement study with a frozen backbone is\nconsistent with $\\Phi$ governing realised capacity, sublinearly, though SGD is\nnot shown to attain the VC ceiling itself.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "6b147cb8-49af-4ebe-9e17-7336ab3001ad"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Cheap in Memory, Not in Capacity: Depth-Weighted Sample Complexity of Gated Lookup Injection",+ "authors": [],+ "abstract": "Lookup tables are treated as ``free'' parameters because they are indexed\nrather than used as matrix multiplies. We show they are not free\nstatistically. Working in the tight VC framework for hard-attention\nTransformers, we study \\emph{gated lookup injection}\n(GLI), a class covering per-layer embeddings, $n$-gram tables, and\nconditional-memory modules, and give two results that together settle the\nquestion. First, an effective-depth accounting\n$\\Phi=\\sum_\\ell w_\\ell(L-\\ell+1)$ survives Transformer-specific $T^3$ attention\nbranching and an input-keyed multiplicative gate, giving\n$\\mathrm{VCdim}=O(\\Phi\\log(TL\\Phi))$. Second and centrally, we construct a\n\\emph{lookup-only} recursive-retrieval witness that \\emph{attains}\n$\\Omega(\\Omega_{\\Lambda}\\log T)$ in the exact-arithmetic tightness window: every\ncapacity-carrying parameter in the construction sits in the table, so indexed\nentries realise the same statistical capacity rate as ordinary parameters\ndespite never appearing in a matrix multiply. At $b$-bit precision the depth\nweighting saturates at $\\Theta(b/\\log T)$ retrieval steps, yet each table\nentry still realises $\\Omega(b)$ bits of capacity, matching the counting\nceiling any parameter obeys: the capacity result survives finite precision\nintact, even though the placement lever collapses. State-keyed lookup admits\nonly a weaker upper bound. Exact experiments verify the construction and\nbranching claims; a GPU implementation confirms the precision law within $2\\%$\nand scales the witness to $1.3\\times10^5$ keys, checking $449{,}184$ labels\nwith zero mismatches. A controlled placement study with a frozen backbone is\nconsistent with $\\Phi$ governing realised capacity, sublinearly, though SGD is\nnot shown to attain the VC ceiling itself.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}