Skip to main content
QUICK REVIEW

[Paper Review] Rethinking Reinforcement Learning for Recommendation: A Prompt Perspective

Xin Xin, Tiago Pimentel|arXiv (Cornell University)|Jun 15, 2022
Advanced Bandit Algorithms ResearchDecision Sciences5 citations
TL;DR

This paper proposes Prompt-Based Reinforcement Learning (PRL), a novel offline training paradigm for next-item recommendation that formulates RL as a supervised learning problem by treating state-reward pairs as prompts to directly predict recommended items. Evaluated on two e-commerce datasets, PRL outperforms traditional RL methods by leveraging historical data as a knowledge base, achieving superior performance in session-based recommendation without online exploration errors.

ABSTRACT

Modern recommender systems aim to improve user experience. As reinforcement learning (RL) naturally fits this objective -- maximizing an user's reward per session -- it has become an emerging topic in recommender systems. Developing RL-based recommendation methods, however, is not trivial due to the \emph{offline training challenge}. Specifically, the keystone of traditional RL is to train an agent with large amounts of online exploration making lots of `errors' in the process. In the recommendation setting, though, we cannot afford the price of making `errors' online. As a result, the agent needs to be trained through offline historical implicit feedback, collected under different recommendation policies; traditional RL algorithms may lead to sub-optimal policies under these offline training settings. Here we propose a new learning paradigm -- namely Prompt-Based Reinforcement Learning (PRL) -- for the offline training of RL-based recommendation agents. While traditional RL algorithms attempt to map state-action input pairs to their expected rewards (e.g., Q-values), PRL directly infers actions (i.e., recommended items) from state-reward inputs. In short, the agents are trained to predict a recommended item given the prior interactions and an observed reward value -- with simple supervised learning. At deployment time, this historical (training) data acts as a knowledge base, while the state-reward pairs are used as a prompt. The agents are thus used to answer the question: \emph{ Which item should be recommended given the prior interactions \& the prompted reward value}? We implement PRL with four notable recommendation models and conduct experiments on two real-world e-commerce datasets. Experimental results demonstrate the superior performance of our proposed methods.

Motivation & Objective

  • To address the offline training challenge in reinforcement learning-based recommendation, where online exploration is costly and impractical.
  • To develop a method that enables effective policy learning from fixed historical data collected under diverse or unknown behavior policies.
  • To reformulate the RL recommendation task as a prompt-based inference problem, improving generalization and reducing distributional shift issues.
  • To enable training of RL agents via simple supervised learning using historical interaction sequences and reward signals.
  • To demonstrate the effectiveness of PRL across multiple state-of-the-art sequential recommendation models in real-world settings.

Proposed method

  • PRL redefines the RL objective: instead of learning Q-values for state-action pairs, it directly predicts the recommended item given a state (user history) and a prompted reward value.
  • The method treats historical user interaction sequences and observed rewards as input prompts, and the model learns to output the optimal action (recommended item) via supervised learning.
  • The training data consists of (state, reward, action) triples extracted from offline logs, where actions are the items users interacted with.
  • The model architecture is agnostic to the sequential encoder; PRL can be combined with any sequential model (e.g., GRU, CNN, Transformer) to represent user states.
  • At inference, the agent answers: 'Which item should be recommended given this state and a desired reward expectation?'
  • The approach avoids policy evaluation and improvement loops by directly mapping prompts (state + reward) to actions, reducing variance and distributional shift.

Experimental results

Research questions

  • RQ1Can a prompt-based learning paradigm effectively replace traditional value-based RL in offline recommendation settings?
  • RQ2How does PRL perform compared to conventional RL and supervised baselines in terms of recommendation accuracy and robustness?
  • RQ3Does PRL generalize across different sequential models and real-world datasets with varying user behaviors?
  • RQ4How sensitive is PRL to the choice of reward expectation and deviation during inference?
  • RQ5Can PRL achieve better performance than existing offline RL methods without requiring online interaction or complex reward modeling?

Key findings

  • PRL significantly outperforms traditional RL-based recommendation methods in offline settings, demonstrating superior performance on two real-world e-commerce datasets.
  • The method achieves state-of-the-art results across four different sequential recommendation models, including GRU, CNN, and Transformer-based architectures.
  • On Challenge15, users prefer high-reward, low-exploration recommendations, and PRL adapts well to this preference pattern.
  • On RetailRocket, higher exploration (larger reward deviation) slightly improves performance, and PRL effectively captures this dynamic behavior.
  • The ablation study confirms that PRL’s performance is robust to variations in reward expectation and deviation, indicating strong generalization capability.
  • The results validate that PRL effectively mitigates the offline training challenge by avoiding distributional shift and reducing variance in policy learning.

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.