TRANSMISSION // 2603.24291v3
When Does Per-Edge Routing Help Graph Neural Networks?
Source published
A study of a graph-neural-network layer that routes neighbor messages individually finds weak edge-type separation and no clear benefit on six heterophily benchmarks.

Graph neural networks learn from connections between data points—but when connected nodes tend to have different labels, combining their information can help or hurt. Eyal Weiss tests whether a model that treats each connection individually can tell useful messages from misleading ones. In the reported benchmarks, the method’s learned routing signal is weak, and the extra complexity brings no clear advantage.
Graph neural networks (GNNs) classify nodes partly by collecting information from their neighbors. This works naturally when connected nodes tend to share labels, a pattern called homophily. But in heterophilous graphs, connected nodes often have different labels, so mixing their information can blur or even distort the signal a model needs.
That does not mean every cross-label connection is harmful. Some graphs may contain useful information precisely because of their heterophilous structure. In this study, Eyal Weiss distinguishes between cases where cross-class connections interfere with classification (“adversarial” heterophily) and cases where the structure helps (“informative” heterophily). The central question is whether a GNN should process each edge differently, or whether uniform treatment of edges is enough.
A learned cost for each edge
The proposed method, Cost-Sensitive Neighborhood Aggregation (CSNA), estimates how similar the two endpoint nodes are in a learned representation. It uses that distance as an edge “cost”: lower-cost connections are treated as more likely to link same-class nodes, and higher-cost connections as more likely to cross classes.
CSNA sends messages through two channels, with separate learned transformations for the two kinds of connections, then combines those channels with information from the node itself. This is more fine-grained than a method that applies the same operation to every edge in a channel. It also requires extra computation: in the authors’ experiments, CSNA training took three to nine times as long as training a standard graph convolutional network (GCN).
The paper also develops a mathematical analysis using a contextual stochastic block model—a simplified setting in which class labels influence both connection probabilities and node features. Under this model, the authors show that mean aggregation can reverse the direction of the difference between class-average features in a heterophilous graph. A weighted aggregation can preserve that direction if it favors same-class edges sufficiently strongly relative to cross-class edges.
That result is conditional, not a guarantee that CSNA will learn the needed weights. The theory assumes weights independent of node features, while CSNA’s weights are feature-dependent. It also studies a simplified model and does not directly establish better classification accuracy.
What happened on the benchmarks?
The empirical evaluation covered six node-classification datasets: four categorized by the paper as adversarial heterophily and two as informative heterophily. The models were tested on ten random train, validation and test splits per dataset. The methods shared a tuning protocol for learning rate and hidden dimension; CSNA also tuned its temperature parameter. The authors report test accuracy averaged across splits, while noting that many differences fall within the variability across splits.
On the four adversarial-heterophily datasets, CSNA’s accuracy was close to leading methods on Cornell and Actor, but it trailed the best result by about four to five percentage points on Texas and Wisconsin. It exceeded an MLP—a model that ignores graph connections—by no more than 0.7 points on these datasets. That means its results do not show a clear benefit from using graph structure there.
On the two informative-heterophily datasets, Chameleon and Squirrel, a standard GCN performed better. CSNA was about 13 and 16 percentage points below it, respectively. The study therefore does not support a single approach as best across both kinds of heterophily.
The authors also checked whether CSNA’s learned scores actually distinguished same-class from cross-class edges. Excluding self-connections, the area under the ROC curve (AUC) ranged from 0.52 to 0.73; an AUC of 0.5 corresponds to random ranking. The separation was generally weak, with no consistent pattern between the two regimes. The paper concludes that these results offer no evidence that per-edge routing in this form adds value over uniform channels.
What remains uncertain?
This is not a verdict on every possible form of edge-by-edge routing. CSNA’s routing is constrained: its weights stay close to uniform, and the default model does not directly train its distance measure to separate edge types. Stronger routing or an explicit training signal might behave differently. The study did not include an ablation that holds the architecture fixed while switching routing to uniform weights, so it cannot isolate routing’s effect cleanly from the other design choices.
The evaluation is also limited to six heterophily benchmarks and a particular tuning protocol. The paper notes that some baselines perform less well here than in other reports, and that Chameleon and Squirrel contain duplicate nodes and were used without filtering. Its mathematical analysis assumes a simplified, dense graph model and does not cover multi-layer interactions or classification accuracy directly.
The source is an arXiv preprint, not necessarily peer reviewed. Its findings should be read as evidence about this method and these experiments, rather than a general rule about graph learning. The paper and code are available at arXiv and GitHub.
- graph neural networks
- heterophily
- message passing
- node classification
- per-edge routing
- graph machine learning
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
A New Geometry for Graphs Whose Neighbors Differ
Source published
Shared keywords: graph neural networks, node classification
Can Graph AI Adapt When Its Source Data Is Incomplete?
Source published
Shared keywords: graph neural networks, node classification
What Can Graph Neural Networks Represent?
Source published
Shared keywords: graph neural networks
A graph-learning method updates its view as connections appear
Source published
Shared keywords: graph neural networks, message passing
A graph neural network for counterfactual prediction
Source published
Shared keywords: graph neural networks