Abstract
Ensemble models in E-commerce combine predictions from multiple sub-models for ranking and revenue improvement. Industrial ensemble models are typically deep neural networks, following the supervised learning paradigm to infer conversion rate given inputs from sub-models. However, this process has the following two problems. Firstly, the point-wise scoring approach disregards the relationships between items and leads to homogeneous displayed results, while diversified display benefits user experience and revenue. Secondly, the learning paradigm focuses on the ranking metrics and does not directly optimize the revenue. In our work, we propose a new Learning-To-Ensemble (LTE) framework RAEGO, which replaces the ensemble model with a contextual Rank Aggregator (RA) and explores the best weights of sub-models by the Evaluator-Generator Optimization (EGO). To achieve the best online performance, we propose a new rank aggregation algorithm TournamentGreedy as a refinement of classic rank aggregators, which also produces the best average weighted Kendall Tau Distance (KTD) amongst all the considered algorithms with quadratic time complexity. Under the assumption that the best output list should be Pareto Optimal on the KTD metric for sub-models, we show that our RA algorithm has higher efficiency and coverage in exploring the optimal weights. Combined with the idea of Bayesian Optimization and gradient descent, we solve the online contextual Black-Box Optimization task that finds the optimal weights for sub-models given a chosen RA model. RA-EGO has been deployed in our online system and has improved the revenue significantly.
Introduction
In modern e-commerce platforms, ranking systems often rely on ensemble models to synthesize insights from various specialized sub-models—such as those focusing on brand preference, price sensitivity, or historical sales performance. Traditionally, these ensembles are implemented as deep neural networks that perform point-wise scoring. Each item is assigned a score independently, and the final list is sorted based on these scores.
Researchers at Alibaba have identified two critical limitations in this standard approach. First, homogeneity: by scoring items independently, the system often clusters similar items at the top of the list, reducing diversity and potentially harming the user experience. Second, the offline-online gap: standard Learning-To-Rank (LTR) models optimize for proxy metrics like click-through rate (CTR) or cross-entropy loss, which do not always correlate perfectly with business-critical "black-box" metrics like Gross Merchandise Volume (GMV) or total revenue.
To address these issues, the authors introduce RA-EGO, a "Learning-To-Ensemble" framework that replaces point-wise scoring with contextual rank aggregation and directly optimizes for online business objectives.
The RA-EGO Framework
The RA-EGO framework shifts the paradigm from scoring to aggregation. Instead of learning a function that maps sub-model scores to a final score, it treats the problem as finding the optimal way to merge the ranked lists produced by sub-models.
TournamentGreedy: Efficient Rank Aggregation
At the heart of the framework is TournamentGreedy, a novel rank aggregation (RA) algorithm. The authors frame rank aggregation as a graph-theoretic problem, specifically related to the Minimal Feedback Arc Set.
TournamentGreedy constructs a weighted tournament graph where edges represent the frequency with which one item is ranked above another across the various sub-models. The algorithm then greedily selects items to minimize the "expected increased cost," measured by the Kendall Tau Distance (KTD). This approach ensures that the resulting ranking is "Pareto Optimal"—meaning no single sub-model's ranking can be better represented without degrading the representation of another. Crucially, TournamentGreedy operates with quadratic time complexity ($O(nm + m^2)$), making it efficient enough for high-traffic, real-time production environments.
Evaluator-Generator Optimization (EGO)
To handle the contextual nature of e-commerce (where the "best" weights for sub-models vary by user age, gender, or location), the authors propose the EGO component. This treats the weight-finding process as a Contextual Black-Box Optimization (BBO) task.
The EGO system consists of two neural networks:
- The Evaluator: This surrogate model acts as a "critic," predicting the expected reward (e.g., revenue) for a specific set of weights given a context. To prevent the system from getting stuck in local optima, it incorporates Random Network Distillation (RND) to provide an exploration bonus for unfamiliar weight-context pairs.
- The Generator: This model acts as the "actor," learning to output the optimal weights for a given context. It is trained via gradient descent to maximize the rewards predicted by the Evaluator. This architecture allows for near-instantaneous weight generation during online inference, bypassing the computational bottlenecks of traditional Bayesian Optimization methods like Gaussian Processes.
Evaluation and Results
The framework underwent rigorous testing across synthetic benchmarks, public datasets, and a massive production environment.
Datasets and Benchmarks
- Synthetic Data: Used to evaluate the efficiency and fairness of the TournamentGreedy algorithm against classic baselines like Borda’s and Copeland’s methods.
- Public Datasets: The Jester (joke ratings) and Sushi (user preferences) datasets validated the RA algorithm's ability to capture diverse user preferences.
- AliExpress Production System: The final validation was a live A/B test on AliExpress, involving 12 million daily exposed pages.
Key Results
The online deployment of RA-EGO yielded significant improvements over the industrial-standard Deep LTR models:
- Conversion Rate (CR): Increased by +0.76%.
- Gross Merchandise Volume (GMV): Increased by +0.86%.
Beyond these metrics, the framework naturally improved result diversity. By aggregating permutations rather than summing independent scores, the system avoids the "clumping" effect of point-wise models, leading to a more varied and engaging user experience.
Conclusion
RA-EGO represents a significant step forward in industrial ensemble modeling. By moving from point-wise scoring to contextual rank aggregation and employing an efficient Evaluator-Generator optimization loop, the framework successfully bridges the gap between offline proxy metrics and online business success. Future work will focus on addressing context sparsity and incorporating more sophisticated models of user behavior, such as position bias, to further refine the aggregation process.
Summary updated