We introduce Graph Hopfield Networks, whose energy function couples associative memory retrieval with graph Laplacian smoothing for node classification. Gradient descent on this joint energy yields an iterative update interleaving Hopfield retrieval with Laplacian propagation. 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 energy-descent 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 enables graph sharpening for heterophilous benchmarks without architectural changes.
Figures & tables
Figure 1: One iteration of the GHN update: node features xv are blended with (i) memory retrieval from pattern bank M , and (ii) graph Laplacian smoothing over neighbors. Damping α controls the step size.
Cora
CiteSeer
PubMed
Photo
Computers
GHN variants
LSE
82.0±0.6
70.9±0.8
77.9±0.4
94.5±0.3
91.3±0.2
LSR
82.0±0.6
70.9±1.0
78.1±0.4
94.4±0.2
91.3±0.4
Hier(8)
82.3±0.4
70.3±1.1
77.6±0.8
94.2±0.2
91.3±0.2
NoMem
80.3±0.4
69.8±1.1
77.2±0.6
94.7±0.2
91.5±0.2
Baselines
Table 1: Node classification accuracy (%) with per-model HP tuning. Bold : best per column. † : bimodal ( > 10% std).
Clean
Edge drop
Feat. mask
Feat. noise
GHN variants
LSE
94.4±0.3
93.7±0.4
89.4±1.8
93.9±0.3
LSR
94.3±0.2
93.7±0.5
91.0±2.4
94.1±0.2
Hier(8)
94.2±0.2
93.7±0.5
91.9±1.1
93.9±0.1
NoMem
94.4±0.3
94.0±0.5
86.9±3.1
94.2±0.3
Baselines
Table 2: Accuracy (%) under 50% corruption on Amazon Photo. Clean baselines may differ from Table 1 due to a separate HP sweep optimized for robustness. Bold : best per column.
Figure 2: Accuracy under progressive edge deletion on Amazon and Planetoid datasets. GHN variants degrade more gradually on Amazon; Planetoid details in Appendix C.1 .
Texas
Wisconsin
Cornell
Actor
GHN variants
LSE
81.4±1.5
82.2±0.6
78.1±3.2
38.0±0.5
LSR
80.8±1.5
82.5±1.1
78.9±1.7
37.9±0.5
Hier(8)
80.5±3.3
82.2±1.7
78.1±2.0
37.8±0.6
NoMem
80.5±1.7
82.4±0.9
78.6±2.4
38.0±0.7
Heterophily-aware baselines
Table 3: Node classification (%) on heterophilous benchmarks. Bold : best per column. † Published results ( Chien et al., 2021 ) on same splits; Actor not reported.
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
Parameter
Value / Grid
GHN (all variants)
Hidden dimension
{64,128}
Number of patterns K
{64,256} (LSE/LSR)
Inverse temperature β (init)
1.0 (learnable)
Laplacian weight λ
0.3
Damping α
0.3
Appendix
Table 4: Hyperparameters for GHN and training protocol. Per-model HP tuning (Table 1 ) selects the best config per dataset from the grid ranges shown.
50% edge drop
100% edge drop
Cora
CiteSeer
PubMed
Cora
CiteSeer
PubMed
GHN -LSE
−6.5
−10.2
−1.8
−15.5
−19.5
−4.6
GHN -Hier(8)
−5.6
−8.1
−2.5
−13.5
−14.2
−6.1
GCN
−5.9
−5.5
−2.2
−13.6
−9.7
−4.8
APPNP
−6.1
−3.0
−2.3
−12.5
−6.3
−5.5
GIN
−12.7
−16.5
−10.3
−44.1
−49.9
−30.5
Appendix
Table 5: Relative accuracy drop (%) under edge deletion on Planetoid. Smaller magnitude = greater robustness. Bold : most robust per dataset.
Figure 3: Accuracy under feature masking across five datasets. Tuning selects K=64 on Planetoid and K=256 on Amazon. All models degrade at comparable rates on Planetoid; on Amazon, memory-enabled variants show substantially greater robustness (Table 2 ).
Figure 4: Phase diagram of LSE vs. LSR energy on Amazon Photo. Each cell shows mean test accuracy over 10 seeds. High variance in some cells reflects bimodal behavior (seeds either converge to ∼94% or collapse). At K=64 , LSR is stable for moderate β while LSE is bimodal for all tested β .
Dataset
0
0.01
0.05
0.1
0.2
0.3
0.5
1.0
Cora
57.7
62.7
71.7
76.1
80.2
81.8
81.6
80.6
CiteSeer
55.6
59.1
65.1
67.6
70.2
69.6
68.9
69.4
PubMed
73.0
73.2
74.5
75.2
78.2
77.7
76.9
76.7
Texas
74.1
71.6
70.0
64.9
66.8
67.0
66.8
64.9
Wisconsin
79.8
80.8
72.2
67.1
60.0
55.1
45.3
44.9
Cornell
73.5
72.4
63.8
46.2
41.1
44.3
42.2
41.4
Appendix
Table 6: GHN-LSE test accuracy (%) as a function of λ . Bold : best λ per dataset.
λ=−0.3
λ=−0.1
λ=−0.05
λ=−0.01
Texas
LSE
75.9
77.3
78.6
74.6
LSR
75.9
77.3
79.5
78.6
Wisconsin
LSE
76.9
81.0
81.8
79.0
LSR
78.8
80.8
80.4
79.0
Cornell
LSE
61.9
66.5
74.6
77.0
LSR
63.2
69.5
74.3
77.8
Appendix
Table 7: GHN accuracy (%) with negative λ on heterophilous datasets. Best result per dataset-model in bold .
T=1
T=2
T=4
T=8
T=16
Cora
74.5±1.1
78.4±0.5
81.8±1.4
56.1±26.1
30.9±2.0
Texas
73.5±2.8
72.2±2.9
67.0±1.7
65.9±1.4
65.4±1.1
Wisconsin
63.7±1.0
58.6±2.3
55.1±5.9
44.1±1.9
46.3±1.4
Appendix
Table 8: GHN-LSE accuracy (%) vs. iterations T with λ=0.3 . Bold : best T .
H=1
H=2
H=4
H=8
Cora
81.5±0.9
81.6±1.0
81.8±1.4
80.3±0.4
CiteSeer
69.6±1.4
70.0±1.6
69.6±0.7
69.5±1.5
PubMed
77.6±0.5
77.6±0.6
77.7±0.9
77.9±1.0
Texas
64.9±1.8
65.9±2.9
67.0±1.7
67.6±0.0
Appendix
Table 9: GHN-LSE accuracy (%) vs. number of memory heads H .
Mask %
0%
10%
30%
50%
70%
gˉ
0.727±0.039
0.727±0.039
0.726±0.038
0.725±0.038
0.723±0.037
Accuracy (%)
93.6±0.5
93.6±0.5
93.2±0.5
90.6±1.3
67.9±12.8
Appendix
Table 10: Mean gate value gˉ of GHN-LSE on Amazon Photo under increasing feature masking. Higher g means more weight on memory retrieval.
Dataset
β
∥M∥σ2
β∥M∥σ2
Cora
1.11
1.94
2.15
CiteSeer
1.09
1.71
1.88
PubMed
1.36
5.24
6.54
Amazon Photo
0.99
36.37
35.96
Amazon Comp.
1.12
2.11
2.36
Texas
1.25
3.88
4.65
Appendix
Table 11: Learned β∥M∥σ2 at trained operating points (mean over 5 seeds). The convexity condition requires this product to be <2 .