Graph neural networks (GNNs) classify a node by repeatedly averaging information from its neighbors. On very large graphs the fastest versions do this averaging once, offline. They precompute averaged features for 1, 2, …, L hops and then train a plain multilayer perceptron on the stored results. For heterogeneous graphs, where nodes have types such as author, paper and venue and edges have relation types such as "writes" or "cites", this precomputation is repeated for every relation or relation path. The stored result then grows as nodes × relations × hops, and storage becomes the bottleneck. These pipelines also use one hop count for every node and every relation. That rule has a known cost: averaging too many times makes node representations indistinguishable (over-smoothing), and different parts of a graph reach that point at different speeds.
We propose to decide, before training, how many averaging steps each node should receive along each relation. The number depends on how fast that relation's random walk mixes and how well connected the node is within that relation. We then store only one or two vectors per node and relation instead of L of them. Averaging along a dense relation around a hub node should stop after a step or two; averaging along a sparse relation around a peripheral node should continue much longer. The claim to test is that this per-node, per-relation stopping rule matches the accuracy of storing every hop at a fraction of the memory, and degrades less when the maximum hop count is pushed high.
Core Claim
Node Dependent Local Smoothing for Scalable Graph Learning (NDLS) supplies the key technique. It defines a Local Smoothing Iteration: the number of propagation steps after which a node's aggregated features come within a tolerance $\epsilon$ of their fully smoothed limit. NDLS shows this number falls with node degree and uses it to pre-smooth features on graphs up to ogbn-papers100M. It is defined for a single homogeneous transition matrix with one global $\epsilon$.
Our claim is that in heterogeneous graphs the smoothing speed varies at least as much across relations as across nodes, so a single hop count is wrong in two ways at once. For a relation (or two-step relation path) $r$ with normalized propagation operator $\hat A_r$ and second-largest eigenvalue magnitude $\lambda_r$, the standard random-walk mixing bound gives the node- and relation-specific stopping time
$$K_r(i,\epsilon)=\min\{k:\ c_{r,i}\,\lambda_r^{\,k}\le \epsilon\},$$
where $c_{r,i}$ is a constant that shrinks as node $i$'s degree within relation $r$ grows. $K_r$ is therefore large when the relation mixes slowly ($\lambda_r$ near 1) or the node is poorly connected in it. It is computable from degrees and one eigenvalue estimate per relation. That makes it far cheaper than the $\mathcal{O}(N^2 d)$ feature-similarity graphs of SimP-GCN.
Bipartite relations such as author–paper have an eigenvalue at −1, so the walk oscillates rather than converging. We handle this with same-type two-step operators or lazy walks. Feature spaces also differ by source type, so $\epsilon$ is defined as a relative distance normalized by that type's feature scale. This lets one tolerance be shared across relations without assuming aligned feature spaces.
Research Program
The work has three parts, and the first is diagnostic.
The first part measures whether the premise holds. We take the precomputed hop features that NARS (random relation subgraphs) and SeHGNN (metapath mean aggregation) would store. For each relation and each target node type, we track the effective rank of those features as hops increase; effective rank is an entropy measure of how many directions the feature matrix really spans. Are we measuring oversmoothing in graph neural networks correctly? showed that this measure tracks accuracy (average Pearson 0.91) while Dirichlet energy misses collapse, but only on homogeneous graphs and only after training. We apply it to precomputed heterogeneous features before any training, per relation and per type, which that paper did not do. If rank-collapse curves are nearly identical across relations, the method has little room to help. We would report that and stop.
The second part builds the pipeline. We compute $K_r(i,\epsilon)$ for every node and relation. We then store the NDLS-style average of hops $1..K_r(i)$ for each node, plus optionally the hop-$K_r(i)$ vector, instead of all L hops. This cuts storage by roughly a factor of L/2 or more.
The third part is the training model. A per-node fusion module weighs the node's own type-projected features against each relation context. It reuses SeHGNN's semantic fusion, adding the cheap structural statistics ($d_{r,i}$, $K_r(i)$) as inputs so a node can down-weight a relation whose neighborhood is noisy. The fusion module is not claimed as new; SeHGNN already weights metapaths per node. The contribution is where precomputation stops, what gets stored, and the per-relation smoothing diagnostic.
To avoid the leakage risk flagged for decoupled pipelines, we omit NDLS's label post-smoothing entirely. Any label features are built from training labels only, identically for every method.
Baselines
The naive reference is a feature-only MLP on each node's own type features. It shows how much structure contributes at all.
The strongest existing methods are SeHGNN and NARS, run with their full stored hop tensors. SeHGNN ranks first on HGB and tops OGB-MAG, and runs 500x faster than MAGNN on DBLP. NARS reports roughly 4% over HGT on OGB-MAG and scales to 178M-node OAG. The file does not give their absolute OGB-MAG accuracies; no reported result found on Lacuna for SeHGNN's or NARS's exact ogbn-mag accuracy. We therefore rerun both.
On HGB, the concrete reported bar is Simple-HGN at 94.01 ± 0.24 Macro-F1 on DBLP. Simple-HGN is a GAT augmented with edge-type embeddings and residual connections.
We also include GAMLP-style node-adaptive attention over all stored hops, ported onto NARS relation features. GAMLP reports 68.25% on ogbn-papers100M, but it is homogeneous. It is the most direct competitor for "letting each node pick its depth." A further baseline is TAGDN, which aligns node-type feature distributions via Gaussian optimal transport and then applies one closed-form diffusion up to 40 steps, uniformly across nodes.
Two ablations isolate the key ingredient. The first uses one hop count per relation, grid-searched globally, which tests whether node-dependence matters. The second uses one hop count for all relations, i.e. NDLS applied to the flattened graph, which tests whether relation-dependence matters.
Every method gets the same data splits, the same label-feature policy, the same hidden size, and the same hyperparameter search budget in GPU-hours. Every method is also run at matched storage budgets.
Beating the baselines means one of two outcomes. The first is matching the full-storage SeHGNN/NARS accuracy within seed variance while storing at least 3x less. The second is exceeding them when all methods are held to the same storage budget, with the advantage widening as the maximum hop count grows.
Why not just…?
Why not just put GAMLP-style per-node hop attention on top of NARS or SeHGNN features? This is the real threat. With unlimited storage it may match or beat us on accuracy, because it can learn any depth mixture. But it requires storing every hop for every relation, which is the cost we target. The decisive experiment fixes the per-node storage to the same number of vectors per relation. Hop attention then must choose which fixed hops to keep, while our rule keeps node-specific ones. We also run it at full storage to report honestly how much accuracy, if any, the compression costs.
Why not just grid-search one hop count per relation? If per-relation tuning captures nearly all the gain, the node-dependent part is unnecessary, and the contribution shrinks to a cheap spectral recipe for setting those counts without a search. The per-relation-K ablation settles this directly. We will report it whichever way it falls, broken down by degree bucket where the node-dependent rule should matter most.
Why not just use Simple-HGN or a tuned GAT? On mid-size HGB graphs this is likely competitive, and we expect not to beat 94.01 on DBLP by much. These are coupled message-passing models, though. The file notes GAT and RGCN running out of memory on OAG-Venue, and GAT being 186x slower than NDLS on industrial graphs. The comparison at OAG scale is about accuracy per unit of memory and time, not accuracy alone.
Why not just diffuse far with TAGDN? TAGDN applies the same diffusion to every node and assumes Gaussian type distributions. If uniform long diffusion over aligned types suffices, it should match us at a similar storage cost. Our effective-rank diagnostic and degree-bucketed accuracy test whether uniform depth over-smooths hubs in dense relations.
Proposed Experiments
Datasets are HGB node classification (DBLP, IMDB, ACM, Freebase), ogbn-mag, OAG-Venue, AMiner, and full OAG as the stress test for scale.
Metrics are Macro- and Micro-F1 on HGB and accuracy on ogbn-mag. Systems metrics are stored-feature bytes, precomputation time, and peak memory. The diagnostic metric is per-relation, per-type effective rank of stored features against hop count.
Three checks decide the question. First, the diagnostic must show clearly different collapse rates across relations; otherwise the premise fails. Second, at matched storage, per-node per-relation stopping must beat fixed hops and hop attention, with the largest gains on low-degree nodes and slowly mixing relations. Third, as the maximum hop count rises from 3 to 10 or more, fixed-hop baselines should lose effective rank and accuracy while ours stays flat, because nodes stop early where smoothing is fast.
A robustness check adds random edge noise to a single relation. The fusion weight on that relation should drop for affected nodes, and accuracy should degrade less than for SeHGNN's uniform mean aggregation.
References
- Node Dependent Local Smoothing for Scalable Graph Learning
- Node Similarity Preserving Graph Convolutional Networks
- Scalable Graph Neural Networks for Heterogeneous Graphs
- Simple and Efficient Heterogeneous Graph Neural Network
- Are we measuring oversmoothing in graph neural networks correctly?
- Are we really making much progress?: Revisiting, benchmarking and refining heterogeneous graph neural networks
- Graph Attention Multi-Layer Perceptron
- TAGDN: type-aligning graph diffusion network for capturing long-range dependencies in heterogeneous graphs without over-squashing and over-smoothing