[Paper Review] A Discrete Hard EM Approach for Weakly Supervised Question Answering
This paper proposes a discrete hard EM approach for weakly supervised question answering, where a precomputed set of possible solutions (e.g., answer spans or equations) is treated as a discrete latent variable. By iteratively predicting the most likely solution and updating model parameters to reinforce it, the method achieves state-of-the-art performance on six QA tasks, with absolute gains of 2–10% over prior methods, especially excelling when solution sets are large and noisy.
Many question answering (QA) tasks only provide weak supervision for how the answer should be computed. For example, TriviaQA answers are entities that can be mentioned multiple times in supporting documents, while DROP answers can be computed by deriving many different equations from numbers in the reference text. In this paper, we show it is possible to convert such tasks into discrete latent variable learning problems with a precomputed, task-specific set of possible "solutions" (e.g. different mentions or equations) that contains one correct option. We then develop a hard EM learning scheme that computes gradients relative to the most likely solution at each update. Despite its simplicity, we show that this approach significantly outperforms previous methods on six QA tasks, including absolute gains of 2--10%, and achieves the state-of-the-art on five of them. Using hard updates instead of maximizing marginal likelihood is key to these results as it encourages the model to find the one correct answer, which we show through detailed qualitative analysis.
Motivation & Objective
- To address the challenge of learning in weakly supervised question answering, where only the answer text is provided without explicit supervision on how to derive it.
- To improve model performance on tasks where multiple spurious derivations (e.g., multiple answer mentions or equations) can yield the correct answer.
- To develop a training method that better identifies the single correct solution among many plausible candidates, rather than maximizing marginal likelihood over all options.
- To demonstrate that hard EM updates—focusing on the most likely solution at each step—lead to stronger inductive bias toward the true solution compared to soft or marginal likelihood methods.
Proposed method
- Treat the set of possible answer derivations (e.g., spans in a document or equations from numbers) as a discrete latent variable Z, precomputed for each example.
- Use a model to predict the most likely solution z ∈ Z at each training step based on current parameters.
- Update model parameters to maximize the likelihood of the predicted z, using a hard EM-style update that focuses on the single most probable solution.
- Iterate between prediction (E-step) and parameter update (M-step) until convergence, with the model gradually assigning higher probability to the correct solution.
- Apply the method to diverse QA tasks including multi-mention reading comprehension, discrete reasoning (DROP), and semantic parsing (WikiSQL), using strong model architectures like BERT.
- Ensure robustness by testing under noisy Z sets (e.g., via ROUGE-L thresholding), showing the method is less sensitive to spurious solutions than MML-based baselines.
Experimental results
Research questions
- RQ1Can a discrete latent variable formulation with a precomputed solution set improve learning in weakly supervised QA tasks?
- RQ2Does hard EM—focusing on the most likely solution at each update—outperform marginal likelihood maximization in identifying the correct answer?
- RQ3How does the method perform when the solution set Z contains many spurious options, especially in tasks like DROP and WikiSQL?
- RQ4Is the method robust to noise in the precomputed solution set Z, such as when Z is constructed via heuristic methods like ROUGE-L?
- RQ5To what extent does the model learn to assign high probability to the correct solution, and how does this compare to MML-based training?
Key findings
- The proposed hard EM method achieves absolute gains of 2–10% over previous methods on six diverse QA tasks, including TriviaQA, NarrativeQA, DROP, and WikiSQL.
- On WikiSQL, the method outperforms recent state-of-the-art reward-based semantic parsing models by 13% absolute percentage, demonstrating its effectiveness in complex reasoning tasks.
- The method is particularly effective when |Z| > 3, with performance gaps over MML increasing as the solution set size grows, indicating better handling of ambiguity.
- Qualitative analysis shows the model progressively learns to assign higher probability to the correct solution, with 98% of correct predictions on NarrativeQA and 92% on DROP ${}_{\text{num}}$ producing the correct solution.
- The model is robust to noise in Z: when Z size increased from 4.3 to 7.1 via looser ROUGE-L thresholds, MML performance dropped by 4.93 points, while the hard EM method dropped only 0.80 points.
- The model occasionally makes wrong predictions (e.g., favoring '37-36' over '40-36' on DROP), but recovers and corrects itself, showing dynamic learning behavior consistent with hard EM.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.