[论文解读] An Empirical Investigation of Pre-Trained Transformer Language Models for Open-Domain Dialogue Generation
本文通过两阶段预训练与微调范式,实证研究了预训练自回归Transformer语言模型在开放域对话生成中的应用。结果表明,采用加权损失联合预测上下文与回复可提升回复的相关性与多样性,但生成结果中仍存在话题漂移和不当内容等问题。
We present an empirical investigation of pre-trained Transformer-based auto-regressive language models for the task of open-domain dialogue generation. Training paradigm of pre-training and fine-tuning is employed to conduct the parameter learning. Corpora of News and Wikipedia in Chinese and English are collected for the pre-training stage respectively. Dialogue context and response are concatenated into a single sequence utilized as the input of the models during the fine-tuning stage. A weighted joint prediction paradigm for both context and response is designed to evaluate the performance of models with or without the loss term for context prediction. Various of decoding strategies such as greedy search, beam search, top-k sampling, etc. are employed to conduct the response text generation. Extensive experiments are conducted on the typical single-turn and multi-turn dialogue corpora such as Weibo, Douban, Reddit, DailyDialog, and Persona-Chat. Detailed numbers of automatic evaluation metrics on relevance and diversity of the generated results for the languages models as well as the baseline approaches are reported.
研究动机与目标
- 评估预训练自回归Transformer模型在开放域对话生成中的有效性。
- 探究在微调过程中采用加权损失联合预测上下文与回复的影响。
- 分析不同解码策略(贪婪搜索、束搜索、top-k采样)对回复质量的影响。
- 评估模型在英语与中文的多种单轮与多轮对话数据集上的表现。
- 识别模型在生成开放域回复时持续存在的问题,如话题漂移、语法错误及不当内容。
提出的方法
- 在大规模中文与英文新闻及维基百科语料上预训练模型,以学习通用语言表征。
- 通过将上下文与回复拼接为单一输入序列,在对话数据上微调模型。
- 采用加权联合预测目标,结合上下文与回复生成的损失。
- 应用多种解码策略——贪婪搜索、束搜索与top-k采样——生成回复。
- 使用自动指标在多个数据集上评估回复的相关性与多样性。
- 在五个基准数据集上进行实验:Weibo、Douban、Reddit、DailyDialog与Persona-Chat。
实验结果
研究问题
- RQ1在微调过程中联合预测上下文与回复如何影响开放域对话中的回复质量?
- RQ2不同解码策略(贪婪搜索、束搜索、top-k采样)对回复相关性与多样性有何影响?
- RQ3预训练Transformer模型在英语与中文的多种对话数据集上表现如何?
- RQ4这些模型在生成开放域回复时的主要失效模式是什么?
- RQ5预训练语料(新闻/维基百科)在多大程度上影响微调阶段对话任务的表现?
主要发现
- 与标准自回归训练相比,加权联合预测损失显著提升了回复的相关性与多样性。
- 束搜索与top-k采样在生成更连贯、更多样化的回复方面优于贪婪搜索。
- 在对话数据上微调的预训练模型在多个数据集上均取得了较强的自动评估指标表现,相关性与多样性指标优异。
- 尽管性能出色,模型仍频繁生成存在话题漂移、语法错误,甚至不当或矛盾内容的回复。
- 模型在英语与中文数据集上表现一致,表明预训练表征具备跨语言泛化能力。
- 未进行人工评估,但自动指标表明困惑度与回复质量存在相关性,但并非完全一致。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。