从反例中学习连贯写作
Learning to Write with Coherence From Negative Examples
摘要:
连贯是决定写作质量的关键因素之一。我们提出了一种用于神经编码器-解码器自然语言生成(NLG)模型的书写相关性(WR)训练方法,该方法通过利用负例来提高连续性的一致性。WR损失通过将上下文和生成句子的向量表示与否定进行对比,使其向肯定延续回归。我们比较了我们的方法与Unlikelihood(UL)训练中的文本延续任务的常识自然语言推理(NLI)语料库,以显示哪种方法更好地模型的连贯性,避免不太可能的延续。我们的方法在人类评价中的偏好显示了我们的方法在提高一致性方面的有效性。
英文摘要:
Coherence is one of the critical factors that determine the quality of writing. We propose writing relevance (WR) training method for neural encoder-decoder natural language generation (NLG) models which improves coherence of the continuation by leveraging negative examples. WR loss regresses the vector representation of the context and generated sentence toward positive continuation by contrasting it with the negatives. We compare our approach with Unlikelihood (UL) training in a text continuation task on commonsense natural language inference (NLI) corpora to show which method better models the coherence by avoiding unlikely continuations. The preference of our approach in human evaluation shows the efficacy of our method in improving coherence.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。