Skip to main content
QUICK REVIEW

[Paper Review] Virtual-Taobao: Virtualizing Real-world Online Retail Environment for Reinforcement Learning

Jing-Cheng Shi, Yang Yu|arXiv (Cornell University)|May 25, 2018
Reinforcement Learning in RoboticsComputer Science18 references21 citations
TL;DR

This paper proposes Virtual-Taobao, a simulation of Taobao’s online retail environment built from historical user behavior using GAN-SD and MAIL for training reinforcement learning policies. The method enables training policies in a low-cost virtual environment that generalize well to real-world performance, outperforming supervised learning baselines in online A/B tests with a 10.1% R2P improvement over supervised methods.

ABSTRACT

Applying reinforcement learning in physical-world tasks is extremely challenging. It is commonly infeasible to sample a large number of trials, as required by current reinforcement learning methods, in a physical environment. This paper reports our project on using reinforcement learning for better commodity search in Taobao, one of the largest online retail platforms and meanwhile a physical environment with a high sampling cost. Instead of training reinforcement learning in Taobao directly, we present our approach: first we build Virtual Taobao, a simulator learned from historical customer behavior data through the proposed GAN-SD (GAN for Simulating Distributions) and MAIL (multi-agent adversarial imitation learning), and then we train policies in Virtual Taobao with no physical costs in which ANC (Action Norm Constraint) strategy is proposed to reduce over-fitting. In experiments, Virtual Taobao is trained from hundreds of millions of customers' records, and its properties are compared with the real environment. The results disclose that Virtual Taobao faithfully recovers important properties of the real environment. We also show that the policies trained in Virtual Taobao can have significantly superior online performance to the traditional supervised approaches. We hope our work could shed some light on reinforcement learning applications in complex physical environments.

Motivation & Objective

  • To address the high physical cost of training reinforcement learning policies directly in real-world online retail systems like Taobao.
  • To develop a high-fidelity simulator that captures complex user behavior and platform dynamics from historical data.
  • To train robust reinforcement learning policies in the simulator that generalize effectively to the real environment.
  • To mitigate overfitting in the virtual environment through novel regularization strategies like Action Norm Constraint (ANC).

Proposed method

  • Proposes GAN-SD (GAN for Simulating Distributions) to model diverse customer profiles, including query category, purchase power, and high-level indicators, with an added distribution constraint to improve fidelity.
  • Introduces MAIL (Multi-agent Adversarial Imitation Learning) to jointly learn customer and platform policies by distinguishing real vs. simulated interactions using a generative adversarial framework.
  • Employs an Action Norm Constraint (ANC) strategy during training to reduce overfitting to the virtual environment by regularizing action output norms.
  • Trains policies in Virtual-Taobao using Trust Region Policy Optimization (TRPO), with offline training to maximize long-term reward without real-world interaction.
  • Validates the simulator’s fidelity by comparing key metrics—such as R2P (revenue-to-purchase ratio) and temporal dynamics—between real and virtual environments.
  • Deploys trained policies in online A/B tests on Taobao to evaluate real-world performance against supervised learning baselines.

Experimental results

Research questions

  • RQ1Can a simulator trained on historical user behavior faithfully reproduce the statistical and dynamic properties of a real-world online retail environment like Taobao?
  • RQ2Can reinforcement learning policies trained in a simulated environment generalize effectively to real-world deployment, outperforming traditional supervised learning methods?
  • RQ3Does the proposed Action Norm Constraint (ANC) strategy effectively reduce overfitting to the virtual environment and improve real-world policy generalization?
  • RQ4How well does the MAIL framework capture the mutual adaptation between customer and platform policies compared to behavior cloning or static imitation methods?
  • RQ5To what extent does the virtual environment preserve temporal dynamics, such as changes in user behavior patterns over time?

Key findings

  • Virtual-Taobao successfully replicates key statistical properties of the real Taobao environment, including customer distribution and R2P across features, with minimal deviation from ground truth.
  • The R2P in the real environment improved to 0.101 for policies trained via RL in Virtual-Taobao, outperforming supervised learning baselines (0.096 and 0.098 respectively).
  • The TRPO-ANC policy achieved higher TT and TV improvements than standard TRPO, demonstrating that ANC reduces overfitting and enhances generalization to the real environment.
  • MAIL-based virtual environments showed superior generalization over time: policies trained on one-day data maintained performance when deployed on data from one week and one month later, while BC-based policies degraded significantly.
  • The policy trained in Virtual-Taobao outperformed random and supervised baselines in online A/B tests, with consistent R2P improvement across multiple evaluation metrics.
  • The virtual environment accurately reflects temporal trends in R2P, as shown by comparing simulated and real-world R2P over time across 12 time intervals in a single day.

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.