Some graph neural networks handle heterophily, meaning graphs where linked nodes usually belong to different classes, by attaching a random latent "relation vector" to every edge. They learn a distribution over these vectors with variational inference, which fits an approximate distribution by stochastic gradient descent on a sampled objective. These models perform well, but their gradients are noisy, and the noise has an unusual property. A family of gradient estimators can make this noise disappear entirely once the approximate distribution matches the true one. That only happens if the model's chosen distribution family can actually represent the truth. Heterophily is exactly the case where it cannot. A homophilous edge needs a relation vector near zero, while a heterophilous graph mixes several distinct kinds of edge, such as student–faculty or fraudster–victim, each needing a different translation. A single Gaussian per edge then has to straddle several modes.
This note proposes to measure and fix that mismatch. The claim is that the gradient noise left at convergence in variational edge models is a predictable function of the graph's heterophily structure. The noise vanishes when the graph is homophilous and persists when relations are multimodal. Conditioning each edge's distribution on an inferred class pair restores the noise-free regime, which should show up as faster, more reproducible training on heterophilous benchmarks. The vanishing-variance machinery supplies the mechanism. Heterophily is the regime that breaks it and the diagnostic variable that predicts when it breaks.
Core Claim
The vanishing-variance idea comes from Sticking the Landing (STL). The gradient of the variational objective splits into two parts: a "path" part, which tracks how samples move as parameters change, and a "score" part, which tracks how the density itself changes. The score part averages to zero but adds noise. Dropping it, and evaluating $\log q$ on samples with its parameters held fixed, gives an estimator whose per-sample value is exactly zero once $q$ equals the target posterior. The reason is that $\log p - \log q$ is then constant. Provable convergence guarantees for black-box variational inference turns this into theory. For Gaussian families, estimator variance is bounded by the squared distance to the optimum. With STL and a Gaussian target, convergence becomes exponential rather than $O(1/T)$.
These results share an assumption we exploit: the target must lie inside the family. VR-GNN builds a per-edge encoder from structure, feature differences and labels. Its message passing translates each neighbour by its relation vector before aggregation, $h_i = \mathrm{AGG}(\{h_j + r_{ij}\})$. It trains with ordinary reparameterized gradients and does not analyse variance. If the true posterior of $r_{ij}$ is a mixture over the unknown class pair $(y_i, y_j)$, a unimodal Gaussian $q$ never matches it. Our prediction is that STL then leaves a noise floor that grows with how separated and how numerous the relation modes are. STL may even be worse than the full gradient, through the negative-correlation pathology Roeder et al. flag.
For a homophilous graph there is essentially one mode and the floor should be near zero. This is a sharper and more falsifiable statement than "apply STL to graph VAEs."
We quantify graph structure with Adjusted Homophily and Label Informativeness, not the raw edge-homophily ratio. That paper shows label informativeness tracks GraphSAGE accuracy with Spearman 0.93, versus 0.05 for adjusted homophily. Its warning that raw homophily is distorted by class imbalance applies directly to any claim indexed by "heterophily level."
Research Program
The analytical piece is a small, tractable model. Node classes come from a stochastic block model with $K$ classes. Each edge's relation vector is drawn from a Gaussian whose mean depends on the class pair, and observations are linear-Gaussian. In this model the exact per-edge posterior is a mixture whose weights are the class-pair posteriors. We would derive the STL variance at the best unimodal Gaussian fit and expect it to scale with the weighted spread of mode means, a result that falls out of the cancellation argument. This extends the quadratic-bound style of Domke et al. from a well-specified to a misspecified family, a case their analysis leaves open.
The constructive piece is a class-pair-conditioned variational family. Each edge's $q$ becomes a mixture over class pairs, with components shared across edges as a codebook of relation modes. The mixture weights are set by the classifier's current soft predictions for both endpoints. We train the continuous component parameters with STL. The discrete mixing over class pairs is marginalised exactly, since $K^2$ is small, so no score-function term is reintroduced for the discrete choice. Sharing components across edges also eases VR-GNN's stated scalability concern: parameters grow with the number of class pairs rather than with the number of edges.
A third piece is the diagnostic. At checkpoints we freeze parameters and estimate the trace of gradient covariance across Monte Carlo draws. We record it per edge, so it can be correlated with local heterophily, not just global metrics. Platonov et al. note that global metrics hide local variation.
Baselines
The naive reference points are an MLP on node features and a plain GCN. The MLP marks what topology adds at all; Beyond Homophily shows GCNs often fall below MLPs on heterophilous graphs.
The strongest competitor on the scientific question is VR-GNN itself, trained exactly as published with reparameterized gradients. Our methods are drop-in changes to its estimator and variational family. VR-GNN reports beating ACM-GCN by 5.1% on Chameleon and GloGNN++ by 13.8% on Actor. The file gives no absolute VR-GNN accuracies; no reported result found on Lacuna for those figures, so we would rerun it ourselves.
Among non-variational methods, the strongest reported numbers in the file are for CDE-GRAND from Graph Neural Convection-Diffusion with Heterophily: 91.64% accuracy on Roman-empire and 95.50% on Minesweeper. ACM-GCN and H2GCN cover deterministic filterbank and multi-hop designs. On Texas, Geom-GCN reports 67.57% for Geom-GCN-P against 52.16% for GCN.
Several ablations isolate the key ingredient by crossing estimator with family. Unimodal Gaussian with the standard gradient is VR-GNN. Unimodal with STL tests whether the estimator alone helps. Mixture with the standard gradient tests whether the family alone helps. Mixture with STL is the full method. A fifth arm uses the analytic Gaussian KL in place of sampled $\log q$. This matters because analytic-KL training also removes entropy-term sampling noise, yet it does not give per-sample cancellation at the optimum. It is the most natural "already fine" alternative.
A deterministic relation-vector variant, with $r_{ij}$ a learned function and no sampling, tests whether the variational layer is worth having at all.
For fairness, every arm gets the same splits, the same encoder and decoder architecture, and the same number of Monte Carlo samples per step unless that number is the variable under study. All arms share an equal hyperparameter search budget over learning rate, weight decay and KL weight, use equal wall-clock limits, and are run over at least ten seeds.
Beating VR-GNN means two things. First, a lower gradient-variance floor at matched objective value. Second, either higher mean accuracy or a significantly smaller seed-to-seed standard deviation at equal accuracy on the heterophilous benchmarks, with no loss on Cora, CiteSeer and PubMed. Matching CDE-GRAND on the large benchmarks is a stretch goal, not the claim.
Why not just…?
Why not just average more Monte Carlo samples or average the iterates? More samples shrink variance by $1/S$ but never to zero. Polyak averaging of the parameter iterates damps chatter without changing the noise source. This is a real threat on small graphs, where the noise floor may not limit accuracy at all. We therefore include compute-matched arms: the standard gradient with $S$ times more samples, and the standard gradient with iterate averaging, both under the same wall-clock limit. If either matches the mixture+STL arm, we will report that the floor is cheaply manageable and the contribution narrows to the diagnostic.
Why not just drop the variational layer and use deterministic relation vectors? If the deterministic variant matches VR-GNN, then the stochastic relation vectors add nothing beyond regularisation, and their gradient estimator is moot. The file contains no evidence either way, since VR-GNN is not reported against such an ablation. We run it on every benchmark and treat a deterministic win as a reportable negative result about variational edge models.
Why not just use a deterministic filterbank like ACM-GCN or a structural design like H2GCN? These are cheap and strong. However, ACM's own analysis identifies a failure case where diversification cannot separate classes: several small clusters attached to one large cluster, so that neighbour differences look alike. H2GCN treats all edges of a hop uniformly. The class-pair codebook targets exactly the case where different heterophilous edge types need different translations. We test this on synthetic graphs constructed with that imbalanced topology. If filterbanks match us there, the relation-mode story is wrong.
Proposed Experiments
The first decisive check is synthetic. On syn-cora-style graphs and the block model above, we sweep homophily from 0 to 1 and the number of distinct relation modes from 1 to $K^2$. The prediction is specific. For unimodal STL, the converged gradient-variance floor should be near zero at high homophily and rise with mode count and separation, in line with the derived scaling. Mixture+STL should keep the floor near zero across the sweep. Unimodal STL should be no better than the standard gradient once modes are well separated. A flat floor across homophily falsifies the core claim.
The second check uses the real benchmarks: Texas, Cornell, Wisconsin, Chameleon, Squirrel and Actor, with Platonov et al.'s Roman-empire, Minesweeper, Amazon-ratings, Questions and Workers for scale, and Cora, CiteSeer and PubMed as homophilous controls. We report accuracy, its standard deviation over seeds, converged gradient variance, and steps to reach 95% of final validation accuracy. The test is whether per-dataset label informativeness and adjusted homophily predict the variance gap between unimodal and mixture families. A rank correlation across datasets is the summary statistic.
The third check is per-edge. Within a single heterophilous graph, edges whose endpoints have confidently different predicted classes should carry most of the residual variance under the unimodal family, and that concentration should disappear under the mixture family.
If the first check holds but accuracy and reproducibility gains are absent on real graphs, the honest conclusion is diagnostic rather than practical: noise floors exist but do not limit these benchmarks.
References
- Sticking the Landing: Simple, Lower-Variance Gradient Estimators for Variational Inference
- Provable convergence guarantees for black-box variational inference
- VR-GNN: variational relation vector graph neural network for modeling homophily and heterophily
- Characterizing Graph Datasets for Node Classification: Homophily-Heterophily Dichotomy and Beyond
- Beyond Homophily in Graph Neural Networks: Current Limitations and Effective Designs
- Graph Neural Convection-Diffusion with Heterophily
- Is Heterophily A Real Nightmare For Graph Neural Networks on Performing Node Classification?
- Geom-GCN: Geometric Graph Convolutional Networks