atlas

Research map / Architectures and efficiency / RNNs and normalization

Nonparametric Modern Hopfield Models

ICML 2025 · 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.

Frames modern Hopfield memory storage/retrieval as a nonparametric (support vector) regression problem, recovering dense modern Hopfield retrieval and deriving sparse-structured, linear, random-masked, top-K and positive-random-feature Hopfield variants with sub-quadratic complexity and theoretical guarantees.

Problem

Modern Hopfield models and their deep-learning layers are computationally expensive (quadratic in sequence length), and existing sparse variants lack efficiency and rigorous analysis of how sparsity affects retrieval error, fixed-point convergence and memory capacity.

Approach

Cast the retrieval dynamics of a modern Hopfield model as a soft-margin support vector regression fit to query-memory pairs (contaminated memory mapped to clean memory); solving the dual with a feature map Phi yields dense softmax attention (exp kernel Taylor features) and, with a restricted support set M, a sparse-structured retrieval dynamics with sub-quadratic cost.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use a sparse-structured support set instead of dense retrievalModern Hopfield models · Memory retrievalretrieval error: \norm{\mathcal{T}_{\text{Sparse}}(\mathbf{x})-\bxi_\mu}\leq\norm{\mathcal{T}_{\text{Dense}}(\mathbf{x})-\bxi_\mu}Helped
Reduce support-set size kSparse-structured modern Hopfield · Memory retrievalretrieval error bound: m(M+k-2)Helped
Use a sparse-structured mask with support size k instead of dense retrievalModern Hopfield models · Single-query retrievaltime complexity: \mathcal{O}(Md^2) -> \mathcal{O}(kd^2)Helped
Use random masking with k selected entriesModern Hopfield models · Length-L query sequencetime complexity: \mathcal{O}(kL)Helped
Use a sliding-window mask of window size sqrt(L)Modern Hopfield models · Length-L query sequencetime complexity: \mathcal{O}(L\sqrt{L})Helped
Use top-K memory selectionModern Hopfield models · Top-K retrievaltime complexity: quadratic complexityNo clear effect
Use sparse retrieval rather than dense retrievalModern Hopfield models · Noisy memory retrievalimpact of noise on retrieval error: M+k-2Helped
Use efficient variants for learning tasksModern Hopfield models · Learning tasksperformanceMixed

Surprising findings

Limitations

Experimental setup

Metrics: retrieval error running time floating point operations

Baselines: dense modern Hopfield model sparse modern Hopfield model Performer Linear Transformer

Builds on: modern Hopfield networks sparse modern Hopfield model soft-margin support vector regression Performer BigBird

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