[Paper Review] End-to-End Synthetic Data Generation for Domain Adaptation of Question Answering Systems
This paper proposes an end-to-end, single-model approach for synthetic question answering (QA) data generation using a fine-tuned BART-based encoder-decoder transformer. The model generates questions and answers token-by-token from a passage, using the language model likelihood as a filtering score, achieving state-of-the-art domain adaptation performance on NQ, BioASQ, NewsQA, and DuoRC with gains of over 8 points in EM on NQ and 4+ points on other datasets.
We propose an end-to-end approach for synthetic QA data generation. Our model comprises a single transformer-based encoder-decoder network that is trained end-to-end to generate both answers and questions. In a nutshell, we feed a passage to the encoder and ask the decoder to generate a question and an answer token-by-token. The likelihood produced in the generation process is used as a filtering score, which avoids the need for a separate filtering model. Our generator is trained by fine-tuning a pretrained LM using maximum likelihood estimation. The experimental results indicate significant improvements in the domain adaptation of QA models outperforming current state-of-the-art methods.
Motivation & Objective
- To address the limitations of multi-stage synthetic QA data generation pipelines that suffer from error propagation and high computational cost.
- To eliminate the need for separate span detection and question filtering modules by integrating answer and question generation into a single end-to-end model.
- To improve domain adaptation of QA systems by generating high-quality synthetic QA pairs using only a single fine-tuned transformer model.
- To evaluate whether language model likelihood scores can effectively replace dedicated filtering models for synthetic QA data.
Proposed method
- Use a single transformer-based encoder-decoder model (BART) fine-tuned via maximum likelihood estimation to generate both answers and questions conditioned on a passage.
- Train three variants: AQGen (answer then question), QAGen (question then answer), and QAGen2S (question first, then answer in a second pass with context concatenation).
- Use the log-likelihood of the generated sequence as a filtering score to rank and select high-quality QA pairs, eliminating the need for a separate filtering model.
- Apply the model to generate synthetic QA pairs on target domain passages (e.g., NQ, PubMed) and fine-tune downstream RC models with both synthetic and source-domain (SQuAD) data.
- Compare performance using LM-based filtering, round-trip filtering, and no filtering to evaluate filtering effectiveness.
- Conduct ablation studies on dataset size and model capacity to assess scalability and robustness across small and large RC models.
Experimental results
Research questions
- RQ1Can a single end-to-end transformer model effectively generate both questions and answers from a passage without separate modules for span detection or filtering?
- RQ2Does the language model likelihood score correlate strongly enough with downstream F1 to serve as a reliable surrogate for filtering synthetic QA pairs?
- RQ3How does end-to-end synthetic data generation compare to multi-stage pipelines in terms of performance and efficiency for domain adaptation in QA?
- RQ4To what extent can synthetic data generated from a source domain (SQuAD) improve performance on diverse target domains (e.g., NQ, BioASQ, NewsQA)?
- RQ5Can the proposed method improve both small and large pre-trained language models (e.g., BERT-base, RoBERTa-large) in low-resource domain adaptation settings?
Key findings
- QAGen2S, which generates questions first and then answers using a second pass with concatenated context, achieves the best performance, improving the SQuAD baseline by 8.1 points in EM and 7.3 points in F1 on the Natural Questions dataset.
- On BioASQ and NewsQA, QAGen2S improves EM by over 4 points, demonstrating strong generalization across diverse domains.
- Using LM likelihood as a filtering score correlates strongly with downstream F1, though it is noisy and requires high thresholds to achieve high-quality samples.
- Synthetic data from QAGen2S improves in-domain performance on SQuAD dev by 3.1/2.2 points in F1/EM for RoBERTa-large and 1.0/0.5 points for BERT-base-uncased.
- The end-to-end model outperforms both three-stage baselines and alternative generation orders (AQGen, QAGen), proving the effectiveness of joint generation and bidirectional context in the second pass.
- Performance improves with increasing synthetic dataset size, especially when SQuAD data is not used, confirming the value of synthetic data in low-resource settings.
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.