pith:Y4U6JS2S
Hopfield Networks is All You Need
A modern Hopfield network with continuous states has an update rule identical to the attention mechanism in transformers.
arxiv:2008.02217 v3 · 2020-07-16 · cs.NE · cs.CL · cs.LG · stat.ML
Add to your LaTeX paper
\usepackage{pith}
\pithnumber{Y4U6JS2SCK7JI5UFDPZPUQJZBV}
Prints a linked badge after your title and injects PDF metadata. Compiles on arXiv. Learn more
Record completeness
Claims
The new update rule is equivalent to the attention mechanism used in transformers. This equivalence enables a characterization of the heads of transformer models.
That the continuous-state Hopfield dynamics remain stable and useful when inserted as layers inside large-scale gradient-trained networks without introducing new optimization difficulties or losing the claimed exponential capacity.
Modern Hopfield networks store exponentially many patterns, retrieve them in one update, and have an update rule equivalent to transformer attention, enabling new Hopfield layers that improve results on multiple instance learning and drug design tasks.
References
Formal links
Cited by
Receipt and verification
| First computed | 2026-05-17T23:38:14.915710Z |
|---|---|
| Builder | pith-number-builder-2026-05-17-v1 |
| Signature | Pith Ed25519
(pith-v1-2026-05) · public key |
| Schema | pith-number/v1.0 |
Canonical hash
c729e4cb5212be9476851bf2fa41390d6396ba71a78601f5e49c5282ead7108e
Aliases
· · · · ·Agent API
Verify this Pith Number yourself
curl -sH 'Accept: application/ld+json' https://pith.science/pith/Y4U6JS2SCK7JI5UFDPZPUQJZBV \
| jq -c '.canonical_record' \
| python3 -c "import sys,json,hashlib; b=json.dumps(json.loads(sys.stdin.read()), sort_keys=True, separators=(',',':'), ensure_ascii=False).encode(); print(hashlib.sha256(b).hexdigest())"
# expect: c729e4cb5212be9476851bf2fa41390d6396ba71a78601f5e49c5282ead7108e
Canonical record JSON
{
"metadata": {
"abstract_canon_sha256": "1ba47ba7d21390be306b536cbf58dc0b7573200d24913aacb8f369457c24a29d",
"cross_cats_sorted": [
"cs.CL",
"cs.LG",
"stat.ML"
],
"license": "http://arxiv.org/licenses/nonexclusive-distrib/1.0/",
"primary_cat": "cs.NE",
"submitted_at": "2020-07-16T17:52:37Z",
"title_canon_sha256": "aa4c7031940ca65cfd28ae9a8ea533d9d267004f60a6c8e30a5d154df26fd115"
},
"schema_version": "1.0",
"source": {
"id": "2008.02217",
"kind": "arxiv",
"version": 3
}
}