TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/HMAR: Hierarchical Masked Attention for Multi-Behaviour Re...

HMAR: Hierarchical Masked Attention for Multi-Behaviour Recommendation

Shereen Elsayed, Ahmed Rashed, Lars Schmidt-Thieme

2024-04-29Multibehavior RecommendationRecommendation Systems
PaperPDFCode(official)

Abstract

In the context of recommendation systems, addressing multi-behavioral user interactions has become vital for understanding the evolving user behavior. Recent models utilize techniques like graph neural networks and attention mechanisms for modeling diverse behaviors, but capturing sequential patterns in historical interactions remains challenging. To tackle this, we introduce Hierarchical Masked Attention for multi-behavior recommendation (HMAR). Specifically, our approach applies masked self-attention to items of the same behavior, followed by self-attention across all behaviors. Additionally, we propose historical behavior indicators to encode the historical frequency of each items behavior in the input sequence. Furthermore, the HMAR model operates in a multi-task setting, allowing it to learn item behaviors and their associated ranking scores concurrently. Extensive experimental results on four real-world datasets demonstrate that our proposed model outperforms state-of-the-art methods. Our code and datasets are available here (https://github.com/Shereen-Elsayed/HMAR).

Results

TaskDatasetMetricValueModel
Recommendation SystemsMovieLensHR@100.9412HMAR
Recommendation SystemsMovieLensHR@100.913MBHT
Recommendation SystemsMovieLensHR@100.861KHGT
Recommendation SystemsYelpHR@100.9015HMAR
Recommendation SystemsYelpHR@100.885MBHT
Recommendation SystemsYelpHR@100.882MB-STR
Recommendation SystemsMulti-behavior TaobaoHR@100.8515HMAR
Recommendation SystemsMulti-behavior TaobaoHR@100.768MB-STR
Recommendation SystemsMulti-behavior TaobaoHR@100.745MBHT

Related Papers

IP2: Entity-Guided Interest Probing for Personalized News Recommendation2025-07-18A Reproducibility Study of Product-side Fairness in Bundle Recommendation2025-07-18SGCL: Unifying Self-Supervised and Supervised Learning for Graph Recommendation2025-07-17Similarity-Guided Diffusion for Contrastive Sequential Recommendation2025-07-16Looking for Fairness in Recommender Systems2025-07-16Journalism-Guided Agentic In-Context Learning for News Stance Detection2025-07-15LLM-Stackelberg Games: Conjectural Reasoning Equilibria and Their Applications to Spearphishing2025-07-12When Graph Contrastive Learning Backfires: Spectral Vulnerability and Defense in Recommendation2025-07-10