生成对话系统的短时注意机制

Pengda Si, Yujiu Yang, Yi Liu
{"title":"生成对话系统的短时注意机制","authors":"Pengda Si, Yujiu Yang, Yi Liu","doi":"10.1109/ICBK.2018.00043","DOIUrl":null,"url":null,"abstract":"In recent years, generative dialogue has become the hottest topic in the field of Nature Language Process(NLP). Among the many suggested approaches, the Sequence-tosequence network framework, a variant of traditional Recurrent Neural Network(RNN), has attracted the attention of researchers because of its outstanding performance on many tasks. This model consists of an encoder which encoders the input sequence to a vector and a decoder that decodes the vector to the output sequence. Then attention was applied to the model, that is, the model assigns different weights to different parts to compute vector during decoding process. This end-to-end method enhances the ability to generate natural answers in the human-computer conversation process, while also increases its calculation costs. To solve the problem, we propose a novel short-attention mechanism, in which the original sequence is compressed to a shorter sequence before calculating weight and vector. We apply shortattention to dialogue systems tasks and the experimental results show that short-attention can shorten the computation time by about 20% compared to attention.","PeriodicalId":144958,"journal":{"name":"2018 IEEE International Conference on Big Knowledge (ICBK)","volume":"288 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Short-Attention Mechanism for Generative Dialogue System\",\"authors\":\"Pengda Si, Yujiu Yang, Yi Liu\",\"doi\":\"10.1109/ICBK.2018.00043\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In recent years, generative dialogue has become the hottest topic in the field of Nature Language Process(NLP). Among the many suggested approaches, the Sequence-tosequence network framework, a variant of traditional Recurrent Neural Network(RNN), has attracted the attention of researchers because of its outstanding performance on many tasks. This model consists of an encoder which encoders the input sequence to a vector and a decoder that decodes the vector to the output sequence. Then attention was applied to the model, that is, the model assigns different weights to different parts to compute vector during decoding process. This end-to-end method enhances the ability to generate natural answers in the human-computer conversation process, while also increases its calculation costs. To solve the problem, we propose a novel short-attention mechanism, in which the original sequence is compressed to a shorter sequence before calculating weight and vector. We apply shortattention to dialogue systems tasks and the experimental results show that short-attention can shorten the computation time by about 20% compared to attention.\",\"PeriodicalId\":144958,\"journal\":{\"name\":\"2018 IEEE International Conference on Big Knowledge (ICBK)\",\"volume\":\"288 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2018-11-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2018 IEEE International Conference on Big Knowledge (ICBK)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICBK.2018.00043\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 IEEE International Conference on Big Knowledge (ICBK)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICBK.2018.00043","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

近年来,生成对话已成为自然语言处理(NLP)领域的热门话题。在众多建议的方法中,序列到序列网络框架是传统递归神经网络(RNN)的一种变体,因其在许多任务上的出色表现而引起了研究人员的注意。该模型由一个编码器和一个解码器组成,编码器将输入序列编码为矢量,解码器将矢量解码为输出序列。然后对模型进行了研究,即在解码过程中,模型对不同部分分配不同的权重来计算向量。这种端到端方法增强了在人机对话过程中生成自然答案的能力,同时也增加了计算成本。为了解决这个问题,我们提出了一种新的短注意力机制,在计算权值和向量之前,将原始序列压缩成更短的序列。我们将短注意力应用到对话系统任务中,实验结果表明短注意力比短注意力可以缩短20%左右的计算时间。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Short-Attention Mechanism for Generative Dialogue System
In recent years, generative dialogue has become the hottest topic in the field of Nature Language Process(NLP). Among the many suggested approaches, the Sequence-tosequence network framework, a variant of traditional Recurrent Neural Network(RNN), has attracted the attention of researchers because of its outstanding performance on many tasks. This model consists of an encoder which encoders the input sequence to a vector and a decoder that decodes the vector to the output sequence. Then attention was applied to the model, that is, the model assigns different weights to different parts to compute vector during decoding process. This end-to-end method enhances the ability to generate natural answers in the human-computer conversation process, while also increases its calculation costs. To solve the problem, we propose a novel short-attention mechanism, in which the original sequence is compressed to a shorter sequence before calculating weight and vector. We apply shortattention to dialogue systems tasks and the experimental results show that short-attention can shorten the computation time by about 20% compared to attention.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信