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

Higher-order knowledge-enhanced recommendation with heterogeneous hypergraph multi-attention

Darnbi Sakong, Viet Hung Vu, Thanh Trung Huynh, Phi Le Nguyen, Hongzhi Yin, Quoc Viet Hung Nguyen, Thanh Tam Nguyen · DOI

TL;DR

KHGRec is a novel recommendation framework that replaces traditional pairwise graphs with heterogeneous hypergraphs to capture complex, higher-order relationships between users, items, and knowledge graph (KG) entities. By employing dual encoders (Local and Global) and cross-view self-supervised learning, it achieves a significant performance boost—averaging 5.18% over state-of-the-art baselines—while remaining remarkably resilient to noise and cold-start issues.

What Problem Does This Paper Address?

Most modern recommendation systems leverage Knowledge Graphs (KGs) to provide "side information" (like a movie's director or genre) that helps predict user preferences. However, current models typically rely on standard graph structures where edges only connect two nodes at a time.

The authors identify two major gaps in this approach:

  1. Loss of Higher-Order Context: Real-world interactions are often "group-wise." For example, a user might like a specific cluster of movies because they share the same director, lead actor, and genre simultaneously. Flattening these into simple binary links (User-Likes-Movie, Movie-Has-Director) loses the rich, multi-node synergy.
  2. Modality Mismatch: User-item interaction data and KG entity data have different distributions. Simply merging them can introduce noise and lead to inconsistent item representations.

Methods

The authors introduce KHGRec (Knowledge-enhanced Heterogeneous Hypergraph Recommender System), which consists of three main stages:

1. Collaborative Knowledge Heterogeneous Hypergraph (CKHG)

Instead of a standard graph, they construct a hypergraph where a single "hyperedge" can connect multiple nodes. They decompose this into three "snapshots":

  • Item Hypergraph: Connects users who interacted with the same item.
  • User Hypergraph: Connects items interacted with by the same user.
  • Collaborative Knowledge Hypergraph: Connects items and entities based on shared KG relations.

2. Dual-Encoder Architecture

To process these snapshots, the model uses two specialized encoders:

  • Local Self-aware Encoder: Uses a Hypergraph Transformer to capture micro-level interactions between users and items. It leverages self-attention to weigh the importance of different neighbors within a hyperedge.
  • Global Relational-aware Encoder: Focuses on the KG. It uses a relational-aware attention mechanism to understand complex dependencies (e.g., distinguishing the importance of a "Director" relation vs. a "Genre" relation).

3. Feature Fusion & Cross-View Learning

Because an item exists in both the "Local" (interaction) and "Global" (KG) views, the model uses Cross-view Self-supervised Learning (SSL). This forces the latent representations of the same item from different views to be close in the embedding space, effectively filtering out noise and ensuring consistency.

Datasets

The model was evaluated on four diverse, real-world datasets:

  • LastFM: Music recommendations (sparse interactions).
  • MovieLens-1M: Movie recommendations (dense interactions).
  • Mind-F: News recommendations (large scale).
  • Alibaba-Fashion: E-commerce/fashion recommendations (high sparsity).

Key Insights and Ideas

  • Hypergraphs as Natural Groupers: The "aha moment" here is that hypergraphs are mathematically better suited for recommendation logic. If three movies share an actor and a director, a single hyperedge preserves that specific intersection better than three separate binary edges.
  • Divide and Conquer: By splitting the massive network into snapshots and using different encoders, the model avoids the "vanishing signal" problem common in deep GNNs and speeds up convergence.
  • Explainability via Attention: Because the model uses relational-aware attention, it can actually "trace" why an item was recommended (e.g., "This song is recommended because you liked Artist X, who produced this specific track").
  • Consistency is Key: The use of SSL to align the local and global views acts as a powerful regularizer, making the model much more robust when training data is missing or noisy.

Key Results

  • Superior Accuracy: KHGRec outperformed nine SOTA baselines (including KGAT, KGIN, and KGRec) across all datasets. It showed an average relative improvement of 5.18%, with specific metrics like NDCG@20 improving by up to 7.2% on MovieLens.
  • Cold-Start Resilience: In scenarios with limited user history (bottom 10% of users), KHGRec maintained a massive lead—outperforming the runner-up by 19.8% on MovieLens.
  • Noise Robustness: When the authors injected 50% "fake" interactions into the data, KHGRec’s performance dropped significantly less than its competitors, proving that the hypergraph structure and SSL alignment effectively filter out "garbage" signals.

Limitations and Future Work

  • Computational Complexity: While the authors provide a runtime analysis, KG-based hypergraph models are inherently more complex than simple Collaborative Filtering. The training duration for KHGRec is higher than GCN-based models, though its inference time remains competitive.
  • Negative Sampling: The current model uses standard BPR loss. The authors suggest that developing a more sophisticated negative sampling mechanism could further address data sparsity.
  • LLM Integration: A promising future direction mentioned is integrating Large Language Models (LLMs) to further refine the semantic understanding of the KG entities.

Summary updated

BibTeX
@article{sakong2024higher,
  author = {Darnbi Sakong and Viet Hung Vu and Thanh Trung Huynh and Phi Le Nguyen and Hongzhi Yin and Quoc Viet Hung Nguyen and Thanh Tam Nguyen},
  title = {{Higher-order knowledge-enhanced recommendation with heterogeneous hypergraph multi-attention}},
  journal = {Information Sciences},
  year = {2024},
  doi = {10.1016/j.ins.2024.121165},
}
Figure