NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Matrix Completion with Hypergraphs: Sharp Thresholds and Efficient Algorithms

Zhongtian Ma, Qiaosheng Zhang, Zhen Wang

TL;DR

This paper shows that incorporating hypergraphs—which capture higher-order group interactions rather than just pairwise friendships—dramatically reduces the number of ratings needed to complete a user-item recommendation matrix. The authors derive a provably sharp information-theoretic phase transition for exact matrix recovery and introduce MCH, an efficient three-stage algorithm matching this theoretical optimal threshold.

What Problem Does This Paper Address?

Recommender systems frequently encounter the cold-start problem and severe data sparsity: most users rate only a tiny fraction of items. While incorporating social networks via pairwise graphs helps infer missing preferences, real-world human interactions often occur in groups (e.g., chat groups, clubs, committees). These high-order relationships are naturally modeled as hypergraphs (where hyperedges connect two or more nodes) rather than simple graphs.

Despite experimental interest in hypergraphs for recommendation, a fundamental theoretical question remained unanswered: How much do hypergraphs actually reduce the required sample probability for matrix completion? This paper formalizes this question by deriving exact information-theoretic recovery thresholds and creating an algorithm that provably achieves them.

Methods

The authors frame the task as reconstructing an $n \times m$ binary rating matrix ($\pm 1$, denoting like/dislike) partitioned into $K$ user clusters where users within a cluster share identical item ratings. The learner observes:

  1. A noisy, sub-sampled matrix where entries are sampled with probability $p$ and flipped with noise parameter $\theta \in [0, 1/2)$.
  2. A social graph generated by a Stochastic Block Model (SBM).
  3. A collection of $d$-uniform hypergraphs generated by a Hypergraph Stochastic Block Model (HSBM).

To solve this, the authors develop MCH (Matrix Completion with Hypergraphs), which operates in three computationally efficient stages:

  • Stage 1 (Partial Cluster Recovery): Forms a weighted adjacency matrix $A = \sum_{d=2}^W \frac{1}{d} H_d H_d^T$ from graph and hypergraph incidence matrices, followed by spectral clustering to yield initial, coarse user cluster estimates.
  • Stage 2 (Nominal Rating Estimation): Uses a simple majority vote among users in each estimated cluster to recover the underlying nominal rating vectors for each cluster across all items.
  • Stage 3 (Iterative Local Refinement): Alternately refines cluster assignments over $T = O(\log n)$ iterations using a likelihood-based objective balancing observed ratings against incident hyperedges.

Model parameters (edge probabilities and noise rates) do not need to be known beforehand; the authors provide estimators to calculate them on-the-fly.

Datasets

The authors evaluate MCH on:

  • Synthetic Datasets: Randomly generated user-item matrices and (hyper)graphs matching the theoretical SBM/HSBM setup, used to empirically verify the phase transition.
  • Semi-Real Dataset: Built on the real-world contact-high-school dataset (327 students, 9 classes, 5,498 pairwise edges, and 2,320 hyperedges of sizes 3 to 5 representing face-to-face contact groups) combined with a synthesized binary rating matrix of $m = 90$ items and minimum fractional distance $\gamma = 0.22$.

Key Insights and Ideas

  • Sharp Threshold / Phase Transition: Exact matrix completion undergoes a sharp threshold $p^*$. If sample probability $p > p^*$, MCH succeeds with high probability; if $p < p^*$, exact recovery is information-theoretically impossible for any algorithm.
  • Quantifying the Hypergraph Gain: The threshold decomposes cleanly into two bottleneck terms: $$p^* = \max \left\{ \frac{\log n - \sum_{d=2}^W \binom{n-1}{d-1} K^{1-d} (\sqrt{\alpha_d} - \sqrt{\beta_d})^2}{(\sqrt{1-\theta} - \sqrt{\theta})^2 \gamma m}, \; \frac{K \log m}{(\sqrt{1-\theta} - \sqrt{\theta})^2 n} \right\}$$ The first term governs user cluster recovery, while the second governs item rating vector recovery. Hypergraph quality directly reduces the first term.

  • Information Saturation: As hypergraph quality improves, the required sample probability decreases linearly until it hits the second term (recovering rating vectors). Beyond this point, improving the hypergraph provides no additional gain because rating estimation becomes the sole bottleneck.

Key Results

  • Theory Validation: On synthetic benchmarks, the empirical error probability drops sharply from 1 to 0 right at the normalized sample probability $p / p^* = 1$.
  • Recommendation Accuracy: On the semi-real high school dataset, MCH achieves lower Mean Absolute Error (MAE) across all observation probabilities than state-of-the-art baselines, including user/item $k$-NN, SVD++, SocialMF, SocialReg, GraphRec, and the graph-only spectral method of Ahn et al.
  • Graph Degradation Robustness: When (hyper)edges are randomly discarded (down to sampling rate $q = 0.1$), MCH substantially outperforms graph-only approaches, demonstrating that preserving high-order hyperedge structure is far superior to clique-expanding hyperedges into simple graphs.
  • Computational Speed: Running 10 iterations on a standard 6-core CPU, MCH completes in 5.7 seconds, orders of magnitude faster than deep/iterative methods like GraphRec (291.9s) and SocialMF (301.3s).

Limitations and Future Work

  • Binary Ratings & Strict Homophily: The theoretical model assumes binary ratings ($\pm 1$) and perfect intra-cluster preference alignment. Real-world systems feature multi-class or continuous ratings with individual user variances.
  • Symmetric Cluster Setting: The matching sharp threshold is formally established for equal-sized clusters in the logarithmic average degree regime.
  • One-Sided Hypergraphs: The model incorporates hypergraphs over users, but does not account for high-order structures among items (e.g., bundles or categorical item hypergraphs). Extending sharp thresholds to dual user-item hypergraphs remains an open avenue.

Summary updated

BibTeX
@inproceedings{ma2024matrix,
  author = {Zhongtian Ma and Qiaosheng Zhang and Zhen Wang},
  title = {{Matrix Completion with Hypergraphs: Sharp Thresholds and Efficient Algorithms}},
  booktitle = {LoG},
  year = {2024},
  url = {https://openreview.net/forum?id=YAfZZX6lKp},
}
Figure