This paper, presented at CIKM '20, introduces DeepChain, a framework designed to move beyond optimizing single recommendation slots and instead optimize the entire user journey—the "whole chain"—across an e-commerce platform.
TL;DR
Most reinforcement learning (RL) recommender systems optimize for a single scenario (like a home page) or treat different pages as isolated problems. DeepChain uses a multi-agent, model-based RL approach to jointly optimize recommendations across a sequence of scenarios (e.g., entrance page to item detail page), capturing the long-term dependencies of user behavior to maximize total session reward.
What Problem Does This Paper Address?
In a typical e-commerce session, a user follows a path: they start at an Entrance Page, click an item to go to an Item Detail Page, perhaps add it to a Shopping Cart, and finally reach the Order Page.
Existing RL-based systems usually suffer from two flaws:
- Fragmentation: They optimize one strategy for all scenarios or optimize each page independently. This ignores the fact that an action on the entrance page (e.g., showing a diverse set of items) directly influences the likelihood of a purchase three steps later.
- Data Inefficiency: Standard "model-free" RL requires massive amounts of interaction data. In the real world, users leave quickly if recommendations are poor, and "positive" signals (clicks/purchases) are extremely rare compared to "negative" ones (skips).
Methods
The authors propose DeepChain, a multi-agent model-based RL framework.
The Multi-Agent Architecture
DeepChain employs multiple Recommender Agents (RAs), one for each scenario. These agents share a common memory of user history but maintain scenario-specific policies. They are governed by a Global Critic (based on the DDPG algorithm) that evaluates the "Action-Value" ($Q$-value) of the entire session, ensuring that agents work collaboratively rather than competing for immediate clicks.
Model-Based RL
Unlike model-free systems that learn purely from trial and error, DeepChain is model-based. It explicitly learns a "world model" of user behavior. It trains a probability network to predict the likelihood of three user actions: skip, click, or leave. By incorporating these transition probabilities into the Bellman equation, the system can simulate potential future rewards and perform more accurate strategy updates even when data is sparse.
Actor-Critic Components
- Actors: Use a Gated Recurrent Unit (GRU) to capture sequential browsing history, combined with an item-level attention mechanism to focus on the most relevant past interactions.
- Critic: Uses scenario-specific attention patterns. It recognizes that a user’s intent on an entrance page (browsing/discovery) is fundamentally different from their intent on a detail page (comparison/evaluation).
Datasets
The researchers evaluated DeepChain using:
- JD.com Dataset: A real-world dataset from December 2018 containing 500,000 recommendation sessions and nearly 20 million items.
- Simulated Online Environment: A simulator pre-trained on historical data to estimate user responses to new recommendation strategies, allowing for "online" testing without risking real user experience.
Key Insights and Ideas
- The "Whole-Chain" Advantage: Optimizing for the entire session prevents "greedy" behavior. An agent might learn that showing a slightly less relevant item now leads to a much higher probability of a high-value purchase later in the chain.
- Handling Reward Imbalance: By modeling the probability of "leaving" the platform as a negative reward, the system learns to prioritize user retention alongside conversion.
- Scenario-Aware Attention: The finding that the Entrance Page is more sensitive to the length of user history than the Item Detail Page suggests that "discovery" requires a broader context of user interests, while "detail" browsing is more focused on the immediate item at hand.
Key Results
DeepChain was tested against several baselines, including Wide & Deep, DeepFM, and standard DDPG.
- Offline Performance: DeepChain consistently outperformed all baselines in Mean Average Precision (MAP) and NDCG. On the Entrance Page, it achieved a MAP of 0.126, significantly higher than standard DDPG (0.117) and single-agent models.
- Online Convergence: In simulated online tests, the model-based approach converged much faster than model-free variants.
- Ablation Studies: The authors compared DeepChain to a single-agent version (DC-o) and a model-free version (DC-f). DeepChain outperformed both, proving that both the multi-agent coordination and the model-based transition estimation are critical for success.
Limitations and Future Work
While the framework is theoretically extensible to any number of scenarios, the experimental section focuses primarily on the interaction between the Entrance Page and Item Detail Page. The authors note that as the "chain" grows longer, the complexity of the global critic increases.
Future work could explore more complex user feedback (like dwell time) or adapt the framework to handle dynamic item catalogs where items frequently appear and disappear. Additionally, the immediate rewards (e.g., 1 for click, -2 for leave) were set empirically; automated reward shaping could be a promising next step.
Summary updated