Neural Distributed Autoassociative Memories: A Survey

V. I. Gritsenko, Dmitri A. Rachkovskij, A. A. Frolov, Ross W. Gayler, Denis Kleyko, Evgeny OsipovarXiv 2017 · arXiv

Introduction

In modern computer science, the "curse of dimensionality" poses a significant challenge for searching similar items within massive, high-dimensional datasets. Traditional indexing structures often struggle as dimensions increase, frequently reverting to linear search—a process that checks every item individually. The survey paper "Neural Distributed Autoassociative Memories: A Survey" by Gritsenko et al. (2017) explores Neural Associative Memories (NAMs) as a biologically inspired alternative to traditional database indexing. Unlike conventional systems that store data in specific memory addresses, NAMs store information across the connections of a neural network, offering a parallelizable approach to approximate nearest neighbor search with the potential for sublinear retrieval times.

Foundational Architectures

The survey categorizes several neural architectures that function as distributed memories, each utilizing different dynamics to store and retrieve patterns:

  • Generic NAMs: These networks utilize Hebbian learning rules—where neurons that "fire together, wire together"—to modify a weight matrix $W$ for storing binary vectors.
  • Hopfield Networks: A classic model characterized by symmetric weights and energy minimization. While Hopfield networks are limited when handling dense data, their storage capacity and retrieval accuracy increase significantly when processing sparse binary vectors.
  • Willshaw Networks: A simplified, highly efficient model using binary (0/1) connections. These are optimized for extremely sparse data, requiring only a single bit per connection, making them remarkably memory-efficient.
  • Potts Models: Organized into "columns" (a multipartite graph), these models represent a more complex architecture that significantly expands information capacity compared to standard Hopfield networks.
  • Higher-Order and Bipartite Models: The authors also examine networks with $n$-way connections and bipartite structures designed to handle non-binary data subject to specific linear constraints.

The Role of Sparsity and Generalization

A central theme of the survey is that sparsity is the primary driver of efficiency in NAMs. When only a small fraction of neurons are active simultaneously, the network can store a number of items ($N$) that far exceeds the total number of neurons ($D$).

Furthermore, the authors reframe the concept of "spurious states"—stable states in the network that do not perfectly match any single stored vector. While traditionally viewed as errors, the survey argues these states represent generalizations or "prototypes" autonomously formed by the network from the underlying data distribution. This suggests that NAMs do not just store data; they learn its structure.

Theoretical Performance and Capacity

The survey synthesizes several key theoretical benchmarks regarding the limits of these memories:

  • Capacity Limits: For dense vectors, Hopfield networks have a critical capacity of $\alpha_{crit} \approx 0.14D$. However, for sparse vectors, this capacity can reach approximately $0.72D$.
  • Information Efficiency: Willshaw networks can achieve a theoretical maximum information efficiency of 0.69 bits per connection.
  • Search Speedup: Theoretical estimates suggest that for specific sparse variants of Hopfield networks, the retrieval speedup relative to standard linear search could be as high as $D / (\ln D)^3$.

Data and Real-World Application

While the survey primarily focuses on theoretical results using Synthetic Random Vectors to calculate storage capacities, it also references practical applications:

  • MNIST: Higher-order "Krotov-Hopfield" models have been successfully used to classify handwritten digits by treating stored memories as prototypes.
  • Correlated Data: The authors acknowledge that real-world data (such as text or images) is highly correlated, unlike the random bits used in mathematical proofs. This correlation typically reduces the effective capacity of the memory, as the network may "oversaturate" specific connections.

Limitations and Future Directions

Despite their potential, several hurdles remain before NAMs can replace current state-of-the-art algorithms like Locality Sensitive Hashing (LSH) or Hierarchical Navigable Small World (HNSW) graphs:

  1. The Real-Data Gap: Bridging the gap between theoretical proofs based on random bits and the messy, correlated nature of real-world datasets.
  2. Scaling Complexity: While $O(D^2)$ connections are manageable for small networks, scaling to millions of neurons would require trillions of connections. Research into "diluted" or partially connected networks is essential.
  3. Hardware Implementation: Because these models rely on local learning rules and parallel dynamics, they are uniquely suited for neuromorphic hardware, which may be the key to realizing their sublinear search potential.

Conclusion

The survey concludes that the intersection of sparse recovery algorithms and neural memories represents a promising frontier for high-speed similarity search. By leveraging the parallel nature of brain-inspired architectures, NAMs offer a path toward indexing structures that do not slow down linearly as the size of the database grows.

Summary updated

BibTeX
@misc{gritsenko2017neural,
  author = {V. I. Gritsenko and Dmitri A. Rachkovskij and A. A. Frolov and Ross W. Gayler and Denis Kleyko and Evgeny Osipov},
  title = {{Neural Distributed Autoassociative Memories: A Survey}},
  year = {2017},
  eprint = {1709.00848},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1709.00848},
}
Figure