Graph Hopfield Networks: Energy-Based Node Classification with Associative Memory
Rao, Abinav, Wa, Alex, Athavale, Rishi
–arXiv.org Artificial Intelligence
ABSTRACT We introduce Graph Hopfield Networks (GHN), whose energy function couples associative memory retrieval with graph Laplacian smoothing for node classification. Memory retrieval provides regime-dependent benefits: up to 2.0 pp on sparse citation networks and up to 5 pp additional robustness under feature masking; the iterative energydescent architecture itself is a strong inductive bias, with all variants (including the memory-disabled NoMem ablation) outperforming standard baselines on Amazon co-purchase graphs. Tuning λ 0 enables graph sharpening for heterophilous benchmarks without architectural changes. 1 INTRODUCTION Modern Hopfield networks (Krotov & Hopfield, 2016; Demircigil et al., 2017; Ramsauer et al., 2021) have renewed interest in associative memory as a computational primitive. Their connection to Transformer attention (Ramsauer et al., 2021) has spurred applications across vision, language, and scientific domains. Yet despite growing theoretical understanding (including hierarchical memory organization (Krotov, 2021), novel energy functions (Hoover et al., 2025), and capacity analyses (Lucibello & M ezard, 2024)), their application to node classification on graphs via an energybased formulation remains, to our knowledge, underexplored. Liang et al. (2022) apply modern Hopfield networks to graph-level tasks, but do not couple memory retrieval to graph structure in a joint energy. Graph neural networks (GNNs) learn node representations by aggregating neighborhood information (Kipf & Welling, 2017; Velickovic et al., 2018; Hamilton et al., 2017), but degrade under noisy or incomplete edges (Z ugner et al., 2018). Associative memory offers an alternative, content-based signal: rather than relying on local structure, it retrieves relevant patterns from feature content.
arXiv.org Artificial Intelligence
Mar-5-2026