arXiv:2609.17477cond-mat.dis-nnSep 2026

Manuscript Offprint

arXiv:2609.17477

Bias-Induced Crossover in Absolute Capacity of Dense Associative Memory

Yuto Sakurai, Takeaki Shimokawa, Kazunori Iwata, Kazushi Mimura

Yuto Sakurai, Takeaki Shimokawa, and Kazunori Iwata

Graduate School of Information Sciences, Hiroshima City University,

3-4-1 Ohtsuka-higashi, Asaminami-ku, Hiroshima 731-3194, Japan

Kazushi Mimura ∗^{*}

Graduate School of Information Sciences, Hiroshima City University,

3-4-1 Ohtsuka-higashi, Asaminami-ku, Hiroshima 731-3194, Japan

RIKEN Center for Advanced Intelligence Project and

The University of Tokyo

The absolute capacity of dense associative memory has mainly been analyzed for unbiased patterns. Here we examine the effect of bias in centered binary patterns under the Krotov-Hopfield single-site criterion Perror=1/NP_{error} = 1/N, where PerrorP_{error} is the probability that a single-site flip lowers the energy of a stored pattern and N is the number of neurons. Each pattern component takes 1 - q with probability q and -q otherwise, where 0<q≤1/20 < q \leq 1/2. For polynomial interactions of order n, a signal-to-noise analysis gives an absolute capacity of order Nn−1/ln⁡NN^{n-1}/\ln N at q=1/2q = 1/2. For fixed q<1/2q < 1/2, however, the capacity is O(Nn/2)O(N^{n/2}) for even n≥4n \geq 4 and O(N(n+1)/2)O(N^{(n+1)/2}) for odd n≥5n \geq 5. For n = 3, both the unbiased and fixed-bias capacities remain O(N2/ln⁡N)O(N^2/\ln N). For n≥4n \geq 4, these different asymptotic forms imply a nonuniform large-N limit near q=1/2q = 1/2. Asymptotic matching predicts a bias-induced crossover in the region 1−2q=O(ln⁡N/N⌊n/2⌋−1)1 - 2q = O(\ln N/N^{\lfloor n/2\rfloor-1}). The crossover originates from a bias-dependent crosstalk mean that reduces the stability of sites carrying the more frequent value -q. Computer simulations are compared with the finite-size conditioned-Gaussian predictions. An activity-dependent control potential that cancels the conditional crosstalk mean restores the Nn−1/ln⁡NN^{n-1}/\ln N capacity for fixed 0<q<1/20 < q < 1/2 within the conditioned-Gaussian approximation.

I. INTRODUCTION

Hopfield models store patterns as stable states of recurrent neural networks [1]. Its spin-glass analysis gives a relative capacity of approximately 0.138N [2]. This criterion requires a macroscopically correlated retrieval state and permits a finite fraction of erroneous neurons. The absolute capacity instead concerns error-free stability of stored patterns. For independent unbiased patterns, McEliece et al. obtained the asymptotic capacity N/(2ln⁡N)N/(2\ln N) when almost all stored patterns are required to be exactly recoverable. The stronger requirement that every stored pattern be exactly recoverable gives the capacity N/(4ln⁡N)N/(4\ln N) [3]. Amari and Maginu also estimated the error-free stability of a stored pattern by a Gaussian signal-to-noise calculation, obtaining the leading scale N/(2ln⁡N)N/(2\ln N) [4]. Other formulations impose simultaneous stability of all stored patterns [5, 6]. The no-error capacity also depends on the learning rule. Projection learning embeds linearly independent patterns as energy minima, allowing error-free storage of O(N)O(N) patterns at zero temperature [7].

In this paper, we adopt the criterion of Krotov and Hopfield. They call Perror<1/NP_{error} < 1/N the condition for perfect recovery of a memory [8], where PerrorP_{error} denotes the probability that a single-site flip lowers the energy of a stored pattern, and N is the number of neurons. We define the corresponding capacity boundary by Perror=1/NP_{error} = 1/N. This is a single-site estimate for a fixed arbitrary memory, not a simultaneous-stability criterion for all stored memories. For the unbiased Hopfield model, it gives N/(2ln⁡N)N/(2\ln N).

Higher-order interactions increase the number of stored patterns. Higher-order interactions were studied in many-body extensions of the Hopfield model [9, 10] and were later formulated as dense associative memory by Krotov and Hopfield [8]. For the polynomial energy F(x)=xnF(x) = x^n, the storage and absolute capacities are O(Nn−1)O(N^{n-1}) and O(Nn−1/ln⁡N)O(N^{n-1}/\ln N), respectively [8]. An exponential interaction can give an exponentially large capacity [6]. These models are now also discussed as modern Hopfield networks [11]. Their continuous-state counterpart is closely related to the attention mechanism [12], and its equilibrium capacity has also been analyzed [13].

Capacity is a stability property, whereas retrieval is a dynamical process. The dynamics of Hopfield-type models has been studied by generating functional analysis [14, 15]. Our previous studies used these methods for pruning, finite limit cycles, and continuous-state retrieval [16–18]. Recent studies considered nonmonotonic Hopfield models and symmetric dense associative memory [19, 20]. Mishima et al. analyzed sequential retrieval in an asymmetric dense associative memory and noted a formal large-n connection to the Krotov-type absolute capacity [21]. Related studies address iterative and one-update retrieval in Hopfield layers [22, 23]. These studies concern retrieval dynamics, whereas the present paper concerns a rare single-site instability of a static stored pattern.

Biased patterns change the capacity of the Hopfield

model [5, 24]. The storage capacity remains O(N)O(N), but its coefficient depends on the control of the mean activity [24]. Löwe obtained an absolute-capacity-type result of order N/ln⁡NN/\ln N for a normalized biased Hopfield model [5]. Low-activity models also show that fixed activity and a sparse limit should be distinguished [25].

A recent replica-symmetric analysis also considers dense associative memory with biased patterns [26]. In that model, the neurons take the values ±1\pm1, while the patterns entering the interactions are recentered and variance normalized. A global quadratic term is also introduced to control the mean neural activity. The analysis concerns thermodynamic retrieval with a finite overlap and thus allows a finite fraction of erroneous neurons. In contrast, we use centered binary states and determine the absolute capacity from the single-site rare-event condition Perror=1/NP_{error} = 1/N. The two studies therefore address different capacity criteria and different activity-control schemes.

The known absolute-capacity result for polynomial dense associative memory assumes unbiased patterns. Centering a biased binary pattern gives components that take 1 - q with probability q and -q with probability 1 - q. Although their mean is zero, the crosstalk distribution conditioned on the retrieved-site value differs between the two values for q<1/2q < 1/2. The two conditional distributions coincide by symmetry at q=1/2q = 1/2. Since the absolute capacity is determined by the negative tail of the single-site energy-gap distribution, we examine how this loss of symmetry changes the capacity near q=1/2q = 1/2.

A signal-to-noise analysis shows that, for q<1/2q < 1/2, the conditional error probability for sites carrying the more frequent value −q-q dominates PerrorP_{error}, whereas the two conditional error probabilities coincide at q=1/2q = 1/2. For n=3n = 3, the unbiased and fixed-bias capacities have the same asymptotic order. For n≥4n \geq 4, they have different powers of NN, producing a smooth finite-size crossover near q=1/2q = 1/2. Asymptotic matching estimates the width of this crossover. We illustrate the crossover for the quartic and quintic models by finite-size calculations and direct computer simulations. We also introduce an activity-dependent control potential. Within the conditioned-Gaussian approximation, this control restores the unbiased capacity order O(Nn−1/ln⁡N)O(N^{n-1}/\ln N) for fixed 0<q<1/20 < q < 1/2.

The rest of this paper is organized as follows. Section II defines the model and the single-site absolute-capacity criterion. Section III gives a finite-size binomial formulation of the energy gap, applies a conditioned-Gaussian approximation to the crosstalk sum, and derives the asymptotic capacity. Section IV shows how the different leading balances produce the bias-induced crossover. Section V compares the finite-size theory with computer simulations. Section VI introduces the activity-dependent control potential. The last two sections give the discussion and conclusion.