arXiv:1611.01603 · 中英对照阅读
Bi-Directional Attention Flow for Machine Comprehension
中文速览
机器阅读理解既要抓住问题和文章中对应的信息,又不能过早把整段文章压成一个摘要,否则容易丢掉答题线索。BiDAF 将字符、词语和上下文信息分层处理,再用双向注意力(Bi-Directional Attention Flow)让文章词语关注问题、问题也反过来锁定文章重点,并把这些信息保留到后续推理中。实验中,它在当时的 SQuAD 问答数据集和 CNN/DailyMail 填空测试上都取得了领先成绩。它的重要性在于提供了一种更少丢信息、也更灵活的问答架构,并证明双向、逐词的注意力能有效提升机器理解能力。
摘要
Machine comprehension (MC), answering a query about a given context paragraph, requires modeling complex interactions between the context and the query. Recently, attention mechanisms have been successfully extended to MC. Typically these methods use attention to focus on a small portion of the context and summarize it with a fixed-size vector, couple attentions temporally, and/or often form a uni-directional attention. In this paper we introduce the Bi-Directional Attention Flow (BiDAF) network, a multi-stage hierarchical process that represents the context at different levels of granularity and uses bi-directional attention flow mechanism to obtain a query-aware context representation without early summarization. Our experimental evaluations show that our model achieves the state-of-the-art results in Stanford Question Answering Dataset (SQuAD) and CNN/DailyMail cloze test.
术语表
- Machine comprehension (MC)
- 机器阅读理解
- Question answering (QA)
- 问答
- Bi-Directional Attention Flow (BiDAF)
- 双向注意力流
- attention mechanism
- 注意力机制
- bi-directional attention flow
- 双向注意力流
- query-aware context representation
- 查询感知的上下文表示
- early summarization
- 提前汇总
- memory-less attention
- 无记忆注意力
- dynamic attention
- 动态注意力
- query-to-context attention
- 查询到上下文注意力
- context-to-query attention
- 上下文到查询注意力
- hierarchical multi-stage architecture
- 分层多阶段架构
- Character Embedding Layer
- 字符嵌入层
- Word Embedding Layer
- 词嵌入层
- Contextual Embedding Layer
- 上下文嵌入层
- Attention Flow Layer
- 注意力流层
- Modeling Layer
- 建模层
- Output Layer
- 输出层
- Convolutional Neural Network (CNN)
- 卷积神经网络
- Highway Network
- 高速网络
- Long Short-Term Memory (LSTM)
- 长短期记忆网络
- GloVe
- GloVe
- Stanford Question Answering Dataset (SQuAD)
- 斯坦福问答数据集
- CNN/DailyMail cloze test
- CNN/DailyMail完形填空测试
- similarity matrix
- 相似度矩阵
- character-level embedding
- 字符级嵌入
- word embedding
- 词嵌入
- contextual embedding
- 上下文嵌入