Skip to main navigation Skip to search Skip to main content

Matryoshka Representation Learning for Recommendation with Layer- and Hardness-Adaptive Negative Sampling

  • Riwei Lai*
  • , Li Chen
  • , Weixin Chen
  • , Rui Chen
  • *Corresponding author for this work

Research output: Contribution to journal › Journal article › peer-review

Abstract

Representation learning is essential for deep-neural-network-based recommender systems to capture user preferences and item features within fixed-dimensional user and item vectors. Unlike existing representation learning methods that either treat each user preference and item feature uniformly or categorize them into discrete clusters, we argue that in the real world, user preferences and item features are naturally expressed and organized in a hierarchical manner, leading to a new direction for representation learning.
In this paper, we introduce a novel matryoshka representation learning method for recommendation (MRL4Rec), by which we restructure user and item vectors into matryoshka representations with nested vector spaces to explicitly represent user preferences and item features at different hierarchical layers. We theoretically establish that training with the same triplets for each sliced vector cannot guarantee representation learning with hierarchical structures. Subsequently, we propose the layer- and hardness-adaptive negative sampling (LHANS) mechanism to construct training triplets, which further ensures the soundness of learned matryoshka representations in capturing hierarchical user preferences and item features. The experiments demonstrate that MRL4Rec can consistently and substantially outperform a number of state-of-the-art competitors on several real-life datasets. Our code is publicly available at https://github.com/Riwei-HEU/MRL.
Original languageEnglish
Article number88
Pages (from-to)1-25
Number of pages25
JournalACM Transactions on Intelligent Systems and Technology
Volume17
Issue number4
Early online date28 Apr 2026
DOIs
Publication statusPublished - Aug 2026

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 9 - Industry, Innovation, and Infrastructure
    SDG 9 Industry, Innovation, and Infrastructure

User-Defined Keywords

  • Recommender system
  • collaborative filtering
  • negative sampling
  • representation learning

Fingerprint

Dive into the research topics of 'Matryoshka Representation Learning for Recommendation with Layer- and Hardness-Adaptive Negative Sampling'. Together they form a unique fingerprint.

Cite this