Deep Item-based Collaborative Filtering for Top-N Recommendation

Feng Xue, Xiangnan He, Xiang Wang, Jiandong Xu, Kai Liu, Richang Hong

Abstract

Traditional Item-based Collaborative Filtering (ICF) models often rely on shallow, linear similarities that fail to capture the complex nuances of user behavior. This paper introduces DeepICF, a neural network architecture designed to model non-linear, higher-order relationships between items in a user’s history. By leveraging deep interaction layers and attention mechanisms, DeepICF significantly improves Top-N recommendation accuracy over state-of-the-art baselines.

Introduction

Item-based Collaborative Filtering (ICF) is a cornerstone of modern recommendation systems due to its interpretability and efficiency in online personalization. However, standard ICF models typically focus on second-order interactions—the simple similarity between a target item and individual items in a user's history.

The authors argue that user decision-making is often driven by higher-order relationships, where combinations of previously consumed items provide a stronger signal than any single item alone. For instance, a user's preference might be determined by a specific combination of genre, director, and cast shared across multiple movies in their history.

Higher-order relationships between movies based on shared attributes like genre, producer, and director.

Existing models like HOSLIM attempt to address this but are often linear and require complex two-step processes to identify frequent itemsets. DeepICF aims to learn these complex patterns end-to-end directly from raw interaction data.

Methods

The DeepICF framework consists of a multi-layered neural architecture designed to capture both simple and complex item interactions:

The DeepICF architecture, illustrating the flow from input multi-hot encoding to the final prediction score through deep interaction layers.
  1. Input & Embedding Layer: Users are represented by a multi-hot vector of their historical interactions. These items, along with the target item, are projected into a shared latent embedding space.
  2. Pairwise Interaction Layer: The model computes element-wise products between the target item's embedding and each historical item's embedding to capture standard second-order similarity signals.
  3. Pooling Layer: These interactions are aggregated into a single vector. The authors propose two variants: DeepICF (weighted average pooling) and DeepICF+a, which utilizes an attention mechanism to learn which historical items are most relevant to the current target.
  4. Deep Interaction Layers: A Multi-Layer Perceptron (MLP) with ReLU activations processes the pooled vector. This allows the model to learn non-linear, higher-order dependencies between the items.
  5. Pre-training: To avoid local optima, embeddings are initialized using the Factored Item Similarity Model (FISM).

Results and Key Insights

The model was evaluated on the MovieLens (1M) and Pinterest datasets using Hit Ratio (HR@10) and Normalized Discounted Cumulative Gain (NDCG@10).

  • State-of-the-Art Performance: DeepICF and DeepICF+a consistently outperformed traditional ICF (ItemKNN, FISM), linear higher-order models (HOSLIM), and user-based deep models like Neural Collaborative Filtering (NCF).
  • The Power of Depth: Experimental results showed that increasing the number of hidden layers (up to 3 or 4) generally improved performance, confirming that higher-order modeling provides a tangible boost in accuracy.
  • Attention as an Explainer: The attention mechanism in DeepICF+a allows the model to ignore irrelevant items (e.g., a random documentary in a history of romance films), enhancing both accuracy and interpretability.
  • Robustness to Sparsity: DeepICF showed particularly strong improvements on the sparse Pinterest dataset, suggesting that deep item-based models are more robust than user-based models when data is limited.

Limitations and Future Work

While DeepICF represents a significant advancement, it currently focuses on implicit feedback (binary interactions) and treats user history as a "bag of items," ignoring the temporal order of consumption. Future research could incorporate side information—such as item tags, categories, or user demographics—and model sequential dynamics to further refine the recommendation process.

Summary updated

BibTeX
@article{xue2019deep,
  author = {Feng Xue and Xiangnan He and Xiang Wang and Jiandong Xu and Kai Liu and Richang Hong},
  title = {{Deep Item-based Collaborative Filtering for Top-N Recommendation}},
  journal = {ACM Trans. Information Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=XmAlwQ6ja9C},
}
Figure