Abstract
Accurate probability estimation is critical for bidding and ranking in online advertising. However, models often suffer from miscalibration, particularly across diverse data fields. This paper introduces Deep Ensemble Shape Calibration (DESC), a post-hoc calibration framework that decomposes the problem into value and shape calibration. By utilizing a library of predefined basis functions and a multi-field ensemble mechanism, DESC effectively handles data sparsity and conflicting calibration signals. Real-world deployment at Shopee demonstrated a +4.0% increase in Gross Merchandise Volume (GMV).
Introduction: The Multi-Field Calibration Challenge
In online advertising, models predict the probability of a click (pCTR) or conversion (pCVR). For these predictions to be actionable, they must be calibrated: a predicted 10% probability should correspond to a 10% empirical event rate. While global calibration is common, e-commerce platforms face "multi-field" miscalibration, where a model might be accurate on average but biased for specific categories or user segments.
Standard techniques like Platt Scaling or Isotonic Regression often fail in these environments due to data sparsity in specific feature combinations and conflicting signals between different fields. Crucially, existing methods often focus on "value" calibration (fixing the mean prediction) while ignoring "shape" miscalibration, where errors are distributed unevenly across different score ranges.
The DESC Framework
To address these issues, researchers proposed Deep Ensemble Shape Calibration (DESC). The architecture is built on two primary modules:
- Value Calibrator: Corrects the overall bias for a given sample, ensuring the mean prediction aligns with reality.
- Shape Calibrator: Adjusts the prediction curve across different intervals. This ensures that the model is accurate at both low and high probability ranges.
Basis Calibration Functions and Ensembling
Instead of a standard neural network, DESC employs a library of monotonic basis functions (e.g., Power, Logarithmic, Sigmoid). This "Lego-like" approach allows the model to reconstruct complex error shapes by summing simple, constrained functions. This acts as a powerful regularizer, preventing overfitting in sparse fields.
To resolve conflicts between fields (e.g., a specific user age vs. an item category), DESC uses Global Shape Attention. This mechanism learns to weight the most reliable fields for a given context, creating a robust ensemble prediction.
Experimental Evaluation
The model was rigorously tested on three large-scale datasets: Criteo (46M samples), AliCCP (80M samples), and an industrial Shopee dataset (100M samples).
DESC consistently outperformed state-of-the-art baselines like FAC and AdaCalib. Key results included:
- Calibration Accuracy: Achieved the lowest Field-Relative Calibration Error (F-RCE) and Expected Calibration Error (ECE) across all datasets.
- Ranking Integrity: Unlike many calibration methods that harm ranking, DESC slightly improved the Area Under the Curve (AUC).
- Production Impact: In a 7-day A/B test on Shopee’s live system, DESC delivered a +2.5% increase in CVR and a +4.0% increase in GMV, with a negligible inference latency of only 2ms.
Conclusion
DESC provides a scalable, efficient solution for the complex problem of multi-field calibration in high-traffic advertising systems. By separating shape from value and using constrained basis functions, it achieves high accuracy even with sparse data. Future work will explore extending this shape-based approach to other machine learning domains and enhancing performance for extremely rare field values through data augmentation.
Summary updated