Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Robustness Challenges in Model Distillation and Pruning for Natural Language Understanding

About

Recent work has focused on compressing pre-trained language models (PLMs) like BERT where the major focus has been to improve the in-distribution performance for downstream tasks. However, very few of these studies have analyzed the impact of compression on the generalizability and robustness of compressed models for out-of-distribution (OOD) data. Towards this end, we study two popular model compression techniques including knowledge distillation and pruning and show that the compressed models are significantly less robust than their PLM counterparts on OOD test sets although they obtain similar performance on in-distribution development sets for a task. Further analysis indicates that the compressed models overfit on the shortcut samples and generalize poorly on the hard ones. We further leverage this observation to develop a regularization strategy for robust model compression based on sample uncertainty. Experimental results on several natural language understanding tasks demonstrate that our bias mitigation framework improves the OOD generalization of the compressed models, while not sacrificing the in-distribution task performance.

Mengnan Du, Subhabrata Mukherjee, Yu Cheng, Milad Shokouhi, Xia Hu, Ahmed Hassan Awadallah• 2021

Related benchmarks

TaskDatasetResultRank
Natural Language InferenceSNLI (test)
Accuracy80.33
681
Natural Language InferenceMNLI (matched)
Accuracy55.83
110
Natural Language InferenceSNLI (dev)
Accuracy80.09
71
Natural Language InferenceSNLI hard 1.0 (test)
Accuracy60.07
27
Natural Language InferenceMNLI mismatched (val)
Accuracy57.71
9
Showing 5 of 5 rows

Other info

Follow for update