Skip to main content
QUICK REVIEW

[Paper Review] Generate What You Prefer: Reshaping Sequential Recommendation via Guided Diffusion

Zhengyi Yang, Jiancan Wu|arXiv (Cornell University)|Oct 31, 2023
Recommender Systems and TechniquesComputer Science15 citations
TL;DR

DreamRec reframes sequential recommendation as a learning-to-generate task using guided diffusion to generate an oracle item, avoiding negative sampling and improving exploration of the item space.

ABSTRACT

Sequential recommendation aims to recommend the next item that matches a user's interest, based on the sequence of items he/she interacted with before. Scrutinizing previous studies, we can summarize a common learning-to-classify paradigm -- given a positive item, a recommender model performs negative sampling to add negative items and learns to classify whether the user prefers them or not, based on his/her historical interaction sequence. Although effective, we reveal two inherent limitations:(1) it may differ from human behavior in that a user could imagine an oracle item in mind and select potential items matching the oracle; and (2) the classification is limited in the candidate pool with noisy or easy supervision from negative samples, which dilutes the preference signals towards the oracle item. Yet, generating the oracle item from the historical interaction sequence is mostly unexplored. To bridge the gap, we reshape sequential recommendation as a learning-to-generate paradigm, which is achieved via a guided diffusion model, termed DreamRec.Specifically, for a sequence of historical items, it applies a Transformer encoder to create guidance representations. Noising target items explores the underlying distribution of item space; then, with the guidance of historical interactions, the denoising process generates an oracle item to recover the positive item, so as to cast off negative sampling and depict the true preference of the user directly. We evaluate the effectiveness of DreamRec through extensive experiments and comparisons with existing methods. Codes and data are open-sourced at https://github.com/YangZhengyi98/DreamRec.

Motivation & Objective

  • Motivate turning sequential recommendation from a classification problem with negative sampling into a generation problem.
  • Model user preference as an underlying data-generation process and generate an oracle item tailored to history.
  • Remove or reduce reliance on negative sampling by leveraging diffusion-based generation guided by history.

Proposed method

  • Use a Transformer encoder to derive a history-guidance signal from user interaction sequences.
  • Apply a diffusion-based denoising process to generate an oracle item conditioned on history (e_{n}^{0} ~ p_{ heta}(·|e_{1:n-1})).
  • Incorporate classifier-free guidance to balance personalized guidance and general diffusion (Equation 15).
  • Train with a conditional diffusion objective that denoises towards the target item (Equation 14).
  • During inference, generate e_{n}^{0} by denoising from a Gaussian prior and retrieve K-nearest items within the candidate set for recommendation.

Experimental results

Research questions

  • RQ1Can sequential recommendation be reformulated from learning-to-classify to learning-to-generate by generating an oracle item instead of relying on negative sampling?
  • RQ2Does guided diffusion with history-conditioned guidance improve generated oracle items and downstream recommendations compared to traditional negative-sampling baselines?
  • RQ3How does personalized guidance strength affect generation quality and recommendation performance?
  • RQ4What is the impact of generating oracle items on exploring the full item space without negative sampling?

Key findings

  • DreamRec outperforms strong baselines (GRU4Rec, Caser, SASRec, S-IPS, AdaRanker, CL4SRec, DiffRec) on YooChoose, KuaiRec, and Zhihu in HR@20 and NDCG@20.
  • DreamRec achieves higher HR@20 and NDCG@20 across all three datasets: YooChoose (HR 4.78, NDCG 2.23), KuaiRec (HR 5.16, NDCG 4.11), Zhihu (HR 2.26, NDCG 0.79).
  • Visualizations show DreamRec explores broader item space without negative sampling, unlike SASRec with/without negative sampling.
  • Guided diffusion with history improves personalization; too strong guidance (high w) can hurt generation quality and overall performance.
  • DreamRec eliminates the need for negative sampling during training, yet can still leverage a retrieval step over the candidate set during evaluation.

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.