Introduction
Training Heterogeneous Graph Neural Networks (HGNNs) is often bottlenecked by repetitive message passing. While pre-computing label information speeds things up, it usually suffers from "label leakage"—where a node accidentally "sees" its own answer during training. Echoless-LP solves this by partitioning nodes so they only learn from neighbors in other groups, eliminating leakage while remaining memory-efficient enough to handle million-node graphs where previous methods crashed.
The Challenge: Label Leakage and the Echo Effect
Heterogeneous graphs (graphs with different types of nodes and edges, like "authors," "papers," and "venues") are ubiquitous, but training models on them is computationally expensive. Standard HGNNs perform "message passing" (aggregating neighbor data) every single time the model sees a node during training.
To fix this, researchers use pre-computation: they perform message passing once as a preprocessing step and save the results. Label-based pre-computation is particularly powerful because it uses the known labels of neighboring nodes as features. However, it has a fatal flaw called the echo effect. In multi-hop message passing, a node’s own label can propagate out to a neighbor and then bounce back to itself. During training, the model "cheats" by looking at this leaked label, leading to poor performance on new, unseen data where labels aren't available.
Existing fixes are either "leaky" (only partially reducing the echo) or "memory hogs" (requiring massive matrices that cause Out-of-Memory (OOM) errors on large graphs).
Proposed Method: Echoless-LP
The authors introduce Echoless Label-based Pre-computation (Echoless-LP), which relies on three clever components:
- Partition-Focused Echoless Propagation (PFEP): Instead of processing the whole graph at once, the target nodes are split into $M$ disjoint partitions. When calculating the neighbor information for nodes in Partition A, the model masks (hides) the labels of all nodes within Partition A. This ensures a node can only "hear" labels from other partitions, completely silencing the "echo" of its own label.
- Asymmetric Partitioning Scheme (APS): A naive split can cause information loss. APS treats training nodes and unlabeled (test/validation) nodes differently. Training nodes are split into $M$ groups, while all unlabeled nodes are placed in a dedicated $(M+1)$-th partition. This ensures that when we predict for test nodes, they can still see all available training labels in the neighborhood.
- PostAdjust: Because partitioning changes the "density" of information each node receives, the authors use a renormalization mechanism to align the distributions across different partitions, ensuring the model doesn't get confused by varying scales of input data.
Experimental Evaluation
The researchers evaluated Echoless-LP on six public datasets across various scales:
- Small-scale: DBLP, IMDB, and Freebase.
- Large-scale (Million-node): OGBN-MAG, OAG-Venue, and OAG-L1-Field. These larger datasets are where memory efficiency becomes critical.
Key Results and Scalability
Echoless-LP consistently outperformed or matched state-of-the-art baselines (like NARS, SeHGNN, and RpHGNN) across all datasets. Its primary advantage lies in scalability. Previous state-of-the-art methods (like RemoveDiag-LP) required explicitly computing multi-hop adjacency matrices. For a 3-hop neighborhood on a large graph, this matrix becomes incredibly dense, requiring terabytes of RAM.
On the OAG-Venue dataset, RemoveDiag-LP hit OOM errors at 3 hops (requiring >4TB of RAM). Echoless-LP handled 5 hops easily using only ~70GB, demonstrating a massive leap in practical utility for large-scale engineering.
Insights and Future Directions
- The "Echo" is a Generalization Killer: Label leakage isn't just noise; it's a fundamental barrier. If a model can "cheat" during training, it won't learn the actual structural patterns of the graph.
- Partitioning as Regularization: A small number of partitions (like $M=2$) often performed best. The slight information loss from partitioning might act as a form of "beneficial regularization."
- Compatibility: Echoless-LP acts as a "plug-in" that works with advanced backbones like RpHGNN.
While highly efficient, the number of partitions ($M$) is a hyperparameter requiring tuning. Future work could involve dynamic partitioning to automatically optimize the trade-off between information loss and the echoless property, as well as applications to dynamic graphs.
Summary updated