[Paper Review] Efficient and Robust Question Answering from Minimal Context over Documents
This paper proposes a minimal-context question answering system that selects only the most relevant sentences from documents using a lightweight sentence selector, significantly reducing training and inference time (up to 15x and 13x respectively) while maintaining or improving accuracy on SQuAD, NewsQA, TriviaQA, SQuAD-Open, and SQuAD-Adversarial. The approach enhances robustness to adversarial inputs by filtering out misleading sentences early in the pipeline.
Neural models for question answering (QA) over documents have achieved significant performance improvements. Although effective, these models do not scale to large corpora due to their complex modeling of interactions between the document and the question. Moreover, recent work has shown that such models are sensitive to adversarial inputs. In this paper, we study the minimal context required to answer the question, and find that most questions in existing datasets can be answered with a small set of sentences. Inspired by this observation, we propose a simple sentence selector to select the minimal set of sentences to feed into the QA model. Our overall system achieves significant reductions in training (up to 15 times) and inference times (up to 13 times), with accuracy comparable to or better than the state-of-the-art on SQuAD, NewsQA, TriviaQA and SQuAD-Open. Furthermore, our experimental results and analyses show that our approach is more robust to adversarial inputs.
Motivation & Objective
- To investigate the minimal context required to answer questions in document-based QA, finding that most questions can be answered with just a few sentences.
- To develop a scalable QA system that reduces computational cost by selecting only the most relevant sentences per question, rather than processing entire documents.
- To improve robustness against adversarial inputs by filtering out misleading or adversarial sentences before they reach the QA model.
- To create a flexible framework that integrates with existing QA models without end-to-end retraining, enabling plug-and-play efficiency gains.
Proposed method
- A sentence selector is designed to identify the minimal set of sentences required to answer each question, dynamically selecting varying numbers of sentences per question rather than using a fixed window.
- The selector uses three key techniques: weight transfer from pre-trained models, data augmentation via sentence masking, and score normalization to improve selection reliability.
- The method operates as a pre-processing step before a standard QA model, allowing compatibility with existing architectures like DCN+ without requiring end-to-end fine-tuning.
- The system is evaluated using a pipeline where the sentence selector feeds only relevant sentences to the QA model, reducing context length and computational load.
- The approach is evaluated across five datasets with diverse document lengths, including adversarial variants, to assess efficiency and robustness.
- The sentence selector is trained using a combination of supervised signal from answer spans and contrastive learning to prioritize sentences containing the answer.
Experimental results
Research questions
- RQ1What is the minimal amount of context (in terms of sentences) required to answer a question in existing QA datasets?
- RQ2Can a lightweight sentence selector that dynamically selects variable-length sentence sets improve QA efficiency without sacrificing accuracy?
- RQ3How does reducing context length affect model robustness to adversarial inputs?
- RQ4Can a modular sentence selection component be effectively combined with existing QA models to improve training and inference speed?
- RQ5Does filtering out irrelevant or adversarial sentences lead to more reliable predictions in extractive QA?
Key findings
- On SQuAD, 92% of answerable questions can be answered using only a single sentence, indicating that most questions require minimal context.
- The proposed system achieves up to 15x reduction in training time and up to 13x reduction in inference time across multiple datasets, including SQuAD and TriviaQA.
- On SQuAD-Adversarial, the minimal-context approach outperforms the full-document baseline by 11.1 and 11.5 F1 points on AddSent and AddOneSent tasks, respectively, demonstrating superior robustness.
- The sentence selector successfully filters out adversarial sentences, causing the QA model to focus on the correct answer span even when adversarial sentences are present in the document.
- The method achieves state-of-the-art or competitive performance on SQuAD, NewsQA, TriviaQA, SQuAD-Open, and SQuAD-Adversarial, with accuracy comparable to or better than existing models.
- The approach is modular and compatible with existing QA models, enabling significant speedups without requiring retraining or architectural changes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.