Abstract
Machine Reading Comprehension (MRC) requires models to capture both fine-grained linguistic features and complex relationships between questions and passages. We present MEMEN (Multi-layer Embedding with Memory Networks), a framework that enriches word representations with syntactic and entity information while utilizing a "full-orientation" attention mechanism. MEMEN achieves state-of-the-art results on the TriviaQA dataset and competitive performance on SQuAD, demonstrating significant training efficiency compared to models using complex self-matching layers.
Introduction
Machine Comprehension (MC) involves teaching computers to read a passage and answer related questions. Despite advancements in deep learning, existing models face two primary challenges:
- Shallow Encoding: Most models rely solely on word-level and character-level embeddings, neglecting crucial linguistic context provided by Part-of-Speech (POS) and Named Entity Recognition (NER) tags.
- Inflexible Attention: Current mechanisms often oscillate between 1D attention (which loses detail) and 2D attention (which can be noisy due to stop words).
MEMEN addresses these gaps through a multi-layered approach to embedding and a hierarchical attention strategy.
Methodology
The MEMEN architecture consists of three core innovations designed to deepen the model's understanding of text.
Multi-layer Embedding
Beyond standard vectors, MEMEN utilizes the Skip-gram model to train specific embeddings for POS and NER tags. By treating these tags as sequential data, the model learns to cluster similar grammatical and entity types within the vector space, providing richer contextual signals.
Full-Orientation Matching
This hierarchical attention layer combines three matching strategies:
- Integral Query Matching: Relates the entire question to each passage word.
- Query-Based Similarity: Establishes a word-to-word alignment matrix.
- Context-Based Similarity: Identifies the most representative query words for the given context.
Multi-hop Memory Network
The model employs a multi-hop approach, typically iterating through the data three times. This allows the network to refine its focus on pivotal information. A pointer network then predicts the start and end indices of the answer span.
Experimental Results
MEMEN was evaluated on the SQuAD v1.1 and TriviaQA benchmarks.
Performance and Efficiency
On the TriviaQA dataset, MEMEN reached scores as high as 53.27% Exact Match (EM) and 57.64% F1 score, significantly outperforming baselines like BiDAF. On SQuAD, it achieved 75.37% EM and 82.66% F1. Notably, MEMEN is highly efficient; it trains in approximately 5 hours on a single GPU, whereas models utilizing self-matching layers often require over 20 hours.
Key Insights
- Linguistic Features: Ablation studies confirmed that POS and NER embeddings significantly boost performance, with POS tags providing a particularly strong signal.
- Optimal Iteration: Performance peaks at three memory hops; further iterations lead to overfitting.
- Attention Impact: Removing the "Full-Orientation" components resulted in a 10% performance drop, highlighting the importance of the multi-angle attention approach.
Conclusion
MEMEN demonstrates that combining multi-layer linguistic embeddings with iterative memory hops and hierarchical attention significantly improves machine comprehension. Future work will explore generative methods for answer synthesis and improved sentence ranking for long-form document processing.
Summary updated