A Parallel-Hierarchical Model for Machine Comprehension on Sparse Data

Adam Trischler, Zheng Ye, Xingdi Yuan, Jing He, Philip Bachman

Abstract

Understanding unstructured text is a major goal within natural language processing. Comprehension tests pose questions based on short text passages to evaluate such understanding. In this work, we investigate machine comprehension on the challenging MCTest benchmark. Partly because of its limited size, prior work on MCTest has focused mainly on engineering better features. We tackle the dataset with a neural approach, harnessing simple neural networks arranged in a parallel hierarchy. The parallel hierarchy enables our model to compare the passage, question, and answer from a variety of trainable perspectives, as opposed to using a manually designed, rigid feature set. Perspectives range from the word level to sentence fragments to sequences of sentences; the networks operate only on word-embedding representations of text. When trained with a methodology designed to help cope with limited training data, our Parallel-Hierarchical model sets a new state of the art for MCTest, outperforming previous feature-engineered approaches slightly and previous neural approaches by a significant margin (over 15 percentage points).

Introduction

Machine Comprehension (MC)—the ability of a computer to read a passage and answer questions about it—usually requires massive amounts of data. While datasets like SQuAD or the CNN/Daily Mail corpus provide hundreds of thousands of examples, the MCTest benchmark is significantly smaller, consisting of only 660 stories. Despite its size, the questions require actual inference and reasoning rather than simple keyword matching. Because this data is so "sparse," standard data-hungry deep learning models historically performed poorly, often losing to systems built on manually designed linguistic features. This research aims to bridge that gap by creating a neural model flexible enough to learn its own features but robust enough to function without millions of training examples.

The Parallel-Hierarchical Model

The authors introduce the Parallel-Hierarchical Model, which evaluates a "hypothesis" (a question combined with a candidate answer) against the text using four distinct perspectives in parallel:

  1. Semantic Perspective: Treats sentences as "thoughts" by creating weighted-sum embeddings of the words.
  2. Word-by-Word Perspective: Looks for direct matches between individual words in the hypothesis and the text.
  3. Sequential Sliding Window: Scans the text in small n-gram chunks to see if the hypothesis matches a local context.
  4. Dependency Sliding Window: Uses a dependency parser to understand grammatical structure. It employs a Fiedler vector to reorder words based on syntactic proximity, bringing related words (like a subject and its distant object) closer together for the sliding window to process.
The Parallel-Hierarchical Model architecture, showing the four distinct perspectives used to evaluate hypotheses against the text.

Training Strategy: "Training Wheels"

On such a small dataset, a neural network initialized with random weights often fails to converge. To solve this, the authors implemented a "Training Wheels" initialization strategy. The model's weights were initialized so it began by performing sensible, human-designed heuristics (such as basic word counting). This provided a stable starting point from which the model could then fine-tune and improve via backpropagation. Ablation studies showed this was critical; without it, accuracy plummeted from ~70% to ~35%.

Experimental Results

The model was evaluated on the MCTest-160 and MCTest-500 datasets using fixed 300-dimensional Google News word2vec embeddings to prevent overfitting. The Parallel-Hierarchical model set a new state-of-the-art for neural approaches on MCTest.

On MCTest-500, the model achieved 71.00% overall accuracy, outperforming the previous best neural model (HABCNN) by 18.1 percentage points. It also slightly outperformed the best feature-engineered models (Wang et al., 2015), which relied on complex, manually written rules for syntax and frame semantics. Notably, on "multi-sentence" questions requiring synthesis across the text, the model achieved 68.29% accuracy.

Performance comparison on MCTest-160 and MCTest-500 datasets. The Parallel-Hierarchical model achieves state-of-the-art results, particularly on the larger MCTest-500 benchmark.

Conclusion and Future Work

The success of the Parallel-Hierarchical model demonstrates that deep learning can excel even on sparse data when the architecture mimics the hierarchical nature of language and uses informed initialization. However, the model still struggles with questions involving quantity and temporal order. Future work may involve incorporating memory-augmented components to handle these specific reasoning tasks while maintaining the model's efficiency on small datasets.

Summary updated

BibTeX
@inproceedings{trischler2016parallel,
  author = {Adam Trischler and Zheng Ye and Xingdi Yuan and Jing He and Philip Bachman},
  title = {{A Parallel-Hierarchical Model for Machine Comprehension on Sparse Data}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2016},
  url = {https://openreview.net/forum?id=Bk48ZnedbB},
}
Figure