HARec: Hyperbolic Graph-LLM Alignment for Exploration and Exploitation in Recommender Systems

Qiyao Ma, Menglin Yang, Mingxuan Ju, Tong Zhao, Neil Shah, Rex Ying · DOI

Introduction

Modern recommender systems are exceptionally efficient at suggesting content based on past interactions. However, this efficiency often leads to "information cocoons" or filter bubbles, where users are restricted to a narrow range of familiar content. Breaking these cocoons requires a delicate balance between exploitation (recommending known interests) and exploration (discovering diverse, novel content).

The authors identify two primary technical barriers to effective exploration:

  1. Geometric Mismatch: User interests are inherently hierarchical (e.g., General Music → Rock → 90s Grunge). Standard flat Euclidean spaces struggle to represent these tree-like structures efficiently.
  2. Semantic Blindness: Traditional collaborative filtering relies on interaction data but ignores the rich textual meaning of items. While Large Language Models (LLMs) excel at semantic understanding, their embeddings are typically Euclidean, making them difficult to integrate with hierarchical hyperbolic models.

The HARec Framework

HARec (Hyperbolic Alignment for Recommendation) is a novel framework designed to bridge these gaps by combining hyperbolic geometry with the semantic power of LLMs. Its architecture is built upon three pillars:

Overview of the HARec architecture, illustrating (i) Hyperbolic Graph Collaborative Filtering, (ii) Hyperbolic Alignment with LLM-generated profiles, and (iii) the resulting Hierarchical Representation Structure.

1. Hyperbolic Graph Collaborative Filtering

Instead of flat vectors, HARec utilizes the Lorentz model to represent users and items in hyperbolic space. This geometry features exponential volume growth, which is mathematically ideal for modeling hierarchies. In this space, broad interests (the "roots") reside near the origin, while niche, specific interests (the "leaves") are positioned toward the boundary.

2. Semantic-Enhanced Alignment

HARec leverages LLMs to generate descriptive profiles for users and items based on metadata and reviews. These semantic features are aligned with collaborative signals directly in hyperbolic space. A critical innovation is the use of adaptive gradients: nodes further from the origin (niche items) receive smaller, more precise updates, which preserves the delicate local structure of the learned hierarchy.

3. Automatic Hierarchical Clustering

Using an algorithm optimized by Dasgupta’s cost, HARec automatically constructs a hierarchy tree from the embeddings without requiring predefined categories. This structure allows the system to tune the level of exploration by sampling recommendations from different depths of the tree.

Experimental Evaluation

The framework was evaluated on three large-scale, real-world datasets characterized by long-tail distributions: Amazon-books, Yelp, and Google-reviews.

Key Results: Utility and Diversity

HARec is the first model to consistently improve both utility (accuracy) and diversity simultaneously, overcoming the traditional trade-off between the two. As shown in the performance tables, HARec achieved up to a 5.49% improvement in ranking metrics (NDCG/Recall) and a significant 11.39% increase in diversity metrics over state-of-the-art baselines.

Comprehensive performance comparison of HARec against baselines. The results demonstrate that HARec consistently outperforms other models in both utility (Recall, NDCG) and diversity (Div, H, EPC) metrics across all datasets.

Addressing the Cold-Start Problem

By aligning LLM semantics with graph data, HARec significantly improves recommendations for "tail items" (items with very few interactions). On the Yelp dataset, the model improved tail item performance by over 13% compared to other hyperbolic models, demonstrating its ability to rely on item meaning when interaction data is scarce.

Conclusion and Future Work

HARec demonstrates that hyperbolic geometry, when aligned with the semantic depth of LLMs, provides a principled way to navigate the exploration-exploitation trade-off. While the current model requires periodic hierarchical clustering ($O(N^2)$ complexity), future research may focus on making this process more dynamic for real-time adaptation. Additionally, exploring the sensitivity of the framework to different LLM encoders remains a promising avenue for further optimization.

Summary updated

BibTeX
@misc{ma2024harec,
  author = {Qiyao Ma and Menglin Yang and Mingxuan Ju and Tong Zhao and Neil Shah and Rex Ying},
  title = {{HARec: Hyperbolic Graph-LLM Alignment for Exploration and Exploitation in Recommender Systems}},
  year = {2024},
  eprint = {2411.13865},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.13865},
}
Figure