ELVIA analysis of: Nonparametric Modern Hopfield Models — Problem 2: The printed retrieval-error bound is violated within its stated memory neighborhood
Original paper: Jerry Yao-Chieh Hu; Bo-Yu Chen; Dennis Wu; Feng Ruan; Han Liu. Nonparametric Modern Hopfield Models. Proceedings of the 42nd International Conference on Machine Learning, vol. 267, 2025. https://proceedings.mlr.press/v267/hu25c.html
Source version: Published ICML 2025 proceedings PDF (PMLR 267)
Source location: PDF p. 8, Theorem 4.1 and Eq.(4.1) PDF p. 21, Appendix D.4
Question: What does the recorded analysis establish about “The printed retrieval-error bound is violated within its stated memory neighborhood”?
Bounded finding:
\(T(0.1)=\tanh1\), so actual error is 0.238405844. Printed upper bound is \(2\exp(-11)=0.00003340340158\), smaller by a factor exceeding 7,137. D.4 also replaces the restricted normalizer by the full memory normalizer. Checks completed: counterevidence. Checks completed: severity. Relevant frozen source passages/static source, existing actual check output and independent analytic integration; no author-code execution. The original page pixels confirm the competitor inner product used in the report. The full-support, retained-target, interior-query example violates the printed bound by a factor above 7137. The report's probability-ratio repair is valid for its stated fixed-support noiseless subcase only. Major remains supported by the principal retrieval-bound failure.
Recorded check:
Appendix D.4 instead introduces query-dependent competitor products, but also replaces restricted-support softmax weights by weights with a denominator over all \(M\) memories. Those denominators differ when \(k<M\). A valid elementary bound for the displayed formula, with \(k\ge2\) and \(\mu\in\mathcal M\), is obtained by defining \[g_\mu(x)=\langle x,\xi_\mu\rangle-
\max_{j\in\mathcal M\setminus\{\mu\}}\langle x,\xi_j\rangle.\] Indeed, with \(q=(k-1)e^{-\beta g_\mu(x)}\), \[\left\lVert T_\mathcal M(x)-\xi_\mu\right\rVert
\le 2m(1-p^\mathcal M_\mu(x))
\le \frac{2mq}{1+q}\le2m(k-1)e^{-\beta g_\mu(x)}.\] The first inequality is the triangle inequality applied to \(\sum_{j\ne\mu}p^\mathcal M_j(\xi_j-\xi_\mu)\); the second follows by bounding the sum of competitor-to-target exponential ratios by \(q\). For \(k=1\) the retrieval error is zero. This repair is proved here only for uncontaminated keys and the displayed restricted softmax. It does not restore the paper’s noisy-key assertions or the other corollaries automatically.
The location of an erroneous inner product may be typographical in origin, but its quantitative consequence is substantive. The main guaranteed bound is false, supporting Major.
Case-wide limitations:
- 0199-P1 — SVR sample constraints neither guarantee neighborhood retrieval nor identify the stated softmax optimizer — Counterevidence and alternative readings: Finite-sample SVR generalization may be studied under additional regularity and uniform approximation assumptions; these are not the universal guarantee stated.
- 0199-P1 — SVR sample constraints neither guarantee neighborhood retrieval nor identify the stated softmax optimizer — Counterevidence and alternative readings: Adding the natural bound on the second slack family does not repair the explicit linear example.
- 0199-P1 — SVR sample constraints neither guarantee neighborhood retrieval nor identify the stated softmax optimizer — Counterevidence and alternative readings: The exponential kernel expansion itself is valid, but does not determine the learned dual coefficients.
- 0199-P2 — The printed retrieval-error bound is violated within its stated memory neighborhood — Counterevidence and alternative readings: This is not an OCR ambiguity or a missing retained-target assumption.
- 0199-P2 — The printed retrieval-error bound is violated within its stated memory neighborhood — Counterevidence and alternative readings: A query-dependent score-gap bound is available for uncontaminated memories, but it is a different statement and does not establish the noisy theorem or downstream corollaries.
- 0199-P3 — Sparse retrieval can have larger error than dense retrieval, invalidating dependent proof steps — Counterevidence and alternative readings: The sparse target probability is higher; that alone cannot order vector-valued errors because removed distractors may cancel.
- 0199-P3 — Sparse retrieval can have larger error than dense retrieval, invalidating dependent proof steps — Counterevidence and alternative readings: The report does not declare the general fixed-point statement false: it identifies failure of the supplied comparison-based proof and distinguishes convergence to a nearby fixed point from convergence to the stored memory.
- 0199-P3 — Sparse retrieval can have larger error than dense retrieval, invalidating dependent proof steps — Counterevidence and alternative readings: Same-input error comparison, even if true, cannot directly compare different trajectories.
- 0199-P4 — The stated radius makes the capacity proof's separation condition impossible — Counterevidence and alternative readings: A freely chosen smaller radius can avoid this algebraic incompatibility but changes the stated radius and requires a new capacity argument.
- 0199-P4 — The stated radius makes the capacity proof's separation condition impossible — Counterevidence and alternative readings: The calculation invalidates the presented derivation, not the possible existence of exponential capacity under other hypotheses or arguments.
- 0199-P4 — The stated radius makes the capacity proof's separation condition impossible — Counterevidence and alternative readings: The full-support case avoids possible ambiguity about the radius over masked versus all memories.
- 0199-P5 — Released sparse kernels assign positive mass to excluded memories — Counterevidence and alternative readings: The code also contains other dense/sparsemax modules, but these do not correct the inspected sparse branch imports.
- 0199-P5 — Released sparse kernels assign positive mass to excluded memories — Counterevidence and alternative readings: This establishes a defect in the reviewed released snapshot; it does not establish the precise code version used for published experiments or quantify any score impact.
- Not performed: Author-code execution
- Not performed: Training/evaluation reproduction
- Not performed: Downloaded data or package installation
- Not performed: New benchmark runs or timing/FLOP measurement
- Not performed: Full codebase security/correctness audit
- Not performed: Exhaustive literature/erratum survey
- Not performed: Parent independent integration was outside the auxiliary's work; completed by parent, see /parent_integration.
- Not performed: Final report compilation or report PDF visual QA by this auxiliary
- Unresolved: Published experimental code commit and masks/seeds/raw logs
- Unresolved: Empirical effects of fixing released support masking
- Unresolved: Corrected general capacity theorem and noisy-key retrieval guarantee
- The original report's complete scope, counterevidence and unresolved questions are retained below.
- This import checks publication format and identity; it does not repeat scientific review.
- Independent human scientific review is pending; author adoption has not been requested.
Source problem ID: p2
Source report index: 2
Original source excerpts (verbatim):
We establish that this sparse model inherits the appealing theoretical properties of its dense analogue — connection with transformer attention, fixed point convergence and exponential memory capacity.
Source: Published ICML 2025 proceedings PDF (PMLR 267)
Locator: Abstract, PDF p. 1
Source PDF SHA-256: b4e7817eff9051642973c055a248399da35c60a92f5aba8a86cd64677b40de47
Review status: Independent review pending
Case: icml2025-0199-nonparametric-modern-hopfield-models
Revision: 1
Record created: 2026-10-26T04:21:21.357774+00:00
Permalink: https://elvia-atlas.org/atlas/cases/icml2025-0199-nonparametric-modern-hopfield-models.html#problem-2
Versioned public record: https://elvia-atlas.org/atlas/evidence/icml2025-0199-nonparametric-modern-hopfield-models/records/icml2025-0199-nonparametric-modern-hopfield-models.r1.json
Canonical record SHA-256: cb0fed9166789ba798672dbb34e2d097517d2dc090d3f9996d40be783bbb5e60
The page follows the latest revision; the versioned record identifies this snapshot.
Analysis citation:
Minhao Liu. ELVIA analysis of: Nonparametric Modern Hopfield Models — Problem 2: The printed retrieval-error bound is violated within its stated memory neighborhood. ELVIA, 2026. https://elvia-atlas.org/atlas/cases/icml2025-0199-nonparametric-modern-hopfield-models.html#problem-2
Case icml2025-0199-nonparametric-modern-hopfield-models; revision 1; Independent review pending. Assessment is limited to the inspected claims. Versioned record: https://elvia-atlas.org/atlas/evidence/icml2025-0199-nonparametric-modern-hopfield-models/records/icml2025-0199-nonparametric-modern-hopfield-models.r1.json
Claim in the source (paraphrase):
Write \(\Xi=(\xi_1,\ldots,\xi_M)\), with \(\xi_j\in\mathbb R^d\), \(m=\max_j\left\lVert \xi_j\right\rVert\) and \[R=\tfrac12\min_{i\ne j}\left\lVert \xi_i-\xi_j\right\rVert,\qquad
S_\mu=\{x:\left\lVert x-\xi_\mu\right\rVert\le R\}.\] For uncontaminated memories, the displayed sparse map is \[
T_\mathcal M(x)=\sum_{j\in\mathcal M}p^\mathcal M_j(x)\xi_j,\qquad
p^\mathcal M_j(x)=\frac{\exp(\beta\langle x,\xi_j\rangle)}
{\sum_{\ell\in\mathcal M}\exp(\beta\langle x,\xi_\ell\rangle)}.\] The dense map uses all memories. All counterexamples below set the contamination to zero, retain the target memory, use \(\beta>0\), and place the query within the prescribed target ball. Thus they do not exploit the acknowledged failure mode of randomly deleting the target.
Theorem 4.1, Eq. (4.1), p. 8 bounds the retrieval error by \[
m(M+k-2)\exp\left\{-\beta\left(
\langle\xi_\mu,x\rangle-\max_{\nu\ne\mu}\langle\xi_\mu,\xi_\nu\rangle
\right)\right\}.\] The second inner product was confirmed in the rendered original PDF; it is not an extraction artifact.
Choose \(d=1\), \(M=k=2\), \(\mathcal M=\{1,2\}\), memories \((1,-1)\), \(\beta=10\), target \(\xi_1=1\) and \(x=1/10\). Then \(m=R=1\), \(|x-\xi_1|=9/10<R\), the target is retained, and \(k=M\) is allowed. The actual map gives \[T_\mathcal M(1/10)=\tanh(1),\qquad
\left\lVert T_\mathcal M(1/10)-1\right\rVert=0.2384058440\ldots.\] The asserted upper bound is \[2\exp[-10(1/10-(-1))]=2e^{-11}
=0.0000334034\ldots .\] The actual error exceeds it by a factor of about 7137.17.
Full finding analysis:
Appendix D.4 instead introduces query-dependent competitor products, but also replaces restricted-support softmax weights by weights with a denominator over all \(M\) memories. Those denominators differ when \(k<M\). A valid elementary bound for the displayed formula, with \(k\ge2\) and \(\mu\in\mathcal M\), is obtained by defining \[g_\mu(x)=\langle x,\xi_\mu\rangle-
\max_{j\in\mathcal M\setminus\{\mu\}}\langle x,\xi_j\rangle.\] Indeed, with \(q=(k-1)e^{-\beta g_\mu(x)}\), \[\left\lVert T_\mathcal M(x)-\xi_\mu\right\rVert
\le 2m(1-p^\mathcal M_\mu(x))
\le \frac{2mq}{1+q}\le2m(k-1)e^{-\beta g_\mu(x)}.\] The first inequality is the triangle inequality applied to \(\sum_{j\ne\mu}p^\mathcal M_j(\xi_j-\xi_\mu)\); the second follows by bounding the sum of competitor-to-target exponential ratios by \(q\). For \(k=1\) the retrieval error is zero. This repair is proved here only for uncontaminated keys and the displayed restricted softmax. It does not restore the paper’s noisy-key assertions or the other corollaries automatically.
The location of an erroneous inner product may be typographical in origin, but its quantitative consequence is substantive. The main guaranteed bound is false, supporting Major.
Finding and scope:
\(T(0.1)=\tanh1\), so actual error is 0.238405844. Printed upper bound is \(2\exp(-11)=0.00003340340158\), smaller by a factor exceeding 7,137. D.4 also replaces the restricted normalizer by the full memory normalizer. Checks completed: counterevidence. Checks completed: severity. Relevant frozen source passages/static source, existing actual check output and independent analytic integration; no author-code execution. The original page pixels confirm the competitor inner product used in the report. The full-support, retained-target, interior-query example violates the printed bound by a factor above 7137. The report's probability-ratio repair is valid for its stated fixed-support noiseless subcase only. Major remains supported by the principal retrieval-bound failure.
Recorded correction and verification scope:
For noiseless keys/values, retained target and fixed mask, define \(g=\langle x,\xi_\mu\rangle-\max_{j\ {\rm retained},j\ne\mu}\langle x,\xi_j\rangle\) and \(q=(k-1)\exp(-\beta\cdot g)\). Then \(\|T-\xi_\mu\|\le2m q/(1+q)\le2m(k-1)\exp(-\beta\cdot g)\); \(k=1\) gives exact retrieval. The report supplies the complete probability-ratio and triangle-inequality proof.
Displayed problem statement:
Write \(\Xi=(\xi_1,\ldots,\xi_M)\), with \(\xi_j\in\mathbb R^d\), \(m=\max_j\left\lVert \xi_j\right\rVert\) and \[R=\tfrac12\min_{i\ne j}\left\lVert \xi_i-\xi_j\right\rVert,\qquad
S_\mu=\{x:\left\lVert x-\xi_\mu\right\rVert\le R\}.\] For uncontaminated memories, the displayed sparse map is \[
T_\mathcal M(x)=\sum_{j\in\mathcal M}p^\mathcal M_j(x)\xi_j,\qquad
p^\mathcal M_j(x)=\frac{\exp(\beta\langle x,\xi_j\rangle)}
{\sum_{\ell\in\mathcal M}\exp(\beta\langle x,\xi_\ell\rangle)}.\] The dense map uses all memories. All counterexamples below set the contamination to zero, retain the target memory, use \(\beta>0\), and place the query within the prescribed target ball. Thus they do not exploit the acknowledged failure mode of randomly deleting the target.
Theorem 4.1, Eq. (4.1), p. 8 bounds the retrieval error by \[
m(M+k-2)\exp\left\{-\beta\left(
\langle\xi_\mu,x\rangle-\max_{\nu\ne\mu}\langle\xi_\mu,\xi_\nu\rangle
\right)\right\}.\] The second inner product was confirmed in the rendered original PDF; it is not an extraction artifact.
Choose \(d=1\), \(M=k=2\), \(\mathcal M=\{1,2\}\), memories \((1,-1)\), \(\beta=10\), target \(\xi_1=1\) and \(x=1/10\). Then \(m=R=1\), \(|x-\xi_1|=9/10<R\), the target is retained, and \(k=M\) is allowed. The actual map gives \[T_\mathcal M(1/10)=\tanh(1),\qquad
\left\lVert T_\mathcal M(1/10)-1\right\rVert=0.2384058440\ldots.\] The asserted upper bound is \[2\exp[-10(1/10-(-1))]=2e^{-11}
=0.0000334034\ldots .\] The actual error exceeds it by a factor of about 7137.17.
Complete retained report:
Abstract: This review checks the published nonparametric construction, retrieval guarantees, capacity argument, and corresponding released implementations. Five substantive problems are established: finite sample constraints are promoted to neighborhood guarantees and a prescribed softmax map is identified with an incompatible regression optimum; the printed retrieval bound is false; the universal sparse-versus-dense comparison is false and its convergence argument does not follow; the radius used in the capacity proof makes its required separation event impossible in the stated spherical setting; and released sparse implementations retain positive weights on excluded memories. The supported overall assessment is Major. These are initial AI-generated scientific findings, with adjudication pending; numerical benchmarks have not been reproduced.
Date: 24 October 2026
Title: Scientific Review of Nonparametric Modern Hopfield Models
# Identity, version, and scope
The reviewed article is J. Y.-C. Hu, B.-Y. Chen, D. Wu, F. Ruan and H. Liu, Nonparametric Modern Hopfield Models, ICML 2025, PMLR 267, 24232–24269, assigned ID I25-43568 (0199) [paper]. Page references below are one-based PDF pages, which coincide with the article’s printed pages 1–38. The acquired PDF SHA-256 is
b4e7817eff9051642973c055a248399d
a35c60a92f5aba8a86cd64677b40de47
Its embedded appendices were examined, with detailed checks of Sections 3–4 and Appendices D.1–D.8. Sections 1–2, Appendix B, the family and layer constructions in E–F, and the experimental design and reported results in G were also read. The source snapshot is |MAGICS-LAB/NonparametricHopfield|, commit |13ce6a8d9bec319beb8cb7f21ce42fc5eae32489|, dated 8 January 2024 [code]. Relevant kernels, model wiring and retrieval entry points were inspected statically. No author code, training, GPU benchmark or dataset experiment was executed.
The official arXiv record, checked on 24 October 2026, lists v2 of 9 June 2025 as the latest version and identifies it as the camera-ready version [arxiv]. No separate correction was identified in that record or the inspected repository documentation. This bounded version check does not establish absence of every possible erratum. The acquisition manifest records the separate OpenReview supplement as unavailable because its metadata API returned 403; the complete embedded supplement was available.
# Definitions and assessment
Equation reference: eq:map. Write \(\Xi=(\xi_1,\ldots,\xi_M)\), with \(\xi_j\in\mathbb R^d\), \(m=\max_j\left\lVert \xi_j\right\rVert\) and \[R=\tfrac12\min_{i\ne j}\left\lVert \xi_i-\xi_j\right\rVert,\qquad
S_\mu=\{x:\left\lVert x-\xi_\mu\right\rVert\le R\}.\] For uncontaminated memories, the displayed sparse map is \[
T_\mathcal M(x)=\sum_{j\in\mathcal M}p^\mathcal M_j(x)\xi_j,\qquad
p^\mathcal M_j(x)=\frac{\exp(\beta\langle x,\xi_j\rangle)}
{\sum_{\ell\in\mathcal M}\exp(\beta\langle x,\xi_\ell\rangle)}.\] The dense map uses all memories. All counterexamples below set the contamination to zero, retain the target memory, use \(\beta>0\), and place the query within the prescribed target ball. Thus they do not exploit the acknowledged failure mode of randomly deleting the target.
Major is used because the demonstrated failures affect the paper’s principal nonparametric identification, sparsity advantages, theoretical guarantees or implementation of the proposed model. This judgment does not require every experiment to fail, or deny that valid efficient attention mechanisms and exponential-capacity Hopfield models exist.
# Problem 1: the regression construction does not provide the stated retrieval map
## Claims and locations
Equation (3.2), Theorem 3.1 and the paragraph crossing pp. 5–6 claim that, for any feature map, fitting the finite query–memory sample gives \(\epsilon\)-retrieval for every \(x\in S_\mu\). Lemma 3.1, Eq. (3.5), further identifies the fitted regressor with the dense softmax map. The decisive proof step is on p. 20, Appendix D.2: the predetermined output memory is set equal to the vector of optimal dual coefficients divided by a feature normalization. Appendix D.3 repeats the identification for the sparse model.
## Complete neighborhood counterexample
Set \(d=1\), \(M=2\), \((\xi_1,\xi_2)=(1,-1)\), zero contamination, \(\Phi(x)=x\), \(C=1\) and \(\epsilon'=\epsilon=1/10\). The linear feature map is legitimate and \(R=1\). In the displayed problem the upper slack constraint forces \(\eta_1=\eta_2=0\). The two upper residual inequalities then give \[1-w\le 1/10,\qquad -1+w\le 1/10,
\quad\text{hence}\quad 9/10\le w\le11/10 .\] At \(w=9/10\) all slacks may be zero. Since every feasible objective is at least \(w^2/2\), its minimizer is \(w^*=9/10\). The training errors are both exactly \(1/10\).
Now use \(x=1/2\). It lies strictly in \(S_1\) because \(|x-\xi_1|=1/2<1\). Nevertheless, \[T_{\rm SVR}(1/2)=9/20,\qquad
|T_{\rm SVR}(1/2)-1|=11/20>1/10 .\] A finite set of constraints does not enforce the claimed uniform neighborhood property. This counterexample remains valid if the intended upper bound on both signs of slack is supplied.
## The softmax formula is not the stated optimizer
Use the same memories, \(C=1\) and \(\epsilon'=\epsilon=1/10\), with the exponential-feature construction and \(\beta=1\). Equation (3.5) would give \[T_{\rm Dense}(1)=\tanh(1)=0.7615941559\ldots.\] But the positive training residual is \(1-\tanh(1)=0.2384058440\ldots>1/10\), whereas \(\eta_1=0\). Thus the proposed map is not even feasible for the displayed optimization problem. This is not a difficulty inherent to interpolating the two samples: the exponential kernel Gram matrix on \(\{-1,1\}\) is nonsingular, and positive finite feature normalizations preserve this property.
The representer identity in Theorem 3.1 leaves data-dependent dual coefficients in the solution. It does not allow the labels, which were fixed before optimization, to be redefined afterward as those coefficients. Nor can arbitrary choices of \(C\) and the error tube disappear without an additional argument.
## Counterevidence, impact and bounded repair
The Taylor expansion of the exponential dot-product kernel in Lemmas D.2–D.3 is valid. A normalized kernel smoother with memory values can indeed reproduce Eq. [eq:map] (#eq:map); that useful algebraic construction is not a proof that this smoother minimizes Eq. (3.2). The finite training constraints can support training-point error statements, not a uniform statement on \(S_\mu\) without additional conditions. The natural bounded correction is to retain the learned dual coefficients when describing an SVR solution, and state the normalized kernel smoother as a separately defined model. Establishing a regression optimization that yields the prescribed memory coefficients, and its neighborhood guarantees, requires a new derivation. The present defect is Major because the nonparametric identification is the central construction.
# Problem 2: the printed sparsity-dependent bound is false
## Claim and counterexample
Equation reference: eq:printed. Theorem 4.1, Eq. (4.1), p. 8 bounds the retrieval error by \[
m(M+k-2)\exp\left\{-\beta\left(
\langle\xi_\mu,x\rangle-\max_{\nu\ne\mu}\langle\xi_\mu,\xi_\nu\rangle
\right)\right\}.\] The second inner product was confirmed in the rendered original PDF; it is not an extraction artifact.
Choose \(d=1\), \(M=k=2\), \(\mathcal M=\{1,2\}\), memories \((1,-1)\), \(\beta=10\), target \(\xi_1=1\) and \(x=1/10\). Then \(m=R=1\), \(|x-\xi_1|=9/10<R\), the target is retained, and \(k=M\) is allowed. The actual map gives \[T_\mathcal M(1/10)=\tanh(1),\qquad
\left\lVert T_\mathcal M(1/10)-1\right\rVert=0.2384058440\ldots.\] The asserted upper bound is \[2\exp[-10(1/10-(-1))]=2e^{-11}
=0.0000334034\ldots .\] The actual error exceeds it by a factor of about 7137.17.
## Proof defect and a valid limited replacement
Appendix D.4 instead introduces query-dependent competitor products, but also replaces restricted-support softmax weights by weights with a denominator over all \(M\) memories. Those denominators differ when \(k<M\). A valid elementary bound for Eq. [eq:map] (#eq:map), with \(k\ge2\) and \(\mu\in\mathcal M\), is obtained by defining \[g_\mu(x)=\langle x,\xi_\mu\rangle-
\max_{j\in\mathcal M\setminus\{\mu\}}\langle x,\xi_j\rangle.\] Indeed, with \(q=(k-1)e^{-\beta g_\mu(x)}\), \[\left\lVert T_\mathcal M(x)-\xi_\mu\right\rVert
\le 2m(1-p^\mathcal M_\mu(x))
\le \frac{2mq}{1+q}\le2m(k-1)e^{-\beta g_\mu(x)}.\] The first inequality is the triangle inequality applied to \(\sum_{j\ne\mu}p^\mathcal M_j(\xi_j-\xi_\mu)\); the second follows by bounding the sum of competitor-to-target exponential ratios by \(q\). For \(k=1\) the retrieval error is zero. This repair is proved here only for uncontaminated keys and the displayed restricted softmax. It does not restore the paper’s noisy-key assertions or the other corollaries automatically.
The location of an erroneous inner product may be typographical in origin, but its quantitative consequence is substantive. The main guaranteed bound is false, supporting Major.
# Problem 3: sparse reweighting need not improve the actual retrieval error
## Claim and all assumptions
Corollary 4.1.1, p. 8, asserts \(\left\lVert T_\mathcal M(x)-\xi_\mu\right\rVert\le\left\lVert T_{\rm Dense}(x)-\xi_\mu\right\rVert\) for any \(x\in S_\mu\) and retained target. Use three nonzero, equal-norm memories in \(\mathbb R^2\): \[\xi_1=(1,0),\quad
\xi_2=(1/2,\sqrt3/2),\quad
\xi_3=(1/2,-\sqrt3/2).\] Every norm is one, the minimum pair distance is one, \(R=1/2\), and the target separation is \(\Delta_1=1/2>0\). Set \(x=\xi_1\), \(\beta=1\) and \(\mathcal M=\{1,2\}\). The target uniquely has the largest score. This is an admissible generic support in Definition 3.3. The tied example is not the threshold-based top-\(K\) rule of Eq. (3.8), which retains every tied score; the corollary being tested applies to general supports.
## Exact calculation
Put \(a=e^{-1/2}>0\). In the dense update, the vertical components cancel, giving \[\left\lVert T_{\rm Dense}(\xi_1)-\xi_1\right\rVert=\frac{a}{1+2a}
=0.2740686191\ldots.\] The sparse update deletes one canceling component: \[\left\lVert T_\mathcal M(\xi_1)-\xi_1\right\rVert
=\frac{a}{1+a}\left\lVert \xi_2-\xi_1\right\rVert
=\frac{a}{1+a}=0.3775406688\ldots.\] The claimed inequality is reversed. This exact argument avoids zero memories, a negative separation, removal of the target, or a query outside its ball.
## Dependence and counterevidence
The increase of the target’s softmax weight is true. It does not imply a smaller Euclidean error: the direction and cancellation of the other memory vectors also matter. Appendix D.5, pp. 21–22, passes from the target coefficient comparison to the norm comparison without accounting for that geometry. Its Eq. (D.9) also writes unexponentiated scores, but replacing these by the intended exponentials does not repair the counterexample.
The claimed reduction in retrieval iterations, the transfer of one-step accuracy in Corollary 4.1.2, and the proof of Corollary 4.1.3 depend on this comparison. Appendix D.6 additionally invokes convergence to the memory itself, Eq. (D.11). For memories \(\pm1\) and \(\beta=1\), however, the dense map is \(\tanh(x)\) and \(1\) is not a fixed point; continuity precludes an orbit converging to \(1\). A squeeze inequality evaluated at a common input also does not compare two different iterative trajectories. These observations invalidate the supplied convergence proof; they do not establish that a fixed-support, uncontaminated softmax map can never converge to a fixed point.
A sufficient bound can improve with a smaller support under additional controlled gaps. Universal ordering of the actual errors is false. This is Major because guaranteed sparsity advantages are a principal contribution.
# Problem 4: the capacity argument uses an impossible separation event
## Claim and algebraic check
Equation reference: eq:separation. Lemma 4.1, p. 9, and Appendix D.8, pp. 23–24, base storage of the spherical memories on \[
\Delta_{\min}\ge
2mR+\beta^{-1}\log\left(\frac{(M+k-2)m}{R}\right).\] In the spherical setting of Proposition 4.1, \(\left\lVert \xi_\mu\right\rVert=m\). With the specified radius \(R=\frac12\min_{\mu\ne\nu}\left\lVert \xi_\mu-\xi_\nu\right\rVert\), \[\Delta_{\min}
=\min_{\mu\ne\nu}(m^2-\langle\xi_\mu,\xi_\nu\rangle)
=\tfrac12\min_{\mu\ne\nu}\left\lVert \xi_\mu-\xi_\nu\right\rVert^2
=2R^2\le2mR .\] For \(M\ge2\), \(k\ge2\) and distinct points, \(0<R\le m\) and \((M+k-2)m/R\ge2\). The logarithmic term in Eq. [eq:separation] (#eq:separation) is strictly positive. Therefore Eq. [eq:separation] (#eq:separation) is impossible. Already two antipodal unit memories give \(\Delta_{\min}=2\), \(R=m=1\), while \(\beta=1\) requires \(2\ge2+\log 2\).
Taking the full-support case \(k=M\) makes this contradiction independent of possible ambiguity between a radius over the retained set and a radius over all memories. That case is explicitly included in the paper, which says the result recovers the dense model. For random distinct points on the sphere the same equality applies to each realized configuration; the stipulated event has probability zero, not the advertised positive success probability.
## Impact and possible repair
This does not prove that Hopfield models lack exponential storage capacity. It shows that the paper’s capacity derivation cannot establish it from its specified radius and separation event. A freely chosen smaller local radius may yield a useful sufficient condition, but replacing the radius changes the stated setup and requires rederiving the probability bound. In D.8 the later replacement of the \(2mR\) term by \(1/\beta\) also needs an explicit radius relation, which is not part of the stated definition. No corrected exponential-capacity constant is certified here. This is Major because capacity is one of the principal inherited guarantees claimed by the new construction.
# Problem 5: released top-\(k\) and random masking do not implement restricted support
## Static evidence and finite check
In the pinned snapshot, `layers.py`, |SparseStructured_HopfieldCore.top_k_attn|, lines 95–113, computes the largest scores, scatters them into a tensor initialized to zero, and then applies softmax over the whole score axis. Excluded scores therefore contribute \(\exp(0)=1\), rather than zero probability. In `rand_masked_attn`, lines 116–133, dropout is applied to logits before softmax, with the same zero-logit effect and rescaling of surviving scores. The model path imports this module: `models.py`, line 4, and its sparse model branches instantiate the corresponding layer; the retrieval trainer imports the same layers and models.
For a one-dimensional single-head core with scale one, norm disabled, no external mask, the top-\(k\) branch and `rand_prob=0.5`, query \(1\), keys/values \((1,-1)\) and \(k=1\), the intended restricted map returns \(1\) exactly. The released arithmetic changes logits \((1,-1)\) to \((1,0)\) and returns \[\frac{e-1}{e+1}=\tanh(1/2)=0.4621171573\ldots,\] with target error \(0.5378828427\ldots\). Both memories retain positive weights. The independent script evaluates this formula; it does not import or run the author’s implementation.
## Impact, counterevidence and correction
This establishes a wrong-model implementation in the inspected public snapshot. It does not identify which exact commit or private path produced every published figure. The separately present `layers2.py` includes dense/sparsemax alternatives; its existence does not change the inspected imports of the relevant sparse paths. The paper itself acknowledges practical limitations of random sparse kernels in Appendix G.5. That caveat concerns efficiency, whereas the present defect changes the distribution and retrieved value.
For top-\(k\), assigning excluded logits \(-\infty\) before softmax, or normalizing only the selected logits, implements Eq. [eq:map] (#eq:map) provided at least one element is retained. The two-memory fixture verifies that limited repair. A random-mask repair must retain original selected logits without dropout rescaling if it is to preserve the stated \(\beta\). End-to-end experimental effects remain unmeasured. The supported implementation issue is Major because the central sparse algorithm is replaced by a dense weighted update in these released paths; historical benchmark attribution remains Needs Evidence.
# Overall dependence and empirical assessment
The five problems concern separate links: optimization to dynamics, the error bound, relative error and convergence reasoning, capacity, and implementation. The first four are established from the published mathematical statements and explicit deductions; no empirical score decrease is required to assess them. Valid exponential-kernel expansions, the algebraic attention connection, linear-attention factorization and the possibility of efficient sparse computation survive these findings.
Appendix G reports retrieval, MNIST multiple-instance learning, real-world bag classification, forecasting and efficiency studies. Its single-step experimental restriction (Remark G.1) is material counterevidence against interpreting those experiments as a test of iterative fixed-point convergence. Supervised training curves also measure parameter optimization, not the fixed-memory recurrence of Corollary 4.1.3. The published empirical numbers have not been refuted here. To resolve their relation to the intended sparse method, the exact generating implementation, masks, seeds and raw outputs must be checked, followed by appropriate reruns after correction.
Issue | Assessment | Repair verification / remaining work
P1: regression guarantees and identification | Major | Counterexamples verified; new construction required
P2: printed error bound | Major | Restricted noiseless bound proved here
P3: universal comparison and dependent proof | Major | Comparison refuted; convergence needs separate proof
P4: capacity separation event | Major | Contradiction proved; radius/probability derivation required
P5: released sparse kernel | Major | Scalar repair verified; historical attribution unresolved
All issue adjudications remain pending. Repair statements above are limited to their explicit domains. Author adoption has not been requested or recorded; there are no human review declarations. A separate later review must independently accept or challenge these initial findings.
# Supporting checks
The independent check uses only Python’s standard library. It evaluates the exact formulas above, verifies the strict inequalities, and hashes the PDF, extracted text, manifest and key implementation files. The original PDF was re-extracted with the existing Poppler `pdftotext -layout`; its text hash matches the acquired extraction.
The PDF-read convenience tool initially failed with an internal `toLowerCase` error. This was resolved by reading the actual PDF through the existing Poppler tools; no installation or other-project cache was used. Complete source bindings, coverage, current execution roles, and compilation/visual checks performed by the integrating parent are recorded in the adjacent JSON files. Earlier recovery classifications are preserved as history and are not counted as this review’s scientific work.
9 J. Y.-C. Hu, B.-Y. Chen, D. Wu, F. Ruan and H. Liu. Nonparametric Modern Hopfield Models. Proceedings of ICML, PMLR 267 (2025), 24232–24269. https://proceedings.mlr.press/v267/hu25c.html. Reviewed acquired proceedings PDF, including appendices. MAGICS-LAB. Static inspection only. J. Y.-C. Hu et al. Nonparametric Modern Hopfield Models, arXiv:2404.03900v2, 9 June 2025. https://arxiv.org/abs/2404.03900. Official version metadata consulted 24 October 2026.
Source PDF SHA-256: b4e7817eff9051642973c055a248399da35c60a92f5aba8a86cd64677b40de47
Repair verification: pending
Author adoption: not_requested