atlas

Research map / Learning theory and algorithms / Sample complexity

On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysis

ICML 2024 · Learning theory and algorithms › Sample complexity · approach: Computational thresholds in graphs and structure · 0 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.

Uses fine-grained complexity under SETH to show modern Hopfield retrieval admits sub-quadratic variants only when pattern norms are below a sqrt(log tau) threshold, and builds a low-rank almost-linear-time Hopfield model with retrieval error and exponential capacity bounds.

Problem

Computational limits of modern Hopfield memory retrieval: the dense retrieval costs O(dML) time, and it is unclear when faster (sub-quadratic or almost linear) approximate retrieval is possible.

Approach

Reduce approximate nearest neighbor search (ANNS) to the approximate modern Hopfield retrieval problem (AHop) to get a SETH-based lower bound, which yields a norm phase transition at B = Theta(sqrt(log tau)); below it, a low-rank polynomial approximation of exp gives almost linear time retrieval with bounded error.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Reduce the maximum entry norm B below Θ(√log τ)AHop · AHop, under SETH and realistic settingsrunning time: τ^{2-Ω(1)}Helped
Use low-rank polynomial approximation for retrievalModern Hopfield retrieval · AHop, where B = o(√log τ)running time: τ^{1+o(1)}Helped
Use low-rank approximation with precision δ_AModern Hopfield retrieval · AHopapproximation error: 2MBδ_AHelped
Use efficient low-rank approximate retrievalModern Hopfield retrieval · Memory storage and retrievalmemory capacity: exponential-in-dMixed

Limitations

Experimental setup

Metrics: time complexity max-norm approximation error memory capacity

Baselines: dense modern Hopfield retrieval (softmax attention)

Builds on: Modern Hopfield Networks Hopfield Networks is All You Need Strong Exponential Time Hypothesis polynomial method for attention approximation

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