- Introduced by
- Multiple authors (Clark, Gardner, Min et al.)
- Year
- 2017–2019
- Type
- Weakly supervised NLP model
- Family
- Deep learning / NLP / CV
What does it do?
Weakly supervised question answering (WS-QA) trains neural reading-comprehension models using indirect or automatically derived answer labels rather than expensive human-annotated span annotations.
By exploiting distant supervision, heuristic labeling, or answer-presence signals, WS-QA can make QA feasible in domains and languages where full annotation is impractical, provided the weak signals are precise enough.
The intuition behind the method
Fully supervised QA requires human annotators to mark exact answer spans in every passage, which is slow and costly. Weakly supervised QA sidesteps this by using cheaper signals: for instance, knowing only that a passage contains the correct answer string, without being told exactly where. The model must learn to pinpoint the answer from these noisy hints. Iterative training, hard expectation-maximization, or confidence-based filtering gradually sharpens the model despite the imperfect labels.
History
Work on weakly supervised QA appeared in roughly 2017 to 2019. Clark and Gardner (2018) addressed multi-paragraph reading comprehension. Min et al. (2019) introduced a discrete hard EM approach that treats the answer location as a latent variable under weak supervision.
When to use it
Use weakly supervised QA when labeled answer-span annotations are unavailable or too expensive, but an indirect signal exists, such as known answer strings, knowledge-base facts, or binary answer-present flags. It suits low-resource domains such as medical, legal, or scientific text, where expert annotation is scarce, and new languages that lack large supervised QA datasets. When fully span-annotated data is available, supervised fine-tuning is the more direct choice, and weak supervision should not replace it without a direct comparison on the same verified test set. Avoid the method when the weak labels carry too little correct signal to learn from, or when span precision is legally or clinically critical and no human verification step is planned.
Limitations and considerations
- Answer quality is bounded by the quality and coverage of the weak signals; highly noisy signals can yield poorly calibrated models.
- Label noise can cause the model to learn spurious correlations between surface patterns and answers.
- Evaluation is harder because weak labels can inflate apparent performance if the test set shares the same bias as the training labels.
- Iterative self-training risks reinforcing early model errors and creating confirmation loops.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Allows QA model training without span-level annotation by using weak signals that are cheap to obtain.
- Can be applied in low-resource domains and languages where fully labeled QA datasets are absent.
- Can use pre-trained reader models such as BERT, RoBERTa, or T5 as the backbone.
- Iterative self-training can, in principle, improve on the quality of the initial weak labels when confidence filtering keeps errors out of the pseudo-labels.
- Distant supervision from answer strings or knowledge bases can be generated at scale at low cost.
Applications
- Open-domain QA over large document corpora where span annotation is infeasible.
- Medical and scientific QA where expert annotators are expensive and scarce.
- Cross-lingual QA for low-resource languages using knowledge-base distant supervision.
- Enterprise knowledge-base QA using entity-answer presence flags as weak labels.
How it works
How it works
Weak supervision signals are collected automatically, for example by string-matching known answer strings against retrieved passages (distant supervision), using answer-presence flags as binary labels, or applying heuristic rules. This avoids the bottleneck of annotating exact answer spans by hand.
For each question, a retrieval step fetches a set of candidate passages or answer spans. Candidates may come from an information-retrieval system, from a generative model, or from enumeration of plausible n-gram spans within the passage.
The model is trained on the noisy, automatically derived labels. Techniques such as hard expectation-maximization, confidence thresholding, or reweighting of noisy examples limit the effect of label noise. In the hard EM approach of Min et al. (2019), the answer location is treated as a latent variable that is re-selected during training.
A reader module, typically a pre-trained language model such as BERT or RoBERTa, scores each candidate span or generates an answer string. For extractive QA, the span with the highest predicted probability is returned. For generative QA, a sequence is decoded.
After an initial training pass, high-confidence model predictions are used as pseudo-labels to retrain the model in further rounds. This self-training loop can reduce the effect of the original weak labels, but only if low-confidence or wrong predictions are filtered out before retraining. Both the confidence threshold and the number of rounds are dataset-specific and should be tuned on a held-out set. A common stopping rule is to end the loop when held-out performance no longer improves.
Common pitfalls
- Using answer-string matching as the only weak signal without checking for ambiguous strings that appear in irrelevant contexts.
- Evaluating on a test set derived from the same weak-labeling pipeline as training, which inflates reported accuracy.
- Skipping confidence filtering during self-training and allowing all model predictions to become pseudo-labels.
- Treating the model's output confidence as calibrated when the training signal was noisy.
Frequently asked questions
What counts as weak supervision in QA?
Any label that is cheaper than a human-annotated answer span: knowing only that a passage contains the answer string (distant supervision), a binary yes/no flag for answer presence, or automatically extracted answer candidates from a knowledge base.
How does hard EM help with noisy labels?
Hard expectation-maximization treats the correct passage or span as a latent variable. At each iteration it picks the highest-scoring candidate as the pseudo-ground-truth and updates the model, iteratively sharpening localization despite the absence of exact annotations.
Can I use weakly supervised QA with GPT-style models?
The reader modules described on this page are typically pre-trained encoder models such as BERT or RoBERTa that score candidate spans. Transferring these methods to large decoder-only generative models is a separate question and should not be assumed. Validate any such adaptation on a held-out set with human-verified answer spans, and check how sensitive it is to label noise.
When should I prefer semi-supervised over weakly supervised QA?
Choose semi-supervised QA when you have a small but clean set of span-annotated examples alongside a large unlabeled corpus. Choose weakly supervised QA when even a small clean set is unavailable but indirect answer signals exist.
How do I evaluate a weakly supervised QA model fairly?
Use a held-out test set with human-verified answer spans that was not derived from the same weak-labeling pipeline as training. Standard metrics are Exact Match and F1 over the answer string.
Related methods
Sources
Clark, C., & Gardner, M. (2018). Simple and Effective Multi-Paragraph Reading Comprehension. In Proceedings of ACL 2018, pp. 845–855. Association for Computational Linguistics.
Open publication referenceMin, S., Chen, D., Hajishirzi, H., & Zettlemoyer, L. (2019). A Discrete Hard EM Approach for Weakly Supervised Question Answering. In Proceedings of EMNLP-IJCNLP 2019, pp. 2083–2093. Association for Computational Linguistics.
Open publication reference