Random Walk Guided Hyperbolic Graph Distillation

Yunbo Long, Liming Xu, Stefan Schoepf, Alexandra BrintruparXiv 2025

Abstract: Graph distillation (GD) is an effective approach to extract useful information from large-scale network structures. However, existing methods, which operate in Euclidean space to generate condensed graphs, struggle to capture the inherent tree-like geometry of real-world networks, resulting in distilled graphs with limited task-specific information for downstream tasks. Furthermore, these methods often fail to extract dynamic properties from graphs, which are crucial for understanding information flow and facilitating graph continual learning. This paper presents the Hyperbolic Graph Distillation with Random Walks Optimization (HyDRO), a novel graph distillation approach that leverages hyperbolic embeddings to capture complex geometric patterns and optimize the spectral gap in hyperbolic space. Experiments show that HyDRO demonstrates strong task generalization, consistently outperforming state-of-the-art methods in both node classification and link prediction tasks. HyDRO also effectively preserves graph random walk properties, producing condensed graphs that achieve enhanced performance in continual graph learning. Additionally, HyDRO achieves competitive results on mainstream graph distillation benchmarks, while maintaining a strong balance between privacy and utility, and exhibiting robust resistance to noises.

Introduction

Graph distillation (GD) aims to condense massive real-world networks into small, high-quality synthetic versions. These distilled graphs serve as efficient proxies for training Graph Neural Networks (GNNs), significantly reducing computational and storage overhead. Despite recent progress, traditional GD methods face two primary challenges: the "Euclidean Trap" and the neglect of dynamic properties.

Most existing GD techniques operate in Euclidean space, which inherently distorts the hierarchical or tree-like structures common in real-world networks (e.g., citation or social graphs). Furthermore, they typically focus on static properties like node features, ignoring the dynamic "flow" of information across the network. This limitation makes distilled graphs less effective for tasks involving evolving data or information diffusion.

Methodology: The HyDRO Framework

To address these limitations, we propose HyDRO (Hyperbolic Graph Distillation with Random Walks Optimization). HyDRO introduces two fundamental innovations:

  1. Hyperbolic Embeddings: Instead of flat Euclidean space, HyDRO embeds nodes into the Poincaré ball manifold. Hyperbolic space possesses an exponentially growing capacity, making it a natural fit for hierarchical and power-law graphs. This allows HyDRO to capture complex geometric patterns with minimal structural distortion.
  2. Spectral Gap Alignment: To preserve the graph's dynamic properties, HyDRO optimizes the spectral gap of lazy random walks. The spectral gap determines the mixing time—how quickly a random walk explores the graph. By aligning the spectral gap of the synthetic graph with that of the original, HyDRO ensures that information spreads in the distilled version as it does in the real network.
The HyDRO pipeline: from real graph sampling to hyperbolic structure prediction.

The overall pipeline involves sampling nodes from the real graph $G$, embedding them into hyperbolic space via a Hyperbolic Neural Network, and predicting the synthetic structure $G'$ while simultaneously matching gradients and spectral gaps.

Experimental Evaluation

We evaluated HyDRO across a diverse set of benchmarks:

  • Transductive Datasets: Cora, Citeseer, PubMed, DBLP, and ogbn-arxiv.
  • Inductive Datasets: Flickr and Reddit.
  • Continual Graph Learning (CGL): Wiki-CS and Coauthor-Physics.

These datasets range from small citation networks to large-scale graphs with millions of edges, providing a robust test of task generalization and scalability.

Key Results and Analysis

HyDRO consistently outperforms state-of-the-art distillation methods across multiple dimensions:

Superior Task Generalization

HyDRO excels in both node classification and link prediction. Notably, it consistently achieves the highest accuracy in link prediction tasks, demonstrating its ability to capture the "richness" of structural information that Euclidean methods often lose.

Excellence in Continual Graph Learning

In dynamic settings where models learn from a stream of data, HyDRO effectively mitigates catastrophic forgetting. By preserving random walk properties, the distilled graphs maintain significantly higher precision over time compared to other methods.

Performance of distillation methods in continual graph learning settings across DBLP, Cora, Flickr, and Coauthor datasets.

Structural and Dynamic Fidelity

Visualizations of "Commute Time" (a random walk property) confirm that HyDRO's synthetic graphs match the original graph's behavior far more closely than competitors like SGDD or GDEM. This structural fidelity is a direct result of the spectral gap alignment and hyperbolic embedding.

Conclusion

HyDRO represents a significant step forward in graph distillation by moving beyond Euclidean constraints and explicitly modeling graph dynamics. By leveraging hyperbolic geometry and random walk optimization, it produces high-quality synthetic graphs that excel in link prediction and continual learning. Future work will explore more advanced hyperbolic manifolds and further optimize the computational efficiency of spectral gap calculations for even larger-scale applications.

Summary updated

BibTeX
@misc{long2025random,
  author = {Yunbo Long and Liming Xu and Stefan Schoepf and Alexandra Brintrup},
  title = {{Random Walk Guided Hyperbolic Graph Distillation}},
  year = {2025},
  eprint = {2501.15696},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.15696},
}
Figure