A Self-boosted Framework for Calibrated Ranking

Shunyu Zhang, Hu Liu, Wentian Bao, Enyun Yu, Yang Song · DOI

Abstract

Scale-calibrated ranking systems are ubiquitous in real-world applications nowadays, which pursue accurate ranking quality and calibrated probabilistic predictions simultaneously. For instance, in the advertising ranking system, the predicted click-through rate (CTR) is utilized for ranking and required to be calibrated for the downstream cost-per-click ads bidding. Recently, multi-objective based methods have been wildly adopted as a standard approach for Calibrated Ranking, which incorporates the combination of two loss functions: a pointwise loss that focuses on calibrated absolute values and a ranking loss that emphasizes relative orderings. However, when applied to industrial online applications, existing multi-objective CR approaches still suffer from two crucial limitations. First, previous methods need to aggregate the full candidate list within a single mini-batch to compute the ranking loss. Such aggregation strategy violates extensive data shuffling which has long been proven beneficial for preventing overfitting, and thus degrades the training effectiveness. Second, existing multi-objective methods apply the two inherently conflicting loss functions on a single probabilistic prediction, which results in a sub-optimal trade-off between calibration and ranking. To tackle the two limitations, we propose a Self-Boosted framework for Calibrated Ranking (SBCR).

The Conflict in Calibrated Ranking

In modern search and advertising systems, a model must simultaneously optimize for two distinct goals: Ranking (ordering items correctly) and Calibration (predicting accurate absolute probabilities). Existing Calibrated Ranking (CR) methods often struggle because these two objectives are mathematically at odds. The authors demonstrate through Theorem 3.1 that ranking and calibration have distinct, non-overlapping optimal solutions, meaning a single-headed model will always result in a sub-optimal compromise.

Furthermore, traditional ranking losses require "query-level" shuffling, where all items for a single search are grouped together in a training batch. This prevents "item-level" (extensive) shuffling, which is the industry standard for preventing overfitting in deep models. As shown in Figure 1, extensive shuffling significantly improves both LogLoss and NDCG compared to query-level shuffling.

Comparison of Extensive Shuffle vs. Query-level Shuffle performance.

The SBCR Framework

To address these limitations, the researchers at Kuaishou Technology developed SBCR, a framework that decouples the ranking and calibration tasks while enabling extensive data shuffling.

The complete SBCR framework, including the self-boosted loss, training/deployment cycle, and calibration module.

Self-Boosted Ranking (SBR) Module

Instead of grouping all items from a query into one batch to compare them, SBCR "dumps" the scores and labels from a previously deployed (older) model into the features of the current training samples. This allows a single item to perceive its relative standing against its peers without requiring them to be in the same batch. Because the older model is slightly weaker, its mistakes serve as a roadmap for the new model to improve—a process termed "Self-Boosting."

Calibration Module

To resolve the objective conflict, the ranking score is fed into a separate, lightweight calibration module. This module uses a continuous piece-wise linear function to map raw scores to calibrated probabilities. Crucially, a gradient cut-off is employed: the calibration loss does not backpropagate into the ranking layers. This ensures that ranking quality remains untouched while calibration is fine-tuned independently.

Experimental Results

The framework was evaluated on a massive scale using the Kuaishou Production Dataset, which includes 1.88 billion training samples.

  • Offline Performance: SBCR achieved superior results across the board, with a GAUC of 0.6118 and NDCG@10 of 0.7315, while maintaining a low LogLoss of 0.5610.
  • Online Impact: In live A/B tests on Kuaishou's video search system, the framework delivered a +4.81% increase in Click-Through Rate (CTR) and a +3.15% increase in total View Count.
  • Efficiency: The calibration module is highly efficient, adding only 1.41% more parameters and less than 1% additional floating-point operations, making it ideal for real-time industrial serving.

Conclusion and Future Work

SBCR successfully decouples ranking and calibration, allowing each to reach its mathematical optimum without sacrificing the benefits of extensive data shuffling. While the current calibration module uses a piece-wise linear function to ensure monotonicity, future work will explore monotonic neural networks to allow for more complex, non-linear calibration mappings while maintaining the required ordering of items.

Summary updated

BibTeX
@inproceedings{zhang2024self,
  author = {Shunyu Zhang and Hu Liu and Wentian Bao and Enyun Yu and Yang Song},
  title = {{A Self-boosted Framework for Calibrated Ranking}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2024},
  doi = {10.1145/3637528.3671570},
}
Figure