Abstract
This paper challenges the prevailing assumption that Knowledge Distillation (KD) and label regularization are essential for fine-tuning small pre-trained language models (PLMs). Through an extensive empirical study involving over 600 experiments, we demonstrate that standard fine-tuning performs on par with complex regularization techniques when models are initialized with pre-trained weights. Our findings suggest that the pre-training phase itself acts as a powerful regularizer, making additional label-based regularization redundant for downstream classification tasks.
Introduction
In the pursuit of efficient natural language processing, Knowledge Distillation (KD) has become a standard practice for transferring performance from large "teacher" models to smaller "student" models. However, the computational overhead of maintaining a large teacher model during training is significant. While "teacher-free" methods like Label Smoothing (LS) have shown success in computer vision, their necessity in the context of fine-tuning pre-trained language models remains under-explored. This study investigates whether the benefits of label regularization persist when models have already undergone large-scale pre-training.
Methodology
The authors conducted over 600 distinct trials comparing several label regularization strategies across BERT, RoBERTa, and GPT-2 architectures. The strategies evaluated include:
- Knowledge Distillation (KD): Mimicking a high-performing teacher (e.g., RoBERTa-large).
- Label Smoothing (LS): Distributing probability mass across all classes to soften hard one-hot labels.
- TF-reg: A sharper, label-dependent variant of label smoothing.
- Self-Distillation: Distilling knowledge from a previously fine-tuned version of the same model.
These methods were tested in two primary scenarios: models initialized with pre-trained weights and models trained from scratch. The evaluation spanned diverse benchmarks, including the GLUE suite (classification), SST-5 (fine-grained sentiment), and FewRel (high-cardinality relation classification).
Results and Discussion
Pre-training as a Regularizer
The most significant finding is that pre-training acts as a "great equalizer." When models are initialized with pre-trained weights, the performance gap between standard fine-tuning and advanced regularization techniques like KD or LS virtually disappears. Statistical analysis using the Wilcoxon signed-rank test yielded p-values > 0.05 for pre-trained models, indicating no significant difference between the methods.
In contrast, when models are trained from scratch (randomly initialized), label regularization provides a substantial and statistically significant (p = 0.01) performance boost. This confirms that while these techniques are effective in isolation, they are largely redundant if a model has already benefited from pre-training.
Robustness Across Task Complexity
The study also debunked the hypothesis that the lack of impact on GLUE tasks was due to low class counts (typically 2 or 3). Experiments on the FewRel dataset, which features 64 classes, mirrored the GLUE results: pre-training consistently mitigated the need for additional regularization. Furthermore, in scenarios where regularization was beneficial (training from scratch), teacher-free methods like Label Smoothing performed comparably to expensive Knowledge Distillation.
Conclusion
This empirical investigation reveals that the inherent regularization provided by pre-training is sufficient for achieving optimal performance during fine-tuning on classification tasks. While label regularization remains a vital tool for training models from scratch, its marginal gains in the context of pre-trained models do not justify the added computational complexity. Future research should explore whether these findings extend to non-classification tasks, such as machine translation, or if more advanced intermediate-layer distillation techniques can provide benefits where label-based methods fail.
Summary updated