ERNIE 3.0 Tiny: Frustratingly Simple Method to Improve Task-Agnostic Distillation Generalization
Liu, Weixin, Chen, Xuyi, Liu, Jiaxiang, Feng, Shikun, Sun, Yu, Tian, Hao, Wu, Hua
–arXiv.org Artificial Intelligence
Task-agnostic knowledge distillation attempts to address the problem of deploying large pretrained language model in resource-constrained scenarios by compressing a large pretrained model called teacher into a smaller one called student such that the student can be directly finetuned on downstream tasks and retains comparable performance. However, we empirically find that there is a generalization gap between the student and the teacher in existing methods. In this work, we show that we can leverage multi-task learning in task-agnostic distillation to advance the generalization of the resulted student. In particular, we propose Multi-task Infused Task-agnostic Knowledge Distillation (MITKD). We first enhance the teacher by multi-task training it on multiple downstream tasks and then perform distillation to produce the student. Experimental results demonstrate that our method yields a student with much better generalization, significantly outperforms existing baselines, and establishes a new state-of-the-art result on in-domain, out-domain, and low-resource datasets in the setting of task-agnostic distillation. Moreover, our method even exceeds an 8x larger BERT$_{\text{Base}}$ on SQuAD and four GLUE tasks. In addition, by combining ERNIE 3.0, our method achieves state-of-the-art results on 10 Chinese datasets.
arXiv.org Artificial Intelligence
Jan-9-2023
- Country:
- Oceania > Australia
- North America
- Dominican Republic (0.04)
- Canada (0.04)
- United States
- Texas (0.04)
- Oregon (0.04)
- New Mexico > Santa Fe County
- Santa Fe (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.15)
- Michigan > Washtenaw County
- Ann Arbor (0.04)
- California > San Diego County
- San Diego (0.04)
- Puerto Rico > San Juan
- San Juan (0.04)
- Europe
- Spain (0.04)
- Portugal > Lisbon
- Lisbon (0.04)
- Italy > Tuscany
- Florence (0.05)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- France > Provence-Alpes-Côte d'Azur
- Bouches-du-Rhône > Marseille (0.04)
- Denmark > Capital Region
- Copenhagen (0.04)
- Belgium > Brussels-Capital Region
- Brussels (0.05)
- Asia > China
- Hong Kong (0.04)
- Jiangsu Province > Yancheng (0.04)
- Genre:
- Research Report > New Finding (0.66)
- Industry:
- Education (0.68)
- Technology: