arXiv:2610.38437stat.MLOct 2026

Manuscript Offprint

arXiv:2610.38437

Capacity of the Hopfield-Hebbian dynamics with correlated patterns

Mihailo Stojnic

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

Abstract

Allowing for small fraction of errors in retrieved stored binary patterns, Hopfield-Hebbian neural network (NN) associative memory dynamics [14] achieves linearly scaled capacity. The famous proportionality constant αc≈0.14\alpha_c \approx 0.14 is obtained in a large dimensional scenario as the ratio of the number of reliably stored patterns mm and the patterns' length nn under the assumption that uniformly randomly chosen binary patterns are independent among themselves.

While such an idealized scenario is now well understood, more practical scenarios with correlated/noisy datasets remaining challenging even for classical statistical mechanics replica approaches. We consider precisely such practical settings where each archetype pattern is replaced with MM correlated examples with parameter rr governing the quality of correlation. We develop a powerful Random Duality Theory (RDT) based framework to analyze correlated data and already on the first level of RDT lifting obtain capacity characterizations that remarkably well match behavior exhibited through simulated dynamics. Moreover, characterizations explicitly feature correlation parameters MM and rr, which allows to precisely determine their effects on phase-transitioning behavior of the underlying dynamics.

Our results are also a well-fitting complement to the existing literature. Namely, to circumvent challenging statistical mechanics analyses, an alternative combination of spectral and replica methods is considered in [4]. We confirm that [4]'s elegant spectral characterizations are excellent approximations in the low correlated regime. At the same time, we also close the gap in the regimes with higher correlation levels where spectral methods deviate from the practical dynamics performance.

Index Terms: Hopfield-Hebbian dynamics; Associative memory capacity; Random duality.

1 Introduction

The early spin-glass neural networks (NN) forms [29] were superseded by the Hopfield's auto-associative memories propositions [14]. The main idea centers around the following concept: starting in a vicinity of an already stored/memorized pattern, an iterative dynamics remains trapped by local optima not far away and allows retrieval of the stored pattern. In other words, patterns possess the so-called basins of attraction that simple iterative dynamics can not escape ensuring that a pattern is properly retrieved (and not confused by an unwanted convergence to a different one). The memory capacity – defined as the maximum allowable number of the stored patterns for which the proper retrieval is possible – is the key feature that describes the effectiveness of these types of associative memories. As such, it has been thoroughly studied since the appearance of the Hopfield's introductory paper [14]. We start by surveying some of the key achieved milestones. That will eventually allow us to properly contextualize our own results.

References (27)