pith. sign in

arxiv: 2309.12673 · v2 · pith:QPVHUW3Anew · submitted 2023-09-22 · 💻 cs.LG · cs.AI· cs.CV· stat.ML

On Sparse Modern Hopfield Model

classification 💻 cs.LG cs.AIcs.CVstat.ML
keywords sparsehopfieldmodelmoderndensecounterpartmemoryapproximation
0
0 comments X
read the original abstract

We introduce the sparse modern Hopfield model as a sparse extension of the modern Hopfield model. Like its dense counterpart, the sparse modern Hopfield model equips a memory-retrieval dynamics whose one-step approximation corresponds to the sparse attention mechanism. Theoretically, our key contribution is a principled derivation of a closed-form sparse Hopfield energy using the convex conjugate of the sparse entropic regularizer. Building upon this, we derive the sparse memory retrieval dynamics from the sparse energy function and show its one-step approximation is equivalent to the sparse-structured attention. Importantly, we provide a sparsity-dependent memory retrieval error bound which is provably tighter than its dense analog. The conditions for the benefits of sparsity to arise are therefore identified and discussed. In addition, we show that the sparse modern Hopfield model maintains the robust theoretical properties of its dense counterpart, including rapid fixed point convergence and exponential memory capacity. Empirically, we use both synthetic and real-world datasets to demonstrate that the sparse Hopfield model outperforms its dense counterpart in many situations.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. GRAFT: Grid-Aware Load Forecasting with Multi-Source Textual Alignment and Fusion

    cs.LG 2025-12 conditional novelty 6.0

    GRAFT improves electric load forecasting accuracy by aligning multi-source daily texts with half-hour load series and using cross-attention fusion, outperforming baselines on a new Australian benchmark across hourly t...