Distilling the Knowledge of Large-scale Generative Models into Retrieval Models for Efficient Open-domain Conversation
arXiv:2108.12582
Abstract
Despite the remarkable performance of large-scale generative models in open-domain conversation, they are known to be less practical for building real-time conversation systems due to high latency. On the other hand, retrieval models could return responses with much lower latency but show inferior performance to the large-scale generative models since the conversation quality is bounded by the pre-defined response set. To take advantage of both approaches, we propose a new training method called G2R (Generative-to-Retrieval distillation) that preserves the efficiency of a retrieval model while leveraging the conversational ability of a large-scale generative model by infusing the knowledge of the generative model into the retrieval model. G2R consists of two distinct techniques of distillation: the data-level G2R augments the dialogue dataset with additional responses generated by the large-scale generative model, and the model-level G2R transfers the response quality score assessed by the generative model to the score of the retrieval model by the knowledge distillation loss. Through extensive experiments including human evaluation, we demonstrate that our retrieval-based conversation system trained with G2R shows a substantially improved performance compared to the baseline retrieval model while showing significantly lower inference latency than the large-scale generative models.
arXiv commentEMNLP21-Findings
References in corpus (8)
- Distilling the Knowledge in a Neural Network
- A Neural Conversational Model
- MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformers
- Towards a Human-like Open-Domain Chatbot
- An Information Retrieval Approach to Short Text Conversation
- Towards Deep Conversational Recommendations
- Recipes for Safety in Open-domain Chatbots
- TwinBERT: Distilling Knowledge to Twin-Structured BERT Models for Efficient Retrieval