arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2004.03762cs.CLcs.AI
收藏

在一个切换动力系统中生成叙事文本

Generating Narrative Text in a Switching Dynamical System

Stony Brook University(石溪大学);United States Naval Academy(美国海军学院);Johns Hopkins University(约翰斯·霍普金斯大学)

Noah Weber, Leena Shekhar, Heeyoung Kwon, Niranjan Balasubramanian, Nathanael Chambers

摘要:

叙事建模的早期工作使用明确的计划和目标来生成故事,但语言生成本身受到限制且不灵活。现代方法使用语言模型来实现更健壮的生成,但通常缺乏对引导连贯叙述的脚手架和动态的明确表示。本文介绍了一种新的模型,结合显式叙事结构与神经语言模型,形式化叙事建模为切换线性动力系统(SLDS)。SLDS是一个动态系统,其中系统的潜在动态(即状态向量如何随时间变换)由顶层离散切换变量控制。转换变量代表叙事结构(例如,情感或话语状态),而潜在状态向量编码关于叙事的当前状态的信息。这种概率公式允许我们控制生成,并且可以使用标记和未标记的数据以半监督的方式学习。此外,我们为我们的模型推导出一个吉布斯采样器,它可以在切换变量的指导下填充叙述的任意部分。我们填写的(英语)叙述在自动和人工评估方面都优于几个基线。

英文摘要:

Early work on narrative modeling used explicit plans and goals to generate stories, but the language generation itself was restricted and inflexible. Modern methods use language models for more robust generation, but often lack an explicit representation of the scaffolding and dynamics that guide a coherent narrative. This paper introduces a new model that integrates explicit narrative structure with neural language models, formalizing narrative modeling as a Switching Linear Dynamical System (SLDS). A SLDS is a dynamical system in which the latent dynamics of the system (i.e. how the state vector transforms over time) is controlled by top-level discrete switching variables. The switching variables represent narrative structure (e.g., sentiment or discourse states), while the latent state vector encodes information on the current state of the narrative. This probabilistic formulation allows us to control generation, and can be learned in a semi-supervised fashion using both labeled and unlabeled data. Additionally, we derive a Gibbs sampler for our model that can fill in arbitrary parts of the narrative, guided by the switching variables. Our filled-in (English language) narratives outperform several baselines on both automatic and human evaluations.

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

↑