atlas

Research map / Architectures and efficiency / RNNs and normalization

Dense Associative Memory Through the Lens of Random Features

NeurIPS 2024 · Architectures and efficiency › RNNs and normalization · approach: Associative memory networks · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Distributed-representation Dense Associative Memory (DrDAM), approximating the DenseAM energy and dynamics with random Fourier-style features so memories are stored in a fixed-size tensor T, with divergence bounds and empirical validation.

Problem

Dense Associative Memories store each pattern in separate weights, so parameters grow with the number of memories; the paper asks how to get DenseAM storage capacity with a fixed-size, distributed weight representation that still supports recurrent energy-descent retrieval.

Approach

Approximate the DenseAM kernel (exp of negative squared L2 distance / exponential dot product) with random features so that all memories are summed into a single feature-space vector T, enabling energy and gradient computation without storing the original memories; adding a memory costs O(DY) and no new parameters.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use a random-feature distributed memory representation instead of storing each memory separatelyDRDAM versus MRDAM · Tiny ImageNetparameter count: ${\sim}20$\% reductionHelped
Increase the number of random features YDRDAM · Random binary patterns; energy and energy gradientsapproximation accuracyHelped
Increase inverse temperature βDRDAM · Queries near stored patterns; energy approximationenergy error: β = 50 has an energy error approximately 10× that of β=30 and 100× that of β=10Hurt
Increase inverse temperature β and dimension DDRDAM · Queries far from stored patternsapproximation quality: β=50 approaches 1000× the error of β=10Hurt
Increase Y when β and D are sufficiently largeDRDAM · Energy and gradient approximation at high β and Dapproximation qualityNo clear effect
Use queries nearer to stored patternsDRDAM · Memory retrievalretrieval errorHelped
Use SinCos trigonometric random features instead of Positive Random Features (ablation)DRDAM · Letterenergy and gradient approximation qualityHelped
Use SinCos rather than other tested basis functions (ablation)DRDAM · Letterenergy-gradient approximation qualityHelped
Increase the number of stored patterns K while holding Y constantDRDAM · Approximation errormean approximation errorHurt
Increase K for random starting positionsDRDAM · Random starting positionsapproximation accuracyHelped

Surprising findings

Limitations

Experimental setup

Datasets: Tiny ImageNet CIFAR-10 Letter

Benchmarks: CIFAR-10 Tiny ImageNet Letter

Metrics: mean approximation error of energy mean approximation error of gradient normalized Hamming retrieval error compression ratio

Baselines: memory representation DenseAM (MrDAM) Positive Random Features Cos basis Exp basis ExpExp basis

Builds on: Dense Associative Memory random Fourier features positive random features modern Hopfield networks

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy