Confidence Ranking for CTR Prediction

Jian Zhu, Congcong Liu, Pei Wang, Xiwei Zhao, Zhangang Lin, Jingping Shao

Abstract

In large-scale recommendation and advertising systems, Click-Through Rate (CTR) models are continuously retrained to adapt to shifting user interests. Traditional training pipelines typically optimize a new model using Cross-Entropy (CE) loss on ground-truth labels, ignoring the predictions of the model currently in production. This paper summarizes a novel framework called Confidence Ranking (CR), which treats the online model as a baseline to be surpassed. By incorporating point-wise and pair-wise ranking losses, the CR framework enables new models to systematically "out-confidence" their predecessors, resulting in a 1.75% CTR improvement in real-world production environments at JD.com.

Introduction

The standard approach to CTR prediction involves periodic retraining (e.g., daily or hourly) to capture fresh data. While Knowledge Distillation (KD) is often used to transfer knowledge from a "teacher" to a "student," it assumes the teacher is inherently superior. In continuous retraining cycles, the online model and the new model often have similar capacities. The authors propose a shift in perspective: instead of mimicking the online model, the new model should be trained to explicitly outperform it.

The Confidence Ranking Framework

The researchers introduce two primary ranking-based losses that are added to the standard Cross-Entropy objective:

  1. Confidence Ranking (CR) for Accuracy: This point-wise loss encourages the new model to produce prediction scores that are more "correctly confident" than those of the online model. If an item was clicked (label 1), the new model aims for a higher score than the online baseline; if unclicked (label 0), it aims for a lower score.
  2. Relational Confidence Ranking (RCR) for AUC: This pair-wise loss optimizes the Area Under the Curve (AUC) by forcing the new model to create a wider score gap between positive and negative samples than the online model achieved.

The final objective function is a weighted sum: $$\text{Loss} = \text{Cross-Entropy} + \alpha(\text{CR Loss}) + \beta(\text{RCR Loss})$$

System Architecture

The CR framework is designed for high-throughput industrial environments. As illustrated in the system architecture, the pipeline supports both minute-level online learning and daily offline retraining.

The system architecture for online serving and continuous model updates.

The "Online serving predictor" provides the baseline predictions used during the "Mini-Batch Training" of the new model. This allows the training process to directly account for the current production performance.

Experimental Evaluation

The framework was tested on two public benchmarks, Avazu (40M+ instances) and Avito (190M+ instances), as well as a massive industrial search ads dataset from JD.com containing over 12 billion instances.

Impact on Decision Boundaries

A key advantage of the CR framework is its ability to refine the model's decision boundary. By analyzing the "Sample Margin" (the difference between positive and negative scores), the researchers found that RCR-based methods significantly outperform standard Empirical Risk Minimization (ERM) and Knowledge Distillation (KD).

Comparison of Sample Margin, Negative Mean, and Positive Mean across different training methods over an 8-day period.

As shown in the figure above, the RCR and CR+RCR methods maintain a much higher sample margin. Furthermore, these methods are particularly effective at depressing the scores of negative samples (Negative Mean), which is crucial for handling the extreme class imbalance typical of CTR datasets.

Online Performance

In a live A/B test conducted over five days in JD.com’s advertising system, the Confidence Ranking approach achieved an average 1.75% increase in CTR compared to the existing production model. This gain is substantial for large-scale platforms where even fractional improvements translate to significant revenue and user experience benefits.

Conclusion

Confidence Ranking moves beyond traditional label-based learning by leveraging the current production model as a competitive baseline. By optimizing for relative confidence and relational gaps, the framework provides a robust way to ensure that each model iteration is measurably better than the last. Future work will focus on refining the theoretical bounds of these ranking losses and exploring more complex relational structures.

Summary updated

BibTeX
@inproceedings{zhu2023confidence,
  author = {Jian Zhu and Congcong Liu and Pei Wang and Xiwei Zhao and Zhangang Lin and Jingping Shao},
  title = {{Confidence Ranking for CTR Prediction}},
  booktitle = {The Web Conference},
  year = {2023},
}
Figure