NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Cascade Ranking as One Network

Yunli Wang, ZhenZhang, Zhiqiang Wang, Zixuan Yang, Yu Li, Jian Yang, Shiyang Wen, Peng Jiang, Kun Gai

Abstract

Large-scale recommendation and advertising systems typically employ a multi-stage cascade architecture—comprising matching, pre-ranking, and ranking—to balance efficiency and accuracy. Traditionally, these stages are trained independently, leading to misaligned objectives and a lack of inter-stage collaboration. This paper introduces LCRON (Learning Cascade Ranking as One Network), a framework that treats the entire cascade as a single, end-to-end differentiable network. By utilizing differentiable sorting and a novel surrogate loss based on item "survival probability," LCRON enables bidirectional gradient flow across the funnel. Empirical results on the RecFlow benchmark and a large-scale industrial advertising system demonstrate significant improvements, including a 4.1% increase in revenue.

Introduction

Modern recommendation systems process millions of items to deliver a handful of relevant suggestions to users. To manage this scale, developers use a "cascade" or "funnel" architecture. This process begins with a broad retrieval (Matching) stage, followed by a more refined Pre-ranking stage, and concludes with a computationally intensive Ranking stage.

Despite their ubiquity, these systems suffer from a fundamental structural flaw: isolated training. Each stage is optimized against its own local proxy objective, often ignoring the requirements of subsequent stages. Furthermore, the discrete "top-k" selection process that moves items from one stage to the next is non-differentiable, preventing the use of standard end-to-end backpropagation. LCRON addresses these challenges by reformulating the cascade as a unified differentiable pipeline.

The LCRON Framework

The core innovation of LCRON lies in its ability to make the discrete selection process continuous and differentiable, allowing the final ranking objective to inform the parameters of earlier stages.

Differentiable Sorting

To overcome the non-differentiable nature of top-k selection, LCRON employs soft permutation matrices. By utilizing techniques such as NeuralSort or SoftSort, the framework transforms discrete item selection into a continuous probability distribution. This mathematical relaxation allows gradients to propagate from the final ranking stage back through the pre-ranking and matching layers, facilitating holistic optimization.

Dual Surrogate Loss Functions

LCRON optimizes the system using two complementary loss functions:

  1. End-to-End Loss ($L_{e2e}$): This loss focuses on the "survival probability" of ground-truth items. It maximizes the lower bound of the probability that a relevant item successfully passes through every stage of the funnel. This encourages stages to collaborate; for example, the retrieval model learns to prioritize items that the ranker is better equipped to evaluate.
  2. Auxiliary Single-Stage Loss ($L_{single}$): To mitigate vanishing gradients—a common issue when survival probabilities are initially low—LCRON incorporates stage-specific supervision. This auxiliary loss not only stabilizes training but also mathematically tightens the theoretical bound of the end-to-end objective.

To manage the balance between these losses without manual intervention, the authors implement Uncertainty Weighting (UWL), which automatically adjusts the importance of each loss component during the training process.

Experimental Evaluation

The effectiveness of LCRON was validated through both public benchmarks and large-scale industrial applications.

Public Benchmark: RecFlow

On the RecFlow dataset, currently the only public benchmark for multi-stage recommendation samples, LCRON consistently outperformed state-of-the-art baselines, including RankFlow and FS-LTR. The framework demonstrated superior convergence rates and maintained a performance advantage in streaming scenarios, which simulate the daily updates typical of production environments.

Industrial Impact

LCRON was deployed in a live A/B test within the advertising system of Kuaishou Technology, a platform processing 20 billion user-ad pairs daily. Over a 15-day trial, the system achieved:

  • +4.10% increase in advertising revenue.
  • +1.60% increase in user conversion rates.

Notably, these gains were achieved with negligible overhead. The computational cost in terms of GPU memory and training time remained comparable to traditional isolated training methods, proving LCRON's viability for high-traffic production environments.

Discussion and Limitations

While LCRON represents a significant step forward, it introduces certain complexities. The use of soft permutation matrices results in an $O(N^2)$ computational complexity relative to the number of items in a training batch. While this is manageable at current scales, future research may focus on developing $O(N)$ differentiable operators to further enhance efficiency. Additionally, the authors identified occasional "gradient conflicts" where the model attempts to assign an item to multiple ranks simultaneously, suggesting that further refinement of the differentiable sorting mechanism is needed.

Conclusion

LCRON shifts the paradigm of recommendation system design from isolated stage optimization to unified cascade learning. By maximizing the survival probability of relevant items through a differentiable funnel, LCRON ensures that every stage of the recommendation process works in concert toward the final objective. The significant revenue and conversion gains observed in production underscore the potential of end-to-end differentiable architectures in large-scale machine learning systems.

Summary updated

BibTeX
@inproceedings{wang2025learning,
  author = {Yunli Wang and ZhenZhang and Zhiqiang Wang and Zixuan Yang and Yu Li and Jian Yang and Shiyang Wen and Peng Jiang and Kun Gai},
  title = {{Learning Cascade Ranking as One Network}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=fvmnx3OxTI},
}
Figure