A Simple Yet Effective Approach to Structured Knowledge Distillation
Wenye Lin, Yangming Li, Lemao Liu, Shuming Shi, Hai-Tao Zheng
Abstract
Structured prediction models aim at solving tasks where the output is a complex structure, rather than a single variable. Performing knowledge distillation for such problems is non- trivial due to their exponentially large output space. Previous works address this problem by developing particular distillation strategies (e.g., dynamic programming) that are both complicated and of low run-time efficiency. In this work, we propose an approach that is much simpler in its formulation, far more efficient for training than existing methods, and even performs better than our baselines. Specifically, we transfer the knowledge from a teacher model to its student by locally matching their computations on all internal structures rather than the final outputs. In this manner, we avoid time-consuming techniques like Monte Carlo Sampling for decoding output structures, permitting parallel computation and efficient training. Besides, we show that it encourages the student model to better mimic the internal behavior of the teacher model. Experiments on two structured prediction tasks demonstrate that our approach not only halves the time cost, but also outperforms previous methods on two widely adopted benchmark datasets.<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1 2</sup>
BibTeX
@inproceedings{icassp2023_asimpleyeteffect,
title = {A Simple Yet Effective Approach to Structured Knowledge Distillation},
author = {Wenye Lin and Yangming Li and Lemao Liu and Shuming Shi and Hai-Tao Zheng},
booktitle = {ICASSP 2023},
year = {2023}
}