Associative Memories in the Feature Space
Not on the map. Why?
Abstract (arXiv)
An autoassociative memory model is a function that, given a set of data points, takes as input an arbitrary vector and outputs the most similar data point from the memorized set. However, popular memory models fail to retrieve images even when the corruption is mild and easy to detect for a human evaluator. This is because similarities are evaluated in the raw pixel space, which does not contain any semantic information about the images. This problem can be easily solved by computing similarities in an embedding space instead of the pixel space. We show that an effective way of computing such embeddings is via a network pretrained with a contrastive loss. As the dimension of embedding spaces is often significantly smaller than the pixel space, we also have a faster computation of similarity scores. We test this method on complex datasets such as CIFAR10 and STL10. An additional drawback of current models is the need of storing the whole dataset in the pixel space, which is often extremely large. We relax this condition and propose a class of memory models that only stores low-dimensional semantic embeddings, and uses them to retrieve similar, but not identical, memories. We demonstrate a proof of concept of this method on a simple task on the MNIST dataset.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 13 of its 30 references that are in the map. First posted on arXiv 16 Feb 2024.
Builds on
13 of 30 references.
References · 13
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,446
- 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,380
- 2020Hopfield Networks is All You Needcited by 475
- 2016Dense Associative Memory for Pattern Recognitioncited by 236
- 2020Large Associative Memory Problem in Neurobiology and Machine Learningcited by 112
- 2022Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Modelscited by 55
- 2021Associative Memories via Predictive Codingcited by 44
- 2021Attention Approximates Sparse Distributed Memorycited by 29
- 2022BayesPCN: A Continually Learnable Predictive Coding Associative Memorycited by 14
1 more
- 2020An Entropic Associative Memorycited by 5
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.