Skip to main content
QUICK REVIEW

[Paper Review] Reinforcement Learning to Rank in E-Commerce Search Engine: Formalization, Analysis, and Application

Yujing Hu, Qing Da|arXiv (Cornell University)|Mar 2, 2018
Optimization and Search ProblemsComputer Science31 references37 citations
TL;DR

This paper proposes a reinforcement learning approach for e-commerce search ranking by modeling multi-step search sessions as a Search Session Markov Decision Process (SSMDP), which captures sequential dependencies between ranking steps. It introduces a novel deterministic policy gradient algorithm with full backup estimation (DPG-FBE) that reduces reward variance and improves policy learning, achieving over 40% higher transaction volume in simulation and 30% in real-world deployment on Taobao.

ABSTRACT

In e-commerce platforms such as Amazon and TaoBao, ranking items in a search session is a typical multi-step decision-making problem. Learning to rank (LTR) methods have been widely applied to ranking problems. However, such methods often consider different ranking steps in a session to be independent, which conversely may be highly correlated to each other. For better utilizing the correlation between different ranking steps, in this paper, we propose to use reinforcement learning (RL) to learn an optimal ranking policy which maximizes the expected accumulative rewards in a search session. Firstly, we formally define the concept of search session Markov decision process (SSMDP) to formulate the multi-step ranking problem. Secondly, we analyze the property of SSMDP and theoretically prove the necessity of maximizing accumulative rewards. Lastly, we propose a novel policy gradient algorithm for learning an optimal ranking policy, which is able to deal with the problem of high reward variance and unbalanced reward distribution of an SSMDP. Experiments are conducted in simulation and TaoBao search engine. The results demonstrate that our algorithm performs much better than online LTR methods, with more than 40% and 30% growth of total transaction amount in the simulation and the real application, respectively.

Motivation & Objective

  • To address the limitation of existing learning-to-rank methods that treat ranking steps as independent, ignoring sequential dependencies in user search sessions.
  • To formally model multi-step e-commerce search as a Markov decision process (SSMDP) with state, action, reward, and transition functions.
  • To theoretically justify maximizing accumulative rewards over single-step rewards in sequential search interactions.
  • To design a robust policy gradient algorithm (DPG-FBE) that handles high reward variance and unbalanced reward distributions in SSMDP.
  • To empirically validate the proposed method on both simulation and real-world Taobao search engine, demonstrating superior performance over state-of-the-art LTR methods.

Proposed method

  • Formalize the multi-step search session as a Search Session Markov Decision Process (SSMDP), defining state space, action space, reward function, and state transition dynamics.
  • Propose a novel policy gradient algorithm, DPG-FBE (Deterministic Policy Gradient with Full Backup Estimation), to stabilize training in high-variance, unbalanced reward environments.
  • Use full backup estimation to improve value function approximation by incorporating future rewards more accurately, reducing policy update variance.
  • Implement a data stream-driven online RL system with parallel online acting and learning loops, using a log center and online KV system for real-time model updates.
  • Employ small-scale deep neural networks (80 and 64 units per hidden layer) for actor and critic networks to ensure low-latency inference in production.
  • Integrate the DPG-FBE algorithm into Taobao’s search engine and conduct A/B tests against DDPG and offline LTR baselines.

Experimental results

Research questions

  • RQ1Can modeling multi-step search sessions as a sequential decision-making process (SSMDP) lead to better ranking performance than independent step modeling?
  • RQ2Is maximizing accumulative rewards over the entire search session theoretically necessary and beneficial compared to optimizing individual ranking steps?
  • RQ3Can a policy gradient algorithm designed for high-variance and unbalanced reward distributions in SSMDP outperform standard RL and LTR methods?
  • RQ4Does the proposed DPG-FBE algorithm achieve measurable improvements in real-world e-commerce transaction volume?
  • RQ5How does the online RL system scale and perform under production workloads with real-time user feedback?

Key findings

  • The proposed DPG-FBE algorithm achieved over 40% higher total transaction volume in simulation compared to state-of-the-art LTR methods.
  • In real-world deployment on Taobao, the DPG-FBE algorithm achieved more than 30% growth in gross merchandise volume (GMV) compared to the offline LTR baseline.
  • The A/B test showed that DPG-FBE outperformed DDPG by 2.7% to 4.3% in daily transaction volume over a one-week period.
  • The algorithm was successfully used during the 2016 Double 11 Shopping Festival, demonstrating robustness and scalability in high-concurrency production settings.
  • Theoretical analysis confirmed that maximizing accumulative rewards is necessary due to strong correlations between sequential ranking steps in a search session.
  • The full backup estimation in DPG-FBE effectively reduced reward variance and improved policy learning stability in complex, sparse reward environments.

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.