文章评论的可控和多样化生成
Towards Controlled and Diverse Generation of Article Comments
摘要:
近年来,许多研究都集中在自动文章评论上。然而,以往的研究很少关注评论的可控生成。此外,他们往往会产生沉闷和平庸的评论,这进一步限制了他们的实际应用。在本文中,我们通过构建一个系统,可以显式地控制所生成的评论的情感,从而朝着可控的评论生成迈出了第一步。为了实现这一点,我们将每种情感类别与嵌入相关联,并采用动态融合机制将该嵌入融合到解码器中。进一步采用情感级情感分类器来更好地引导模型生成表达期望情感的评论。为了增加生成的评论的多样性,我们提出了一种分层复制机制,允许我们的模型直接从输入文章中复制单词。我们还提出了一个限制性的束搜索(RBS)算法,以增加句子内的多样性。实验结果表明,我们的模型可以生成信息丰富和多样化的评论,表达所需的情感,具有较高的准确性。
英文摘要:
Much research in recent years has focused on automatic article commenting. However, few of previous studies focus on the controllable generation of comments. Besides, they tend to generate dull and commonplace comments, which further limits their practical application. In this paper, we make the first step towards controllable generation of comments, by building a system that can explicitly control the emotion of the generated comments. To achieve this, we associate each kind of emotion category with an embedding and adopt a dynamic fusion mechanism to fuse this embedding into the decoder. A sentence-level emotion classifier is further employed to better guide the model to generate comments expressing the desired emotion. To increase the diversity of the generated comments, we propose a hierarchical copy mechanism that allows our model to directly copy words from the input articles. We also propose a restricted beam search (RBS) algorithm to increase intra-sentence diversity. Experimental results show that our model can generate informative and diverse comments that express the desired emotions with high accuracy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。