Story ending generation aims at generating reasonable endings for a given story context. Most existing studies in this area focus on generating coherent or diversified story endings, while they ignore that different characters may lead to different endings for a given story. In this paper, we propose a Character-oriented Story Ending Generator (CoSEG) to customize an ending for each character in a story. Specifically, we first propose a character modeling module to learn the personalities of characters from their descriptive experiences extracted from the story context. Then, inspired by the ion exchange mechanism in chemical reactions, we design a novel vector breaking/forming module to learn the intrinsic interactions between each character and the corresponding context through an analogical information exchange procedure. Finally, we leverage the attention mechanism to learn effective character-specific interactions and feed each interaction into a decoder to generate character-orient endings. Extensive experimental results and case studies demonstrate that CoSEG achieves significant improvements in the quality of generated endings compared with state-of-the-art methods, and it effectively customizes the endings for different characters.
翻译:故事结束的生成旨在为特定故事背景创造合理的结局。 这一领域的大多数现有研究侧重于生成一致或多样化的故事结局, 而它们忽略了不同字符可能导致特定故事的不同结局。 在本文中, 我们提议一个以字符为导向的故事结束生成器( COSEG) 来定制故事中每个字符的结局。 具体地说, 我们首先提出一个字符建模模块, 以从故事背景中提取的描述性经验来学习字符的个性。 然后, 在化学反应中的离子交换机制的启发下, 我们设计了一个新型矢量断裂/形成模块, 通过模拟信息交流程序来学习每个字符和相应环境之间的内在互动。 最后, 我们利用关注机制来学习有效的特定字符互动, 并将每种互动转化为解密器, 以生成以字符为主的结局。 广泛的实验结果和案例研究表明, CoSEG在生成的结局的质量与最新方法相比有了显著的改善, 并且它有效地将不同字符的结局定制化。