Abstract
Introducing prior auxiliary information from the knowledge graph (KG) to assist the user-item graph can improve the comprehensive performance of the recommender system. Many recent studies show that the ensemble properties of hyperbolic spaces fit the scale-free and hierarchical characteristics exhibited in the above two types of graphs well. However, existing hyperbolic methods ignore the consideration of equivariance, thus they cannot generalize symmetric features under given transformations, which seriously limits the capability of the model. Moreover, they cannot balance preserving the heterogeneity and mining the high-order entity information to users across two graphs. To fill these gaps, we propose a rigorously Lorentz group equivariant knowledge-enhanced collaborative filtering model (LECF). Innovatively, we jointly update the attribute embeddings (containing the high-order entity signals from the KG) and hyperbolic embeddings (the distance between hyperbolic embeddings reveals the recommendation tendency) by the LECF layer with Lorentz Equivariant Transformation. Moreover, we propose Hyperbolic Sparse Attention Mechanism to sample the most informative neighbor nodes. Lorentz equivariance is strictly maintained throughout the entire model, and enforcing equivariance is proven necessary experimentally. Extensive experiments on three real-world benchmarks demonstrate that LECF remarkably outperforms state-of-the-art methods.
Introduction
Modern recommender systems often struggle with data sparsity and the complex, hierarchical nature of real-world interactions. To mitigate sparsity, Knowledge Graphs (KGs) are frequently employed as auxiliary information. Furthermore, hyperbolic geometry has emerged as a powerful tool for modeling these structures, as the exponential growth of "volume" in hyperbolic space naturally accommodates the power-law distributions and tree-like hierarchies found in user-item and knowledge graphs.
However, a significant limitation of current hyperbolic models is their reliance on "tangent space" projections. By mapping curved manifold data to a flat Euclidean space for computation, these models break geometric symmetry—specifically, Lorentz equivariance. This loss of fidelity leads to distortions that hinder the model's ability to generalize across different regions of the manifold.
Methodology: The LECF Framework
The Lorentz Equivariant Model for Collaborative Filtering (LECF) addresses these challenges by maintaining strict equivariance throughout its architecture. The model integrates two primary data sources: the User-Item interaction graph and the Knowledge Graph.
Key Components
- Hyperbolic Sparse Attention Mechanism: Rather than uniform neighbor sampling, LECF utilizes an attention mechanism based on hyperbolic distances. It employs information entropy to select the most informative neighbors, effectively filtering out noise while preserving critical structural signals.
- Item Attribute Generator (IAG): This component extracts high-order signals from the KG. By using hyperbolic distance centroids for aggregation instead of tangent space projections, LECF preserves the integrity of the hyperbolic manifold.
- Lorentz Equivariant Transformation: This is the core innovation. Inspired by special relativity, the model employs transformations that include both spatial rotations and Lorentz boosts. This ensures that user and item embeddings are updated in a way that is consistent under any geometric transformation of the space.
Key Insights: Why Equivariance Matters
The primary advantage of LECF lies in its generalization power. Just as translation equivariance allows convolutional neural networks to recognize patterns regardless of their position, Lorentz equivariance allows LECF to recognize user-item patterns regardless of their "orientation" or "position" within the hyperbolic space.
By avoiding the "tangent space trap"—the computational convenience of projecting to Euclidean space at the cost of geometric fidelity—LECF remains "native" to the manifold. This approach is particularly robust in sparse data scenarios, as the model's understanding of underlying symmetries allows it to infer missing interactions more accurately.
Experimental Results
LECF was evaluated on three large-scale benchmarks: Book-Crossing, MovieLens-20M, and Yelp2018. The results demonstrate significant improvements over state-of-the-art Euclidean (e.g., KGAT) and hyperbolic (e.g., HAKG, LKGR) baselines.
- Accuracy: On MovieLens-20M, LECF achieved a 12.35% improvement in Recall@20 and an 11.75% improvement in NDCG@20 over the strongest baseline.
- Ablation Studies: Removing the equivariance constraint (LECF‡) resulted in a significant performance drop, confirming that geometric consistency is a primary driver of the model's success.
- Efficiency: By avoiding expensive tangent space operations and utilizing sparse attention, LECF maintains high training efficiency compared to other hyperbolic models.
Conclusion
LECF represents a significant step forward in hyperbolic recommender systems. By strictly enforcing Lorentz equivariance, it bridges the gap between geometric theory and practical recommendation performance. Future work will explore the application of these equivariant layers to dynamic graphs and other domains characterized by hierarchical data, such as molecular biology.
Summary updated