AutoEQA: Auto-Encoding Questions for Extractive Question Answering

Stalin Varanasi, Saadullah Amin, Guenter NeumannEMNLP 2021

Introduction

Extractive Question Answering (EQA) involves identifying a specific text span within a passage that answers a given question. While modern deep learning models excel at this task, they typically require extensive human-annotated datasets where answer spans are manually highlighted. This "data-hungry" nature creates a significant bottleneck when applying EQA to specialized domains like medicine or law.

AutoEQA addresses this challenge by introducing a framework for unsupervised EQA. It learns to identify answer spans using only question-passage pairs, without requiring any ground-truth answer labels during training.

Methodology

The core of AutoEQA is a Conditional Variational Auto-Encoder (CVAE) framework that treats the answer span as a latent variable. The model operates in a self-supervised loop consisting of two main components:

  1. The Encoder (QA Model): Given a question and a passage, the encoder predicts a probability distribution over potential answer spans. To maintain computational efficiency, a phrase extractor identifies candidate spans (e.g., named entities and noun phrases) rather than evaluating every possible sub-string.
  2. The Decoder (QG Model): The decoder takes the passage and a sampled answer from the encoder's distribution to reconstruct the original question.
The AutoEQA architecture utilizes a shared BERT model for both the Question Answering (Encoder) and Question Generation (Decoder) tasks, linked by a latent answer variable and soft segment embeddings.

Key Innovations

  • Shared Architecture: Both the encoder and decoder leverage a shared pre-trained BERT model, allowing the tasks of answering and generating questions to reinforce one another.
  • Soft Segment Embeddings: To allow gradients to flow through the discrete process of selecting an answer, AutoEQA uses "soft" embeddings. These interpolate between binary segment indicators based on the probability of a token belonging to the predicted answer.
  • Simulated Annealing: This technique is used to manage the KL-Divergence term in the loss function, preventing "posterior collapse" where the model might otherwise ignore the latent answer and generate generic questions.

Experimental Results

The model was evaluated on the SQuAD v1.1 dataset. During training, the 87,594 available answer labels were ignored to simulate an unsupervised environment.

AutoEQA demonstrates a significant performance leap over previous unsupervised baselines. As shown in the results table, the AutoEQA-QG_Large variant achieved an F1 score of 53.4 and an Exact Match (EM) of 34.3, substantially outperforming prior methods like Cloze Corpus pre-training.

Performance comparison on the SQuAD dev set shows AutoEQA significantly outperforming previous unsupervised baselines in both Exact Match (EM) and F1 scores.

Beyond span extraction, the model also proved highly effective at unsupervised sentence selection, reaching 90.3% accuracy. This suggests that the reconstruction objective is a powerful proxy for identifying relevant information within a document.

Discussion and Limitations

Analysis of the results reveals that AutoEQA is particularly adept at answering "When," "Where," and "What" questions, which typically target named entities. However, the model struggles with "Why" questions. These often require long, complex causal explanations that are harder for the phrase extractor to capture and more difficult for the decoder to use as a basis for question reconstruction.

The model's performance is currently bounded by the initial phrase extractor; if the correct answer is not among the candidate entities or noun phrases, the model cannot select it. Future work may involve integrating more sophisticated unsupervised key-phrase extraction or using the AutoEQA loss to augment supervised training in low-resource settings.

Summary updated

BibTeX
@inproceedings{varanasi2021autoeqa,
  author = {Stalin Varanasi and Saadullah Amin and Guenter Neumann},
  title = {{AutoEQA: Auto-Encoding Questions for Extractive Question Answering}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.findings-emnlp.403},
}
Figure