arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.12582cs.CLcs.AI
收藏

将大规模生成模型的知识提炼为检索模型以实现有效的开放域会话

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

Hyperconnect

Beomsu Kim, Seokjun Seo, Seungju Han, Enkhbayar Erdenee, Buru Chang

摘要:

尽管大规模生成模型在开放域会话中表现出色,但由于高延迟,它们对于构建实时会话系统来说不太实用。另一方面,检索模型可以返回具有低得多的延迟的响应,但表现出不如大规模生成模型的性能,因为会话质量受到预定义的响应集的限制。为了利用这两种方法,我们提出了一种新的训练方法,称为G2R(生成到检索蒸馏),它保留了检索模型的效率,同时通过将生成模型的知识注入检索模型,利用大规模生成模型的会话能力。G2R由两种不同的蒸馏技术组成:数据级G2R通过大规模生成模型生成的额外响应来增强对话数据集,模型级G2R通过知识蒸馏损失将生成模型评估的响应质量分数转换为检索模型的分数。通过包括人工评估在内的广泛实验,我们证明了我们使用G2R训练的基于检索的对话系统与基线检索模型相比表现出了显著的性能改善,同时比大规模生成模型表现出更低的推理延迟。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑