Abstract
The adoption of deep learning across various fields has been extensive, yet there is a lack of focus on evaluating the performance of deep learning pipelines. Typically, with the increased use of large datasets and complex models, the training process is run only once and the result is compared to previous benchmarks. This practice can lead to imprecise comparisons due to the variance in neural network evaluation metrics, which stems from the inherent randomness in the training process. Traditional solutions, such as running the training process multiple times, are often infeasible due to computational constraints. In this paper, we introduce a novel metric framework, the Calibrated Loss Metric, designed to address this issue by reducing the variance present in its conventional counterpart. Consequently, this new metric enhances the accuracy in detecting effective modeling improvements. Our approach is substantiated by theoretical justifications and extensive experimental validations within the context of Deep Click-Through Rate Prediction Models.
Introduction
In the domain of Deep Click-Through Rate (CTR) prediction, even marginal improvements in model accuracy can result in substantial revenue gains. However, the evaluation of these models is complicated by the inherent noise in deep learning pipelines. Factors such as random weight initialization, data shuffling, and the stochastic nature of gradient descent mean that identical training configurations can yield varying performance metrics across different runs.
The current standard for mitigating this noise—averaging results over multiple training trials—is often computationally prohibitive for large-scale datasets. As a result, many practitioners rely on a single evaluation run, which risks "imprecise comparisons" where a perceived improvement may simply be the result of a "lucky" random seed. This paper proposes the Calibrated Loss Metric (CLL) to provide a more stable and representative evaluation from a single training run.
Methodology: The Calibration-then-Calculation Framework
The proposed framework shifts from direct calculation to a "Calibration-then-Calculation" approach. Instead of computing the standard Log Loss (LL) on the entire test set, the data is partitioned into a test-validation set and a remaining test set.
- Calibration Phase: The test-validation set is utilized to determine a bias-adjustment term ($c$). This term is optimized to ensure the model's predictions are well-calibrated, aligning predicted probabilities with actual event frequencies.
- Calculation Phase: This adjustment is applied to the predictions on the remaining test set, followed by the calculation of the Calibrated Log Loss (CLL).
The theoretical underpinning is that the global bias in the final layer of a neural network is a significant source of volatility. By recalibrating this bias post-training, the framework isolates the model's intrinsic ability to rank and predict features from the noise introduced during optimization.
Experimental Setup
The framework was validated using both synthetic data and the Avazu CTR Prediction Dataset. For the Avazu dataset, a subset of 10 million samples was used, partitioned into training (80%), test-validation (2%), and remaining test (18%) sets. This setup allowed for the comparison of standard metrics against the proposed calibrated versions across various model architectures.
Results and Discussion
Variance Reduction and Consistency
Experimental results demonstrate that the Calibrated Log Loss significantly reduces metric volatility. As shown in Table 1, the standard deviation of CLL is consistently lower than that of standard LL across different experimental pipelines, with reductions ranging from 15% to 40%. Crucially, the mean values of CLL remain highly consistent with standard LL (within 0.02%–0.05%), ensuring that the metric remains interpretable within existing industry benchmarks.
Metric Accuracy
To evaluate the effectiveness of the metric in identifying genuine improvements, the authors introduced "Metric Accuracy"—the probability that a metric correctly identifies the superior pipeline between two candidates. The CLL framework demonstrated superior Metric Accuracy compared to standard LL. For instance, when comparing a baseline against modified pipelines, CLL showed a higher success rate in correctly ranking the models.
In specific architectural comparisons, such as DCN versus DeepFM, the standard metric achieved an accuracy of 84.8%, whereas the CLL improved this to 93.4%. This suggests that CLL is a much more reliable tool for researchers to distinguish signal from noise.
Conclusion and Future Work
The Calibrated Loss Metric offers a robust solution for the high-variance problem in deep learning evaluation. While it effectively reduces noise, it does introduce a trade-off: it cannot be used to measure improvements specifically aimed at model calibration, as the metric itself performs a recalibration step.
Future research directions include extending this framework to Natural Language Processing (NLP) and exploring its application in Automated Machine Learning (AutoML), where reliable, low-variance metrics are essential for efficient model selection.
Summary updated