Papers › HMAR: Hierarchical Masked Attention for Multi-Behaviour Recommendation

HMAR: Hierarchical Masked Attention for Multi-Behaviour Recommendation

29 Apr 2024arXiv:2405.09638archive 2025-07-28

Shereen Elsayed, Ahmed Rashed, Lars Schmidt-Thieme

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).

PaperPDFCode

Code

shereen-elsayed/hmar officialmentioned in papertf report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Multibehavior RecommendationRecommendation Systems

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Multibehavior Recommendation MovieLens HMAR HR@10 0.9412 #1 of 4 Archive leaderboard report
Multibehavior Recommendation MovieLens MBHT HR@10 0.913 #3 of 4 Archive leaderboard report
Multibehavior Recommendation MovieLens KHGT HR@10 0.861 #4 of 4 Archive leaderboard report
Multibehavior Recommendation Multi-behavior Taobao HMAR HR@10 0.8515 #1 of 4 Archive leaderboard report
Multibehavior Recommendation Multi-behavior Taobao MB-STR HR@10 0.768 #3 of 4 Archive leaderboard report
Multibehavior Recommendation Multi-behavior Taobao MBHT HR@10 0.745 #4 of 4 Archive leaderboard report
Multibehavior Recommendation Yelp HMAR HR@10 0.9015 #1 of 4 Archive leaderboard report
Multibehavior Recommendation Yelp MBHT HR@10 0.8850 #3 of 4 Archive leaderboard report
Multibehavior Recommendation Yelp MB-STR HR@10 0.882 #4 of 4 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections