Hierarchical Memory Networks for Answer Selection on Unknown Words

Jiaming Xu, Jing Shi, Yiqun Yao, Suncong Zheng, Bo Xu +1 more
9/28/2016
16 citations
cs.IRcs.AIcs.CL
transformer-attention

Official code: jacoxu/HMN4QA (44 stars, Python, last commit 2018-07-03).

Abstract

Recently, end-to-end memory networks have shown promising results on Question Answering task, which encode the past facts into an explicit memory and perform reasoning ability by making multiple computational steps on the memory. However, memory networks conduct the reasoning on sentence-level memory to output coarse semantic vectors and do not further take any attention mechanism to focus on words, which may lead to the model lose some detail information, especially when the answers are rare or unknown words.

Show full abstract

In this paper, we propose a novel Hierarchical Memory Networks, dubbed HMN. First, we encode the past facts into sentence-level memory and word-level memory respectively. Then, (k)-max pooling is exploited following reasoning module on the sentence-level memory to sample the (k) most relevant sentences to a question and feed these sentences into attention mechanism on the word-level memory to focus the words in the selected sentences. Finally, the prediction is jointly learned over the outputs of the sentence-level reasoning module and the word-level attention mechanism. The experimental results demonstrate that our approach successfully conducts answer selection on unknown words and achieves a better performance than memory networks.

View on arXivView PDF

Code Implementations(1)

jacoxu/HMN4QAOfficial100%

This is the code&dataset for the paper [Hierarchical Memory Networks for Answer Selection on Unknown Words. COLING 2016]

4415Python, ShellSep 28, 20168 years ago

Similar Papers

Cite this paper

@article{xu2016hierarchical,
  title  = {Hierarchical Memory Networks for Answer Selection on Unknown Words},
  author = {Jiaming Xu and Jing Shi and Yiqun Yao and Suncong Zheng and Bo Xu and Bo Xu},
  year   = {2016},
  eprint = {1609.08843},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1609.08843}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1609.08843.svg)](https://codeofpaper.com/paper/1609.08843)

Discussion