Skip to main content
QUICK REVIEW

[Paper Review] Robust Question Answering against Distribution Shifts with Test-Time Adaptation: An Empirical Study

Hai Ye, Yuyang Ding|arXiv (Cornell University)|Feb 9, 2023
Topic ModelingComputer Science3 citations
TL;DR

This paper proposes Online Imitation Learning (OIL), a novel test-time adaptation (TTA) method for robust question answering under distribution shifts. OIL improves model robustness by mimicking a source model's predictions while using causal inference to reduce bias, achieving state-of-the-art performance on the new benchmark Cold QA, especially when combined with robustness tuning (RT), with gains of up to 6 points on EM score over baselines.

ABSTRACT

A deployed question answering (QA) model can easily fail when the test data has a distribution shift compared to the training data. Robustness tuning (RT) methods have been widely studied to enhance model robustness against distribution shifts before model deployment. However, can we improve a model after deployment? To answer this question, we evaluate test-time adaptation (TTA) to improve a model after deployment. We first introduce COLDQA, a unified evaluation benchmark for robust QA against text corruption and changes in language and domain. We then evaluate previous TTA methods on COLDQA and compare them to RT methods. We also propose a novel TTA method called online imitation learning (OIL). Through extensive experiments, we find that TTA is comparable to RT methods, and applying TTA after RT can significantly boost the performance on COLDQA. Our proposed OIL improves TTA to be more robust to variation in hyper-parameters and test distributions over time.

Motivation & Objective

  • To investigate whether test-time adaptation (TTA) can improve QA models after deployment, especially under distribution shifts.
  • To develop a unified benchmark for evaluating robustness against text corruption, language change, and domain shift.
  • To propose a novel TTA method, Online Imitation Learning (OIL), that enhances robustness and stability under varying test distributions and hyper-parameters.
  • To evaluate the effectiveness of combining robustness tuning (RT) with TTA for improved generalization on out-of-distribution data.
  • To analyze the impact of causal inference in reducing model bias during TTA.

Proposed method

  • Proposes OIL, a TTA method that uses an expert source model to guide adaptation by imitating its predictions during test-time inference.
  • Introduces causal inference with a parameter β to mitigate bias from the source model, with β set to 1 to avoid hyperparameter tuning.
  • Employs a memory buffer with a decay rate α to maintain a history of recent test samples for stable adaptation.
  • Combines OIL with robustness tuning (RT) methods like xTune to further improve performance on distribution-shifted data.
  • Uses a unified evaluation framework, Cold QA, to benchmark robustness across text corruption, language shift, and domain shift.
  • Applies online model updates: for each test instance, the model predicts first, then updates itself using the test data and the expert model's guidance.

Experimental results

Research questions

  • RQ1Can test-time adaptation (TTA) effectively improve QA model robustness after deployment, especially when test data distribution differs from training data?
  • RQ2How does OIL compare to existing TTA baselines in terms of performance and robustness to hyper-parameter variations and changing test distributions?
  • RQ3To what extent does combining robustness tuning (RT) with TTA improve model generalization on distribution-shifted data?
  • RQ4What is the impact of causal inference in reducing bias from the source model during TTA?
  • RQ5How effective is the proposed Cold QA benchmark in evaluating robustness across multiple types of distribution shifts?

Key findings

  • TTA methods achieve performance comparable to robustness tuning (RT) methods on the Cold QA benchmark, demonstrating post-deployment adaptability.
  • Applying TTA after RT (RT+TTA) significantly boosts performance, with xTune+OIL achieving a 6-point improvement in EM score on XLMR-large compared to the baseline.
  • OIL outperforms previous TTA baselines, especially under varying hyper-parameters and changing test distributions over time, showing greater robustness.
  • Causal inference in OIL reduces model bias, and removing it leads to consistent performance drops across all test sets, confirming its importance.
  • On XLMR-base, xTune+OIL achieves 59.63 EM and 72.68 F1, outperforming xTune alone by over 4 points in EM, with the largest gains observed on text corruption and domain shift.
  • OIL maintains positive relative gains across continual adaptation across languages (e.g., from es to hi), while prior methods like PL often yield negative gains, demonstrating superior stability.

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.