Unconstrained Monotonic Calibration of Predictions in Deep Ranking Systems
Yimeng Bai, Shunyu Zhang, Yang Zhang, Hu Liu, Wentian Bao, Enyun Yu, Fuli Feng, Wenwu Ou
TL;DR
The paper tackles the calibration gap in deep ranking systems by relaxing calibrator constraints and employing a monotonic neural approach. It introduces Unconstrained Monotonic Calibration (UMC), built on Unconstrained Monotonic Neural Networks (UMNN) and enhanced by a Smooth Calibration Loss (SCLoss) to guide learning toward ideal calibration. Empirical results on Avazu, AliCCP, and a large-scale online deployment in Kuaishou demonstrate superior calibration performance with minimal impact on ranking metrics and measurable business gains. The work provides practical calibration tools and reports open-source code for reproducibility and industry adoption.
Abstract
Ranking models primarily focus on modeling the relative order of predictions while often neglecting the significance of the accuracy of their absolute values. However, accurate absolute values are essential for certain downstream tasks, necessitating the calibration of the original predictions. To address this, existing calibration approaches typically employ predefined transformation functions with order-preserving properties to adjust the original predictions. Unfortunately, these functions often adhere to fixed forms, such as piece-wise linear functions, which exhibit limited expressiveness and flexibility, thereby constraining their effectiveness in complex calibration scenarios. To mitigate this issue, we propose implementing a calibrator using an Unconstrained Monotonic Neural Network (UMNN), which can learn arbitrary monotonic functions with great modeling power. This approach significantly relaxes the constraints on the calibrator, improving its flexibility and expressiveness while avoiding excessively distorting the original predictions by requiring monotonicity. Furthermore, to optimize this highly flexible network for calibration, we introduce a novel additional loss function termed Smooth Calibration Loss (SCLoss), which aims to fulfill a necessary condition for achieving the ideal calibration state. Extensive offline experiments confirm the effectiveness of our method in achieving superior calibration performance. Moreover, deployment in Kuaishou's large-scale online video ranking system demonstrates that the method's calibration improvements translate into enhanced business metrics. The source code is available at https://github.com/baiyimeng/UMC.
