Many signals are defined on the nodes of a graph, such as traffic flow at road sensors or user purchases of related products. They are often partly observed, and learning their distribution enables imputing missing values and forecasting future ones. Diffusion models learn such distributions, but their forward noise is independent across nodes and does not depend on the graph. We introduce graph-aware diffusion (GAD), whose forward process is a heat diffusion on the graph driven by Gaussian noise. In the graph Fourier basis, the forward transition is a scalar Gaussian channel at each frequency. With a shared diffusion rate, high graph frequencies are attenuated faster than low ones. We propose Mode-Adaptive SNR Scheduling (MASS), which assigns each graph frequency its own diffusion rate and keeps all of them at the same SNR. For graph-stationary signals, MASS equalizes the normalized error of the optimal linear denoiser across frequencies. We bound reverse-SDE stiffness as a function of the (shifted) Laplacian's condition number, with a logarithmic upper bound for MASS and a linear lower bound for shared rates. GAD with MASS improves recommendation accuracy by 5-19%, reduces traffic-imputation RMSE by up to 7.8% with half as many reverse steps, and improves forecasting MAE and RMSE using only 3 reverse steps.
Figures & tables
Operation
Cost
Eigendecomposition of Lγ (once)
O(n3)
Power spectrum pk (once)
O(Nn2)
Attenuation and noise variance (per t )
O(n)
Training iteration
O(Nbn2)+CΘtrain
Reverse step
O(n2)+CΘeval
TABLE II: Computational cost of GAD-MASS.
Fig. 1: Frequency-wise attenuation and SNR under a shared and a frequency-dependent diffusion rate , for the forward processes selected in Table IV . Top row stationary, bottom row block covariance. Left: attenuation at,k of the four lowest (blue) and four highest (orange) graph frequencies under Cosine (solid) and MASS (dotted). Center and right: log10\snrt,k over diffusion time and graph frequency under Cosine, clipped at −30 , and under MASS, on its own color range.
LS(0)↓
Reduction LS(0)/LS(0),MASS↑
Dataset
γ
\cond(Lγ)
FCPS
Cosine
MASS
M
FCPS
Cosine
Stationary
10−3
7687
1.33×105
4.10×106
31.25
31.64
4.25×103
1.31×105
3×10−3∗
2563
4.43×104
1.37×106
29.36
29.91
1.51×103
4.67×104
10−2†
770
1.33×104
4.11×105
27.24
28.02
4.88×102
1.51×104
Block covariance
10−3∗
7687
2.39×105
4.10×106
27.54
28.29
8.68×103
1.49×105
3×10−3
2563
7.97×104
1.37×106
27.46
28.22
2.90×103
4.99×104
TABLE III: Stiffness induced by the diffusion rate. LS(0) from ( 50 ), and its MASS bound M (Theorem 2 , B=0 ). ∗ and † mark the shifts selected for MASS and for the shared diffusion rates.
Solver
Forward process
Steps
Stationary SWD ↓
Block covariance SWD ↓
(a) Selection point
DPM-Solver++2M
Isotropic VP
10
0.0767±0.0102
0.1887±0.0288
FCPS
10
0.0785±0.0266
0.1836±0.0202
Cosine
10
0.2843±0.0114
0.2966±0.0219
MASS (ours)
10
0.0630±0.0037
0.1611±0.0095
Improvement over best baseline
–
17.9%
12.3%
TABLE IV: Sampling at a fixed number of reverse steps. SWD on the test split. (a) Selection point, 10 DPM-Solver++2M steps. (b) FCPS and MASS at 25 steps under two solvers.
Dataset
Forward process
Cov. err. ↓
Power-spectrum err. ↓
Band-ratio err. ↓
Smoothness err. ↓
Stationary
Isotropic VP
0.4787±0.0166
0.1322±0.0458
0.0305±0.0267
57.92±25.88
Cosine
0.8434±0.0132
0.8079±0.0066
1.0359±0.0043
354.52±1.84
MASS (ours)
0.4354±0.0119
0.0800±0.0125
0.0201±0.0138
23.93±9.66
Block covariance
Isotropic VP
0.8727±0.0102
0.4894±0.0463
0.0929±0.0402
104.79±34.58
Cosine
0.8599±0.0248
0.7608±0.0697
0.9014±0.0312
322.71±4.21
MASS (ours)
0.8302±0.0051
0.2562±0.0221
0.0497±0.0222
116.10±2.63
TABLE V: Generation quality across graph frequencies. Errors of the samples of Table IV (a) against the test signals.
Fig. 2: Frequency-wise power of generated signals. Frequency-wise power E[x~k2] against λγ,k for the test signals, the isotropic VP baseline and MASS at 10 DPM-Solver++2M steps, the setting of Table V . Left: stationary. Right: block covariance. Shading marks the lowest and highest quarter of the graph frequencies.
γ
σ
\cond(Lγ)
M
LS(0)↓
SWD ↓
Power-spectrum err. ↓
3×10−4
1
25620
33.53
33.27
0.0715±0.0074
0.1038±0.0291
10−3
1
7687
31.64
31.25
0.0699±0.0079
0.1106±0.0241
3×10−3∗
1
2563
29.91
29.36
0.0630±0.0037
0.0797±0.0128
10−2
1
770
28.02
27.24
0.0630±0.0055
0.0685±0.0158
3×10−3
0.25
2563
29.91
29.36
0.0730±0.0157
0.1360±0.0541
3×10−3
0.5
2563
29.91
29.36
0.0645±0.0095
0.0724±0.0042
TABLE VI: Ablation of the forward-process parameters. MASS on the stationary data around the selected setting ( ∗ ). Upper block: shift at σ=1 . Lower block: noise scale at γ=3×10−3 .
Method
Amazon-Game
Yelp
Citeulike-t
R@20 ↑
N@20 ↑
R@20 ↑
N@20 ↑
R@20 ↑
N@20 ↑
BPRMF [ 74 ]
0.1839
0.0844
0.0918
0.0485
0.1535
0.0792
LightGCN [ 75 ]
0.1899
0.0854
0.1047
0.0553
0.1574
0.0800
EASE [ 76 ]
0.2108
0.1012
0.1099
0.0601
0.1591
0.0852
MultiVAE [ 77 ]
0.2181
0.0995
0.1056
0.0548
0.1447
0.0770
ConVAE [ 78 ]
0.2192
0.0997
0.1082
0.0564
0.1477
0.0775
TABLE VII: Collaborative recommendation. Baselines as reported in [ 15 ] .
Method
Steps
PEMS04 SC–TC
PEMS08 SC–TC
MAE ↓
RMSE ↓
MAPE ↓
MAE ↓
RMSE ↓
MAPE ↓
ASTGNN [ 79 ]
–
31.70
47.76
0.212
31.82
50.76
0.220
IGNNK [ 80 ]
–
33.32
49.12
0.214
32.25
51.35
0.231
GCASTN [ 81 ]
–
30.07
47.97
0.205
30.78
49.39
0.213
LCR [ 82 ]
–
28.98
46.96
0.197
30.51
50.03
0.218
ImputeFormer [ 83 ]
–
29.35
46.71
0.206
29.64
48.37
0.216
TABLE VIII: Traffic imputation under SC–TC missingness. Baselines as reported in [ 12 ] . NR: unreported number of steps.
Method
Steps
MAE ↓
RMSE ↓
CRPS ↓
Latent ODE [ 85 ]
–
26.05
39.50
0.1100
DeepAR [ 86 ]
–
21.56
33.37
0.0700
CSDI [ 10 ]
–
32.11
47.40
0.1100
TimeGrad [ 87 ]
–
24.46
38.06
0.0900
MC Dropout [ 88 ]
–
19.01
29.35
0.0700
DiffSTG [ 13 ]
100
17.68
27.13
0.0600
TABLE IX: Probabilistic forecasting on PEMS08 with 12 history and 12 horizon steps. Baselines as reported in [ 13 ] .
Dept. of Electrical and Systems Eng., University of Pennsylvania, Philadelphia, PA 19104 USA · Department of Signal Processing and Communications, King Juan Carlos University, Madrid, Spain