Simulating Bandit Learning from User Feedback for Extractive Question Answering

Ge Gao, Eunsol Choi, Yoav Artzi

Introduction

The traditional lifecycle of Natural Language Processing (NLP) models follows a rigid "train then deploy" sequence. Large, expensive datasets are curated, models are trained to convergence, and then they are frozen for deployment. This static approach prevents models from improving through real-world interaction and makes them brittle when faced with new domains.

This paper proposes a shift toward "learning on the job" for extractive question-answering (QA) systems. By framing QA as a contextual bandit problem, the authors demonstrate that models can achieve high performance starting from minimal supervision or adapt to entirely new domains using only simple binary feedback (e.g., "Is this answer correct?").

Figure 1: Conceptual overview of the model learning from binary user feedback (thumbs up/down) to improve answer accuracy over time.

The Problem: Static Models and Costly Data

Collecting gold-standard data for extractive QA is notoriously difficult. Annotators must not only find the answer but also precisely highlight the start and end indices within a document. This high cost limits the scalability of QA systems, especially when moving from general domains like Wikipedia to specialized fields like legal or medical documentation.

Furthermore, static models cannot correct their own errors once deployed. If a model consistently fails on a specific type of query, it remains broken until a new training cycle is initiated with fresh manual annotations.

Methodology: QA as a Contextual Bandit Problem

To enable continuous learning, the authors treat extractive QA as a contextual bandit problem. In this setup:

  • Context: The input question and the associated document.
  • Action: The specific text span selected by the model as the answer.
  • Reward: A binary signal provided by the user (1.0 for a correct answer, -0.1 for an incorrect one).

The researchers explored two learning modes:

  1. Online Learning: The model updates its parameters immediately after each interaction using a policy gradient approach. To maintain a positive user experience, the model predicts the most likely answer (arg max) rather than sampling randomly.
  2. Offline Learning: The model logs interactions over time and performs batch updates using Inverse Propensity Scoring (IPS) to correct for the evolving policy.

To evaluate these methods at scale, the authors simulated user feedback using the MRQA benchmark, which includes datasets like SQuAD, HotpotQA, Natural Questions (NQ), NewsQA, SearchQA, and TriviaQA. If the model's predicted span matched the ground-truth answer in the dataset, it received a positive reward.

Key Results: Massive Gains from Minimal Data

The experiments revealed that bandit learning is highly effective at "jumpstarting" models with very few labels. A model initialized with only 64 supervised examples—which typically performs poorly—can reach near state-of-the-art levels through feedback alone.

Figure 2: Performance (F1 score) across six datasets. The lower numbers (red) represent the starting performance with 64, 256, or 1024 examples, while the top numbers show the final performance after learning from simulated feedback.

As shown in Figure 2, on the SQuAD dataset, a model starting at a meager 18.0 F1 score (with 64 examples) soared to 81.6 F1 after processing simulated feedback. Similar dramatic improvements were observed across all datasets in the MRQA benchmark.

Domain Adaptation

One of the most significant findings is the model's ability to adapt to new domains without any new manual labels. For instance, a model pre-trained on SearchQA (web snippets) and then deployed on SQuAD (Wikipedia) improved its performance from 45 F1 to 84 F1 solely through user feedback. This suggests that bandit learning can effectively bridge the gap between disparate data distributions.

Robustness to Noisy Feedback

Real-world users are not perfect. The authors tested the models' resilience by introducing noise into the feedback signal. The systems remained robust when up to 8% of the feedback was flipped (incorrectly labeled), though performance began to degrade significantly at a 20% noise level.

Conclusion and Future Directions

This research demonstrates that simple binary feedback is a powerful signal for training and adapting extractive QA models. By moving away from the "train then deploy" paradigm, we can build systems that are more efficient, adaptable, and capable of continuous improvement.

Future work should address the "cold start" problem—ensuring models provide enough correct answers early on to receive positive reinforcement—and explore more granular reward signals beyond simple binary "Yes/No" feedback. Additionally, testing these algorithms with actual human users will be crucial to understanding the impact of subjective and biased feedback in real-world deployments.

Summary updated

BibTeX
@inproceedings{gao2022simulating,
  author = {Ge Gao and Eunsol Choi and Yoav Artzi},
  title = {{Simulating Bandit Learning from User Feedback for Extractive Question Answering}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.355},
}
Figure