[Paper Review] Sparse Progressive Distillation: Resolving Overfitting under Pretrain-and-Finetune Paradigm
This paper proposes Sparse Progressive Distillation (SPD), a method that reduces overfitting in pruned BERT-like models during fine-tuning by combining progressive module grafting, knowledge distillation, and sparse pruning. SPD outperforms state-of-the-art methods on the GLUE benchmark, achieving an average score of 84.5 compared to 83.7 for fine-tuned BERT, with significant improvements on tasks like MNLI and CoLA.
Conventional wisdom in pruning Transformer-based language models is that pruning reduces the model expressiveness and thus is more likely to underfit rather than overfit. However, under the trending pretrain-and-finetune paradigm, we postulate a counter-traditional hypothesis, that is: pruning increases the risk of overfitting when performed at the fine-tuning phase. In this paper, we aim to address the overfitting problem and improve pruning performance via progressive knowledge distillation with error-bound properties. We show for the first time that reducing the risk of overfitting can help the effectiveness of pruning under the pretrain-and-finetune paradigm. Ablation studies and experiments on the GLUE benchmark show that our method outperforms the leading competitors across different tasks.
Motivation & Objective
- To address the counter-intuitive overfitting risk introduced by pruning during fine-tuning in pretrain-and-finetune paradigms.
- To investigate why pruning under pretrain-and-finetune increases overfitting despite conventional wisdom suggesting otherwise.
- To develop a method that preserves both general-purpose and task-specific knowledge during pruning to mitigate overfitting.
- To improve model performance and robustness under high sparsity by integrating progressive grafting and knowledge distillation.
- To empirically validate the hypothesis that pruning at fine-tuning increases overfitting risk and demonstrate mitigation via SPD.
Proposed method
- SPD uses a student model that mirrors the architecture of the teacher model’s pruned layers, enabling progressive grafting of sparse student modules into the teacher.
- A progressive grafting strategy gradually increases the probability of replacing teacher layers with student modules, allowing stable knowledge transfer.
- Knowledge distillation is applied during pruning to transfer knowledge from the teacher to the student, minimizing performance drop.
- The method employs a dual-optimizer strategy: one for pruning and one for distillation, with separate learning rate schedules to reduce interference.
- A dynamic pruning rate scheduler is used, ending pruning when grafting probability reaches a target value to balance speed and accuracy.
- The final model is a grafted, sparse student network that maintains high performance with reduced parameters.
Experimental results
Research questions
- RQ1Does pruning during fine-tuning in the pretrain-and-finetune paradigm increase the risk of overfitting, contrary to conventional wisdom?
- RQ2Can progressive module grafting and knowledge distillation jointly mitigate overfitting in pruned pre-trained language models?
- RQ3How does the interplay between pruning rate, grafting probability, and learning rate affect model generalization under high sparsity?
- RQ4What is the relative contribution of knowledge distillation versus progressive grafting in reducing overfitting during pruning?
- RQ5Can a subnetwork be identified with SPD that matches the teacher model’s accuracy while being significantly smaller?
Key findings
- SPD achieves an average GLUE score of 84.5, outperforming the fine-tuned BERT teacher (83.7) and all leading competitors.
- On the MNLI task, SPD achieves 85.0% accuracy, surpassing the teacher model’s 84.0% and demonstrating improved generalization.
- On the CoLA task, SPD achieves 61.4% Matthews correlation coefficient, a significant improvement over the 57.9% of the fine-tuned BERT teacher.
- Ablation studies show that combining progressive grafting and knowledge distillation reduces the training-dev performance gap more effectively than either alone.
- The grafting probability of 0.6 yields optimal performance, and the dual-optimizer strategy improves convergence and final accuracy compared to a single optimizer.
- The method effectively mitigates overfitting, as evidenced by smaller performance gaps between training and dev sets, especially at high sparsity levels.
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.