arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.00486cs.CL
收藏

对话Transformers

Dialogue Transformers

Rasa

Vladimir Vlasov, Johannes E. M. Mosig, Alan Nichol

摘要:

我们引入了一个基于Transformer架构的对话策略,其中自我注意力机制在对话回合的序列上操作。最近的工作已经使用分层递归神经网络来编码对话上下文中的多个话语,但我们认为,一个纯粹的自我注意力机制更合适。默认情况下,RNN假设序列中的每个项目都与生成完整序列的编码相关,但单个对话可以由多个重叠的话语片段组成,因为说话者交错多个主题。Transformer挑选哪一个转向以包括在其当前对话状态的编码中,并且自然地适合于选择性地忽略或关注对话历史。我们将Transformer Embedding Dialogue(TED)策略的性能与LSTM和REDP进行了比较,后者是专门为克服RNN的这一限制而设计的。

英文摘要:

We introduce a dialogue policy based on a transformer architecture, where the self-attention mechanism operates over the sequence of dialogue turns. Recent work has used hierarchical recurrent neural networks to encode multiple utterances in a dialogue context, but we argue that a pure self-attention mechanism is more suitable. By default, an RNN assumes that every item in a sequence is relevant for producing an encoding of the full sequence, but a single conversation can consist of multiple overlapping discourse segments as speakers interleave multiple topics. A transformer picks which turns to include in its encoding of the current dialogue state, and is naturally suited to selectively ignoring or attending to dialogue history. We compare the performance of the Transformer Embedding Dialogue (TED) policy to an LSTM and to the REDP, which was specifically designed to overcome this limitation of RNNs.

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

↑