[Paper Review] Anti-Distillation: Improving reproducibility of deep networks
This paper proposes Anti-Distillation (AD), a method to improve the reproducibility of deep neural networks by encouraging ensemble components to diverge during training through de-correlation of their logits. By applying a correlation loss on logits during training, AD reduces prediction differences between identical models without sacrificing accuracy, achieving up to a 75% reduction in prediction differences on benchmark and real-world datasets.
Deep networks have been revolutionary in improving performance of machine learning and artificial intelligence systems. Their high prediction accuracy, however, comes at a price of \emph{model irreproducibility\/} in very high levels that do not occur with classical linear models. Two models, even if they are supposedly identical, with identical architecture and identical trained parameter sets, and that are trained on the same set of training examples, while possibly providing identical average prediction accuracies, may predict very differently on individual, previously unseen, examples. \emph{Prediction differences\/} may be as large as the order of magnitude of the predictions themselves. Ensembles have been shown to somewhat mitigate this behavior, but without an extra push, may not be utilizing their full potential. In this work, a novel approach, \emph{Anti-Distillation\/}, is proposed to address irreproducibility in deep networks, where ensemble models are used to generate predictions. Anti-Distillation forces ensemble components away from one another by techniques like de-correlating their outputs over mini-batches of examples, forcing them to become even more different and more diverse. Doing so enhances the benefit of ensembles, making the final predictions more reproducible. Empirical results demonstrate substantial prediction difference reductions achieved by Anti-Distillation on benchmark and real datasets.
Motivation & Objective
- To address the high irreproducibility in deep networks, where identical models trained on the same data produce vastly different predictions on individual examples.
- To improve the reliability of deep learning models, especially in safety-critical applications like healthcare, where inconsistent predictions can have irreversible consequences.
- To enhance ensemble performance beyond standard averaging by actively increasing diversity among ensemble components.
- To develop a training technique that improves reproducibility while preserving the high accuracy of deep networks.
- To empirically validate that de-correlating ensemble outputs via Anti-Distillation reduces prediction differences without degrading model accuracy.
Proposed method
- Anti-Distillation introduces a regularization loss that de-correlates the logits of ensemble components over mini-batches, promoting diversity in their predictions.
- The method applies a correlation loss on the logits of ensemble members, with hyperparameter λ controlling the strength of de-correlation.
- Three variants of the AD loss are evaluated: correlation loss on logits (L_AD(C_z)), covariance loss (L_AD(Σ_z)), and a difference-based loss (L′_AD).
- The technique is applied during training using standard optimization (e.g., AdaGrad), with no changes to model architecture or inference.
- Initialization is kept consistent across runs using pseudorandom seeds, and the method is tested on both MNIST and large-scale real-world CTR prediction data.
- The method is evaluated using metrics like Prediction Difference (PD), relative PD (Δ̃₁^r), log loss, and ranking loss to quantify reproducibility and performance.
Experimental results
Research questions
- RQ1Can de-correlating the outputs of ensemble components reduce prediction differences between identical deep networks?
- RQ2Does Anti-Distillation improve reproducibility without degrading model accuracy or increasing training loss?
- RQ3How does the strength of the AD regularization (λ) affect prediction differences and model performance?
- RQ4Does applying AD on logits rather than probabilities yield better reproducibility improvements?
- RQ5Can AD achieve substantial PD reduction in large-scale, real-world deep learning systems like online CTR prediction?
Key findings
- On MNIST, Anti-Distillation reduced Prediction Difference (PD) by up to 75% with no drop in accuracy, even at moderate λ values.
- With 2 ensemble components, AD achieved better PD performance than 8 components without AD, demonstrating that diversity from AD surpasses ensemble size alone.
- On real-world CTR prediction data, PD dropped from 11.25% (single model) to 6.5% (3-component ensemble), and further to 2.88% with AD and λ=5.
- Applying AD on logits significantly reduced PD, while applying it on probabilities yielded no improvement, indicating the importance of the output layer choice.
- Scaling input initialization variance (s) improved PD with diminishing returns, and higher λ values improved PD but degraded accuracy.
- Covariance and difference-based AD losses improved PD less effectively than correlation loss, with the latter also preserving ranking loss performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.