Distilling the Knowledge of Large-scale Generative Models into Retrieval Models for Efficient Open-domain Conversation

Beomsu Kim, Seokjun Seo, Seungju Han, Enkhbayar Erdenee, Buru Chang
8/28/2021
cs.CLcs.AI
distillation

Official code: hyperconnect/g2r (8 stars, Python, last commit 2021-11-09).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

hyperconnect/g2rOfficial100%

Codebase for the EMNLP 2021 Paper "Distilling the Knowledge of Large-scale Generative Models into Retrieval Models for Efficient Open-domain Conversation".

80Python, ShellAug 27, 20215 years agoNOASSERTION

Similar Papers

Cite this paper

@article{kim2021distilling,
  title  = {Distilling the Knowledge of Large-scale Generative Models into Retrieval Models for Efficient Open-domain Conversation},
  author = {Beomsu Kim and Seokjun Seo and Seungju Han and Enkhbayar Erdenee and Buru Chang},
  year   = {2021},
  eprint = {2108.12582},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.12582}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2108.12582.svg)](https://codeofpaper.com/paper/2108.12582)

Discussion