CARCA: Context and Attribute-Aware Next-Item Recommendation via Cross-Attention

Ahmed Rashed, Shereen Elsayed, Lars Schmidt-Thieme
4/4/2022
105 citations
cs.IRcs.AI
transformer-attention

Official code: ahmedrashed-ml/CARCA (67 stars, Python, last commit 2023-05-27).

Abstract

In sparse recommender settings, users' context and item attributes play a crucial role in deciding which items to recommend next. Despite that, recent works in sequential and time-aware recommendations usually either ignore both aspects or only consider one of them, limiting their predictive performance.

Show full abstract

In this paper, we address these limitations by proposing a context and attribute-aware recommender model (CARCA) that can capture the dynamic nature of the user profiles in terms of contextual features and item attributes via dedicated multi-head self-attention blocks that extract profile-level features and predicting item scores. Also, unlike many of the current state-of-the-art sequential item recommendation approaches that use a simple dot-product between the most recent item's latent features and the target items embeddings for scoring, CARCA uses cross-attention between all profile items and the target items to predict their final scores. This cross-attention allows CARCA to harness the correlation between old and recent items in the user profile and their influence on deciding which item to recommend next. Experiments on four real-world recommender system datasets show that the proposed model significantly outperforms all state-of-the-art models in the task of item recommendation and achieving improvements of up to 53% in Normalized Discounted Cumulative Gain (NDCG) and Hit-Ratio. Results also show that CARCA outperformed several state-of-the-art dedicated image-based recommender systems by merely utilizing image attributes extracted from a pre-trained ResNet50 in a black-box fashion.

View on arXivView PDF

Code Implementations(1)

Context and Attribute-Aware Sequential Recommendation via Cross-Attention, RecSys 2022

676PythonApr 4, 20223 years ago

Similar Papers

Cite this paper

@article{rashed2022carca,
  title  = {CARCA: Context and Attribute-Aware Next-Item Recommendation via Cross-Attention},
  author = {Ahmed Rashed and Shereen Elsayed and Lars Schmidt-Thieme},
  year   = {2022},
  eprint = {2204.06519},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.06519}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2204.06519.svg)](https://codeofpaper.com/paper/2204.06519)

Discussion