FHGE: A Fast Heterogeneous Graph Embedding with Ad-hoc Meta-paths

๐Ÿ“… 2025-02-22
๐Ÿ“ˆ Citations: 0
โœจ Influential: 0
๐Ÿ“„ PDF
๐Ÿค– AI Summary
Existing heterogeneous graph neural networks (HGNNs) exhibit strong representational capacity but require costly retraining for ad-hoc queries defined by user-specified meta-paths, hindering real-time analytical applications. To address this, we propose MPU-Net, a training-free, fast meta-path embedding framework. MPU-Net introduces the Meta-Path Unit (MPU)โ€”a novel split-reconstruct architecture that decomposes arbitrary meta-paths into reusable atomic units. It integrates local-global graph partitioning, a differentiable reconstruction module, and a two-level attention fusion mechanism to enable zero-shot adaptation to unseen meta-paths without retraining. Evaluated on multi-source heterogeneous graphs, MPU-Net accelerates embedding generation by 5.2โ€“11.8ร— over state-of-the-art methods, while maintaining or surpassing their accuracy on downstream tasksโ€”including link prediction and node classification. Crucially, it supports millisecond-level ad-hoc querying, enabling real-time, flexible meta-path analytics.

Technology Category

Application Category

๐Ÿ“ Abstract
Graph neural networks (GNNs) have emerged as the state of the art for a variety of graph-related tasks and have been widely used in Heterogeneous Graphs (HetGs), where meta-paths help encode specific semantics between various node types. Despite the revolutionary representation capabilities of existing heterogeneous GNNs (HGNNs) due to their focus on improving the effectiveness of heterogeneity capturing, the huge training costs hinder their practical deployment in real-world scenarios that frequently require handling ad-hoc queries with user-defined meta-paths. To address this, we propose FHGE, a Fast Heterogeneous Graph Embedding designed for efficient, retraining-free generation of meta-path-guided graph embeddings. The key design of the proposed framework is two-fold: segmentation and reconstruction modules. It employs Meta-Path Units (MPUs) to segment the graph into local and global components, enabling swift integration of node embeddings from relevant MPUs during reconstruction and allowing quick adaptation to specific meta-paths. In addition, a dual attention mechanism is applied to enhance semantics capturing. Extensive experiments across diverse datasets demonstrate the effectiveness and efficiency of FHGE in generating meta-path-guided graph embeddings and downstream tasks, such as link prediction and node classification, highlighting its significant advantages for real-time graph analysis in ad-hoc queries.
Problem

Research questions and friction points this paper is trying to address.

Efficient heterogeneous graph embedding
Handling ad-hoc meta-paths
Reducing training costs
Innovation

Methods, ideas, or system contributions that make the work stand out.

Fast Heterogeneous Graph Embedding
Meta-Path Units segmentation
Dual attention mechanism
๐Ÿ”Ž Similar Papers
X
Xuqi Mao
School of Computer Science, Fudan University, Shanghai, China; Shanghai Key Laboratory of Data Science, Shanghai, China
Z
Zhenying He
School of Computer Science, Fudan University, Shanghai, China; Shanghai Key Laboratory of Data Science, Shanghai, China
X. Sean Wang
X. Sean Wang
School of Computer Science, Fudan University
Database SystemsInformation Security and PrivacyWireless Sensor NetworksStreaming Data Processing Time Series QueriesDat