Skip to main content
QUICK REVIEW

[Paper Review] Relational Collaborative Filtering:Modeling Multiple Item Relations for Recommendation

Xin Xin, Xiangnan He|arXiv (Cornell University)|Apr 29, 2019
Recommender Systems and TechniquesComputer Science44 references18 citations
TL;DR

This paper proposes Relational Collaborative Filtering (RCF), a novel item-based collaborative filtering framework that models multiple fine-grained item relations—such as shared directors, genres, or functionalities—using a two-level hierarchical attention mechanism. By jointly optimizing user preference modeling and relational structure preservation, RCF significantly outperforms state-of-the-art baselines on two real-world datasets while enabling interpretable recommendations with explicit explanations grounded in relation types and values.

ABSTRACT

Existing item-based collaborative filtering (ICF) methods leverage only the relation of collaborative similarity. Nevertheless, there exist multiple relations between items in real-world scenarios. Distinct from the collaborative similarity that implies co-interact patterns from the user perspective, these relations reveal fine-grained knowledge on items from different perspectives of meta-data, functionality, etc. However, how to incorporate multiple item relations is less explored in recommendation research. In this work, we propose Relational Collaborative Filtering (RCF), a general framework to exploit multiple relations between items in recommender system. We find that both the relation type and the relation value are crucial in inferring user preference. To this end, we develop a two-level hierarchical attention mechanism to model user preference. The first-level attention discriminates which types of relations are more important, and the second-level attention considers the specific relation values to estimate the contribution of a historical item in recommending the target item. To make the item embeddings be reflective of the relational structure between items, we further formulate a task to preserve the item relations, and jointly train it with the recommendation task of preference modeling. Empirical results on two real datasets demonstrate the strong performance of RCF. Furthermore, we also conduct qualitative analyses to show the benefits of explanations brought by the modeling of multiple item relations.

Motivation & Objective

  • To address the limitation of existing item-based collaborative filtering (ICF) methods that rely solely on coarse-grained collaborative similarity from user interactions.
  • To incorporate fine-grained, semantically meaningful item relations—such as shared directors, genres, or functionalities—into recommendation models.
  • To model both relation types (e.g., shared genre) and relation values (e.g., 'sci-fi' or 'Steven Spielberg') as critical factors in user preference inference.
  • To enable interpretable recommendations by generating explanations based on specific item relations, such as 'recommended because it shares the same genre as your past watch'.
  • To jointly train a model that preserves relational structure between items while optimizing for user preference prediction through multi-task learning.

Proposed method

  • RCF employs a two-level hierarchical attention mechanism: the first level assigns weights to different relation types (e.g., shared director, genre), and the second level assigns weights to specific relation values (e.g., 'Steven Spielberg', 'action') within each type.
  • User representations are constructed by attending over historical items through the hierarchical attention mechanism, where attention weights reflect the relevance of each relation type and value to the user’s preference.
  • A relational structure preservation task is formulated to ensure that item embeddings reflect the actual relations between items, using a contrastive loss to maintain proximity between related items in embedding space.
  • The recommendation task and the relational structure preservation task are jointly optimized in an end-to-end multi-task learning framework to improve both accuracy and structural fidelity.
  • The model uses deep neural networks to embed items and relations, with relation types and values treated as discrete categorical features in the attention computation.
  • The final recommendation score for a target item is computed as a weighted sum of user-attended item embeddings, where the weights are derived from the hierarchical attention mechanism.

Experimental results

Research questions

  • RQ1Can modeling multiple fine-grained item relations—beyond collaborative similarity—improve recommendation performance?
  • RQ2How do different relation types (e.g., shared director, genre) and relation values (e.g., 'sci-fi', 'Steven Spielberg') influence user preference?
  • RQ3Can a hierarchical attention mechanism effectively capture the importance of relation types and values in user decision-making?
  • RQ4Does jointly training on user preference and relational structure preservation enhance model performance and robustness?
  • RQ5Can RCF generate meaningful, human-interpretable explanations for recommendations based on specific item relations?

Key findings

  • RCF achieves significantly improved performance over state-of-the-art baselines on two real-world datasets, demonstrating its effectiveness in recommendation.
  • The attention mechanism reveals that users assign varying importance to different relation types, with 'shared genres' being the most influential in the MovieLens dataset.
  • User-specific attention weights on relation values (e.g., 'crime' and 'sci-fi' in MovieLens) align with their actual viewing behavior, confirming the model’s ability to capture individual preferences.
  • The joint training with relational structure preservation improves embedding quality, as evidenced by better preservation of semantic relations in the embedding space.
  • Qualitative analysis confirms that RCF can generate plausible and interpretable explanations, such as 'recommended because it shares the same genre as your past watch'.
  • The model's attention mechanism is stable and consistent across users, with clear patterns in relation type and value attention, supporting its interpretability and reliability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.