arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.03209cs.CL
收藏

构建基于检索的聊天机器人的生产模型

Building a Production Model for Retrieval-Based Chatbots

ASAPP, Inc.(ASAPP公司);Massachusetts Institute of Technology(麻省理工学院)

Kyle Swanson, Lili Yu, Christopher Fox, Jeremy Wohlwend, Tao Lei

摘要:

应答建议是构建人机对话系统的一项重要任务。最近的对话建模方法引入了新的模型架构,并取得了令人印象深刻的结果,但相对较少关注这些模型在生产环境中是否实用。在本文中,我们描述了独特的挑战,建立一个生产检索为基础的对话系统,从白名单的候选人的反应选择输出。为了解决这些挑战,我们提出了一种双编码器架构,它可以执行快速推理,并随着白名单的大小而扩展。我们还介绍和比较了两种白名单生成方法,并对模型和白名单进行了全面的分析。在一个大型专有的帮助台聊天数据集上的实验结果,包括离线指标和人工评估,表明了生产质量的性能,并说明了实践中对话建模的关键教训。

英文摘要:

Response suggestion is an important task for building human-computer conversation systems. Recent approaches to conversation modeling have introduced new model architectures with impressive results, but relatively little attention has been paid to whether these models would be practical in a production setting. In this paper, we describe the unique challenges of building a production retrieval-based conversation system, which selects outputs from a whitelist of candidate responses. To address these challenges, we propose a dual encoder architecture which performs rapid inference and scales well with the size of the whitelist. We also introduce and compare two methods for generating whitelists, and we carry out a comprehensive analysis of the model and whitelists. Experimental results on a large, proprietary help desk chat dataset, including both offline metrics and a human evaluation, indicate production-quality performance and illustrate key lessons about conversation modeling in practice.

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

↑