arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2101.08106cs.CL
收藏

面向数据稀缺领域的学习扩充BERT知识蒸馏

Learning to Augment for Data-Scarce Domain BERT Knowledge Distillation

Tsinghua University(清华大学);Alibaba Group(阿里巴巴集团);Sun-Yat Sen University(中山大学)

Lingyun Feng, Minghui Qiu, Yaliang Li, Hai-Tao Zheng, Ying Shen

摘要:

尽管预先训练的语言模型(如BERT)在广泛的自然语言处理任务中取得了令人瞩目的性能,但在实时应用中部署它们在计算上是昂贵的。一种典型的方法是采用知识蒸馏将这些大的预训练模型(教师模型)压缩成小的学生模型。然而,对于一个目标域与稀缺的训练数据,教师很难传递有用的知识给学生,这会导致学生模型的性能下降。为了解决这个问题,我们提出了一种方法来学习,以增加数据稀缺域BERT知识蒸馏,通过学习一个跨域的操作计划,自动增加的目标与资源丰富的源域的帮助。具体而言,该方法产生的样本从一个固定的分布附近的目标数据,并采用了一个加强选择器自动细化增强策略,根据学生的表现。大量的实验表明,所提出的方法显着优于国家的最先进的基线在四个不同的任务,并为数据稀缺的领域,压缩的学生模型甚至比原来的大型教师模型,更少的参数(只有${\sim}13.3\%$)时,只有几个标记的例子。

英文摘要:

Despite pre-trained language models such as BERT have achieved appealing performance in a wide range of natural language processing tasks, they are computationally expensive to be deployed in real-time applications. A typical method is to adopt knowledge distillation to compress these large pre-trained models (teacher models) to small student models. However, for a target domain with scarce training data, the teacher can hardly pass useful knowledge to the student, which yields performance degradation for the student models. To tackle this problem, we propose a method to learn to augment for data-scarce domain BERT knowledge distillation, by learning a cross-domain manipulation scheme that automatically augments the target with the help of resource-rich source domains. Specifically, the proposed method generates samples acquired from a stationary distribution near the target data and adopts a reinforced selector to automatically refine the augmentation strategy according to the performance of the student. Extensive experiments demonstrate that the proposed method significantly outperforms state-of-the-art baselines on four different tasks, and for the data-scarce domains, the compressed student models even perform better than the original large teacher model, with much fewer parameters (only ${\sim}13.3\%$) when only a few labeled examples available.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑