potentialpaper

Factual recall in linear associative memories: sharp asymptotics and mechanistic insights

Alessio Giorlandino, Sebastian Goldt, Antoine Maillard

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Large language models excel at factual recall, yet the fundamental limits of storing input--output associations with neural networks remain unclear. We study these limits in a minimal setting: a linear associative memory that maps pp input embeddings in Rd\mathbb{R}^d to their dd-dimensional targets via a linear layer, requiring each mapped input to score its own target above all other outputs. Since all inputs compete for the same outputs, these constraints are strongly correlated, which makes the storage capacity pcp_c --- the largest number of associations that can be stored --- hard to characterise. We address this in three steps. First, we introduce a decoupled model, in which each input competes with its own independent set of outputs, and provide numerical and analytical evidence that it is equivalent to the original model, both in capacity and in the structure of the learnt solution. Second, using tools from statistical physics, we show that the decoupled model has capacity pclog⁡pc/d2=1/2p_c \log p_c / d^2 = 1/2, extend this computation to linear two-layer networks, and go beyond the capacity by predicting the spectrum of the learnt weights and the storage mechanism. The latter explains how the optimal solution outperforms a naïve Hebbian rule: rather than boosting input--output alignments with broad fluctuations, it raises the correct scores just above the extreme-value threshold set by the competing outputs. Third, we prove the decoupled model's capacity thresholds rigorously, including in the non-convex two-layer case; combined with a recent proof for the original model, this shows that both models have the same capacity for full-rank weights. These findings give a sharp characterisation of factual storage in linear networks, and suggest decoupling as a general tool for memorisation and learning problems in which each input must be matched to one of an extensive number of outputs.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
30 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:45 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper studies a theoretical model of factual recall in linear associative memory. By studying an empirically motivated simplification of the problem, the paper obtains nontrivial results about the storage capacity in the high-dimensional limit.

Strengths:

  • The "decoupled" framework is well-motivated idea for making the problem tractable [4RWq]; the discovery of such a simplification is itself a valuable contribution [zFdB]
  • Combination of empirical and theoretical strategies for tackling a difficult problem is welcome [4RWq]
  • Multiple strands of empirical evidence support the appropriateness of the decoupled problem [4RWq,8VuD]

Weaknesses

  • W1: reliance on non-rigorous replica method [4RWq]. It's a weakness, but I think it's fine. The authors are studying a difficult problem, and the replica method is a powerful strategy for gaining insights in statistical physics.
  • W2: unclear relevance to finite-size networks [4RWq]. The authors should carefully address this concern from 4RWq.
  • W3: theory applies to simplified "decoupled" problem [8VuD] This is a weakness of the paper, but I consider it to be OK. Nonetheless, the authors should do what they can to carefully address the questions from [8VuD].
  • W4: empirical validation was judged insufficient by [zFdB]. The reviewer has some specific comments, which I won't repeat here. The authors should address this carefully.

After rebuttal:

  • W1: [4RWq] gives accepting score.
  • W2: [4RWq] gives accepting score.
  • W3: [8VuD] maintains that this is a weakness, and maintains a rejecting score. However, I believe that this does not stand in the way of acceptance: the original vs decoupled problem link is presented as a conjecture in the paper, and the analysis of the decoupled problem is a substantial step forward.
  • W4: [zFdB] gives accepting score

Recommendation:

This is a solid paper making a substantial step forward, and worthy of acceptance. The authors should incorporate relevant points from the rebuttal into the final version.

Final justification

See above

Area Chair StAf · Meta-reviewOpenReview ↗
Final justification
See above
Read meta-review
Meta-review

The paper studies a theoretical model of factual recall in linear associative memory. By studying an empirically motivated simplification of the problem, the paper obtains nontrivial results about the storage capacity in the high-dimensional limit.

Strengths:

  • The "decoupled" framework is well-motivated idea for making the problem tractable [4RWq]; the discovery of such a simplification is itself a valuable contribution [zFdB]
  • Combination of empirical and theoretical strategies for tackling a difficult problem is welcome [4RWq]
  • Multiple strands of empirical evidence support the appropriateness of the decoupled problem [4RWq,8VuD]

Weaknesses

  • W1: reliance on non-rigorous replica method [4RWq]. It's a weakness, but I think it's fine. The authors are studying a difficult problem, and the replica method is a powerful strategy for gaining insights in statistical physics.
  • W2: unclear relevance to finite-size networks [4RWq]. The authors should carefully address this concern from 4RWq.
  • W3: theory applies to simplified "decoupled" problem [8VuD] This is a weakness of the paper, but I consider it to be OK. Nonetheless, the authors should do what they can to carefully address the questions from [8VuD].
  • W4: empirical validation was judged insufficient by [zFdB]. The reviewer has some specific comments, which I won't repeat here. The authors should address this carefully.

After rebuttal:

  • W1: [4RWq] gives accepting score.
  • W2: [4RWq] gives accepting score.
  • W3: [8VuD] maintains that this is a weakness, and maintains a rejecting score. However, I believe that this does not stand in the way of acceptance: the original vs decoupled problem link is presented as a conjecture in the paper, and the analysis of the decoupled problem is a substantial step forward.
  • W4: [zFdB] gives accepting score

Recommendation:

This is a solid paper making a substantial step forward, and worthy of acceptance. The authors should incorporate relevant points from the rebuttal into the final version.

1 comment
Authors · CommentOpenReview ↗

We thank the Area Chair and all three reviewers for the careful reading of our paper, and we are glad the strengths of our contribution were recognised in the metareview. We now briefly address the four weaknesses raised (full details in our individual responses).

1. Reliance on non-rigorous replica method [4RWq]. The convexity of the problem strongly supports the replica-symmetric ansatz of Claim 1, which falls within a well-established framework where replica symmetry is known to be exact (see the discussion). The separate question of rigorously connecting the original and decoupled problems remains open; we sketch a possible strategy, and discuss why standard approaches do not apply directly, in our responses to Reviewer 8VuD and 4RWq. We will revise the paper to clarify this point.

2. Unclear relevance to finite-size networks [4RWq]. The slow O(1/log⁡p)O(1/\log p) convergence of the capacity threshold is not a weakness of our analysis but a natural feature of the problem: both the scaling d2∼pd^2\sim p log p and its finite-size correction arise from the same extreme-value statistics governing our analysis. We will make sure this is clearer.

3. Theory applies to the simplified "decoupled" problem [8VuD]. In our response to 8VuD, we further explain the connection between the original and decoupled problem and provide new intuition on the asymptotic equivalence. We believe this intuitive argument would greatly benefit the paper and plan to add it in the final version.

4. Empirical validation [zFdB]. In our response to the reviewer, we elaborate on the strength of the experimental evidence, explain how our theory predicts the observed slow convergence, and comment on the scale of experiments feasible for the decoupled problem.

We hope this summary, together with the detailed responses in each reviewer thread, gives a clear picture of how we've engaged with the concerns raised. We also hope that these clarifications and revisions address their concerns and we remain happy to answer any further questions during the remaining discussion period.

Reviewer zFdBOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
4/4
Originality
4/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This works considers the problem of memorizing given input-output pairs by using a two-layer neural network. Classically, this kinds of problem was treated by Gardner and Derrida, where the output pattern takes only two values; i.e., they considered how many random pairs of input and binary-output can be memorized by using a single layer linear neural network. Going beyond such random binary classification problem, this work considers the setup where the output value takes d≫1d\gg1 patters. In this setup, the problem is still non-trivial in the following sense; (i) even with linear neural network, one has to estimate extensive-rank matrix, and (ii) the shared output induces highly complex correlations among many input-output pairs. For this problem, the authors analyzes the ``decoupled problem'' where the output is chosen from dd independent sets for each input. This is based on the empirical observations. By using the replica method of statistical physics, the authors analyzed the Gardner volume in the proportional limit where d,p→∞,plog⁡p/d2→α∈(0,∞)d,p\to\infty,p\log p/d^2\to\alpha\in(0,\infty) with p,dp,d being the number of constrains and input (and output) dimension, respectively. As a result, they obtained the sharp characterization of the capacity threshold and singular value distribution of the learned weight matrices.

Strengths and weaknesses

Strengths

The main strength of the paper lies in its experimental discovery of the equivalence between the original problem and ``decoupled problem'', and the its successfull precise analysis of that decoupled problem. The discovery of mitigating the difficulty of original problem is highly valuable. Moreover, since precise analysis of the matrix estimation problem with extensive rank is non-trivial, analytical results for the decoupling problem itself is significant.

Weaknesses

On the other hand, the experimental validation may not be sufficient.

First, the evidence for the equivalence may not convincing enough. While ``Evidence I'' is promising, following two evidences II and III are not strong enough to convince the readership of NeurIPS that the two problems are actually equivalent.

Second, the authors conjecture that there is a finite size correction of O(1/log(p))\mathcal{O}(1/log(p)) from the asymptotic characterization of the capacity threshold, which is consistent with the large gap between the theoretical estimate and empirical observation in Figure 2. However, the evidence for this log correction in Figure 7 is too noisy and not useful to convince that the scaling is actually of O(1/log⁡p)\mathcal{O}(1/\log p).

Questions
  • Do you have experimental results with d=300−500d=300-500 for decoupled cases? If not, please provide an explanation why they are not included in the paper.
  • Is it possible to derive AT condition for the cases with κ<1\kappa<1?
  • Both the claims 1 and 2 are stated as ``Claim''. But stating a result that can be strongly believed to be correct, such as the RS prediction for convex problem, as a Claim may be misreading, as it could give readers with a non-physics background the impression that it might be incorrect more than it actually is. Therefore, I think it would be good if the name itself could indicate that Claim 1 is potentially more strongly believed than Claim 2. Is this possible?
Limitations

yes

Final justification

I have read the discussions with other reviewers as well as the rebuttals addressing my own comments. I agree that the correspondence between the decoupling problem and the original problem relies heavily on empirical observations and lacks strong mathematically rigorous evidence. Nevertheless, the formula derived for the decoupling problem based on these observations is itself highly non-trivial and appears to yield predictions that align exactly with experimental results in certain regimes. While it currently lacks complete mathematical rigor, it provides a crucial foundation for developing a more rigorous theory in the future.

In summary, the authors offer original and highly non-trivial predictions regarding a relevant problem, which should prove useful for future analysis. The paper is generally well-written, and I believe it is worth acceptance. Therefore, I maintain my rating of 5.

Formatting concerns

N/A

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for their positive assessment of the paper, and in particular of the decoupled formulation and the analytical characterisation it enables. We address their concerns and questions below.

Strength of the evidence

We appreciate that the reviewer finds Evidence I compelling. We agree that Evidence II and Evidence III are indirect, but believe that they provide complementary and non-trivial support for the equivalence conjecture:

  1. Evidence II concerns the singular value distribution of the recovered matrix, a non-trivial observable that differs significantly from its value at initialisation. Its agreement with the closed-form prediction for (DP) therefore tests substantially more than the capacity threshold alone. Moreover, finite-size effects are considerably weaker for this observable, and the agreement between the (DP) prediction and finite-size (OP) experiments supports both our analysis and the proposed equivalence.
  2. Evidence III shows close agreement between the score distributions of (OP) and (DP). This agreement is not generic: for example, the Hebbian ansatz produces a markedly different score distribution, as shown in Appendix D. The observed match therefore suggests that (OP) and (DP) share the same effective recovery mechanism, giving a mechanistic insight on the shared capacity threshold.

Finite-size effects

We agree that Figure 7 alone is noisy, since resolving such a slow decay O(1/log⁡p)O(1/\log p) would require prohibitively large simulations. We stress however that this scaling is not inferred solely from the figure: within the replica calculation, the large-pp expansion of the energetic term in Appendix C.2 predicts precisely an O(1/log⁡p)O(1/\log p) convergence rate for the capacity threshold. Figure 7 is therefore intended as numerical evidence consistent with this analytical prediction, rather than as its sole derivation. We will clarify this point and include larger-scale simulations in the revised paper to improve Figure 7.

Questions

Q1: For the decoupled problem, our simulations were limited to d≤150d \leq 150 by memory requirements. Each of the pp inputs has an independent set of pp competing outputs in Rd\mathbb{R}^d, requiring storage of order O(dp2)O(dp^2). At fixed load, plog⁡p≍d2p\log p \asymp d^2, so this memory cost scales as O~(d5)\widetilde{O}(d^5). By contrast, (OP) uses a single shared set of outputs and requires only O(dp)=O~(d3)O(dp) = \widetilde{O}(d^3) storage. Simulations of (DP) at d=300d = 300–500500 are therefore substantially more demanding than matched-load simulations of (OP). We will make this computational limitation more explicit in the paper.

Q2: The close agreement of the capacity and spectral predictions with gradient-descent experiments provides empirical support for the replica-symmetric assumption in Claim 2. Nevertheless, deriving the de Almeida–Thouless stability condition of the RS solution for κ<1\kappa < 1 would provide an important analytical test of this assumption, and we thank the reviewer for suggesting it. Although we expect such an analysis to be tractable, a complete derivation constitutes a substantial extension beyond the scope of the present rebuttal, and we plan to present it in an extended version of this work.

Q3: We thank the reviewer for this useful suggestion and agree that the nomenclature should distinguish the status of the two statements. We will rename Claim 1 as Result 1, while retaining the term "Claim" for Claim 2. We will also state explicitly that Result 1 is a replica-symmetric prediction for a convex optimisation problem, for which replica symmetry is expected to be exact, whereas Claim 2 concerns the non-convex rank-constrained setting and therefore rests on less firm theoretical grounds.

We thank the reviewer again for their careful assessment. We hope that these clarifications and revisions address their concerns and respectfully invite them to reconsider their score in light of the additional evidence and explanations.

Reviewer zFdB · CommentOpenReview ↗

We thank the authors for their careful response. Overall, my opinion that this is an nice paper has not changed.

  • First, Evidence II and III do appear to provide nontrivial findings. However, they are still indirect evidence. I therefore remain concerned that they may not be sufficient to convince an audience in statistical learning theory, where rigorous arguments are generally preferred. I also have one further question. Why are the finite-size effects small for these quantities, while they remain strong for the capacity? Could the authors address this point?
  • My view that Fig. 7 is noisy has not changed. Even for the current values of p, it would be preferable to run more simulations and reduce the uncertainty (the size of the error bars). However, the discussion in Appendix C.2 is convincing.
  • The answers to questions are satisfactory. In particular, renaming Claim 1 was an excellent choice. It is important to make the level of confidence in each claim clear through the terminology. This will help communicate the value of interdisciplinary research to the machine learning community.
Authors · CommentOpenReview ↗

Although we do not have a formal finite-size analysis, the different convergence rates can be understood at a heuristic level from the distinct mechanisms controlling the two observables. Our replica-method analysis suggests that singular-value measure satisfies a large-deviation principle at speed d2d^2, as in classical random matrix ensembles (see, e.g., Guionnet, 2023). This large deviation principle suggests fluctuations on an O(d−1)O(d^{-1}) scale for the singular value distribution, again as in classical random matrix ensembles: while far from rigorous, this provides a heuristic explanation for the rapid stabilization of the singular-value histograms in Fig. 3.

By contrast, the finite-size correction to the capacity is controlled by the slow finite-pp convergence of the energetic term, and of the free entropy more generally. Appendix C.2 shows that this term is governed by the maximum of pp Gaussian variables and has corrections O(1/log p) up to log log (p) terms. The capacity threshold inherits this logarithmically slow convergence. Furthermore, we acknowledge that running more simulations to reduce the error bars at the considered sizes, and possibly increase the dimension as much as possible, would benefit the manuscript. We thank the reviewer for the suggestion and we propose to have a refined Fig. 7 in the updated version.

We thank again the reviewer for the discussion and we remain available for any further question.

Guionnet, Alice. "Rare events in random matrix theory." International Congress of Mathematicians, 2023.

Reviewer 8VuDOpenReview ↗
Rating
3/6
Confidence
3/5
Quality
2/4
Clarity
2/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies the storage capacity of a linear associative memory model for factual recall. Given random input and output embeddings, the model learns a linear map WW such that each input is scored higher with its associated output than with all competing outputs. The paper introduces a decoupled variant of the original problem, analyzes its capacity using statistical-physics methods, and predicts a threshold in the scaling plog⁡p/d2p \log p/d^2 (pp : the number of associations, dd: the dimension of the input and output embeddings), with critical value αc=1/2\alpha_c=1/2. It also provides numerical evidence that the original and decoupled problems have similar capacity, score distributions, and singular-value spectra.

Strengths and weaknesses

Strength:

S1. The paper studies a theoretical model of factual recall. The scaling plog⁡p/d2p \log p /d^2 is interpretable, and the predicted threshold αc=1/2\alpha_c=1/2 is an interesting result. The comparison with the Hebbian solution is useful, The paper gives a clear mechanistic explanation that the optimal solution raises the correct scores just above the extreme-value threshold of the competing scores. The numerical experiments are reasonably thorough, comparing the original and decoupled problems through retrieval accuracy, singular-value spectra, and score histograms.

Weakness:

W1. The main concern is that the theoretical calculation is performed for the decoupled problem (DP), not for the original problem (OP). The equivalence between the original problem and the decoupled problem is only conjectured. Moreover, the decoupled problem is not shown to be a relaxation or restriction of the original problem, so the derived threshold does not appear to provide an upper or lower bound on the capacity of the original problem. Since this equivalence is central to the paper’s main claim, this is a significant limitation.

Questions

Q1. Can the authors provide any analytical comparison between the original problem and the decoupled problem? In particular, is the decoupled capacity an upper bound, a lower bound, or neither for the capacity of the original problem?

Q2. Is there a theoretical mechanism makes the OP–DP equivalence plausible beyond the numerical agreement?

Q3. Could the authors clarify more explicitly which claims are proved or derived for the decoupled problem and which claims are conjectural for the original problem?

Limitations

The main limitation is that the threshold is derived for the decoupled problem, while the original problem is only conjectured to be equivalent and is not bounded by the decoupled formulation. The connection to factual recall in realistic neural networks remains indirect due to the highly idealized linear-Gaussian model.

Final justification

I have read the other reviews, the authors’ responses, and the subsequent discussion. My overall view remains unchanged.

I appreciate the authors’ clarification and the accepting reviewers’ perspective. The analysis of the decoupled problem is valuable in itself, and the empirical evidence supporting the OP–DP connection is promising. I also agree that the paper may provide a useful basis for future theoretical work.

However, my main concern remains that the analytical results are established for the decoupled problem, while their implications for the original problem rely on the OP–DP equivalence conjecture. To my understanding, the response does not establish a rigorous comparison between OP and DP, nor does it provide a one-sided bound relating their thresholds. Since this connection is central to the main claim, I still view this as an important limitation for a theory paper.

For these reasons, I maintain my score. That said, I would not object if the final decision is to accept, provided that the paper clearly presents the OP–DP equivalence as an empirically supported conjecture rather than an established theoretical result.

Formatting concerns

I did not notice any major formatting, anonymity, or submission-policy concerns.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank Reviewer 8VuD for their careful assessment. We appreciate that they found the capacity scaling and threshold interesting, and the comparison with the Hebbian solution and the resulting mechanistic interpretation useful. We address their main concern and questions below.

W1 and Q1–Q2: Relation between the original and decoupled problems

We agree that the absence of a rigorous connection between (OP) and (DP) is an important limitation of the present work. At this stage, we cannot establish either an upper or a lower bound between their capacities: (DP) is neither a relaxation nor a restriction of (OP), and the available Gaussian comparison inequalities do not provide a monotone ordering between the two problems (we refer our answer to Reviewer 4RWq for more on this point).

However, we stress that we do not simply conjecture the two problems to be equivalent; our conjecture is supported by three complementary numerical observations. Evidence I directly compares their capacity thresholds, while Evidences II and III compare substantially more detailed properties of the solutions. In particular, the singular value distribution measured in (OP) agrees with the analytical prediction derived for (DP) (providing indirect analytical validation for the equivalence, see also the answer to Reviewer zFdB), and the two problems produce closely matching score distributions. These observables are non-trivial: for example, the Hebbian solution yields markedly different score distributions and capacity for instance. Finally, while we agree that this evidence does not replace a proof, we believe that the discovery of this decoupled formulation is also in itself a significant contribution, which will prove useful in future studies of more challenging factual recall setups, such as non-linear models and structured embeddings, see also the response to (Q3) of Reviewer 4RWq.

We can however provide some further insight into the relation between the original and the decoupled problem, as well as another possible approach towards proving the equivalence conjecture, by pinpointing exactly where a difference between the two models arises, at least formally.

For a fixed number rr of "replicas" W1,…,WrW^1,\ldots,W^r, define the scores

zμρa:=1d,eμ⊤Wauρz_{\mu\rho}^a:=\frac{1}{\sqrt{d}} \\, e_\mu^\top W^a u_\rho

and let

EOP(Wa):=⋂a=1r⋂μ=1p⋂ρ≠μzμμa>zμρa\mathcal E_{\mathrm{OP}}(\\{W^a\\}) := \bigcap_{a=1}^r \bigcap_{\mu=1}^p \bigcap_{\rho \neq \mu} \\{ z_{\mu\mu}^a > z_{\mu\rho}^a \\}

Define $ \mathcal E_{\mathrm{DP}}( \{W^a \} )$ analogously, using an independent output set uρ(μ)ρ=1p\\{u_\rho^{(\mu)}\\}_{\rho=1}^p for each input μ\mu. The replica calculations for (OP) and (DP) would coincide at leading order (and in particular the capacity thresholds) if one could prove, uniformly over the replica configurations contributing to the saddle point, that

1d2log⁡P!(EOP(Wa))=1d2log⁡P!(EDP(Wa))+o(1).(1)\frac{1}{d^2} \log \mathbb P\\!\left(\mathcal E_{\mathrm{OP}}(\\{W^a\\})\right) = \frac{1}{d^2} \log\mathbb P \\!\left(\mathcal{E}_{\mathrm{DP}}(\\{W^{a}\\})\right) + o(1). \tag{1}

Notice that for the decoupled scores, the probability above decouples over the values of μ∈[p]\mu \in [p] and can then be connected to the corresponding quantity with purely Gaussian scores (see the discussion on page 18 regarding Gaussian equivalence).

One can use this to already provide some more intuition on the asymptotic equivalence. Consider the case r=1r = 1 for simplicity. Conditionally on U=uρρ=1pU=\\{u_\rho\\}_{\rho=1}^p, the scores above are centered Gaussian, with covariance

EE∣U![zμρ,zνσ]=δμν,1d,uρ⊤W⊤Wuσ:=ΣμρU,δμν.(2)\mathbb E_{E\mid U} \\! \left[z_{\mu\rho} \\, z_{\nu\sigma}\right] = \delta_{\mu\nu} \\, \frac{1}{d} \\, u_\rho^\top W^\top W u_\sigma := \Sigma^U_{\mu \rho} \\,\delta_{\mu \nu}. \tag{2}

The left-hand side of (1) is an orthant probability for a set of jointly Gaussian vectors with covariance given as above (which still depends on the embeddings UU through ΣU\Sigma^U). Note that if ∥W∥op=Θ(1)\|W\|_{\mathrm{op}} = \Theta(1), the individual elements of ΣU\Sigma^U concentrate to leading order on

EU![ΣρσU]=d−1Tr(WW⊤),δρσ,\mathbb E_{U}\\!\left[ \Sigma^U_{\rho\sigma} \right] = d^{-1}\mathrm{Tr}(WW^\top) \\,\delta_{\rho\sigma},

with fluctuations of order O(d−1/2)O(d^{-1/2}). Replacing ΣU\Sigma^U by its expectation would yield the equivalence (1): given the numerical and analytical evidence supporting this equivalence, we expect that indeed, only this expectation contributes to the leading order of the orthant probability. As a remark, assuming eq. (1) for these orthant probabilities is enough to extend our analytical derivation directly to the original problem. Unfortunately, to the best of our knowledge orthant probabilities for Gaussian vectors do not admit a closed-form expression in dimensions d>4d > 4 or in a suitable high-dimensional limit, and we have been unsuccessful in deriving the equivalence in this way.

In the final version of the paper, we will add a paragraph discussing further the equivalence in the terms stated here.

We hope our answer addresses Q1 and Q2. A rigorous proof of the equivalence is an interesting open problem that we are actively working on; see also our response to Q2 of Reviewer 4RWq.

Q3

All the analytical results (Claims 1 and 2) are derived for the decoupled problem, and thus conjectural for the original problem, under the equivalence conjecture. We will emphasize this point more in the revision. We remark that, in both derivations (without or with the rank constraint), the only point that separates (DP) from the original problem (OP) is precisely handling the scores' distribution, as discussed above.

We thank the reviewer again for their careful assessment and for highlighting this critical point. We hope that these clarifications and revisions address their concerns. If so, we would appreciate it if the reviewer reconsiders their score in light of the additional evidence, and explanations. If not, we look forward to clarifying any remaining doubt during the discussion period.

Reviewer 8VuD · CommentOpenReview ↗

Thank you for the detailed response. I appreciate the clarification that the analytical results are for the decoupled problem, and that their implication for the original problem relies on the OP–DP equivalence conjecture.

I agree that the current results are promising as a statistical-physics prediction supported by substantial empirical evidence, and they may provide a useful basis for future work. However, the response does not yet establish a rigorous comparison between OP and DP, nor does it provide a one-sided bound. Since this connection is central to the main claim, my main concern remains.

I therefore do not feel that the response is sufficient for me to raise my score. I nevertheless encourage the authors to make the distinction between results for DP and conjectural implications for OP explicit in the revision.

Authors · CommentOpenReview ↗

We agree that establishing the OP–DP equivalence is an exciting and important direction for future work. Nonetheless, we believe the present work represents a substantial advance in our understanding of factual recall in linear associative memories: it identifies the precise plog⁡p/d2p\log p/d^2 capacity scaling, derives the exact capacity thresholds for both the decoupled problem and Hebbian storage, provides mechanistic insight into how the optimal solution outperforms the Hebbian rule, and introduces the decoupled formulation as a new analytical technique, supported by several complementary empirical observations. We therefore view the paper as an important step forward, even as a proof of the equivalence conjecture remains open.

Reviewer 4RWqOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper investigates the fundamental memory capacity limits of linear associative memories, where the goal is to store pp associations between dd-dimensional input and output embeddings. The authors identify that the shared output constraint in the original problem makes analytical characterization difficult due to strong correlations between constraints. To address this, they introduce a decoupled problem where each input has an independent set of competing outputs, conjectured to be equivalent to the OP in the high-dimensional limit. Using tools from statistical physics, specifically the replica method, they derive a sharp capacity threshold of 1/2 and characterize the singular value distribution of optimal weights.

Strengths and weaknesses

Strengths

  • The introduction of the "decoupled" framework is a clever and well-motivated approach that successfully renders the problem analytically tractable.
  • The use of statistical physics to derive sharp thresholds provides a precise characterization of the memory capacity, going beyond simple heuristic arguments.
  • The paper provides valuable insight into the storage mechanism, showing that the optimal solution achieves higher capacity than the Hebbian ansatz
  • The authors present multiple strands of evidence—capacity thresholds, singular value distributions, and score histograms—to justify the equivalence conjecture between the OP and DP.
  • The generalization to rank-constrained matrices adds significant practical relevance by modeling two-layer linear networks.

Weaknesses

  • As acknowledged by the authors, the replica method is inherently non-rigorous. While standard in this field, the lack of a rigorous proof for the equivalence conjecture and the capacity threshold is a notable limitation.

  • The convergence to the asymptotic limit is slow (O(1/log⁡p)\mathcal{O}(1/\log p)). While this is discussed, it remains a practical limitation, as the high-dimensional theoretical predictions may differ noticeably from empirical results in realistic, finite-size networks.

Questions
  • Assumptions on Prior: The theoretical derivation for the rank-constrained case relies on specific assumptions about the distribution of singular values at initialization. Can the authors elaborate on how sensitive the theoretical capacity threshold is to this specific choice of prior?
  • Path to Rigorous Proof: In the outlook, you mention that proving the equivalence between the OP and DP might require new probabilistic tools. What are the specific technical hurdles preventing the use of current Gaussian universality approaches to disentangle these constraints?
  • Impact of Structured Data: The derivations assume isotropic Gaussian embeddings. Given that real-world language embeddings exhibit strong semantic correlations, how robust is the conjectured capacity threshold if the inputs and outputs have non-trivial covariance structures?
Limitations

na

Final justification

post rebuttal clarifications

Formatting concerns

NA

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for their detailed assessment and appreciation of our work. We address the weaknesses and questions in turn.

W1

We agree that the replica method we use is non-rigorous, but we note that it has become a standard method used in many publications at NeurIPS or ICML. In this case, the convexity of the problem provides strong support for the replica-symmetric ansatz used in Claim 1, as replica symmetry has been proved to be exact in a wide range of convex problems in high-dimensional statistics, see e.g. [4]. As such, this result falls within a well-established framework whose predictions are known to be exact.

A separate open question is to establish rigorously the asymptotic equivalence between the original and decoupled problems, as highlighted by the reviewer. A natural proof strategy is to leverage classical Gaussian comparison inequalities to compare the two problems: we provide further intuition on this in our response to Reviewer 8VuD (W1 and Q1–Q2), and explain in our response to Q2 below why these tools do not apply directly.

We will revise the paper to clarify the non-rigorous status of the replica calculation, distinguish it from the equivalence conjecture, and discuss this prospective proof strategy.

W2

While the asymptotic limit of the capacity threshold is approached with the rate O(1/log⁡p)O(1/\log p), this is not an artefact of our analysis: instead, the rate highlights an important feature of the problem that our analysis unveils: both the capacity scaling d2∼plog⁡pd^2\sim p\log p and the finite-size correction arise from the extreme-value statistics of the maximum of pp Gaussian variables.

While the capacity threshold exhibits slow convergence, other quantities converge substantially faster: for example, the predicted singular value distribution of the optimal matrix already agrees well with experiments at moderate dd (Fig. 3). We will emphasize and clarify this distinction in the revision.

Q1: Assumptions on the prior

The capacity threshold and the spectral distribution at capacity derived in Claim 2 are actually independent of the prior: only the volume of solutions below capacity naturally depends on the underlying prior distribution defining said volume.

If the reviewer was referring to the "initialisation" spectrum shown in Fig. 3, we want to highlight that this spectrum is not an assumption entering the capacity calculation. It corresponds only to our experiments, in which the entries of both linear layers are initialised i.i.d. Gaussian: we plot it to emphasise that the learned matrix has a non-trivial spectral structure that differs markedly from initialisation and is accurately predicted by Claim 2. Choosing a different initialisation would change this reference spectrum, but not the predicted capacity threshold or the spectral distribution at capacity. We will clarify this distinction in the revised paper.

Q2: Path to a rigorous proof

The reviewer correctly identifies Gaussian universality and comparison methods as natural candidates for proving the equivalence between (OP) and (DP). We explored these approaches during this work, and encountered two main obstacles.

  1. Correlated constraints. Most Gaussian universality results in high-dimensional statistics assume independent samples or constraints and compare them with an independent Gaussian model (see, e.g., [2, 3] and references therein). In (OP), the constraints are intrinsically correlated because they share the same output embeddings. We attempted to adapt the Gaussian interpolation arguments developed in the literature just mentioned, but this dependence generates additional cross-correlation terms that we have so far been unable to control.

  2. Bilinear Gaussian structure. A second natural attempt, at least to bound the capacity of (OP) in terms of the one of (DP), is to use inequalities for Gaussian processes, such as Slepian's or Gordon's [1]. These results compare the suprema of Gaussian processes under suitable covariance comparisons. Here, however, the scores

sμρ=uρ⊤Weμs_{\mu\rho}=u_\rho^\top W e_\mu

are bilinear (non-convex) functions of two independent families of Gaussian vectors, which prevented us from applying these tools to compare (DP) and (OP).

We emphasise that these obstacles do not rule out interpolation or comparison-based proofs, but, to our knowledge, overcoming them appears to require extensions of the existing tools. We also refer to the answer to Reviewer 8VuD, where we describe this equivalence in terms of orthant probabilities for Gaussian vectors, which might also be tractable with other tools. These different approaches are the subject of ongoing work, and we will summarise these technical difficulties in the revised paper.

Q3: Impact of structured data

We thank the reviewer for raising this important question. As a first observation, non-trivial covariance alone does not change the capacity threshold. Indeed, suppose that the input and output embeddings are sampled independently as e=ΣE1/2ge=\Sigma_E^{1/2}g, u=ΣU1/2hu=\Sigma_U^{1/2}h, where g,h∼N(0,Id)g,h\sim\mathcal{N}(0,I_d). If ΣE\Sigma_E and ΣU\Sigma_U are full rank, their effect can be absorbed into the change of variables W~=ΣU1/2WΣE1/2\widetilde W=\Sigma_U^{1/2}W\Sigma_E^{1/2}, which leaves the feasibility problem, and hence the capacity threshold, unchanged. If either covariance is rank deficient, only the corresponding support subspace contributes, reducing the effective matrix dimension.

Real-world embeddings may exhibit richer structure that cannot be removed by whitening, including non-Gaussianity, dependencies across embeddings, and correlations between the embeddings and the association f⋆f^\star to be memorised. Determining how these properties affect the capacity, and whether the decoupled problem remains the correct effective description in these more complex scenarios, constitutes an important direction for future work. We will add a remark clarifying both the covariance invariance and these open extensions.

We hope our answer addresses the concern raised in Q1. We also thank the reviewer for raising the questions in Q2 and Q3, as they highlight genuinely difficult and interesting problems that we plan to investigate in future work.

We thank the reviewer again for their careful assessment and hope that our responses and planned revisions address their concerns. We respectfully invite them to reconsider their assessment and raise their score if they find it to be the case.

[1] Vershynin, Roman. "High-dimensional probability." (2025).

[2] A. Montanari and B. N. Saeed. "Universality of empirical risk minimization." Conference on Learning Theory. PMLR, 2022.

[3] A. S. Bandeira and A. Maillard. "Exact threshold for approximate ellipsoid fitting of random points." Electronic Journal of Probability 30 (2025): 1-46.

[4] J. Barbier, D. Panchenko, and M. Sáenz. "Strong replica symmetry for high-dimensional disordered log-concave Gibbs measures." Information and Inference: A Journal of the IMA, 2022.

Reviewer 4RWq · CommentOpenReview ↗

Rebuttal comment

Thank you for the rebuttal. The insight that the slow convergence rate is a fundamental feature of the extreme-value statistics is a point that will strengthen the manuscript. I suggest the authors to stress more in the revised version that the capacity threshold and spectral distribution in Claim 2 are independent of the prior. Furthermore, the observation that full-rank covariance can be absorbed via a change of variables addresses my question on structured data. As many concerns are now clarified, I will update my score accordingly.

Authors · CommentOpenReview ↗

We thank the reviewer for their thoughtful follow-up and for updating their score. We appreciate these suggestions and will emphasise both points in the revised manuscript, as well as add a discussion of the extension to structured data.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…