Factual recall in linear associative memories: sharp asymptotics and mechanistic insights
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:38 UTC · 813711135101 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,23 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "Tv6Zf9bZKi"- }- ],- "title": "Factual recall in linear associative memories: sharp asymptotics and mechanistic insights",- "authors": [- "Alessio Giorlandino",- "Sebastian Goldt",- "Antoine Maillard"- ],- "abstract": "Large language models excel at factual recall, yet the\nfundamental limits of storing input--output associations with neural networks\nremain unclear. We study these limits in a minimal setting: a linear associative\nmemory that maps $p$ input embeddings in $\\mathbb{R}^d$ to their\n$d$-dimensional targets via a linear layer, requiring each mapped input to score its own target\nabove all other outputs. Since all inputs compete for the same outputs, these\nconstraints are strongly correlated, which makes the storage capacity $p_c$ ---\nthe largest number of associations that can be stored --- hard to characterise.\nWe address this in three steps. First, we introduce a decoupled model, in which\neach input competes with its own independent set of outputs, and provide\nnumerical and analytical evidence that it is equivalent to the original model, both in capacity and in the structure of the learnt solution. Second,\nusing tools from statistical physics, we show that the decoupled model has\ncapacity $p_c \\log p_c / d^2 = 1/2$, extend this computation to linear\ntwo-layer networks, and go beyond the capacity by predicting the spectrum of the\nlearnt weights and the storage mechanism. The latter explains how the optimal\nsolution outperforms a naïve Hebbian rule: rather than boosting input--output\nalignments with broad fluctuations, it raises the correct scores just above the\nextreme-value threshold set by the competing outputs. Third, we prove the decoupled model's\ncapacity thresholds rigorously, including in the non-convex two-layer case;\ncombined with a recent proof for the original model, this shows that both\nmodels have the same capacity for full-rank weights. These findings give a sharp\ncharacterisation of factual storage in linear networks, and suggest decoupling as\na general tool for memorisation and learning problems in which each input must be\nmatched to one of an extensive number of outputs.",- "year": 2026,- "venue": "NeurIPS 2026",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "bb66fca3-2df0-4778-9eb9-f3f1cbc9f13d"}
paper.json added
+++ b/paper.json@@ -0,0 +1,13 @@+{+ "title": "Factual recall in linear associative memories: sharp asymptotics and mechanistic insights",+ "authors": [+ "Alessio Giorlandino",+ "Sebastian Goldt",+ "Antoine Maillard"+ ],+ "abstract": "Large language models excel at factual recall, yet the\nfundamental limits of storing input--output associations with neural networks\nremain unclear. We study these limits in a minimal setting: a linear associative\nmemory that maps $p$ input embeddings in $\\mathbb{R}^d$ to their\n$d$-dimensional targets via a linear layer, requiring each mapped input to score its own target\nabove all other outputs. Since all inputs compete for the same outputs, these\nconstraints are strongly correlated, which makes the storage capacity $p_c$ ---\nthe largest number of associations that can be stored --- hard to characterise.\nWe address this in three steps. First, we introduce a decoupled model, in which\neach input competes with its own independent set of outputs, and provide\nnumerical and analytical evidence that it is equivalent to the original model, both in capacity and in the structure of the learnt solution. Second,\nusing tools from statistical physics, we show that the decoupled model has\ncapacity $p_c \\log p_c / d^2 = 1/2$, extend this computation to linear\ntwo-layer networks, and go beyond the capacity by predicting the spectrum of the\nlearnt weights and the storage mechanism. The latter explains how the optimal\nsolution outperforms a naïve Hebbian rule: rather than boosting input--output\nalignments with broad fluctuations, it raises the correct scores just above the\nextreme-value threshold set by the competing outputs. Third, we prove the decoupled model's\ncapacity thresholds rigorously, including in the non-convex two-layer case;\ncombined with a recent proof for the original model, this shows that both\nmodels have the same capacity for full-rank weights. These findings give a sharp\ncharacterisation of factual storage in linear networks, and suggest decoupling as\na general tool for memorisation and learning problems in which each input must be\nmatched to one of an extensive number of outputs.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}