Leveraging Meta-path Contexts for Classification in Heterogeneous Information Networks

Xiang Li, Danhao Ding, Ben Kao, Yizhou Sun, Nikos Mamoulis

TL;DR

ConCH is a novel graph neural network designed to classify nodes in Heterogeneous Information Networks (HINs) when labeled data is extremely scarce. By intelligently filtering multi-hop neighbors, capturing the specific "contexts" of how nodes are connected, and combining semi-supervised learning with a self-supervised objective, ConCH achieves state-of-the-art accuracy while running up to 50x faster than competing models.

What Problem Does This Paper Address?

Real-world graphs are rarely homogeneous; they are Heterogeneous Information Networks (HINs) containing multiple types of nodes and edges (e.g., a bibliographic network with Authors, Papers, and Conferences). While Graph Convolutional Networks (GCNs) excel on homogeneous graphs, adapting them to HINs is tricky.

To capture semantic relationships in HINs, researchers use "meta-paths" (e.g., the Author-Paper-Author path denotes co-authorship). However, existing meta-path-based GNNs face two major hurdles:

  1. Label Scarcity: They perform poorly when only a tiny fraction of nodes have labels (a common reality, as labeling is expensive).
  2. Computational Explosion: Models that try to capture the rich, fine-grained "context" of these connections (i.e., the specific path instances, like which paper connects two authors) suffer from exponential neighborhood growth, making them incredibly slow or causing out-of-memory errors on large graphs.

Methods

The authors propose ConCH (Context-aware Classification in HINs), which tackles these challenges through a highly efficient, multi-task learning architecture:

  • Neighbor Filtering: Instead of aggregating data from all multi-hop neighbors along a meta-path, ConCH uses a metric called PathSim to identify and keep only the top-$k$ most relevant neighbors. This drastically reduces computation and filters out noisy, irrelevant connections.
  • Context Feature Construction & Mutual Updating: ConCH doesn't just look at the endpoints of a meta-path; it looks at the "mp-context" (the actual path instance connecting them). It constructs a bipartite graph connecting target objects to their contexts, and uses graph convolution to mutually update object and context embeddings.
  • Semantic Aggregation: An attention mechanism is used to weigh and fuse the embeddings derived from different meta-paths, learning which relationships are most important for the specific classification task.
  • Multi-Task Learning (Self-Supervision): To combat label scarcity, ConCH combines a standard supervised cross-entropy loss with a self-supervised loss. It maximizes the mutual information between local node embeddings and a global graph summary (using a noise-contrastive objective). This allows the model to learn robust structural representations from the massive pool of unlabeled nodes.

Datasets

The authors evaluated ConCH on three standard HIN benchmarks and one large-scale dataset for efficiency testing:

  • DBLP (dblp-4area): Classifying authors into four research areas.
  • Yelp-Restaurant: Classifying restaurants by the type of food they serve.
  • Freebase-Movie: Classifying movies by genre.
  • AMiner: A large-scale citation network (over 416k papers and 537k authors) used specifically to test the model's scalability and memory efficiency.

Key Insights and Ideas

  • Context is crucial, but exhaustive context is a trap: Knowing that two authors are connected is good; knowing the specific paper that connects them (the context) provides massive semantic clues for classification. However, modeling every single path instance (like the MAGNN baseline does) scales terribly. ConCH proves that filtering for the top-$k$ contexts yields the best of both worlds: high accuracy and high efficiency.
  • Self-supervision rescues low-label regimes: When the authors restricted the training data to just 2% of labeled nodes, standard GNNs collapsed. By forcing the network to also solve a self-supervised task (distinguishing real node-graph pairs from corrupted ones), ConCH extracts a "data-driven prior" from the 98% unlabeled nodes, acting as a powerful regularizer that prevents overfitting on the tiny labeled set.
  • Attention correctly identifies sparse but strong signals: The model's attention mechanism successfully learns to prioritize highly informative meta-paths. For example, in Yelp, it learned to heavily weight paths connecting restaurants via shared food keywords in reviews, rather than paths connecting restaurants simply visited by the same user.

Key Results

ConCH was evaluated against 15 baselines, including state-of-the-art heterogeneous GNNs like HAN, MAGNN, HGT, and HGCN.

  • Accuracy: ConCH achieved the highest Macro-F1 and Micro-F1 scores across all 24 test configurations (varying label sparsity from 2% to 20% across datasets). For instance, on the Yelp dataset with only 2% labels, ConCH achieved a Micro-F1 of 0.8841, comfortably beating the next best model (0.8558).
  • Efficiency: ConCH demonstrated massive speedups. It was roughly 50x faster than MAGNN on DBLP and 40x faster than HGT on Yelp.
  • Scalability: On the Yelp and AMiner datasets, memory-heavy baselines like MAGNN and MVGRL failed completely due to out-of-memory errors. ConCH's runtime scaled linearly with $k$ (the number of filtered neighbors), allowing it to easily process the large AMiner graph.

Limitations and Future Work

  • Reliance on Pre-defined Meta-paths: Like many models in this family, ConCH requires domain experts to manually define the meta-paths (e.g., Author-Paper-Author) upfront. The paper does not explore automated meta-path discovery.
  • Sensitivity to Context Dimensionality: The parameter analysis revealed that if the initial context embedding dimensionality is set too high (e.g., 128 on Freebase), it can introduce noise that adversely affects classification accuracy.
  • Future Work: While not explicitly detailed in a dedicated section, the natural next steps implied by the architecture would be automating the selection/generation of meta-paths and exploring other self-supervised pretext tasks tailored for heterogeneous graphs.

Summary updated

BibTeX
@inproceedings{li2021leveraging,
  author = {Xiang Li and Danhao Ding and Ben Kao and Yizhou Sun and Nikos Mamoulis},
  title = {{Leveraging Meta-path Contexts for Classification in Heterogeneous Information Networks}},
  booktitle = {ICDE},
  year = {2021},
  doi = {10.1109/icde51399.2021.00084},
}
Figure