[Paper Review] Born Again Neural Networks
Born-Again Networks (BANs) train identical-architecture student models from a teacher and consistently outperform the teacher, achieving strong results on CIFAR-10/100 and extending to language modeling with LSTMs.
Knowledge Distillation (KD) consists of transferring “knowledge†from one machine learning model (the teacher) to another (the student). Commonly, the teacher is a high-capacity model with formidable performance, while the student is more compact. By transferring knowledge, one hopes to benefit from the student’s compactness, without sacrificing too much performance. We study KD from a new perspective: rather than compressing models, we train students parameterized identically to their teachers. Surprisingly, these Born-Again Networks (BANs), outperform their teachers significantly, both on computer vision and language modeling tasks. Our experiments with BANs based on DenseNets demonstrate state-of-the-art performance on the CIFAR-10 (3.5%) and CIFAR-100 (15.5%) datasets, by validation error. Additional experiments explore two distillation objectives: (i) Confidence-Weighted by Teacher Max (CWTM) and (ii) Dark Knowledge with Permuted Predictions (DKPP). Both methods elucidate the essential components of KD, demonstrating the effect of the teacher outputs on both predicted and non-predicted classes.
Motivation & Objective
- Motivate revisiting knowledge distillation beyond model compression by training identically-architected student models that can outperform their teachers.
- Demonstrate BANs across architectures (DenseNets, ResNets, LSTMs) on vision and language tasks.
- Analyze the role of dark knowledge versus ground-truth signals in KD.
- Explore stability of BANs to depth/width changes and cross-architecture transfer (DenseNet teacher to ResNet student and vice versa).
Proposed method
- Train a teacher network on labeled data as usual.
- Initialize a new student network with a different random seed and train it using a loss that combines the standard label loss with a KD term that matches the teacher’s output distribution (cross-entropy between student and teacher outputs).
- Repeat the process for multiple generations (sequence of teaching selves) to form BANs and optionally ensemble multiple generations (BANE).
- Investigate two KD-specific treatments: Confidence-Weighted by Teacher Max (CWTM) and Dark Knowledge with Permuted Predictions (DKPP) to isolate the role of non-argmax logits.
- Analyze the KD gradient decomposition into a dark-knowledge term and a ground-truth term and reinterpret this as importance weighting by teacher confidence.
- Apply BANs to DenseNets, ResNets, Wide-ResNets, and LSTMs on CIFAR-10/100 and Penn Tree Bank (PTB) to assess cross-architecture and cross-domain efficacy.
- Compare BANs trained with full KD versus variants (CWTM, DKPP) to understand contribution of dark knowledge.
Experimental results
Research questions
- RQ1Can a student network of identical architecture to its teacher outperform the teacher after BAN-style retraining?
- RQ2How does the inclusion of dark knowledge signals (and their variants CWTM/DKPP) affect KD effectiveness?
- RQ3Do BANs consistently improve across architectures (DenseNet, ResNet) and domains (vision, language)?,
- RQ4How does BAN performance scale with depth/width variations and cross-architecture transfers (DenseNet teacher to ResNet student, and vice versa)?
Key findings
- BANs trained with identical architectures consistently outperform their teachers across CIFAR-10/100 and PTB with various architectures.
- On CIFAR-100, BAN-DenseNet-90-60 reaches 16.69% error (compared to 17.69% teacher) and further BAN ensembles achieve state-of-the-art non-ensemble results without shake-shake regularization.
- Two KD treatments (CWTM and DKPP) show that the non-argmax logits contribute to generalization, with DKPP (permuted non-argmax logits) still yielding improvements.
- BANs can transfer knowledge across architectural families (e.g., DenseNet teacher to ResNet student and vice versa), sometimes surpassing both teacher and baseline architectures.
- Sequence of teaching selves yields diminishing returns after several generations, but 2-3 generations can yield substantial gains and ensemble of BANs can surpass individual bests.
- In PTB language modeling, BANs significantly reduce perplexity for both LSTM and CNN-LSTM teachers when trained with teacher supervision plus KD (BAN+L).
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.