cs.LGMar 25, 2026

Cost-Sensitive Neighborhood Aggregation for Heterophilous Graphs: When Does Per-Edge Routing Help?

Authors: Eyal Weiss

Organizations: Computer Science Faculty, Technion — Israel Institute of Technology

Abstract

Recent work distinguishes two heterophily regimes: adversarial, where cross-class edges dilute class signal and harm classification, and informative, where the heterophilous structure itself carries useful signal. We ask: when does per-edge message routing help, and when is a uniform spectral channel sufficient? To operationalize this question we introduce Cost-Sensitive Neighborhood Aggregation (CSNA), a GNN layer that computes pairwise distance in a learned projection and uses it to soft-route each message through concordant and discordant channels with independent transformations. Under a contextual stochastic block model we show that mean aggregation can reverse the label-aligned signal direction under heterophily, and that cost-sensitive weighting with w+/w−>q/pw_+/w_- > q/p preserves the correct sign. On six benchmarks with uniform tuning, CSNA is competitive with state-of-the-art methods on adversarial-heterophily datasets (Texas, Wisconsin, Cornell, Actor) but underperforms on informative-heterophily datasets (Chameleon, Squirrel) -- precisely the regime where per-edge routing has no useful decomposition to exploit. The pattern is itself the finding: the cost function's ability to separate edge types serves as a diagnostic for the heterophily regime, revealing when fine-grained routing adds value over uniform channels and when it does not. Code is available at https://github.com/eyal-weiss/CSNA-public .

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. HeterSEED: Semantics-Structure Decoupling for Heterogeneous Graph Learning under Heterophily

    May 6, 2026Xinyi Li, Ming Li, Lu Bai +5Heterogeneous GNNsNode Classification

  2. Disentangling Homophily and Rarity: Explaining Failure in Graph Neural Networks

    Aug 14, 2026Preben M. Ness, Fariz Ikhwantri, Dusica MarijanGraph Neural NetworksNode Classification

  3. Revealing the Pitfalls and Re-Evaluating the Advancement of Heterophilic Graph Learning

    Sep 9, 2024Sitao Luan, Qincheng Lu, Chenqing Hua +3Graph Neural NetworksNode Classification