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

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 · DOI

Introduction

In modern recommendation and search engines, deep ranking models are typically optimized to order items correctly. However, for many downstream business applications, the relative order is insufficient; the absolute value of the predicted score must accurately reflect real-world probabilities. For instance, in automated advertising auctions, an advertiser requires a precise estimate of the click-through rate (CTR)—distinguishing between a 0.05 and 0.08 probability—to calculate an economically viable bid.

Most state-of-the-art ranking models are "uncalibrated," meaning their output scores do not represent true probabilities. While various calibration techniques exist, they often struggle with a trade-off between expressive power and the preservation of ranking order. Researchers have addressed this by developing Unconstrained Monotonic Calibration (UMC), a framework that leverages flexible neural architectures to provide accurate probability estimates without compromising ranking performance.

The Calibration Challenge

Existing calibrators often rely on rigid mathematical forms, such as piece-wise linear functions or simple binning methods. These approaches lack the "expressive power" required to handle the complex, high-dimensional features used in modern deep learning systems. If a calibrator is too simple, it fails to capture nuanced data relationships; conversely, if it is too flexible without proper constraints, it may inadvertently reorder items, thereby degrading the core ranking quality (AUC).

Comparison between rigid piece-wise linear constraints and the proposed flexible monotonic approach.

As illustrated in Figure 1, the industry standard of piece-wise linear constraints often creates a bottleneck. By moving toward a monotonic neural network approach, the system can maintain the essential ranking order (ensuring that if score A > score B, then calibrated score A' > calibrated score B') while providing the flexibility needed to fit complex data distributions.

The UMC Framework

The UMC framework introduces two primary innovations to solve these issues: the Unconstrained Monotonic Neural Network (UMNN) and the Smooth Calibration Loss (SCLoss).

1. The Monotonic Calibrator (UMNN)

Instead of a fixed mathematical form, UMC utilizes a UMNN. To ensure the model never flips the rank of items, the network is architecturally constrained to be monotonic. It achieves this by modeling the derivative of the function as a strictly positive value and then integrating that derivative to produce the final transformation. Crucially, this calibrator is "feature-aware"; it incorporates additional sample features (such as user or site IDs), allowing it to learn context-specific calibration curves rather than applying a single global fix.

2. Smooth Calibration Loss (SCLoss)

Standard training losses like Binary Cross Entropy (BCE) focus on individual labels. Calibration, however, is a group-level property: if a model predicts a 0.7 probability for 100 items, approximately 70 of those items should result in a positive outcome. SCLoss groups samples into bins and employs an Exponential Moving Average (EMA) to stabilize training. It directly penalizes the discrepancy between the average predicted score and the observed click rate within those bins.

The UMC framework architecture, featuring the Unconstrained Monotonic Neural Network (UMNN) and Smooth Calibration Loss (SCLoss).

Experimental Results

The researchers evaluated UMC using massive industry datasets, including Avazu (~40 million samples) and AliCCP (~85 million samples), alongside live production data from Kuaishou.

  • Offline Performance: On the Avazu benchmark, UMC achieved a 21% improvement in Expected Calibration Error (ECE) and a 14% improvement in Multi-Field Relative Calibration Error (MFRCE) compared to leading baselines like FAC and DESC.
  • Online Impact: During a live A/B test on Kuaishou’s video search system, UMC delivered a +0.414% increase in total watch time and a +0.170% increase in CTR. In large-scale industrial environments, gains exceeding 0.1% are considered highly significant.
  • Efficiency: The system is highly optimized for production, adding only 0.02ms of latency to inference time, ensuring it can serve hundreds of millions of users in real-time.

Conclusion

Unconstrained Monotonic Calibration represents a significant step forward in making ranking scores actionable for business logic. By enforcing monotonicity through neural integration and utilizing a specialized smooth loss function, UMC provides the expressive flexibility needed for modern deep learning without the risk of distorting ranking performance. Future work will explore extending this framework to non-tabular data, such as images and text, and further refining the theoretical link between ranking and calibration objectives.

Summary updated

BibTeX
@inproceedings{bai2025unconstrained,
  author = {Yimeng Bai and Shunyu Zhang and Yang Zhang and Hu Liu and Wentian Bao and Enyun Yu and Fuli Feng and Wenwu Ou},
  title = {{Unconstrained Monotonic Calibration of Predictions in Deep Ranking Systems}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2025},
  doi = {10.1145/3726302.3730105},
}
Figure