Abstract
HeteroMILE is a multi-level framework designed to scale representation learning for massive heterogeneous graphs. By iteratively coarsening the graph, embedding the reduced version, and refining embeddings back to the original scale using a Heterogeneous Graph Convolutional Network (HGCN), it achieves up to a 20x speedup while maintaining or improving embedding quality.
Introduction
Real-world networks, such as academic citation webs and movie databases, are inherently heterogeneous, containing diverse entity types and relationships. Learning low-dimensional vector representations (embeddings) for these nodes is critical for downstream tasks like recommendation and classification. However, state-of-the-art methods like metapath2vec or GATNE often struggle with scalability, requiring extensive computational resources for large-scale graphs. While multi-level frameworks have been effective for homogeneous graphs, they typically fail to account for the complex semantics of heterogeneous data during the coarsening and refinement phases.
The HeteroMILE Framework
HeteroMILE introduces a three-stage pipeline designed to respect node and edge heterogeneity:
- Graph Coarsening: The graph is iteratively shrunk by merging nodes of the same type into "supernodes." Two strategies are proposed: Jaccard Similarity Matching, which merges nodes with high neighbor overlap, and Locality Sensitive Hashing (LSH), which offers $O(|V|)$ time complexity for extreme scalability.
- Base Embedding: A standard heterogeneous embedding method is applied to the smallest coarsened graph. The reduced size ensures this step is highly efficient.
- Refinement: To map embeddings back to the original graph, HeteroMILE utilizes a Heterogeneous Graph Convolutional Network (HGCN). This model learns to refine projected embeddings by incorporating local neighborhood structures from the original graph.
Experimental Evaluation
The framework was evaluated on four real-world datasets: AcademicII, DBLP, IMDB, and the massive OGB_MAG benchmark (~2M nodes).
Key Results
- Scalability: HeteroMILE achieved approximately a 20x speedup over base methods. For instance, processing OGB_MAG was reduced from 7 days to just 8 hours.
- Accuracy: On the AcademicII dataset, HeteroMILE improved the Micro-F1 score by 4.3% compared to the base method alone. This suggests that coarsening acts as a structural filter, preserving the graph's "backbone" while reducing noise.
- Optimal Coarsening: Analysis shows that 2 to 4 levels of coarsening provide the best balance between speed and quality.
Conclusion
HeteroMILE demonstrates that multi-level frameworks can be successfully adapted for heterogeneous graphs by incorporating type-aware matching and neural refinement. While accuracy slightly declines beyond 6 levels of coarsening, the framework offers a powerful tool for processing massive, complex networks. Future work may explore more advanced refinement architectures or automated parameter tuning for coarsening levels.
Summary updated