# HeteroSample: Meta-path Guided Sampling for Heterogeneous Graph Representation Learning

arXiv: https://arxiv.org/abs/2411.07022 · HTML: https://mlsanity.com/paper/2411.07022/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 15 of its 45 references that are in the map.
- First posted on arXiv 11 Nov 2024.

## Builds on (most cited first, 15 of 15)

- [A Comprehensive Survey on Graph Neural Networks](https://mlsanity.com/paper/1901.00596/) (2019)
- [Heterogeneous Graph Transformer](https://mlsanity.com/paper/2003.01332/) (2020)
- [MAGNN: Metapath Aggregated Graph Neural Network for Heterogeneous Graph Embedding](https://mlsanity.com/paper/2002.01680/) (2020)
- [Adaptive Sampling Towards Fast Graph Representation Learning](https://mlsanity.com/paper/1809.05343/) (2018)
- [Layer-Dependent Importance Sampling for Training Deep and Large Graph Convolutional Networks](https://mlsanity.com/paper/1911.07323/) (2019)
- [A Survey on Heterogeneous Graph Embedding: Methods, Techniques, Applications and Sources](https://mlsanity.com/paper/2011.14867/) (2020)
- [Little Ball of Fur: A Python Library for Graph Sampling](https://mlsanity.com/paper/2006.04311/) (2020)
- [Detecting Communities from Heterogeneous Graphs: A Context Path-based Graph Neural Network Model](https://mlsanity.com/paper/2109.02058/) (2021)
- [Preserving Minority Structures in Graph Sampling](https://mlsanity.com/paper/2009.02498/) (2020)
- [Low-complexity Graph Sampling with Noise and Signal Reconstruction via Neumann Series](https://mlsanity.com/paper/1812.02109/) (2018)
- [Towards Effective Detection of Ponzi schemes on Ethereum with Contract Runtime Behavior Graph](https://mlsanity.com/paper/2406.00921/) (2024)
- [Graph Learning Augmented Heterogeneous Graph Neural Network for Social Recommendation](https://mlsanity.com/paper/2109.11898/) (2021)
- [Heterogeneous Domain Adaptation for IoT Intrusion Detection: A Geometric Graph Alignment Approach](https://mlsanity.com/paper/2301.09801/) (2023)
- [Vulseye: Detect Smart Contract Vulnerabilities via Stateful Directed Graybox Fuzzing](https://mlsanity.com/paper/2408.10116/) (2024)
- [Privacy-preserving Universal Adversarial Defense for Black-box Models](https://mlsanity.com/paper/2408.10647/) (2024)

## Abstract (arXiv)

The rapid expansion of Internet of Things (IoT) has resulted in vast, heterogeneous graphs that capture complex interactions among devices, sensors, and systems. Efficient analysis of these graphs is critical for deriving insights in IoT scenarios such as smart cities, industrial IoT, and intelligent transportation systems. However, the scale and diversity of IoT-generated data present significant challenges, and existing methods often struggle with preserving the structural integrity and semantic richness of these complex graphs. Many current approaches fail to maintain the balance between computational efficiency and the quality of the insights generated, leading to potential loss of critical information necessary for accurate decision-making in IoT applications. We introduce HeteroSample, a novel sampling method designed to address these challenges by preserving the structural integrity, node and edge type distributions, and semantic patterns of IoT-related graphs. HeteroSample works by incorporating the novel top-leader selection, balanced neighborhood expansion, and meta-path guided sampling strategies. The key idea is to leverage the inherent heterogeneous structure and semantic relationships encoded by meta-paths to guide the sampling process. This approach ensures that the resulting subgraphs are representative of the original data while significantly reducing computational overhead. Extensive experiments demonstrate that HeteroSample outperforms state-of-the-art methods, achieving up to 15% higher F1 scores in tasks such as link prediction and node classification, while reducing runtime by 20%.These advantages make HeteroSample a transformative tool for scalable and accurate IoT applications, enabling more effective and efficient analysis of complex IoT systems, ultimately driving advancements in smart cities, industrial IoT, and beyond.
