arXiv:2610.21493cs.LGOct 2026

Manuscript Offprint

arXiv:2610.21493

Phase Kernel Lifts Capacity of Dense Associative Memory

Yifei Zhao, Ying Tang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Dense associative memory underlies modern attention mechanisms; however, Modern Hopfield Networks (MHNs) with linear kernels yield overlapping attractor basins and spurious states under high memory load, limiting their theoretically exponential storage capacity in practice. We construct a class of nonlinear phase kernels that modify the energy landscape and retrieval dynamics, and prove that these kernels preserve exponential storage capacity and local fixed-point convergence under given conditions on kernel smoothness, memory separation, and memory distributions. The framework is instantiated by the Sigmoidal Phase Hopfield Network (S-Hop), which guarantees monotone energy descent and mitigates practical capacity loss. S-Hop has 8.3×8.3\times and 4×4\times gains in one-step noisy retrieval load over Uniform Hopfield Networks (U-Hop) on CIFAR-10 and TinyImageNet respectively, and reaches a 50×50\times gain in first-failure load for ImageNet. The results demonstrate that phase kernels provide a principled route to robust dense associative memory 2^{2}.

1 Introduction

The MHN framework [1] provides a rigorous energy framework with provable capacity [2] and a direct mathematical equivalence to self-attention, yet most existing variants remain bound by linear or polynomial kernels that produce a dot-product energy surface in which increasing memory load can reduce pattern separation [3–5]. This geometric limitation causes narrow, overlapping attractor basins and spurious states under high memory load, motivating kernel designs that improve separation while retaining the MHN energy structure.

Continuous oscillator networks [6] offer a parallel paradigm in which stable retrieval emerges from smooth phase dynamics, and their success serves as the motivational starting point for our construction. Any modified kernel attempting to escape the geometric bottleneck of linear MHN must simultaneously preserve Lyapunov stability and exponential capacity, neither of which follows from a nonlinear feature substitution alone. Closing this gap therefore requires a structural condition on the kernel that is verifiable in advance and supports convergence and capacity analysis for a family of nonlinear embeddings, with energy descent verified for each instantiation.

Here, we propose a general theoretical framework that introduces a family of nonlinear phase kernels into MHN through separable strong convexity of the phase potential and a kernel contraction condition.

*Corresponding author: jamestang23@gmail.com

2^{2}Code is available at https://github.com/Machine-learning-and-complex-systems/S-Hop.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Under the stated assumptions, kernels in this family preserve exponential storage capacity and local fixed-point convergence. The induced Hessian metric controls local conditioning, while feature scale and separation also enter the capacity bound. S-Hop instantiates this framework with a coupled hyperbolic mapping and admits a concave-convex procedure (CCCP) with monotone energy descent. Figure 1 illustrates the energy-shaping motivation; the analysis establishes disjoint local attraction regions under a margin condition.

We evaluate S-Hop on MNIST, CIFAR-10, TinyImageNet, and ImageNet using one noisy retrieval update and a mean squared error (MSE) threshold of 0.1. On CIFAR-10 at N=500N = 500, S-Hop achieves 92.07% mean success compared with 48.40% for U-Hop's public avg objective, a 43.67% percentage-point gain over three seeds. On ImageNet, S-Hop passes the 90% success criterion through N=500N = 500 at both 64×6464 \times 64 and 224×224224 \times 224 resolution (Figure 4). Scale and component controls identify contributions from feature scale and the energy-derived state update (Appendices D.1 and D.3). Figure 2 provides a visual illustration of image retrieval from noisy queries.

(a)

Figure

(b)

(c)

Figure

Figure

S-Hop (Nonlinear)

ImageNet (d = 150528)

Projection u

Figure 1: Framework, energy landscape, and capacity gains of S-Hop. (a) Schematic of the energy-shaping motivation for stored patterns. (b) Illustrative 2D energy contours around m1m_1, m2m_2, independently scaled to [0,1][0, 1] for each kernel. (c) Retrieval-load summaries on CIFAR-10 ( d=3072d = 3072) and ImageNet ( 224×224224 \times 224, d=150528d = 150528) for S-Hop, U-Hop [7], MHN [1], and Cosine Hopfield Network (C-Hop). S-Hop achieves passing-load ratios of over 50×50 \times than the previous methods.

Our main contributions are:

• We introduce a class of nonlinear phase kernels for MHN. Their phase potential yields a component-wise inverse local field and an energy-derived retrieval update.

• We establish exponential storage capacity and local fixed-point convergence under explicit kernel and memory conditions. S-Hop also has monotone energy descent via CCCP.

• We quantify retrieval gains on MNIST, CIFAR-10, TinyImageNet, and ImageNet (Table 1). S-Hop supports more than 500 memories on MNIST, CIFAR-10, and ImageNet.

References (44)