Introduction
In modern e-commerce recommendation systems, predicting user behavior is a multi-faceted challenge. Most platforms aim to optimize for multiple objectives simultaneously, primarily Click-Through Rate (CTR) and Conversion Rate (CVR). However, traditional Multi-Task Learning (MTL) frameworks often overlook the complex temporal dynamics and psychological nuances inherent in user journeys. This paper introduces HEROES (Hierarchical rEcurrent Ranking On the Entire Space), a novel framework designed to capture the multi-scale nature of user behavior by integrating hierarchical recurrent architectures with the Hawkes process.
The Limitations of Current Recommender Systems
Existing recommendation models frequently struggle with three critical real-world phenomena:
- Contextual Dependence: User actions are not independent. A purchase may "excite" interest in related accessories but "discourage" immediate interest in the same product category.
- Multiple Temporal Scales: Clicks occur at high frequencies (browsing), while conversions happen periodically (purchasing). Standard models often force these distinct rhythms into a single temporal scale, leading to sub-optimal feature extraction.
- Sample Selection Bias: Many models are trained on CVR using only clicked items. This ignores the "entire space" of impressions, leading to a bias where the model performs well on clicked items but fails to generalize to the broader set of observed items.
Methodology: The HEROES Framework
The HEROES architecture addresses these challenges through a multi-layered approach that models the entire behavior path: observation → click → conversion.
Hierarchical Recurrent Architecture
The model employs a two-layer structure. The lower layer focuses on "engagement" (CTR), capturing the rapid sequence of user clicks. The upper layer focuses on "satisfaction" (CVR), representing the more deliberate conversion process. This hierarchy allows the model to separate high-frequency browsing data from lower-frequency purchase data.
The HEROES Unit and the Hawkes Process
At the heart of the framework is a specialized recurrent unit that incorporates the Hawkes Process. Unlike standard LSTMs that treat time steps as uniform, the Hawkes process allows the model to learn a "degree of influence" and a "decay rate" for past actions. This enables HEROES to mathematically formulate how a previous behavior (e.g., buying a smartphone) influences the probability of a future action (e.g., clicking a phone case) over time.
Gate Mechanism and Information Flow
To synchronize the two layers, HEROES utilizes a boundary detector or "gate." When a user clicks an item, the CTR layer summarizes the current context and passes this information to the CVR layer. If no click occurs, the information remains within the CTR layer, allowing the model to maintain the continuity of the browsing sequence without prematurely updating the satisfaction state.
Entire Space Learning via Survival Analysis
To mitigate sample selection bias, HEROES integrates survival analysis. The browsing process is treated as a survival model where a user "survives" (continues browsing) until a "death event" (a click or purchase) occurs. This formulation allows the model to learn from the entire space of impressions, providing a more robust and unbiased ranking mechanism.
Experimental Evaluation
The researchers evaluated HEROES against state-of-the-art baselines, including ESMM, MMoE, and NHP, using three large-scale datasets: Criteo (5.5M impressions), Taobao E-Commerce (85M items), and Diantao Live Broadcast (44M logs).
Key Results
HEROES consistently outperformed competing models across all benchmarks:
- Accuracy: On the Criteo dataset, HEROES achieved a CVR AUC of 0.9759, surpassing the next best baseline, Time-LSTM (0.9622).
- Ranking Quality: In NDCG (Normalized Discounted Cumulative Gain) tests, HEROES demonstrated superior ability in correctly ranking items across the entire list.
- Debiasing: The "HEROES+" variant effectively mitigated position bias (the tendency for users to click top items regardless of relevance), bringing predicted rankings closer to true relevance labels.
Discussion and Future Work
While HEROES offers significant improvements in prediction accuracy and debiasing, it introduces higher computational overhead during training due to the complexity of the Hawkes process. However, inference times remain competitive for industrial applications.
Future research directions include:
- Expanding Behavior Types: Incorporating "micro-behaviors" such as "add-to-cart" or "wishlist" actions to further refine the satisfaction layer.
- Cold Start Solutions: Addressing performance for new users or items with limited historical interaction data.
Conclusion
By acknowledging the psychological momentum and varying time scales of user behavior, HEROES provides a more nuanced approach to multi-task learning in recommender systems. Its ability to learn from the entire space of user interactions while accounting for excitation and decay effects marks a significant step forward in building more human-centric recommendation engines.
Summary updated