Skip to main content
QUICK REVIEW

[Paper Review] Long-Term Memory Networks for Question Answering

Fenglong Ma, Radha Chitta|arXiv (Cornell University)|Jul 6, 2017
Topic ModelingComputer Science6 citations
TL;DR

This paper proposes the Long-Term Memory Network (LTMN), a weakly supervised, end-to-end trainable recurrent neural network that combines an external memory module with a Long Short-Term Memory (LSTM) network to generate multi-word answers in question-answering tasks. The model achieves state-of-the-art performance on both synthetic bAbI and real-world Stanford Question Answering datasets, outperforming existing weakly supervised models in multi-word answer generation while requiring minimal supervision.

ABSTRACT

Question answering is an important and difficult task in the natural language processing domain, because many basic natural language processing tasks can be cast into a question answering task. Several deep neural network architectures have been developed recently, which employ memory and inference components to memorize and reason over text information, and generate answers to questions. However, a major drawback of many such models is that they are capable of only generating single-word answers. In addition, they require large amount of training data to generate accurate answers. In this paper, we introduce the Long-Term Memory Network (LTMN), which incorporates both an external memory module and a Long Short-Term Memory (LSTM) module to comprehend the input data and generate multi-word answers. The LTMN model can be trained end-to-end using back-propagation and requires minimal supervision. We test our model on two synthetic data sets (based on Facebook's bAbI data set) and the real-world Stanford question answering data set, and show that it can achieve state-of-the-art performance.

Motivation & Objective

  • To address the limitation of existing neural networks in generating multi-word answers for question-answering tasks.
  • To develop a weakly supervised model that requires minimal labeled data, avoiding the need for strongly supervised factoid annotations.
  • To integrate an external memory module with an LSTM to enable long-term memorization and reasoning over sequential input text.
  • To enable end-to-end training of the model using back-propagation for improved generalization and reduced supervision dependency.
  • To evaluate performance on both synthetic (bAbI) and real-world (SQuAD) question-answering benchmarks.

Proposed method

  • The LTMN model uses a distributed representation to encode input sentences and questions into dense vector embeddings.
  • It employs an external memory module to store and retrieve relevant facts from the input sequence over time.
  • The model uses an attention mechanism to compute matching probabilities between input sentences and the question, identifying supporting facts.
  • A Long Short-Term Memory (LSTM) network generates multi-word answers by processing the attended facts and question context.
  • The entire architecture is trained end-to-end via back-propagation with minimal supervision, using all preceding sentences as input for each question.
  • The model is evaluated using both exact match accuracy (EMA) and BLEU scores for multi-word answer generation.

Experimental results

Research questions

  • RQ1Can a weakly supervised neural network architecture generate accurate multi-word answers in question-answering tasks?
  • RQ2How does the integration of an external memory module with an LSTM improve reasoning and memorization over long input sequences?
  • RQ3Does the LTMN model achieve competitive performance compared to strongly supervised models like MemNN and DMN while requiring less supervision?
  • RQ4How effective is the LTMN on diverse reasoning tasks, including coreference, negation, and path-finding, in the bAbI dataset?
  • RQ5Can the LTMN generalize to real-world question-answering benchmarks such as the Stanford Question Answering Dataset?

Key findings

  • On the single-word answer bAbI dataset, the LTMN achieves a mean accuracy of 73.9%, outperforming weakly supervised LSTM+Attention (73.9%) and MemN2N (93.4%), and approaching the performance of strongly supervised MemNN (93.6%) and DMN (93.6%).
  • On the multi-word answer bAbI dataset, the LTMN achieves a mean EMA of 72.6%, BLEU of 75.9%, and PMA of 78.8%, significantly outperforming LSTM (42.2% EMA) and LSTM+Attention (46.8% EMA).
  • The LTMN achieves 100% accuracy on 10 out of 20 bAbI tasks, including complex reasoning tasks like 'Basic Deduction' and 'Agent’s Motivations', demonstrating strong generalization.
  • In the 'Path Finding' task, the LTMN achieves 100% PMA, outperforming LSTM+Attention (59.1%) and LSTM (35.1%), showing improved reasoning over long sequences.
  • On the real-world Stanford Question Answering Dataset, the LTMN achieves state-of-the-art performance, confirming its effectiveness beyond synthetic benchmarks.
  • The model performs poorly on very long input sequences and large vocabularies due to inefficient support fact calculation, indicating a limitation in scalability.

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.