Skip to main content
QUICK REVIEW

[Paper Review] MEMEN: Multi-layer Embedding with Memory Networks for Machine Comprehension

Boyuan Pan, Hao Li|arXiv (Cornell University)|Jul 28, 2017
Topic ModelingComputer Science21 references67 citations
TL;DR

MEMEN introduces multi-layer word embeddings including POS/NER via skip-gram, and a full-orientation memory network with multi-hop attention to improve machine reading comprehension on SQuAD and TriviaQA.

ABSTRACT

Machine comprehension(MC) style question answering is a representative problem in natural language processing. Previous methods rarely spend time on the improvement of encoding layer, especially the embedding of syntactic information and name entity of the words, which are very crucial to the quality of encoding. Moreover, existing attention methods represent each query word as a vector or use a single vector to represent the whole query sentence, neither of them can handle the proper weight of the key words in query sentence. In this paper, we introduce a novel neural network architecture called Multi-layer Embedding with Memory Network(MEMEN) for machine reading task. In the encoding layer, we employ classic skip-gram model to the syntactic and semantic information of the words to train a new kind of embedding layer. We also propose a memory network of full-orientation matching of the query and passage to catch more pivotal information. Experiments show that our model has competitive results both from the perspectives of precision and efficiency in Stanford Question Answering Dataset(SQuAD) among all published results and achieves the state-of-the-art results on TriviaQA dataset.

Motivation & Objective

  • Motivate the importance of rich word encoding, including syntactic and named-entity information, for MC performance.
  • Develop an embedding layer that combines word, character, POS, and NER information via skip-gram training.
  • Propose a memory network with full-orientation (integrating multiple attention styles) for deeper passage-question interaction.
  • Use a pointer-network based boundary predictor to locate answers efficiently.
  • Demonstrate competitive or state-of-the-art results on SQuAD and TriviaQA with improved efficiency.

Proposed method

  • Encode context and query with concatenated embeddings (word, character, POS, NER).
  • Train POS and NER embeddings with a skip-gram model to capture syntactic/semantic relations.
  • Apply a BiLSTM over embeddings to obtain passage and question representations.
  • Introduce a memory network with full-orientation matching that fuses integral query matching, query-based similarity, and context-based similarity.
  • Stack multiple memory hops with an input gate to control information flow and improve convergence.
  • Predict answer boundaries with a pointer-network, initialized by a query-aware representation.

Experimental results

Research questions

  • RQ1Can multi-layer syntactic/semantic embeddings improve machine comprehension encoding beyond standard word/character embeddings?
  • RQ2Does a full-orientation attention memory network with multi-hop reading yield better QA performance and efficiency than self-matching or single-attention mechanisms?
  • RQ3How does integrating POS/NER skip-gram embeddings affect SQuAD and TriviaQA results compared to baselines?
  • RQ4What is the impact of hop number on accuracy and convergence in MEMEN?
  • RQ5Can a pointer-network boundary predictor efficiently locate answer spans in passages given MEMEN representations.

Key findings

  • On SQuAD, MEMEN achieves 75.37% exact match and 82.66% F1, showing competitive performance.
  • MEMEN achieves state-of-the-art results on TriviaQA among reported results.
  • Ablation shows POS embeddings contribute notably to performance, and both POS and NER embeddings help, with POS being particularly impactful.
  • The full-orientation memory with three attention vectors improves over single-dimension or single-view attention.
  • A three-hop MEMEN balances accuracy and training efficiency; additional hops beyond 3 can degrade performance due to overfitting and training time.
  • The model trains efficiently on a single GPU (Titan X) with reasonable training times (e.g., ~5 hours for 3 hops) compared to deeper self-matching variants.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.