TL;DR
This paper introduces a novel hybrid recommendation system that combines knowledge graphs with semantic contrastive learning on item descriptions. By jointly optimizing for user-item interactions and content similarity derived from text, the model achieves improved accuracy, diversity, and better performance for cold-start users, addressing key limitations of existing recommendation approaches.
What Problem Does This Paper Address?
Content recommendation systems are crucial for navigating the vast amount of information available on platforms like streaming services and e-commerce sites. However, they face significant challenges:
- Data Sparsity: Many users have limited interaction data, making it hard to understand their preferences.
- Cold-Start Problem: Recommending to new users or recommending new items with little interaction history is difficult.
- Lack of Diversity: Traditional systems often optimize for ranking metrics (like click-through rate) at the expense of recommending diverse content, leading to filter bubbles.
While knowledge graphs (KGs) have been used to enrich recommendations by linking items and their attributes, many KG-based methods focus solely on improving ranking performance, often increasing model complexity and neglecting diversity. This paper aims to bridge this gap by developing a recommendation system that is not only accurate but also diverse, particularly for users with limited data.
Methods
The proposed approach is a hybrid multi-task learning framework that integrates two main components:
- Knowledge Graph-Based Collaborative Filtering (KGCN): This forms the backbone of the recommendation system, leveraging user-item interactions and the structure of a knowledge graph. The standard collaborative loss function ($L_{base}$) is used here.
- Content-Based Semantic Contrastive Learning (CL): This is the novel contribution. It uses descriptive text (synopses) of items to learn richer item embeddings.
- Text Encoding: Pre-trained language models (PLMs) like BERT are used to encode item synopses into semantic embeddings.
- Contrastive Sampling: Positive and negative pairs of items are generated based on their metadata (genre, title). For instance, items with similar genres or titles are considered positive pairs, while dissimilar items are negative pairs. This sampling is done using a cross-encoder for better similarity assessment.
- Contrastive Loss ($C_L$): This loss function aims to pull similar item embeddings closer in the embedding space and push dissimilar ones apart.
- Multi-Task Optimization: The final loss function is a weighted combination of the collaborative loss ($L_{base}$) and the contrastive loss ($C_L$), allowing the model to learn from both user interactions and content semantics simultaneously.
Datasets
The proposed method was evaluated on two widely used datasets:
- MovieLens-20M: A popular dataset for movie recommendations, containing approximately 20 million explicit ratings.
- Book-Crossing: A dataset for book recommendations, containing about 1 million ratings.
The knowledge graphs for these datasets were constructed using existing metadata sources (TMDB for movies, and Goodreads/Google Books for books).
Key Insights and Ideas
- Semantic Text Enhances KG Recommendations: Incorporating semantic information from item descriptions (synopses) into KG-based recommendation models significantly improves performance across various metrics.
- Contrastive Learning for Embeddings: Item-based contrastive learning, applied to semantic text, effectively regularizes content embeddings, leading to better uniformity and alignment. This means the embeddings are more well-distributed and represent relationships more accurately.
- Diversity and Cold-Start Benefits: The proposed method not only improves ranking performance but also enhances recommendation diversity and provides a substantial boost for cold-start users, who typically struggle with traditional methods.
- Importance of Holistic Evaluation: The paper emphasizes that evaluating recommendation systems solely on ranking metrics is insufficient. Considering diversity and embedding quality provides a more complete picture of a model's effectiveness.
Key Results
- Improved Ranking Performance: The proposed model, especially when using both genre and title for contrastive learning with semantic text, consistently outperformed the baseline KGCN model in AUC and F1-score metrics. For example, in the MovieLens dataset, the AUC increased from 0.9761 (baseline) to 0.9780 (best proposed model).
- Better Cold-Start Performance: The model showed a lesser drop in NDCG@100 for users with very few interactions (cold-start users) compared to the baseline, indicating its robustness in low-data scenarios.
- Enhanced Diversity: The model achieved higher Inter-list diversity, meaning recommendations for different users were more distinct. While Intra-list diversity was sometimes lower when using both genre and title (due to potential for recommending similar items), using only genre for contrastive learning still showed improvements.
- Quality Embeddings: Visualizations (lalign-luniform plots) demonstrated that the semantic text-based embeddings were more aligned and uniform, correlating with better recommendation performance.
Limitations and Future Work
- Missing Metadata: The study acknowledges that some item metadata (synopses) were missing for a small percentage of items in the datasets, which could potentially impact performance.
- Generative AI for Synopses: The paper explored using LLaMA to generate synopses and found comparable performance to human-generated text, suggesting a potential avenue for data augmentation. However, it also raises ethical considerations about propagating biases from the generative model.
- Future Work:
- Extending to Other KG Models: The proposed contrastive learning approach is model-agnostic and can be applied to other KG-based neural network models.
- Real-World Recommendation Data: Further validation on diverse, real-world recommendation datasets is suggested.
- Ethical Considerations: The authors highlight the need for content moderation to mitigate potential biases from training data or generative models.
Summary updated