Skip to main content
QUICK REVIEW

[Paper Review] Diversity Matters When Learning From Ensembles

Giung Nam, Jongmin Yoon|arXiv (Cornell University)|Oct 27, 2021
Domain Adaptation and Few-Shot LearningComputer Science23 references17 citations
TL;DR

This paper proposes a perturbation-based knowledge distillation method that enhances diversity in student models trained from deep ensembles by using Output Diversified Sampling (ODS) to generate inputs where ensemble members disagree. By distilling from these diverse predictions, the student achieves significantly improved accuracy and uncertainty calibration, narrowing the performance gap with full ensembles.

ABSTRACT

Deep ensembles excel in large-scale image classification tasks both in terms of prediction accuracy and calibration. Despite being simple to train, the computation and memory cost of deep ensembles limits their practicability. While some recent works propose to distill an ensemble model into a single model to reduce such costs, there is still a performance gap between the ensemble and distilled models. We propose a simple approach for reducing this gap, i.e., making the distilled performance close to the full ensemble. Our key assumption is that a distilled model should absorb as much function diversity inside the ensemble as possible. We first empirically show that the typical distillation procedure does not effectively transfer such diversity, especially for complex models that achieve near-zero training error. To fix this, we propose a perturbation strategy for distillation that reveals diversity by seeking inputs for which ensemble member outputs disagree. We empirically show that a model distilled with such perturbed samples indeed exhibits enhanced diversity, leading to improved performance.

Motivation & Objective

  • To close the performance gap between deep ensemble models and distilled student models in image classification.
  • To address the limitation of standard distillation in failing to transfer functional diversity from ensemble teachers.
  • To improve student model calibration and uncertainty estimation by enhancing prediction diversity.
  • To develop a sample-efficient method that reveals hidden diversity in ensemble predictions through input perturbations.
  • To provide empirical and interpretive justification for the effectiveness of ODS in distillation.

Proposed method

  • The method uses Output Diversified Sampling (ODS) to generate small input perturbations that maximize disagreement among ensemble members.
  • Perturbed inputs are used to train a student model via knowledge distillation, encouraging it to learn diverse behaviors.
  • The distillation process is interpreted as an approximate Jacobian matching procedure, improving sample efficiency in transferring functional diversity.
  • The student network is trained with a distillation loss that matches teacher outputs on both original and perturbed inputs.
  • The approach is applied to student models with multiple subnetworks, each distilling from a different ensemble member.
  • The method is evaluated on CIFAR-10, CIFAR-100, and TinyImageNet using standard metrics including accuracy, NLL, Brier score, and ECE.

Experimental results

Research questions

  • RQ1Can knowledge distillation from deep ensembles be improved by exposing the student to inputs where ensemble members disagree?
  • RQ2Does using ODS-perturbed inputs lead to more diverse and better-calibrated student predictions?
  • RQ3Can the performance gap between distilled students and full ensembles be significantly reduced through diversity-enhancing distillation?
  • RQ4Is the ODS-based perturbation strategy more sample-efficient than random or Gaussian noise in transferring functional diversity?
  • RQ5How does the proposed method compare to standard distillation and other baselines in terms of uncertainty estimation and calibration?

Key findings

  • On CIFAR-10 with WRN-28x5, the proposed method achieved 76.03% accuracy, outperforming standard KD (75.19%) and KD with Gaussian noise (74.50%).
  • The method reduced NLL from 1.207 (standard KD) to 0.899, indicating significantly better calibration and uncertainty estimation.
  • On CIFAR-100, the method achieved 80.62% accuracy with NLL of 0.733, outperforming the next best baseline (80.24% accuracy, NLL 0.742).
  • On TinyImageNet, the method achieved 65.98% accuracy with NLL 1.408, showing consistent improvement over standard KD and other baselines.
  • The use of ODS-perturbed inputs led to a measurable increase in prediction diversity, as confirmed by lower Brier score and ECE values.
  • The method demonstrated that distillation with ODS is equivalent to an approximate Jacobian matching procedure, improving sample efficiency in transferring functional diversity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.