Skip to main content
QUICK REVIEW

[Paper Review] Multi-task Learning with Sample Re-weighting for Machine Reading Comprehension

Yichong Xu, Xiaodong Liu|arXiv (Cornell University)|Sep 18, 2018
Topic ModelingComputer Science45 references6 citations
TL;DR

This paper proposes a multi-task learning framework with sample re-weighting for machine reading comprehension (MRC), improving model generalization across diverse MRC tasks. By assigning dynamic, data-driven weights to training samples from auxiliary domains (e.g., NewsQA, MS MARCO), the method enhances performance on SQuAD and other benchmarks, achieving state-of-the-art results—surpassing human performance on NewsQA by 13.4 points in exact match when combined with ELMo embeddings.

ABSTRACT

We propose a multi-task learning framework to learn a joint Machine Reading Comprehension (MRC) model that can be applied to a wide range of MRC tasks in different domains. Inspired by recent ideas of data selection in machine translation, we develop a novel sample re-weighting scheme to assign sample-specific weights to the loss. Empirical study shows that our approach can be applied to many existing MRC models. Combined with contextual representations from pre-trained language models (such as ELMo), we achieve new state-of-the-art results on a set of MRC benchmark datasets. We release our code at https://github.com/xycforgithub/MultiTask-MRC.

Motivation & Objective

  • To improve generalization in MRC models by leveraging diverse, multi-domain training data.
  • To address the challenge of suboptimal performance when combining multiple MRC datasets without effective sample weighting.
  • To develop a flexible, trainable re-weighting mechanism that assigns higher importance to more informative or similar samples from auxiliary tasks.
  • To demonstrate that multi-task learning with sample re-weighting can outperform single-task learning and existing MTL baselines.
  • To enable efficient, end-to-end training without relying on pre-trained language models or complex data augmentation.

Proposed method

  • Introduces a multi-task learning framework, MT-SAN, that jointly trains on multiple MRC datasets (e.g., SQuAD, NewsQA, MS MARCO) using a shared encoder and task-specific heads.
  • Proposes a sample re-weighting scheme that computes sample-specific weights based on question and answer quality using language model scores and answer length normalization.
  • Uses normalized scores (H′_Q and H′_A) to estimate the informativeness of each question-answer pair, with higher scores indicating greater relevance to the target task.
  • Applies a loss function that combines task-specific losses weighted by these dynamically computed sample weights, improving training signal for relevant samples.
  • Employs a CED′ metric to aggregate question and answer quality scores, used to guide the re-weighting process.
  • Introduces a mixture ratio baseline for comparison, where training data from auxiliary tasks is sampled at a fixed hyperparameter ratio.

Experimental results

Research questions

  • RQ1Can multi-task learning across diverse MRC datasets improve generalization and performance on a target MRC task?
  • RQ2How does sample re-weighting based on question and answer quality compare to fixed mixture ratio sampling in multi-task MRC training?
  • RQ3Can the proposed re-weighting scheme reduce sensitivity to hyperparameter tuning compared to ratio-based sampling?
  • RQ4Does the multi-task framework with sample re-weighting achieve state-of-the-art performance when combined with contextual embeddings like ELMo?
  • RQ5How does the model perform on out-of-domain datasets like NewsQA and MS MARCO, especially in comparison to human performance?

Key findings

  • The proposed sample re-weighting method achieves a 0.6% absolute improvement in EM and F1 on SQuAD+MARCO and up to 1% on all three datasets compared to the naive data combination baseline.
  • On the NewsQA dataset, the model surpasses human performance by 13.4 points in exact match (46.5 vs. 59.9) and 3.2 points in F1 (72.6 vs. 69.4).
  • The model achieves state-of-the-art performance on both NewsQA and TriviaQA, demonstrating strong generalization across domains.
  • The mixture ratio approach is highly sensitive to hyperparameter choice, with performance dropping by ~0.5% when deviating from the optimal α=0.4, highlighting the need for robust re-weighting.
  • Sample re-weighting outperforms task uncertainty weighting (Kendall et al., 2018) and eliminates the need for grid search over hyperparameters, improving training efficiency.
  • The method is orthogonal and complementary to pre-trained embeddings like ELMo, with further performance gains when both are combined.

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.