Attentive Autoencoders for Multifaceted Preference Learning in One-class Collaborative Filtering

Zheda Mai, Ga Wu, Kai Luo, Scott Sanner

Abstract

Most recommendation systems assume a user has a single "average" preference, but real people have diverse, multifaceted interests. This paper introduces Attentive Multi-modal AutoRec (AMA), a framework that uses an attention mechanism to decompose a user's history into multiple distinct "preference facets," leading to more accurate and interpretable recommendations in one-class collaborative filtering settings.

The Challenge of Uni-modal Representations

In One-Class Collaborative Filtering (OC-CF), models typically rely on implicit feedback like clicks or views. Most existing models represent a user as a single latent vector—a "uni-modal" approach. However, users are complex; one might enjoy both gritty crime dramas and lighthearted animated comedies. A uni-modal model attempts to "average" these disparate interests into a single point in mathematical space, often failing to capture the nuances of either. While increasing model depth or vector size can help, these approaches often lead to overfitting or high computational costs.

The Attentive Multi-modal AutoRec (AMA) Framework

The authors propose AMA, an evolution of the classic autoencoder-based recommender (AutoRec), featuring two primary innovations:

  1. Multi-head Attention Encoder: Instead of compressing all interactions into one vector, AMA employs an attention mechanism with several "queries" representing different potential preference facets. For each facet, the mechanism weighs historical items differently (e.g., one head focusing on horror, another on sci-fi).
  2. Maxout Decoder: To predict interest in a new item, the model generates scores for every learned preference facet. It then applies a "Maxout" operation, selecting the highest score. This acts as a logical "OR" gate: a user is likely to interact with an item if it aligns with any of their diverse interests.
Architecture of the Attentive Multi-modal AutoRec (AMA) framework, highlighting the multi-head attention encoder and maxout decoder.

To maintain efficiency, item embeddings are initialized using Singular Value Decomposition (SVD), allowing the model to focus on capturing complex user behavior patterns.

Experimental Setup

AMA was evaluated on three real-world datasets binarized for the implicit feedback setting:

  • MovieLens-1M: A standard movie recommendation benchmark.
  • Amazon Digital Music: A sparse dataset of music purchases.
  • Amazon Video Games: A sparse dataset of gaming interactions.

Key Insights: The "Average" User is a Myth

Empirical analysis revealed that modeling users as multi-faceted aligns with actual consumption patterns. Over 82% of MovieLens users and 74% of Amazon Music users benefited from multiple preference modes.

Distribution of the number of preference modes per user across MovieLens and Amazon Digital Music datasets.

Additional findings include:

  • Precision vs. Recall: While a single preference mode can yield high precision, multiple modes significantly improve recall, helping users discover a broader range of relevant items.
  • Parameter Efficiency: AMA achieved state-of-the-art performance on MovieLens-1M with only ~143,000 parameters, compared to over 1.9 million required by standard Matrix Factorization models.

Results and Interpretability

AMA consistently ranked among the top performers, outperforming complex models like VAE-CF and Collaborative Metric Learning (CML) in metrics such as NDCG and Recall@K. Crucially, the attention mechanism provides interpretability; recommendations can be traced back to specific preference facets and the historical items that triggered them.

Future Directions

Future work may involve integrating advanced item embedding techniques like Graph Convolutional Networks (GCNs) or ranking-specific loss functions like Bayesian Personalized Ranking (BPR). Additionally, exploring methods to explicitly encourage diversity (orthogonality) between preference facets remains an open area for research.

Summary updated

Abstract

Most existing One-Class Collaborative Filtering (OC-CF) algorithms estimate a user's preference as a latent vector by encoding their historical interactions. However, users often show diverse interests, which significantly increases the learning difficulty. In order to capture multifaceted user preferences, existing recommender systems either increase the encoding complexity or extend the latent representation dimension. Unfortunately, these changes inevitably lead to increased training difficulty and exacerbate scalability issues. In this paper, we propose a novel and efficient CF framework called Attentive Multimodal AutoRec (AMA) that explicitly tracks multiple facets of user preferences. Specifically, we extend the Autoencoding-based recommender AutoRec to learn user preferences with multimodal latent representations, where each mode captures one facet of a user's preferences. By leveraging the attention mechanism, each observed interaction can have different contributions to the preference facets. Through extensive experiments on three realworld datasets, we show that AMA is competitive with state-of-the-art models under the OC-CF setting. Also, we demonstrate how the proposed model improves interpretability by providing explanations using the attention mechanism.
BibTeX
@inproceedings{mai2020attentive,
  author = {Zheda Mai and Ga Wu and Kai Luo and Scott Sanner},
  title = {{Attentive Autoencoders for Multifaceted Preference Learning in One-class Collaborative Filtering}},
  booktitle = {Workshops @ ICDM},
  year = {2020},
  url = {https://openreview.net/forum?id=SnbdJkD2UfD},
}
Figure