Skip to main content
QUICK REVIEW

[Paper Review] QAInfomax: Learning Robust Question Answering System by Mutual Information Maximization

Yi‐Ting Yeh, Yun-Nung Chen|arXiv (Cornell University)|Aug 31, 2019
Topic ModelingComputer Science18 references7 citations
TL;DR

This paper proposes QAInfomax, a mutual information maximization regularizer that improves question answering robustness by encouraging models to learn deeper, more generalizable representations. By maximizing mutual information between passages, questions, and answers using a modified deep infomax framework, QAInfomax significantly boosts performance on the adversarial Adversarial-SQuAD benchmark without additional training data, achieving state-of-the-art results.

ABSTRACT

Standard accuracy metrics indicate that modern reading comprehension systems have achieved strong performance in many question answering datasets. However, the extent these systems truly understand language remains unknown, and existing systems are not good at distinguishing distractor sentences, which look related but do not actually answer the question. To address this problem, we propose QAInfomax as a regularizer in reading comprehension systems by maximizing mutual information among passages, a question, and its answer. QAInfomax helps regularize the model to not simply learn the superficial correlation for answering questions. The experiments show that our proposed QAInfomax achieves the state-of-the-art performance on the benchmark Adversarial-SQuAD dataset.

Motivation & Objective

  • To address the limitation of modern question answering models that rely on superficial correlations in training data rather than true comprehension.
  • To improve model robustness against adversarial examples, particularly distractor sentences that are semantically related but irrelevant to the answer.
  • To develop a regularizer that encourages models to learn representations sensitive to meaningful context, not just lexical overlap.
  • To apply deep infomax-based mutual information estimation to the NLP domain for representation learning in extractive QA.

Proposed method

  • QAInfomax maximizes mutual information (MI) between passages, questions, and answers using a neural estimator based on the deep infomax (DIM) framework.
  • It employs a discriminator network to distinguish between positive (joint) and negative (product of marginals) samples, using a binary cross-entropy loss for stable MI estimation.
  • The method introduces two constraints: Local Consistency (LC) to align answer representations with question and passage, and Global Consistency (GC) to align overall representations.
  • The GC component uses a summarization function (e.g., mean, max, or sample) to pool representations before computing MI, enhancing robustness to architectural choices.
  • The MI estimation uses a modified lower bound that combines both forward and reverse MI terms, improving empirical performance.
  • The regularizer is integrated into BERT-based QA models via joint optimization with standard cross-entropy loss, with hyperparameters tuned for stability and performance.

Experimental results

Research questions

  • RQ1Can mutual information maximization improve the robustness of question answering models to adversarial distractor sentences?
  • RQ2Does MI-based regularization help models avoid overfitting to superficial lexical correlations in training data?
  • RQ3How does QAInfomax compare to existing methods like generative loss functions in improving generalization on adversarial benchmarks?
  • RQ4What is the impact of different MI estimation strategies and summarization functions on model performance and training efficiency?

Key findings

  • QAInfomax achieves state-of-the-art performance on the Adversarial-SQuAD dataset, with a 54.5 F1 score on the AddSent metric and 64.9 on AddOneSent, outperforming vanilla BERT and prior methods.
  • The model shows substantial improvement on AddSent (54.5 vs. 51.0 for BERT), indicating stronger resistance to the worst-case adversarial examples.
  • Both Local Consistency and Global Consistency components are essential, as ablation shows performance drops when either is removed.
  • The Mean summarization function for GC yields the best performance, though Max and Sample also perform competitively, showing robustness to architectural choices.
  • The method improves robustness without degrading standard SQuAD performance, indicating compatibility with standard training objectives.
  • Training speed decreases by 28% due to GC, but the trade-off is justified by significant gains in adversarial robustness.

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.