Abstract
Modern industrial recommendation systems typically rely on a multi-stage pipeline where the final ranking stage is governed by heuristic, hand-tuned formulas. These traditional approaches often suffer from scalability issues, a myopic focus on immediate clicks, and a failure to account for user abandonment. This paper introduces the Learned Ranking Function (LRF), a framework that treats the ranking process as a Reinforcement Learning (RL) problem. By incorporating a Cascade Click Model with Abandonment and a dynamic multi-objective optimization strategy, LRF optimizes for long-term user satisfaction. Deployed at scale on YouTube, the LRF framework demonstrated a 0.66% increase in long-term satisfaction and a significant reduction in secondary metric volatility.
Introduction
Industrial-scale recommendation engines, such as those powering YouTube, Meta, and Pinterest, generally follow a funnel architecture: candidate generation, scoring, and ranking. While the scoring stage utilizes sophisticated deep learning models to predict behaviors like Click-Through Rate (CTR) or watch time, the final ranking stage has historically relied on a weighted sum of these predictions.
Engineers typically tune these weights using Bayesian optimization or grid search. However, as systems grow in complexity, this heuristic approach hits a ceiling. It fails to account for the "slate effect"—how the relative positioning of items influences behavior—and ignores the long-term consequences of a recommendation. Most critically, traditional models often treat a user leaving the page as a null event, failing to distinguish between a user being dissatisfied and a user moving to another productive part of the platform.
Methodology
The MDP Formulation
The LRF framework redefines ranking as a Markov Decision Process (MDP). This allows the system to optimize for a sequence of interactions rather than a single isolated click. The core of this approach is the Cascade Click Model with Abandonment, which extends the standard cascade model. In this formulation, as a user scans a list of items from top to bottom, they have three choices at each position: click the item, skip to the next item, or abandon the current slate entirely.
The Lift Formulation and Theorem 2.3
To optimize the ranking, the researchers focus on "lift"—the incremental value of a user clicking an item compared to the value of them abandoning the page. A key theoretical contribution of the work is Theorem 2.3, which proves that an optimal slate can be generated by sorting items according to a specific scoring function:
$$\text{Score} = \frac{P_{click}}{P_{click} + P_{abandon}} \cdot \text{Lift}$$
This formula ensures that the ranker is not just chasing clicks, but is being selective based on the opportunity cost of the user's time. If the "abandonment reward" is high (e.g., the user has high-quality alternatives on the Home Page), the ranker requires a higher predicted lift to place an item at the top of the Watch Page.
Dynamic Multi-Objective Optimization
Industrial systems must balance competing goals, such as maximizing watch time while maintaining content diversity and freshness. LRF employs Dynamic Linear Scalarization, a constrained optimization algorithm that automatically adjusts weights to satisfy secondary metric constraints. This ensures that the primary objective is maximized without causing "wild swings" in other key performance indicators, providing the stability necessary for large-scale engineering environments.
Experimental Results
The LRF system was evaluated using proprietary YouTube trajectories and on-policy data (approximately 1% of live traffic). The results highlight the impact of moving from heuristic tuning to a learned approach:
- Long-term Growth: The full deployment of LRF, including the Cascade Click Model, resulted in a 0.66% increase in long-term user satisfaction metrics.
- The Abandonment Factor: In ablation studies, treating the abandonment reward as zero (the industry standard) led to a 0.46% regression in top-line metrics, confirming that modeling the value of a user leaving the page is essential for optimal ranking.
- System Stability: The constrained optimization approach reduced fluctuations in secondary metrics from 13.15% to 1.46% during model updates. This stability significantly increases developer velocity, as engineers no longer need to manually re-tune dozens of weights when introducing new features.
Discussion and Future Work
The transition to a Learned Ranking Function represents a shift from manual feature engineering to algorithmic optimization in the final stage of the recommendation pipeline. By modeling the ranking process as an MDP and accounting for the value of abandonment, LRF aligns short-term ranking decisions with long-term platform health.
Future research directions include moving from on-policy data to off-policy RL and Temporal Difference (TD) learning to enable faster iteration cycles. Additionally, the authors aim to integrate "re-ranking" logic—which currently handles business logic like diversity and freshness—directly into the learned function to create a more unified and end-to-end optimized system.
Summary updated