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

实现强大的在线对话响应生成

Towards Robust Online Dialogue Response Generation

Westlake University(西湖大学);Tencent(腾讯);Westlake Institute for Advanced Study(西湖高等研究院)

Leyang Cui, Fandong Meng, Yijin Liu, Jie Zhou, Yue Zhang

摘要:

尽管预先训练的序列到序列模型在对话响应生成方面取得了巨大成功,但聊天机器人在现实世界的实践中仍然会产生不一致的响应,特别是在多轮设置中。我们认为,这可能是由于训练和现实世界的测试之间的差异。在训练时,聊天机器人生成具有黄金上下文的响应,而在现实世界测试期间,它必须基于由用户话语和模型预测话语组成的上下文生成响应。随着话语数量的增加,这种差异在多话轮语境中变得更加严重。在本文中,我们提出了一种分层采样的方法,包括话语级采样和半话语级采样,以减轻差异,这隐含地增加了对话的连贯性。我们进一步采用强化学习和重新排序的方法来显式优化对话的连贯性在训练和推理,分别。实验结果表明,该方法能够有效提高聊天机器人的鲁棒性。

英文摘要:

Although pre-trained sequence-to-sequence models have achieved great success in dialogue response generation, chatbots still suffer from generating inconsistent responses in real-world practice, especially in multi-turn settings. We argue that this can be caused by a discrepancy between training and real-world testing. At training time, chatbot generates the response with the golden context, while it has to generate based on the context consisting of both user utterances and the model predicted utterances during real-world testing. With the growth of the number of utterances, this discrepancy becomes more serious in the multi-turn settings. In this paper, we propose a hierarchical sampling-based method consisting of both utterance-level sampling and semi-utterance-level sampling, to alleviate the discrepancy, which implicitly increases the dialogue coherence. We further adopt reinforcement learning and re-ranking methods to explicitly optimize the dialogue coherence during training and inference, respectively. Empirical experiments show the effectiveness of the proposed methods for improving the robustness of chatbots in real practice.

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

↑