Ask Me Anything:动态记忆网络在自然语言处理中的应用
Ask Me Anything: Dynamic Memory Networks for Natural Language Processing
摘要:
自然语言处理中的大多数任务都可以转化为基于语言输入的问答问题。我们介绍了动态记忆网络(DMN),一个神经网络架构,处理输入序列和问题,形成情景记忆,并产生相关的答案。问题触发了一个迭代的注意力过程,允许模型将其注意力集中在输入和先前迭代的结果上。然后,这些结果在分层递归序列模型中进行推理以生成答案。DMN可以进行端到端的训练,并在几种类型的任务和数据集上获得最先进的结果:问答(Facebook的bAbI数据集),情感分析的文本分类(斯坦福情感树库)和词性标记的序列建模(WSJ-PTB)。这些不同任务的训练完全依赖于训练的词向量表示和输入-问题-答案三元组。
英文摘要:
Most tasks in natural language processing can be cast into question answering (QA) problems over language input. We introduce the dynamic memory network (DMN), a neural network architecture which processes input sequences and questions, forms episodic memories, and generates relevant answers. Questions trigger an iterative attention process which allows the model to condition its attention on the inputs and the result of previous iterations. These results are then reasoned over in a hierarchical recurrent sequence model to generate answers. The DMN can be trained end-to-end and obtains state-of-the-art results on several types of tasks and datasets: question answering (Facebook's bAbI dataset), text classification for sentiment analysis (Stanford Sentiment Treebank) and sequence modeling for part-of-speech tagging (WSJ-PTB). The training for these different tasks relies exclusively on trained word vector representations and input-question-answer triplets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。