Deep Collaborative Filtering with Multi-Aspect Information in Heterogeneous Networks

Chuan Shi, Xiaotian Han, Li Song, Xiao Wang, Senzhang Wang, Junping Du, Philip S. Yu

TL;DR

This paper introduces NeuACF and NeuACF++, novel deep learning models for recommender systems that leverage multi-aspect information from heterogeneous networks. By extracting aspect-specific latent factors using meta-paths and fusing them with attention mechanisms, these models significantly improve recommendation accuracy over existing methods.

What Problem Does This Paper Address?

Recommender systems are crucial for navigating information overload, but traditional methods often rely solely on user-item interaction history (e.g., purchases, ratings). This overlooks valuable information about users and items that exists in different "aspects," such as item brands, categories, or even social connections. Existing latent factor models, while effective, typically capture only a single aspect of this information. Furthermore, shallow projection methods in these models struggle to capture complex, non-linear relationships. Deep neural networks offer a way to model these complexities, but effectively integrating diverse aspect-level information and fusing it for recommendations remains a challenge.

Methods

The core innovation lies in modeling the recommender system as a Heterogeneous Information Network (HIN). This allows for the representation of various entities (users, items) and their diverse relationships (purchases, brand affiliations, categories).

  1. Aspect-level Similarity Matrix Extraction: The paper uses meta-paths (sequences of relations) within the HIN to extract aspect-specific features. For instance, a "User-Item-User" meta-path can capture purchase history aspects, while a "User-Item-Brand-Item-User" path can capture brand preferences. These meta-paths are used to compute similarity matrices between users and between items for each aspect. The PathSim algorithm is employed for this similarity calculation.
  2. Deep Neural Network for Aspect-level Latent Factor Learning: A deep neural network (DNN), specifically a Multi-Layer Perceptron (MLP), is designed to learn latent factors for each aspect independently. The similarity matrices derived from meta-paths serve as input to these MLPs, allowing them to capture non-linear relationships within each aspect.
  3. Attention-based Fusion (NeuACF): To combine these aspect-level latent factors effectively, a standard attention mechanism is used. This mechanism learns to assign different weights to each aspect's latent factors, reflecting their varying importance for recommendation. The aggregated latent factor is a weighted sum of these aspect-level factors.
  4. Self-Attention Fusion (NeuACF++): To further enhance fusion, the authors propose self-attention. This mechanism goes beyond standard attention by considering the relationships between different aspects themselves, allowing for a more nuanced and adaptive fusion of latent factors. It learns an "affinity matrix" that captures how different aspects relate to each other for a given user.
  5. Objective Function: The models are trained using a point-wise logistic loss function, framing the recommendation task as predicting the probability of future user-item interactions.

Datasets

The proposed models were evaluated on three real-world datasets:

  • MovieLens-100K (ML100K)
  • MovieLens-1M (ML1M)
  • Amazon (specifically items from the Electronics category, with users who bought fewer than 10 items removed).

The paper notes that the network schemas for these datasets were constructed based on available information (e.g., movie directors/actors for MovieLens, item brands/categories for Amazon).

Key Insights and Ideas

  • Beyond Purchase History: The most significant insight is that incorporating diverse "aspects" of user-item interactions (like brand, category) beyond just purchase history dramatically improves recommendation performance.
  • HINs as a Powerful Representation: Modeling recommender systems as Heterogeneous Information Networks is a flexible and effective way to capture rich, multi-relational data.
  • Meta-paths as Aspect Extractors: Meta-paths are a clever way to systematically extract meaningful, aspect-specific features from HINs.
  • Attention is Crucial for Fusion: Simply concatenating or averaging aspect-level factors is suboptimal. Attention mechanisms are essential for adaptively weighing the importance of different aspects, leading to better recommendations.
  • Self-Attention's Advantage: The self-attention mechanism in NeuACF++ offers a more sophisticated way to fuse aspect information by considering inter-aspect relationships, leading to further performance gains.
  • Purchase History Dominance (but not exclusivity): While purchase history often emerges as a highly influential aspect, other aspects like brand and category also contribute significantly, especially when fused.

Key Results

  • Superior Performance: Both NeuACF and NeuACF++ significantly outperformed a wide range of baseline methods, including traditional Matrix Factorization (MF) models, neural network-based models (NeuMF, DMF), and other HIN-based approaches (SVDhin, FMG, HeteRS).
  • NeuACF++ Outperforms NeuACF: The self-attention mechanism in NeuACF++ consistently yielded better results than the standard attention in NeuACF, particularly on the Amazon dataset.
  • Impact of Aspect Combination: Combining multiple meta-paths (aspects) generally led to better performance than using single aspects, demonstrating the value of multi-aspect fusion.
  • Attention Weights Reflect Importance: Analysis showed a correlation between learned attention weights and the performance of individual aspects, suggesting the attention mechanism learns meaningful importance scores.
  • Visualization Insights: t-SNE visualizations of learned latent factors showed that aspect-specific embeddings (e.g., brand-based) could effectively separate items based on those specific attributes, validating the aspect-extraction process.

Limitations and Future Work

  • Computational Cost: While similarity matrix computation can be done offline, the deep neural network and attention mechanisms add computational overhead compared to simpler models.
  • Hyperparameter Sensitivity: The performance of deep learning models is often sensitive to hyperparameter choices (e.g., latent factor dimensions, number of hidden layers). The paper explores some of these but acknowledges the need for careful tuning.
  • Future Directions:
    • Explore attention mechanisms that consider latent factors from all layers of the neural network, not just the final ones.
  • Develop mechanisms for sharing learned neural network components across different meta-paths to reduce retraining costs when new aspects are introduced.
  • Investigate more advanced HIN embedding techniques and fusion strategies.

Summary updated

BibTeX
@article{shi2021deep,
  author = {Chuan Shi and Xiaotian Han and Li Song and Xiao Wang and Senzhang Wang and Junping Du and Philip S. Yu},
  title = {{Deep Collaborative Filtering with Multi-Aspect Information in Heterogeneous Networks}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2021},
  doi = {10.1109/tkde.2019.2941938},
}
Figure