Churn Reduction via Distillation

Heinrich Jiang, Harikrishna Narasimhan, Dara Bahri, Andrew Cotter, Afshin Rostamizadeh

Abstract

In real-world systems, models are frequently updated as more data becomes available, and in addition to achieving high accuracy, the goal is to also maintain a low difference in predictions compared to the base model (i.e. predictive "churn"). If model retraining results in vastly different behavior, then it could cause negative effects in downstream systems, especially if this churn can be avoided with limited impact on model accuracy. In this paper, we show an equivalence between training with distillation using the base model as the teacher and training with an explicit constraint on the predictive churn. We then show that distillation performs strongly for low churn training against a number of recent baselines on a wide range of datasets and model architectures, including fully-connected networks, convolutional networks, and transformers.

The Problem of Predictive Churn

In production machine learning, models are updated constantly as new data arrives. While the primary goal is often increased accuracy, these updates introduce a hidden cost: predictive churn. Even if a new model is more accurate on average, it may change its predictions on a large number of individual data points compared to the existing "base" model.

High churn is problematic for two main reasons:

  1. Validation Costs: Disagreements between models on many examples necessitate more extensive human evaluations and expensive A/B tests to confirm improvements.
  2. Downstream Stability: Drastic shifts in model behavior can have unpredictable negative effects on the larger pipelines and systems that rely on those outputs.

The challenge is to achieve "low-churn training"—improving accuracy while maintaining consistency with the base model.

Methodology: Distillation as a Churn Constraint

The authors propose using Knowledge Distillation as the primary tool for churn reduction. In this setup, a "student" model is trained using both ground-truth labels ($y_{true}$) and the "soft" predictions (probabilities) of the existing production model, which serves as the teacher ($y_{base}$).

Distillation using the base model as a teacher is equivalent to solving a churn-constrained optimization problem.

A key contribution of this work is the theoretical proof that minimizing a standard loss function with a constraint on churn is mathematically equivalent to training with distillation. The mixing parameter $\lambda$ in distillation directly corresponds to the allowed churn "slack" ($\epsilon$) in the constrained problem.

Key Insights

  • Theoretical Optimality: Distillation is not merely a heuristic; it is the theoretically optimal solution for the dual of the churn-constrained optimization problem.
  • The Power of Soft Labels: Unlike methods like "Anchor Loss," which only use the base model's prediction when it agrees with the true label, distillation utilizes the base model's confidence (soft labels) across all examples. This provides a smoother, more informative signal for the student model.
  • Generalization: Churn metrics calculated against soft model outputs have lower variance than those based on hard ground-truth labels, leading to more stable training and better generalization.

Empirical Results

The researchers conducted an extensive study across tabular data (OpenML), image data (MNIST, CIFAR, CelebA), and text data (IMDB). They evaluated performance using "churn at cold accuracy"—the lowest churn achieved while matching the accuracy of a model trained from scratch.

Pareto frontiers for the IMDB dataset showing distillation (black line) consistently achieving a better balance of accuracy and low churn.

Distillation outperformed specialized baselines (including warm-starting, mixup, and anchor loss) in the vast majority of experiments, being the top performer in 84% of OpenML and MNIST/CIFAR cases. As shown in the Pareto frontiers for the IMDB dataset, the distillation curve consistently dominates other methods, providing a superior trade-off between error and churn across various Transformer sizes.

Conclusion

This research establishes knowledge distillation as a robust and theoretically grounded method for reducing predictive churn. By treating the base model as a teacher, practitioners can update production models with minimal behavioral shifts. Future work may explore more advanced distillation techniques, such as feature-based distillation, to further optimize these trade-offs in complex systems.

Summary updated

BibTeX
@inproceedings{jiang2022churn,
  author = {Heinrich Jiang and Harikrishna Narasimhan and Dara Bahri and Andrew Cotter and Afshin Rostamizadeh},
  title = {{Churn Reduction via Distillation}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=_ZlB1QEmW1},
}

Loading related content...

Figure