Hyper-Path-Based Representation Learning for Hyper-Networks

Jie Huang, Xin Liu, Yangqiu SongCIKM 2019 · DOI

Abstract

Network representation learning has aroused widespread interest in recent years. While most existing methods deal with edges as pairwise relationships, only a few studies have been proposed for hyper-networks to capture more complicated tuplewise relationships among multiple nodes. A hyper-network is a network where each edge, called a hyperedge, connects an arbitrary number of nodes. Different from conventional networks, hyper-networks have certain degrees of indecomposability such that nodes in a subset of a hyperedge may not possess a strong relationship. This is the primary reason why traditional algorithms fail in learning representations in hyper-networks by simply decomposing hyperedges into pairwise relationships. In this paper, we define a metric to depict the degrees of indecomposability for hyper-networks and propose a new concept called hyper-path. We design hyper-path-based random walks to preserve structural information and introduce Hyper-gram, an algorithm that captures both pairwise and tuplewise relationships. Extensive experiments on real-world datasets demonstrate the validity and effectiveness of our methods compared with state-of-the-art models.

The Challenge of Indecomposability

Most graph algorithms treat relationships as pairwise (e.g., User A follows User B). However, real-world data is often "tuplewise." Consider a medical record consisting of a (user, drug, reaction) triplet. Breaking this into (user, drug) and (user, reaction) pairs loses the critical context that the reaction occurred specifically because of that drug. This property is known as indecomposability.

Traditional methods attempt to handle hyper-networks by "decomposing" hyperedges into many pairwise edges (clique expansion). This approach is often flawed: in an indecomposable hyper-network, a subset of nodes in a hyperedge might not have any meaningful relationship on their own. The challenge lies in learning embeddings that preserve these high-order structures without over-simplifying them.

Methodology: The Hyper-gram Framework

To address these challenges, the authors propose a three-part solution:

  1. Indecomposable Factor ($\xi_t$): A statistical metric to quantify how "indecomposable" a hyper-network is. If subsets of a hyperedge frequently appear in other hyperedges, the network is more decomposable. If they rarely appear elsewhere, it is highly indecomposable.
  2. Hyper-Path-Based Random Walks: Standard random walks move based on simple adjacency. The authors introduce the Path Order (PO), which measures how many nodes in the current walk belong to a potential next hyperedge. This "hyper-path" walk prioritizes nodes that complete hyperedges, effectively preserving high-order structures.
  3. Hyper-gram Model: A deep learning architecture with a dual-objective function. It uses a Skip-gram-style loss for pairwise similarity and a 1D Convolutional Neural Network (1D ConvNet) to predict tuplewise similarity (the probability that a sequence of nodes forms a valid hyperedge).
The Hyper-gram architecture captures both pairwise and tuplewise relationships through a dual-objective deep model utilizing a 1D ConvNet for tuplewise output.

Experimental Evaluation

The model was evaluated on four diverse real-world hyper-networks:

  • GPS: (User, location, activity) triplets.
  • MovieLens: (User, movie, tag) triplets.
  • Drugs: (User, drug, reaction) triplets from the FDA database.
  • Wordnet: Lexical triplets (head, relation, tail).

Analysis revealed that MovieLens has low indecomposability (behaving like a standard network), while GPS and Drugs are highly indecomposable, making them ideal tests for the Hyper-gram framework.

Key Results and Performance

The proposed model, HPHG (Hyper-Path-Based Hyper-gram), consistently outperformed state-of-the-art baselines like DeepWalk, Node2vec, and DHNE across multiple tasks.

Performance comparison (AUC) for link prediction across four datasets. HPHG and HPSG consistently outperform traditional pairwise and hyper-network baselines.
  • Link Prediction: On the highly indecomposable Drugs dataset, HPHG achieved an AUC of 0.9678, significantly outperforming DHNE (0.9498) and traditional pairwise methods like Node2vec (0.9013).
  • Network Reconstruction: HPHG achieved nearly 97% accuracy on the GPS dataset, whereas traditional methods struggled to reach 60-80%.
  • Ablation Insights: For simple networks like MovieLens, pairwise loss is sufficient. However, for complex, indecomposable networks like Drugs, the tuplewise loss is the primary driver of performance.

Conclusion

By introducing the concept of hyper-paths and the Hyper-gram model, this research provides a robust framework for embedding complex multi-node relationships. The results prove that accounting for indecomposability is essential for accurate representation learning in hyper-networks. Future work may extend this logic to Knowledge Graphs, where relationship types and directions add further layers of complexity.

Summary updated

BibTeX
@inproceedings{huang2019hyper,
  author = {Jie Huang and Xin Liu and Yangqiu Song},
  title = {{Hyper-Path-Based Representation Learning for Hyper-Networks}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2019},
  doi = {10.1145/3357384.3357871},
}
Figure