NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MILE: A Multi-Level Framework for Scalable Graph Embedding

Jiongqian Liang, Saket Gurukar, Srinivasan Parthasarathy

TL;DR

This paper introduces MILE, a novel framework that makes existing graph embedding methods scalable to massive graphs. MILE achieves this by repeatedly coarsening the graph, embedding the smallest version, and then refining these embeddings back to the original graph using a learned neural network, leading to significant speedups and often improved embedding quality.

What Problem Does This Paper Address?

Graph embedding techniques are powerful tools for representing complex network structures in a lower-dimensional space, enabling various downstream tasks like node classification and link prediction. However, a major bottleneck is their scalability: many state-of-the-art methods struggle with graphs containing millions of nodes due to high computational complexity and memory demands. This limits their application to real-world, large-scale networks. The authors aim to bridge this gap by developing a generic framework that allows existing embedding methods to scale without requiring modifications to their core algorithms.

Methods

MILE employs a three-phase approach:

  1. Graph Coarsening: The original graph is repeatedly reduced in size by merging nodes into "super-nodes." This is done using a novel "hybrid matching technique" that combines Structural Equivalence Matching (SEM) and Normalized Heavy Edge Matching (NHEM) to preserve the graph's backbone structure. This process creates a hierarchy of smaller graphs.
  2. Base Embedding: A standard graph embedding method (e.g., DeepWalk, Node2Vec, LINE) is applied to the smallest, coarsest graph. This step is computationally inexpensive and requires less memory.
  3. Embedding Refinement: A Graph Convolutional Network (GCN) is trained to refine the embeddings from the coarsest graph back to the original graph. This GCN learns to propagate and adjust the embeddings, leveraging the graph's structure and the initial embeddings. The GCN's parameters are shared across all refinement levels for efficiency.

The key novelty lies in the agnostic nature of the framework (it treats base embedding methods as black boxes) and the learned refinement process that leverages graph structure.

Datasets

The authors evaluated their framework on five real-world datasets:

  • PPI (Protein-Protein Interaction)
  • Blog (Blog network)
  • Flickr (Social network)
  • YouTube (Social network)
  • Yelp (Large-scale social network)

These datasets vary in size, with Yelp being particularly large (9 million nodes, 40 million edges), serving as a benchmark for scalability.

Key Insights and Ideas

  • Coarsening as a Scalability Lever: By reducing the graph size, MILE makes computationally intensive embedding algorithms feasible on massive networks.
  • Hybrid Matching Preserves Structure: The combination of SEM and NHEM is crucial for ensuring that the coarsened graphs retain enough structural information to produce meaningful embeddings.
  • Learned Refinement is Key: Simply projecting embeddings from a coarse graph to a fine one is insufficient. A learned GCN refines these embeddings by considering local graph structure, leading to better quality.
  • Agnostic Framework: MILE's ability to work with various existing embedding methods without modification is a significant advantage, allowing users to leverage their preferred algorithms.
  • Quality Improvement: Counter-intuitively, the coarsening and refinement process can sometimes lead to better embeddings than applying the base method directly, possibly by exposing the base method to a more holistic view of the graph.

Key Results

  • Scalability: MILE significantly boosts speed, achieving up to 30-fold speedups on large graphs. For instance, it can embed the Yelp dataset, which is intractable for existing methods, within a reasonable time.
  • Quality: For node classification, MILE often generates embeddings of better quality, with improvements of up to 10% in Micro-F1 scores observed in some cases. For link prediction, AUROC scores are comparable or better.
  • Memory Reduction: MILE substantially reduces memory consumption, making it possible to process large graphs on standard hardware.
  • Versatility: The framework demonstrates effectiveness across various types of base embedding methods, including random-walk-based, matrix-factorization, and deep neural network approaches.

Limitations and Future Work

  • Coarsening Level Choice: The optimal number of coarsening levels is dataset-dependent and requires some tuning, though the authors provide general guidelines.
  • Refinement Model Complexity: While MILE-gs (using GraphSAGE) was explored, the proposed GCN refinement was found to be more effective and computationally efficient.
  • Future Work: The authors suggest exploring alternative matching strategies and refinement models. They also highlight the potential for MILE to be applied to other graph-based tasks beyond embedding.

Summary updated

BibTeX
@inproceedings{liang2021mile,
  author = {Jiongqian Liang and Saket Gurukar and Srinivasan Parthasarathy},
  title = {{MILE: A Multi-Level Framework for Scalable Graph Embedding}},
  booktitle = {ICWSM},
  year = {2021},
  url = {https://openreview.net/forum?id=ML2ptzH_jKf},
}
Figure