Abstract
Standard finetuning of large-scale pre-trained models typically involves a randomly initialized classification head, which can cause significant feature distortion due to large initial gradients. This paper introduces Efficient Head Finetuning (EH-FT), a two-stage method that first "warms up" the classification head using parameter-efficient tuning (PET) before proceeding to full finetuning. Empirical results on GLUE and SuperGLUE demonstrate that EH-FT preserves pre-trained features more effectively and achieves superior performance compared to traditional finetuning and linear-probing-then-finetuning (LP-FT) baselines.
Introduction: The Problem of the "Random Start"
When adapting massive pre-trained models like BERT or RoBERTa to downstream tasks, the standard approach is to append a randomly initialized classification head and finetune the entire architecture. However, this "random start" presents a significant challenge: because the head initially lacks task-specific knowledge, the first training steps generate massive, chaotic gradients. These gradients force the pre-trained backbone to undergo drastic weight changes to compensate for the head's poor initial state.
This phenomenon, termed "feature distortion," causes the model to lose the general linguistic knowledge acquired during pre-training, often leading to sub-optimal performance or overfitting. While Linear Probing then Finetuning (LP-FT) attempts to mitigate this by training only the head first, it often struggles in NLP because the gap between pre-training objectives (e.g., masked language modeling) and downstream classification is too wide for a completely frozen backbone to bridge.
Methodology: Efficient Head Finetuning (EH-FT)
The proposed Efficient Head Finetuning (EH-FT) addresses these issues through a simple two-stage recipe designed to "pre-train" a high-quality classification head.
Stage 1: Parameter-Efficient Tuning (PET) Warm-up
In the first stage, the model is tuned using a PET method such as LoRA, BitFit, or Prefix-Tuning. During this phase, the classification head is trained alongside a minimal set of trainable parameters in the backbone (typically 1%–4%). This allows the backbone to adapt slightly to the task, bridging the gap between pre-training and the target task without losing its foundational knowledge.
Stage 2: Full Finetuning
The PET parameters are then discarded, restoring the backbone to its original pre-trained state, while the now-trained classification head is retained. Finally, standard full finetuning is performed on the entire model. By this stage, the head is already well-aligned with the task, allowing the backbone to undergo only minor, surgical adjustments to reach peak performance.
Experimental Setup
The effectiveness of EH-FT was evaluated using RoBERTa-Large and BERT-Large backbones across two major benchmarks:
- GLUE: MRPC, CoLA, QNLI, and STS-B.
- SuperGLUE: BoolQ, CB, COPA, RTE, and WiC. These tasks represent a diverse set of linguistic challenges and vary significantly in dataset size, providing a robust test for the proposed method.
Analysis of Feature Drift
A key insight of this work is the reduction of feature drift. The authors measured the $L_2$ distance of features before and after tuning to quantify how much the backbone's output representations changed.
As shown in the analysis, EH-FT significantly reduces the change in features compared to standard finetuning. By using PET as a "weak surrogate" for full finetuning, EH-FT finds a near-optimal region in the weight space that random initialization cannot reach. T-SNE visualizations further confirmed that EH-FT-initialized heads create cleaner, more separable data clusters, facilitating easier convergence in the final stage.
Key Results
EH-FT demonstrated consistent improvements over standard full finetuning across nearly all evaluated tasks. On RoBERTa-Large, the method provided an average score improvement of 0.77 to 0.9 points across nine tasks. The gains were particularly pronounced on low-resource datasets like RTE and COPA, where preventing overfitting is critical. Furthermore, EH-FT consistently outperformed LP-FT, validating the strategy of allowing slight backbone movement during the head-training phase.
Conclusion and Future Work
EH-FT offers a robust and simple improvement to the standard finetuning pipeline by leveraging parameter-efficient tuning to initialize classification heads. While the results are empirically strong, future work could explore more complex head architectures or theoretical frameworks for the observed training dynamics. Additionally, investigating different metrics beyond $L_2$ distance may provide deeper insights into the evolution of the feature space during the two-stage process.
Summary updated