TL;DR
Most Graph Neural Networks (GNNs) treat every node and every graph with a one-size-fits-all rule for sharing information—usually averaging neighbors together. CASTOR replaces this rigid rule with a lightweight, self-tuning filter that lets every individual node decide at every step whether to blend in with its neighbors, stand out from them, or stay put, while using physics-inspired "momentum" to speed up or brake signal travel across the network. As a result, a single architecture achieves top-tier performance across wildly different types of graphs without needing custom redesigns.
What Problem Does This Paper Address?
Imagine trying to figure out someone’s profession based on their social network. In a university citation network, connected papers usually share a topic—this "birds of a feather" property is called homophily, and averaging a node with its neighbors (smoothing) works wonders. In a dating network or fraud ring, however, connected nodes are often opposites—a property called heterophily. Here, averaging neighbors washes out the exact differences you need to see, leading to an indistinguishable mush known as over-smoothing.
Because standard GNNs bake a single, fixed mathematical filter into every layer, practitioners usually have to inspect a new graph first and hand-pick a specialized architecture tailored to its homophily level. The authors show why even sophisticated fixed filters fail along two distinct axes:
- Nodes in the same graph have different needs: Some nodes are best predicted by their own raw features, others by immediate neighbors, and others by multi-hop neighborhoods—and that ideal recipe changes from step to step.
- Graphs mix information at different speeds: Passing a signal across some graphs barely changes it after ten steps, while on dense graphs it scrambles almost immediately.
Methods
Instead of committing to a static filter, CASTOR treats a node's evolving representation like a particle moving through space, guided by two state-dependent mechanisms at each propagation step $k$:
- Per-Node Routing Kernel: At every step, a tiny shared neural network (the Router) looks at two things for each node: how much it currently disagrees with its neighbors (the local residual) and what it looked like at the very beginning (its unmixed initial state). It then outputs three probability weights to mix three primitive operations:
- Smoothing (Low-pass): Average with neighbors.
- Residual (High-pass): Contrast against neighbors by amplifying disagreements.
- Identity (Pass-through): Leave the representation unchanged.
- Sign-Flexible Momentum: Rather than standard first-order message passing (where step $k$ only depends on step $k-1$), CASTOR adds a learnable scalar multiple $\beta_k$ of the node's recent "velocity" (the change between the last two steps). If $\beta_k > 0$, it accelerates stalled signals deeper into slow-mixing graphs (like Polyak's heavy-ball momentum in optimization). If $\beta_k < 0$, it damps (pushes back against) the motion to prevent overshooting on fast-mixing graphs. Setting $\beta_k = 0$ recovers standard propagation.
Datasets
No new datasets are introduced, as the goal is to test universality across the existing landscape. CASTOR is evaluated on 14 standard transductive node-classification benchmarks spanning the full homophily-to-heterophily spectrum:
- Homophilic graphs: Cora, CiteSeer, PubMed.
- Small heterophilic graphs: Texas, Wisconsin, Actor, Squirrel, Chameleon, Cornell (plus de-duplicated versions of Squirrel and Chameleon).
- Mid-scale heterophilic benchmarks (Platonov et al.): Roman-empire, Amazon-ratings, Minesweeper, Tolokers, and Questions (ranging from 10,000 to ~49,000 nodes).
- Large-scale scalability checks:
ogbn-arxivandogbn-products(2.45 million nodes).
Key Insights and Ideas
- Remembering where you started is crucial: If two nodes look very similar to their neighbors at step 5, one might be a converged hub that should stop updating, while the other sits on a tricky boundary and needs sharper contrast. Re-reading the initial state at every step gives the Router the context to tell them apart.
- Opposite momentum signs solve the same exploration problem: On slow-mixing Cornell, CASTOR learns positive momentum ($\bar{\beta} = +0.76$); on fast-mixing Squirrel, it learns negative momentum ($\bar{\beta} = -0.52$). Remarkably, both allow signals to travel over $2.3\times$ farther across 10 hops instead of stalling out—one by pushing forward, the other by resisting local collapse.
- White-box interpretability for free: Because the routing weights and momentum scalars are computed directly in the forward pass, you can inspect a trained model without post-hoc tools and watch individual nodes switch strategies hop by hop.
Key Results
- Unmatched consistency: Across all 14 main benchmarks and 14 competitive baselines, a single CASTOR architecture is the only model to rank in the top three on every single dataset, achieving an average rank of 2.07—more than 3.5 ranks ahead of the runner-up, GAMMA (5.79), and MixHop (6.21).
- Strong wins across regimes: CASTOR takes 1st place on PubMed (89.85%), Wisconsin (86.67%), Cornell (81.67%), and Minesweeper (91.70% ROC-AUC).
- Finer routing unlocks major gains: When operating on wider hidden states rather than class logits, letting the Router make decisions per channel instead of once per node boosts Roman-empire accuracy by +9.8 points to 88.2% (beating every baseline in the paper) while adding at most 6% to training step time.
- Lightweight overhead: On
ogbn-arxiv, 15-step inference takes just $1.34\times$ the time of a standard GCN, and evaluating the Router on a 1% sample of nodes sacrifices less than 0.5% accuracy.
Limitations and Future Work
- Scope of graphs and theory: The core evaluation focuses on static, undirected, transductive node classification, and the theoretical guarantees omit an optional edge-curvature gate used on several datasets. (Though initial appendix tests on directed Chameleon and Squirrel show CASTOR drops only ~4 points compared to 15–19 points for baselines).
- Linear scaling with depth: Full-batch training memory and latency grow linearly with the number of steps $K$, which could bottleneck very deep filters without subgraph sampling.
- Future directions: Extending state-dependent operator routing to graph-level prediction tasks, sparse propagation, dynamic/signed networks, and richer per-channel routing schemes.
Summary updated