TL;DR
This paper introduces HS-GCN, a novel graph convolutional network designed for recommendation systems that operates directly in the Hamming space. By explicitly modeling both first-order and high-order Hamming similarities between users and items, HS-GCN achieves state-of-the-art performance in hashing-based recommendation, outperforming existing methods and rivaling real-valued approaches.
What Problem Does This Paper Address?
Recommender systems aim to predict user preferences for items. A common approach for efficiency, especially in large-scale systems, is to represent users and items as binary hash codes in Hamming space. This allows for very fast similarity calculations using XOR operations. However, existing methods primarily focus on "first-order" similarities (direct user-item interactions), neglecting "high-order" similarities that arise from indirect connections within the user-item interaction graph. This omission limits the representational capacity of the hash codes and leads to suboptimal recommendation performance. The paper addresses this by proposing a method to effectively capture and leverage these high-order Hamming similarities.
Methods
The core innovation is the Hamming Spatial Graph Convolutional Network (HS-GCN). It's a learning-to-hash framework that operates directly in the Hamming space, avoiding the quantization errors common in other methods.
Key components include:
- Initial Layer: Generates initial trainable hash codes for users and items using a differentiable approximation (tanh function) of binary codes, allowing for gradient-based optimization.
- Propagation Layer: This is the novel part. It performs graph convolutional operations directly in the Hamming space. It consists of two sub-layers:
- Hash Code Aggregation: Aggregates bit-wise signals from neighboring nodes (users or items) to capture first-order Hamming similarity. This involves a specialized clamp function to distill dominant bit values.
- Hash Code Encoding: Injects the captured Hamming similarities back into the node's hash code, refining it to better reflect its neighbors' codes and thus capturing high-order similarities. This is done through a novel encoding function that avoids issues with zero values.
- Prediction Layer: Computes the final user-item similarity score using the inner product of their learned hash codes.
The entire process is optimized end-to-end using a combination of pairwise logistic loss (for reconstructing interactions) and a ranking-order reinforced loss (to ensure similar items are ranked higher for a user).
Datasets
The authors evaluated their model on six publicly accessible datasets:
- MovieLens (1M version)
- Yelp
- Amazon (book dataset)
- Gowalla
- Netflix
These datasets represent various recommendation scenarios, including explicit ratings (transformed to implicit feedback) and implicit feedback data.
Key Insights and Ideas
- High-order Hamming Similarity is Crucial: The paper strongly argues that simply considering direct user-item interactions (first-order similarity) is insufficient for learning effective hash codes. High-order similarities, derived from indirect connections in the user-item graph, significantly enhance representation capacity.
- Operating Directly in Hamming Space is Key: By performing graph convolutions directly in the Hamming space, HS-GCN avoids the quantization errors that plague other hashing methods, leading to more accurate and discriminative hash codes.
- GCNs Can Be Simplified for Recommendation: The paper echoes prior work suggesting that complex non-linearities in GCNs are not always necessary for recommendation tasks. HS-GCN's operations are designed to be linear in the Hamming space, contributing to its efficiency.
- Dropout for Overfitting: Bit dropout, in particular, proved to be an effective regularization technique for preventing overfitting in the hashing process, especially on sparse datasets.
Key Results
- State-of-the-Art Hashing Performance: HS-GCN significantly outperforms several state-of-the-art hashing-based recommendation models (e.g., HashNet, HashGNN) across all tested datasets, achieving improvements of up to 59.71% in HR@50 and 30.16% in NDCG@50.
- Competitive with Real-Valued Models: HS-GCN achieves performance comparable to real-valued recommendation models like PinSage and GraphSage, demonstrating that efficient binary hash codes can rival complex embeddings.
- Efficiency: HS-GCN exhibits competitive training and testing efficiency. It requires less training time than many other graph-based models and offers significant speedups in testing compared to continuous recommendation models.
- Robustness to Sparsity: The model shows consistent performance improvements across different user sparsity levels, indicating its effectiveness for both active and inactive users.
Limitations and Future Work
- Optimal Layer Number: The study found that two propagation layers (capturing second-order Hamming similarity) were optimal. Deeper layers led to overfitting. This suggests that while high-order similarities are important, there's a limit to their benefit.
- Future Work: The authors suggest extending HS-GCN by incorporating multi-form knowledge, such as item attributes and user profiles. They are also interested in applying and optimizing these methods for micro-video recommendation, which requires high efficiency and accuracy due to the constant stream of new content. Additionally, exploring interpretable hashing-based recommendation is a future direction.
Summary updated