A Multi-answer Multi-task Framework for Real-world Machine Reading Comprehension

Jiahua Liu, Wan Wei, Maosong Sun, Hao Chen, Yantao Du, Dekang LinEMNLP 2018

Abstract

Traditional Machine Reading Comprehension (MRC) models often struggle with the complexities of real-world web data, such as multiple valid answers and noisy, overlong contexts. This paper introduces a novel framework designed to handle these challenges by incorporating a multi-answer loss function, Minimum Risk Training (MRT), and an auxiliary passage-selection task. By directly optimizing for evaluation metrics and leveraging multi-task learning, the proposed model achieves a significant performance boost on the DuReader dataset, establishing a new state-of-the-art for real-world question answering.

Introduction

Most MRC research is conducted on curated datasets like SQuAD, which feature well-formed questions and single, short answer spans within clean text. However, "in the wild" scenarios, such as search engine queries, present three major hurdles:

  1. Multiple Valid Answers: Queries like "How to change spacing in Word?" may have several equally correct procedural or opinion-based responses.
  2. Multiple Occurrences: The same answer may appear across various paragraphs, making it difficult for models to identify a single "gold span" during training.
  3. Overlong Context: Real-world documents can be massive, containing significant noise that standard models are not equipped to filter.

Methodology

The proposed framework moves beyond standard Maximum Likelihood Estimation (MLE) on single answer spans to a more robust multi-task approach.

  • Passage Extraction: To manage massive documents, the authors employ a heuristic strategy that selects paragraphs based on their BLEU-4 scores relative to the question. This includes surrounding context like titles and lead sentences to provide a manageable input for the model.
  • Multi-task Learning: The model architecture jointly predicts the answer and identifies the passage most likely to contain it. This auxiliary "Passage Selection" task provides a stronger training signal for the matching layer.
  • Multi-answer Loss Functions: The authors explored three strategies for handling multiple reference answers: $L_{avg}$ (average loss), $L_{wavg}$ (weighted average based on F1-score), and $L_{min}$ (backpropagating only the lowest loss). $L_{wavg}$ was found to be the most effective, as it prioritizes high-quality human-annotated answers while still learning from all valid spans.
  • Minimum Risk Training (MRT): To address the "multiple occurrence" problem, MRT is used to optimize the ROUGE-L metric directly. Instead of forcing the model to select one specific span, MRT rewards the model for picking any span highly similar to the gold answer.
The multi-answer multi-task framework architecture, illustrating the flow from representation to answer prediction and passage selection.

Experimental Setup

The framework was primarily benchmarked on DuReader, a large-scale Chinese dataset from Baidu. DuReader is uniquely suited for this task because over 50% of its questions are annotated with multiple reference answers, compared to only ~10% in datasets like MS-MARCO.

Results and Discussion

The complete model demonstrated a dramatic improvement over existing baselines on the DuReader test set. As shown in the comparison table below, the framework achieved a ROUGE-L of 51.09, significantly outperforming the previous state-of-the-art, V-Net (44.18).

Comparison of the proposed complete model against various state-of-the-art baselines and human performance on the DuReader dataset.

Key insights from the ablation studies include:

  • Direct Metric Optimization: MRT is significantly more effective than standard cross-entropy loss when information is repeated, as it allows the model to be "correct" regardless of which instance it identifies.
  • Multi-task Synergy: The passage selection task is crucial for filtering document noise, directly boosting the performance of the primary answer extraction task.

Conclusion

This research highlights the importance of adapting MRC models to the messy reality of web-based data. While the current model is trained on multiple answers to improve internal representations, it still predicts a single answer at inference. Future work could explore generative models or multi-span extraction techniques to provide users with a comprehensive set of all valid perspectives for a single query.

Summary updated

BibTeX
@inproceedings{liu2018multi,
  author = {Jiahua Liu and Wan Wei and Maosong Sun and Hao Chen and Yantao Du and Dekang Lin},
  title = {{A Multi-answer Multi-task Framework for Real-world Machine Reading Comprehension}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2018},
  url = {https://openreview.net/forum?id=rkNXPMf_WS},
}
Figure