Beyond Link Prediction: Predicting Hyperlinks in Adjacency Space

Muhan Zhang, Zhicheng Cui, Shali Jiang, Yixin ChenAAAI 2018

Abstract

This paper addresses the hyperlink prediction problem in hypernetworks. Unlike traditional link prediction, which focuses on pairwise relations, our task is to predict the linkage of multiple nodes (hyperlinks) forming multiway relationships. Hyperlink prediction is challenging due to variable cardinality and an exponential search space. We propose Coordinated Matrix Minimization (CMM), an algorithm that alternately performs nonnegative matrix factorization and least square matching in the vertex adjacency space to infer candidate hyperlinks. Evaluated on recipe prediction and metabolic network completion, CMM demonstrates superior performance over existing baselines.

Introduction

Traditional link prediction models are typically designed for pairwise relationships—for instance, determining if person A knows person B. However, many real-world systems are better modeled as hypernetworks, where relations involve groups of arbitrary size. Examples include research collaborations, culinary recipes, or metabolic reactions.

Predicting these "hyperlinks" presents two primary challenges:

  1. Variable Cardinality: Standard machine learning models typically require a fixed number of input features. Since a hyperlink can contain any number of nodes, traditional classifiers are often infeasible.
  2. Exponential Search Space: While a network of $n$ nodes has $O(n^2)$ possible pairs, it contains $O(2^n)$ possible hyperlinks, making exhaustive scoring computationally impossible for even moderately sized networks.

The Coordinated Matrix Minimization (CMM) Algorithm

To address these challenges, we propose Coordinated Matrix Minimization (CMM). The fundamental innovation is shifting the problem from the incidence space (mapping nodes to hyperlinks) to the adjacency space (mapping node-to-node co-occurrences). By representing a hyperlink as a binary vector $s$ and projecting it into an $n \times n$ adjacency matrix $ss^T$, we transform an exponential search problem into a more tractable quadratic one.

The CMM algorithm workflow, illustrating the iterative process between matrix factorization and candidate selection.

CMM employs an iterative, EM-style optimization process:

  • Selection Step (E-Step): Given the current network model, the algorithm identifies which candidate hyperlinks best fill the "missing" gaps in the adjacency matrix using constrained least-squares matching.
  • Learning Step (M-Step): Using the selected hyperlinks, the model learns latent node features through Symmetric Nonnegative Matrix Factorization (NMF), producing a factor matrix $W$.

By alternating these steps, CMM jointly optimizes the selection of links and the learning of the underlying network structure.

Experimental Evaluation

We evaluated CMM on two distinct hypernetwork tasks:

  1. Recipe Prediction: Using datasets of Sichuan and Cantonese recipes from meishij.net, we tasked the model with distinguishing authentic recipes from synthetic ones.
  2. Metabolic Networks: We tested the model's ability to identify missing biological reactions in organisms such as E. coli and H. sapiens.

Key Results

CMM consistently outperformed baseline methods like Bayesian Sets, Factorization Machines, and Spectral Hypergraph Clustering (SHC). In metabolic reaction prediction for H. sapiens, CMM achieved an AUC of 0.7098, surpassing the next best baseline (SHC at 0.6963). In the Cantonese recipe task, CMM successfully identified 178 real recipes out of the top 400 candidates, nearly doubling the performance of the Bayesian Set baseline (98 recipes).

Qualitative comparison of top predictions for the recipe task. CMM identifies meaningful culinary combinations that align with domain logic.

Discussion and Conclusion

A significant insight from our results is CMM's capacity for creative generalization. In the recipe task, many "false positives" identified by the model were actually plausible culinary combinations (e.g., "Egg + Minced Meat") not present in the training set. This suggests that by learning latent features in the adjacency space, CMM captures the underlying logic of the domain.

While CMM currently relies on a predefined candidate set, future work will focus on generating novel hyperlinks without such constraints and improving computational efficiency for massive networks. Our results demonstrate that projecting hypernetworks into adjacency space is a powerful paradigm for capturing complex multi-way interactions.

Summary updated

BibTeX
@inproceedings{zhang2018beyond,
  author = {Muhan Zhang and Zhicheng Cui and Shali Jiang and Yixin Chen},
  title = {{Beyond Link Prediction: Predicting Hyperlinks in Adjacency Space}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2018},
  url = {https://openreview.net/forum?id=B1bv6AgObH},
}
Figure