SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimization

Haoming Jiang, Pengcheng He, Weizhu Chen, Xiaodong Liu, Jianfeng Gao, Tuo Zhao

SMART is a principled fine-tuning framework designed to prevent large pre-trained language models from overfitting when adapted to small downstream datasets. By combining smoothness-inducing regularization with a "trust-region" optimization method, SMART achieves state-of-the-art results across major NLP benchmarks. Notably, it enables a 356-million parameter model to outperform the massive 11-billion parameter T5 model.

The Challenge of Aggressive Updating

The standard "pre-train then fine-tune" paradigm faces a significant hurdle: aggressive updating. Large language models like BERT or RoBERTa possess hundreds of millions of parameters. When fine-tuned on small, task-specific datasets, these models tend to overfit, "forgetting" general linguistic knowledge in favor of memorizing noise or quirks in the training data. While heuristics like specific learning rate schedules or layer freezing are often used to mitigate this, they lack a principled foundation and require extensive manual tuning.

The SMART Framework

The authors propose SMART (Smoothness-inducing Model Adaptation Technical Regularization for Transfer Learning), which introduces two key components to the fine-tuning process:

  1. Smoothness-inducing Adversarial Regularization: This technique encourages stable model outputs even under slight input perturbations, effectively enforcing "local Lipschitz continuity." By minimizing the difference between predictions for original and "noisy" inputs, SMART manages model complexity and reduces sensitivity to data variations.
  2. Bregman Proximal Point Optimization: This "trust-region" method prevents model weights from jumping wildly during training. By adding a penalty based on Bregman divergence, the optimizer ensures the model does not deviate too far from its state in the previous iteration, preserving valuable pre-trained knowledge.
Comparison of decision boundaries: (a) standard fine-tuning vs. (b) SMART regularization. The dashed lines in (b) illustrate the stabilized trust region.

The framework also incorporates Momentum Acceleration (a Mean Teacher approach) to further stabilize the training trajectory.

Experimental Results

SMART was evaluated on a wide array of challenging NLP benchmarks, including GLUE, SNLI, SciTail, and the adversarial ANLI dataset.

Key Insights

  • Efficiency Beats Scale: A RoBERTa-Large model (356M parameters) fine-tuned with SMART outperformed the T5 model (11B parameters) on GLUE. This suggests that the fine-tuning methodology is as critical as model size.
  • Robustness to Ambiguity: Error analysis on the MNLI dataset showed that SMART performs significantly better than standard fine-tuning on "ambiguous" samples where human annotators disagreed. This indicates that SMART learns more robust, generalized features.
Accuracy on MNLI Mismatch across annotator agreement levels. SMART (orange) shows superior performance on ambiguous samples (e.g., 3/1/1) compared to RoBERTa (blue).
  • Low-Resource Performance: SMART demonstrated significant gains in domain adaptation. When trained on only 0.1% or 1% of SNLI data, SMART-enhanced models maintained much higher accuracy than baselines.
  • Adversarial Robustness: On the ANLI dataset, SMART improved the RoBERTa-Large baseline by 5.2% absolute, demonstrating superior resilience against adversarial attacks.

Conclusion

At the time of publication, MT-DNN-SMART reached the top of the GLUE leaderboard with a score of 89.9. While SMART introduces computational overhead—taking approximately 3x longer to train and requiring double the GPU memory—it provides a principled and highly effective approach to transfer learning in NLP. Future work may explore the application of these techniques to other domains such as computer vision.

Summary updated

BibTeX
@inproceedings{jiang2020smart,
  author = {Haoming Jiang and Pengcheng He and Weizhu Chen and Xiaodong Liu and Jianfeng Gao and Tuo Zhao},
  title = {{SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimization}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.197},
}
Figure