Skip to main content
QUICK REVIEW

[Paper Review] Stochastic Answer Networks for SQuAD 2.0

Xiaodong Liu, Wei Li|arXiv (Cornell University)|Sep 24, 2018
Topic ModelingComputer Science13 references18 citations
TL;DR

This paper proposes a joint learning framework extending the Stochastic Answer Network (SAN) for machine reading comprehension on SQuAD 2.0, integrating a span detector and a binary unanswerable classifier trained jointly. The model achieves state-of-the-art performance without using large pre-trained language models like ELMo, attaining 69.27 EM and 72.20 F1 on the development set, demonstrating the effectiveness of joint optimization for handling unanswerable questions.

ABSTRACT

This paper presents an extension of the Stochastic Answer Network (SAN), one of the state-of-the-art machine reading comprehension models, to be able to judge whether a question is unanswerable or not. The extended SAN contains two components: a span detector and a binary classifier for judging whether the question is unanswerable, and both components are jointly optimized. Experiments show that SAN achieves the results competitive to the state-of-the-art on Stanford Question Answering Dataset (SQuAD) 2.0. To facilitate the research on this field, we release our code: https://github.com/kevinduh/san_mrc.

Motivation & Objective

  • To address the challenge of detecting unanswerable questions in machine reading comprehension, a key limitation in existing models.
  • To improve model generalization and robustness by jointly training a span detector and an unanswerable classifier.
  • To develop a simple yet effective architecture that avoids reliance on large pre-trained language models like ELMo.
  • To demonstrate that joint optimization of answer span detection and unanswerability prediction enhances overall performance on SQuAD 2.0.

Proposed method

  • The model extends SAN with a shared lower layer (lexicon encoding, contextual encoding, memory generation) and task-specific top layers for span detection and unanswerable classification.
  • Lexicon encoding uses 300D GloVe embeddings, 16D POS, 8D NER, and 4D hard-rule features, with question-enhanced passage embeddings for soft matching.
  • Contextual encoding employs a two-layer BiLSTM with CoVe vectors concatenated to improve contextual representation.
  • The unanswerable classifier is a one-layer feedforward network that performs pair-wise classification to determine if a question-passage pair is unanswerable.
  • Joint training is performed using a multi-task loss combining span detection and binary classification, with a hyperparameter λ balancing the two objectives.
  • During inference, if the classifier predicts unanswerability with probability >0.5, the answer is set to NULL.

Experimental results

Research questions

  • RQ1Can joint optimization of span detection and unanswerable question classification improve performance on SQuAD 2.0 compared to separate training?
  • RQ2How does the performance of the proposed model compare to state-of-the-art models that use large pre-trained language models like ELMo?
  • RQ3Does incorporating a dedicated unanswerable classifier improve the model’s ability to detect unanswerable questions without degrading answer span detection?
  • RQ4What is the optimal balance between the span detection and unanswerability classification objectives in the joint training setup?
  • RQ5Can a model without ELMo achieve competitive results on SQuAD 2.0 by leveraging joint learning and architectural design?

Key findings

  • The joint model (Joint SAN) outperforms the standalone SAN baseline by +1.38 in EM (69.27 vs. 67.89) and +1.52 in F1 (72.20 vs. 70.68) on the SQuAD 2.0 development set.
  • Adding classifier output during inference (Joint SAN + Classifier) yields a further +0.46 improvement in F1 (72.66), showing the benefit of explicit unanswerability prediction.
  • The unanswerable classifier achieves 75.3% accuracy on the development set at a threshold of 0.5, increasing to 76.8% at λ=1.5.
  • The model achieves state-of-the-art performance on the development set without using ELMo, outperforming complex models like R.M-Reader + Verifier by 0.7 in F1 score.
  • The model demonstrates that joint learning improves both components: when the model predicts NULL, the classifier consistently assigns high probability to unanswerability.
  • ELMo provides a significant boost (e.g., +2.8 F1 points for DocQA), suggesting that future integration of ELMo could further improve performance.

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.