Skip to main content
QUICK REVIEW

[Paper Review] Learning Vector-Quantized Item Representation for Transferable Sequential Recommenders

Yupeng Hou, Zhankui He|arXiv (Cornell University)|Oct 22, 2022
Recommender Systems and TechniquesComputer Science6 citations
TL;DR

This paper proposes VQ-Rec, a novel method for learning transferable sequential recommender representations by introducing a two-stage process: mapping item text to discrete vector-quantized codes, then using these codes to retrieve learnable embeddings. By decoupling text encodings from final item representations, VQ-Rec reduces over-reliance on text semantics and mitigates domain gap effects, achieving state-of-the-art performance across six cross-domain and cross-platform benchmarks.

ABSTRACT

Recently, the generality of natural language text has been leveraged to develop transferable recommender systems. The basic idea is to employ pre-trained language models~(PLM) to encode item text into item representations. Despite the promising transferability, the binding between item text and item representations might be too tight, leading to potential problems such as over-emphasizing the effect of text features and exaggerating the negative impact of domain gap. To address this issue, this paper proposes VQ-Rec, a novel approach to learning Vector-Quantized item representations for transferable sequential Recommenders. The main novelty of our approach lies in the new item representation scheme: it first maps item text into a vector of discrete indices (called item code), and then employs these indices to lookup the code embedding table for deriving item representations. Such a scheme can be denoted as "text $\Longrightarrow$ code $\Longrightarrow$ representation". Based on this representation scheme, we further propose an enhanced contrastive pre-training approach, using semi-synthetic and mixed-domain code representations as hard negatives. Furthermore, we design a new cross-domain fine-tuning method based on a differentiable permutation-based network. Extensive experiments conducted on six public benchmarks demonstrate the effectiveness of the proposed approach, in both cross-domain and cross-platform settings. Code and pre-trained model are available at: https://github.com/RUCAIBox/VQ-Rec.

Motivation & Objective

  • To address the tight binding between pre-trained language model (PLM) text encodings and item representations in transferable sequential recommenders, which can overemphasize text features and amplify domain gaps.
  • To improve transferability in cross-domain and cross-platform recommendation by decoupling semantic text representations from item embeddings.
  • To develop a representation scheme that enhances robustness to domain shift while preserving sequential behavior modeling capacity.
  • To design a contrastive pre-training strategy using mixed-domain and semi-synthetic code representations as hard negatives.
  • To propose a differentiable permutation-based network for effective cross-domain fine-tuning with code-embedding alignment.

Proposed method

  • Introduces a two-stage item representation scheme: text → discrete code → embedding lookup, where codes are learned via vector quantization.
  • Employs a codebook-based vector quantization module to map PLM-encoded item text into discrete indices (codes), decoupling semantics from representation.
  • Uses a contrastive pre-training objective with hard negatives formed from mixed-domain and semi-synthetic code representations to improve generalization.
  • Proposes a differentiable permutation-based network to learn domain-specific code-embedding alignments during fine-tuning, enabling effective adaptation to new domains.
  • Leverages pre-trained language models (PLMs) to encode item text, followed by a learnable codebook to generate discrete indices for each item.
  • Applies a learnable embedding table where each code index maps to a dense embedding vector, forming the final item representation.
Figure 1. The overall framework of the proposed vector-quantized code-based transferable sequential recommender VQ-Rec.
Figure 1. The overall framework of the proposed vector-quantized code-based transferable sequential recommender VQ-Rec.

Experimental results

Research questions

  • RQ1Can decoupling text encodings from item representations via discrete codes improve transferability in sequential recommendation?
  • RQ2How does the proposed VQ-Rec method mitigate the negative impact of domain gaps in multi-domain pre-training?
  • RQ3To what extent can the use of mixed-domain and semi-synthetic code representations as hard negatives improve model generalization?
  • RQ4Can a differentiable permutation-based network effectively align code embeddings across domains during fine-tuning?
  • RQ5Does the two-stage representation scheme (text → code → representation) outperform direct PLM-based item representation in cross-domain and cross-platform settings?

Key findings

  • VQ-Rec achieves state-of-the-art performance across six public benchmarks in both cross-domain and cross-platform sequential recommendation settings.
  • The method significantly reduces over-reliance on text semantics, improving model generalization by decoupling text from final representations.
  • The use of mixed-domain and semi-synthetic code representations as hard negatives improves contrastive pre-training, enhancing robustness to domain shifts.
  • The differentiable permutation-based fine-tuning mechanism enables effective alignment of code embeddings across domains, improving adaptation speed and accuracy.
  • Empirical results show consistent improvements over strong baselines, including PLM-based and code-based methods, in both zero-shot and few-shot transfer scenarios.
  • The ablation study confirms that the two-stage representation scheme and the proposed pre-training/fine-tuning components are essential for performance gains.
Figure 2. Performance comparison w.r.t. increasing training data on “Office” and “Online Retail” datasets. The x-axis coordinates denote the proportion of original training data that the recommenders are trained on.
Figure 2. Performance comparison w.r.t. increasing training data on “Office” and “Online Retail” datasets. The x-axis coordinates denote the proportion of original training data that the recommenders are trained on.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.