paper-with-me

Papers

Improved Robustness and Hyperparameter Selection in the Dense Associative Memory

2024-05-29 · Hayden McAlister, Anthony Robins, Lech Szymanski

The Dense Associative Memory generalizes the Hopfield network by allowing for sharper interaction functions. This increases the capacity of the network as an autoassociative memory as nearby learned attractors will not interfere with one another. However, the implementation of the network relies on applying large exponents to the dot product of memory vectors and probe vectors. If the dimension of the data is large the calculation can be very large and result in imprecisions and overflow when using floating point numbers in a practical implementation. We describe the computational issues in detail, modify the original network description to mitigate the problem, and show the modification will not alter the networks' dynamics during update or training. We also show our modification greatly improves hyperparameter selection for the Dense Associative Memory, removing dependence on the interaction vertex and resulting in an optimal region of hyperparameters that does not significantly change with the interaction vertex as it does in the original network.

📄 PDF Abstract BibTeX arXiv:2407.08742

Code (1)

hmcalister/hopfield-network-pytorch 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Hyperparameter Transfer for Dense Associative Memories

2026-05-11 · Roi Holtzman, Dmitry Krotov, Boris Hanin arxiv

Dense Associative Memory (DenseAM) is a promising family of AI architectures that is represented by a neural network performing temporal dynamics on an energy landscape. While hyperparameter transfer methods are well-stu…

Geometric Entropy and Retrieval Phase Transitions in Continuous Thermal Dense Associative Memory

2026-04-08 · Tatiana Petrova, Evgeny Polyachenko, Radu State arxiv

We study the thermodynamic memory capacity of modern Hopfield networks (Dense Associative Memory models) with continuous states under geometric constraints, extending classical analyses of pairwise associative memory. We…

Quantization robustness from dense representations of sparse functions in high-capacity kernel associative memory

2026-04-22 · Akira Tamamori arxiv

High-capacity associative memories based on Kernel Logistic Regression (KLR) achieve strong retrieval performance but typically require substantial computational resources. This paper investigates the compressibility of …

Improving Fast Minimum-Norm Attacks with Hyperparameter Optimization

2023-10-12 · Giuseppe Floris, Raffaele Mura, Luca Scionis, Giorgio Piras 외

Evaluating the adversarial robustness of machine learning models using gradient-based attacks is challenging. In this work, we show that hyperparameter optimization can improve fast minimum-norm attacks by automating the…

Adversarial RobustnessHyperparameter Optimization

Thermal Robustness of Retrieval in Dense Associative Memories: LSE vs LSR Kernels

2026-03-07 · Tatiana Petrova arxiv

Understanding whether retrieval in dense associative memories survives thermal noise is essential for bridging zero-temperature capacity proofs with the finite-temperature conditions of practical inference and biological…