HAS-QA: Hierarchical Answer Spans Model for Open-Domain Question Answering

Liang Pang, Yanyan Lan, Jiafeng Guo, Jun Xu, Lixin Su, Xueqi Cheng

Introduction

Open-Domain Question Answering (OpenQA) represents a significant leap in complexity from standard Reading Comprehension (RC). While RC models typically assume the answer is present within a single, provided paragraph, OpenQA systems must retrieve and synthesize information from millions of documents. This transition introduces unique challenges that traditional RC models are ill-equipped to handle. HAS-QA (Hierarchical Answer Spans) is a novel framework designed to bridge this gap by explicitly modeling paragraph quality, aggregating evidence across multiple answer occurrences, and capturing the inherent dependency between the start and end of an answer span.

The OpenQA Challenge: Three Blind Spots

Traditional RC models applied to OpenQA often suffer from three critical "blind spots":

  1. The Noise Problem: Search engines often return paragraphs that are topically relevant but do not contain the actual answer. RC models, trained to always find a span, often "hallucinate" answers in this noise because they lack a mechanism to reject irrelevant text.
  2. The Multiple Spans Problem: In a large corpus, the correct answer (e.g., "fat") may appear multiple times within a single paragraph or across several documents. Standard models often focus only on the first occurrence, ignoring the collective evidence provided by multiple mentions.
  3. The Independence Assumption: Most architectures predict the start and end positions of an answer span as independent events. This can lead to incoherent predictions where the start and end points refer to different instances of the same word or phrase.

The HAS-QA Architecture

To address these issues, the authors propose a three-level hierarchical probabilistic framework that redefines how answer probabilities are calculated.

The HAS-QA hierarchical probabilistic framework, illustrating the Question, Paragraph, and Span levels.

1. Paragraph Quality Estimator

Instead of treating all retrieved text equally, HAS-QA employs an attention-based network to score the "answerability" of each paragraph. This allows the model to down-weight noisy or irrelevant snippets, effectively acting as a secondary filter for the search engine's results.

2. Conditional Span Predictor

To resolve the independence problem, HAS-QA utilizes a Conditional Pointer Network. Rather than calculating $P(start)$ and $P(end)$ separately, the model calculates $P(end | start)$. This ensures that the predicted span is a continuous, coherent piece of text, preventing the model from "crossing the streams" between different mentions of an answer.

3. Multiple Spans Aggregator

The model identifies all possible spans matching the answer string within a paragraph and aggregates their probabilities using functions like MAX or SUM. This allows the model to benefit from the "consensus" of multiple mentions, increasing confidence in answers that appear frequently in high-quality paragraphs.

Experimental Results and Robustness

HAS-QA was evaluated on three major benchmarks: QuasarT, TriviaQA, and SearchQA. These datasets are characterized by high "negative paragraph ratios," making them ideal tests for the model's noise-handling capabilities.

Comparison of EM performance and predicted answer length between HAS-QA and the Shared-Norm baseline across different length limitations.

As shown in the results, HAS-QA consistently outperforms traditional RC baselines and specialized OpenQA models. On QuasarT, it improved Exact Match (EM) by 4.6% over the previous state-of-the-art.

A standout feature of HAS-QA is its robustness to answer length. While previous models like Shared-Norm see performance degradation when artificial length constraints are removed, HAS-QA maintains stable performance and predicts consistent answer lengths regardless of the limitation. This suggests the model has "naturally" learned the structure of a correct answer through its conditional span prediction.

Conclusion

HAS-QA demonstrates that the key to successful OpenQA lies in moving beyond simple span selection. By modeling the hierarchy of the task—from paragraph relevance down to the conditional dependency of words—the model achieves a more robust and accurate understanding of how to find answers in the wild. Future work may involve integrating these hierarchical text-based methods with structured knowledge sources to further enhance reasoning capabilities.

Summary updated

BibTeX
@inproceedings{pang2019has,
  author = {Liang Pang and Yanyan Lan and Jiafeng Guo and Jun Xu and Lixin Su and Xueqi Cheng},
  title = {{HAS-QA: Hierarchical Answer Spans Model for Open-Domain Question Answering}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33016875},
}
Figure