蒸馏
基线(sea)
计算机科学
一般化
机器学习
人工智能
词(群论)
语言模型
自然语言处理
数学
几何学
海洋学
地质学
数学分析
有机化学
化学
作者
Pingshan Liu,Shuyue Lv
标识
DOI:10.1093/comjnl/bxac153
摘要
Abstract Through knowledge distillation method, a student model can imitate the output of a teacher model to improve its generalization ability without changing the computational complexity. However, in existing knowledge distillation research, the efficiency of knowledge transfer is still not satisfactory, especially from pre-trained language models (PTMs) like Robustly optimized BERT approach (RoBERTa) to another structure student model. To address this issue, this paper proposes a prediction framework (RTLSTM) for Chinese emotion classification based on knowledge distillation. In RTLSTM, a new triple loss strategy is proposed for training a student ‘BiLSTM’, which combines supervised learning, distillation and word vector losses. This strategy enables the student to learn more fully from a teacher model RoBERTa and retains 99% of the teacher models’ language understanding capability. We carried out emotion classification experiments on five Chinese datasets to compare RTLSTM with baseline models. The experiment results show that RTLSTM outperforms the baseline models belonging to the RNN group in terms of prediction performance under similar numbers of parameters. Moreover, RTLSTM is superior to the PTMs group baseline models through 92% fewer parameters and 83% less prediction time under comparable prediction performance.
科研通智能强力驱动
Strongly Powered by AbleSci AI