Why Node-wise Gates Fail Without Labels: A Bias--Variance Analysis of Spectral Graph Contrastive Learning
Abstract
Spectral graph contrastive learning builds a low-frequency and a high-frequency channel and fuses them globally, with one rule shared by all nodes.
A node-wise gate is the natural refinement: it is at least as expressive, and node-adaptive filtering helps in supervised learning.
However, without labels, the gate falls behind global fusion on homophilic graphs and is unstable across seeds.
Measuring its error against a label-derived oracle gate, we decompose it into bias and variance and trace each to a cause with controlled interventions.
The bias comes mainly from the uniformity pressure of the contrastive loss, which favors the more dispersed high-frequency channel while labels on homophilic graphs favor low frequencies.
The variance comes from a positive feedback loop between the gate and the channels it weights, which locks in seed-dependent choices early.
The two sources respond to separate interventions.
These findings lead to AlignGate, which trains each channel with its own contrastive loss and the gate with alignment only.
AlignGate removes the high-frequency bias on homophilic graphs, cuts the variance by about two thirds, and outperforms global fusion and spectral baselines on nine benchmarks and a large graph.