Collectively Embedding Multi-Relational Data for Predicting User Preferences

Nitish Gupta, Sameer SingharXiv 2015

Abstract

This paper addresses the challenges of data sparsity and the cold-start problem in recommendation systems by proposing a Collective Matrix Factorization approach. By learning shared latent embeddings across multiple entity types—including users, items, categories, and review keywords—the model integrates heterogeneous data sources into a unified predictive framework. Evaluation on large-scale Yelp and Amazon datasets demonstrates significant improvements in recommendation accuracy and robust performance for items with no prior ratings.

Introduction

Modern recommendation systems frequently encounter two primary obstacles: the cold-start problem and the difficulty of integrating heterogeneous data. Standard Matrix Factorization (MF) techniques rely heavily on historical user-item interactions. Consequently, when a new product is introduced without prior ratings (cold-start), or when data is distributed across diverse formats like text reviews and categorical metadata, traditional models often fail to provide accurate predictions.

Methodology: Collective Matrix Factorization

The proposed framework moves beyond simple user-item matrices to a multi-relational approach. The core innovation lies in the use of shared latent embeddings.

Shared Embeddings and Collective Factorization

Every entity in the system—users, businesses, categories, and review words—is mapped to a $k$-dimensional latent vector (embedding). The model predicts the likelihood of a relationship (e.g., a user liking a business) by computing the dot product of their respective embeddings.

System architecture for Collective Matrix Factorization, illustrating how shared latent vectors connect entities across various relational matrices.

The "collective" nature of the model ensures that an entity's embedding is informed by all its associated relations. For instance, a business's vector is updated based on user ratings, its assigned categories, and the descriptive words found in its reviews. This allows the model to leverage indirect evidence; a user’s preference for a specific category or keyword can inform predictions for items they have never interacted with.

Optimization

The model parameters are estimated using Stochastic Gradient Descent (SGD). This choice ensures scalability, allowing the system to process the massive datasets typical of platforms like Amazon or Yelp efficiently.

Experimental Setup

The researchers evaluated the model using two extensive real-world datasets:

  • Yelp: Includes data from four major cities, encompassing businesses, categories, attributes, users, and review keywords.
  • Amazon: Covers 22 product categories, focusing on the relationships between products, categories, users, and review text.

Key Results

The inclusion of multi-relational data led to substantial improvements in predictive performance. On the Amazon dataset, the baseline model (using only ratings) achieved an F1 score of 72.1%. By adding categories and review words, the collective model jumped to 87.3%.

Precision-Recall curves on Amazon and Yelp datasets. The results demonstrate that incorporating auxiliary relations like categories (C) and user words (UW) significantly improves prediction accuracy over using ratings (R) alone.

A critical finding was the model's efficacy in cold-start scenarios. For products with zero previous ratings, the model achieved an F1 score of 86.7% on Amazon, nearly matching its performance on established items. Furthermore, t-SNE visualizations of the learned embeddings revealed that the model naturally clusters semantically related concepts, such as similar cuisines or related fitness services, without explicit geographical or linguistic knowledge.

Conclusion and Future Work

By treating metadata and text as binary relations, the collective embedding approach effectively mitigates data sparsity. While the current implementation focuses on binary relations, future extensions could incorporate continuous rating values or temporal dynamics to account for evolving user preferences. Additionally, managing the high dimensionality of word embeddings remains a key area for optimizing memory and computational performance.

Summary updated

BibTeX
@misc{gupta2015collectively,
  author = {Nitish Gupta and Sameer Singh},
  title = {{Collectively Embedding Multi-Relational Data for Predicting User Preferences}},
  year = {2015},
  eprint = {1504.06165},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1504.06165},
}
Figure