Model Compression with Multi-Task Knowledge Distillation for Web-scale Question Answering System
Ze Yang, Linjun Shou, Ming Gong et al. · arXiv (Cornell University) · 2019
Deep pre-training and fine-tuning models (like BERT, OpenAI GPT) have demonstrated excellent results in question answering areas. However, due to the sheer amount of model parameters, the inference speed of these models is very slow. How to apply these complex models to real business scenarios becomes a challenging but practical problem. Previous works often leverage model compression approaches to resolve this problem. However, these methods usually induce information loss during the model compression procedure, leading to incomparable results between compressed model and the original model. To tackle this challenge, we propose a Multi-task Knowledge Distillation Model (MKDM for short) for web-scale Question Answering system, by distilling knowledge from multiple teacher models to a light-weight student model. In this way, more generalized knowledge can be transferred. The experiment results show that our method can significantly outperform the baseline methods and even achieve comparable results with the original teacher models, along with significant speedup of model inference.
Cited by 16 works. doi:10.48550/arxiv.1904.09636 Open-access PDF
Authors
References
- Deep Residual Learning for Image Recognition
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
- Distilling the Knowledge in a Neural Network
- Deep Contextualized Word Representations
- Optimal Brain Damage
- A vector space model for automatic indexing
- Exploiting Linear Structure Within Convolutional Networks for Efficient Evaluation
- Universal Language Model Fine-tuning for Text Classification
- Second Order Derivatives for Network Pruning: Optimal Brain Surgeon
- Learning deep structured semantic models for web search using clickthrough data