Abstract
Extractive Question Answering (QA) models often struggle to identify the correct instance of an answer when it appears multiple times in a passage. This paper introduces BLANC (BLock AttentioN for Context prediction), which incorporates an auxiliary context-prediction task to improve evidence localization. By forcing the model to identify the relevant surrounding context through a novel block attention mechanism, BLANC achieves state-of-the-art performance on benchmarks like NaturalQuestions and demonstrates strong zero-shot transfer to supporting fact prediction.
Introduction
In extractive Question Answering (QA), models like BERT scan a passage to identify the specific string of text that answers a question. While highly proficient, these models exhibit a subtle but significant flaw: they often fail to distinguish between multiple occurrences of the same answer string. If a correct answer appears several times in a long article, standard models frequently struggle to select the specific instance that relates to the question's context. They find the right text, but in the wrong place.
A team from KAIST and NAVER AI Lab addressed this "context-span discrepancy" by introducing BLANC (BLock AttentioN for Context prediction). BLANC improves extractive QA by requiring models to not only find the correct answer text but also identify the relevant surrounding context.
The Context-Span Discrepancy
Standard extractive QA models are typically trained to predict the start and end indices of an answer. However, in realistic datasets such as Google's NaturalQuestions, the answer text often appears multiple times in a single passage.
The authors identify a critical discrepancy: models often achieve high "Exact Match" (EM) scores because they find the correct text string, but their "Span-EM" scores—which require matching the specific location in the text—are significantly lower. This suggests that models are often "guessing" the answer based on word matching rather than truly understanding the contextual relationship between the question and the specific evidence. As the number of answer occurrences in a passage increases, the performance of standard models like BERT drops significantly.
Methodology: The BLANC Framework
The authors propose BLANC, which introduces three main innovations to the transformer architecture:
- Soft-Labeling for Latent Context: Since "context" is not explicitly labeled in most QA datasets, the authors create "soft labels." They assume that words immediately surrounding a ground-truth answer are likely part of the relevant context. A decay function assigns probabilities to surrounding words, creating a "neighborhood" of relevance.
- Block Attention Mechanism: This new layer predicts a "context block" (a start and end point for the relevant evidence) rather than just the answer span. It calculates the probability of every word in the passage being part of the supporting context.
- Multi-Task Learning: The model is trained with a joint loss function. This forces the transformer's internal representations to become more "context-aware" by minimizing error for both the answer span and the auxiliary context prediction task.
Experimental Evaluation
The researchers evaluated BLANC across several major benchmarks:
- SQuAD 1.1: A classic benchmark where the answer usually appears only once.
- NaturalQuestions (NQ) & NewsQA: Curated versions used to test realistic scenarios where answer text frequently appears in multiple locations.
- HotpotQA: Used for a zero-shot supporting facts prediction experiment to test the model's ability to localize evidence without specific training.
Key Results and Insights
BLANC consistently outperformed BERT, RoBERTa, and SpanBERT across all datasets. On NaturalQuestions, BLANC (base) achieved a Span-EM of 64.57, compared to SpanBERT’s 62.71.
A key finding was BLANC's robustness to multi-mention passages. The performance gap between BLANC and baselines widened as the number of answer occurrences increased. For passages where the answer appeared five or more times, BLANC maintained significantly higher accuracy while other models faltered.
Furthermore, BLANC demonstrated remarkable generalizability. In the HotpotQA supporting fact task, BLANC achieved 39.80% accuracy in a zero-shot setting, significantly higher than RoBERTa (37.93%) and SpanBERT (34.79%). This suggests that by forcing the model to predict surrounding context, BLANC learns a fundamental skill of "evidence localization" that transfers across domains.
Conclusion
The paper highlights that current QA evaluation (standard EM) is often too lenient. By introducing Span-EM and the BLANC model, the authors show that context prediction acts as a powerful regularizer, preventing models from over-fitting on simple string matching. While BLANC requires tuning hyperparameters like the context loss weight, its ability to find the "right answer in the right place" represents a significant step forward for robust extractive QA.
Reference: Seonwoo, Y., Kim, J. H., Ha, J. W., & Oh, A. (2020). Context-Aware Answer Extraction in Question Answering. Proceedings of EMNLP 2020.
Summary updated