TL;DR
While most Automatic Question Generation (AQG) systems are designed for short, 1-3 sentence answers, real-world applications often require processing entire paragraphs. This paper introduces a new benchmark for Long-answer AQG (LAGQ) using the Google Natural Questions dataset and demonstrates that while Transformer-based models significantly outperform traditional RNNs in handling long-range dependencies, performance still degrades as answer length increases.
What Problem Does This Paper Address?
Automatic Question Generation has massive potential in education (creating quiz questions), healthcare (improving patient literacy), and search engines. However, the field has been largely confined to a "short-answer" paradigm. Most existing datasets and models focus on generating a question from a tiny snippet of text.
In reality, answers are often complex and lengthy. If you ask a medical system "Why is the patient having this reaction?", the answer might be a detailed paragraph in a clinical record. Current models struggle with this because they cannot effectively "connect the dots" across long spans of text. This paper formalizes the LAGQ task, providing a benchmark to measure how well systems can handle answers that average 4.5 sentences or more.
Methods and Datasets
The authors compare two main architectural families:
- RNN/LSTM Baselines: Standard encoder-decoder models, including those with "Copy Mechanisms" and "Maxout Pointers" designed to reduce repetition in long sequences.
- Transformer-based Models: Models utilizing self-attention mechanisms to capture global dependencies. They specifically test a high-performing variant (
iwslt_de_en) originally designed for machine translation. - Multi-Source Transformer (MSTA): A novel approach using a reinforcement-learning-based summarizer to extract a "summary sentence" from the long answer, feeding both the full answer and the summary into a dual-input Transformer.
For the benchmark, the authors repurposed the Google Natural Questions (NQ) dataset, filtering for "long-answers" (typically Wikipedia paragraphs). This resulted in ~77,500 training examples with an average length of 4.59 sentences, compared to the ~2.2 sentences typically found in SQuAD v1.1.
Key Results
Automated metrics showed that the Transformer variant (iwslt_de_en) achieved the highest scores across the board, with a BLEU-4 of 13.90 and a ROUGE-L of 35.56, significantly beating the best RNN-based model (Maxout Pointer at 12.37 BLEU-4).
Human evaluation further highlighted the superiority of Transformers in long-context scenarios. On a scale of 1-5, Transformers scored significantly higher in both Fluency and Correctness as the number of sentences increased.
As shown in the evaluation data, for answers 6 sentences long, Transformers maintained a Fluency score of 4.46 and a Correctness score of 3.22, while the Maxout LSTM dropped to 2.54 and 1.64, respectively. This demonstrates that Transformers are much more robust to increasing context length.
Key Insights and Limitations
- The "Length Penalty": Performance for all models drops as answers get longer, confirming that long-context reasoning is a distinct hurdle for NLP.
- Summarization Challenges: Interestingly, the Multi-Source Transformer did not outperform the single-source Transformer. Automated summaries often focused on different "aspects" of the paragraph than the original human question, leading to a mismatch.
- The "Aspect" Problem: A long paragraph can trigger many different valid questions. Current models struggle to decide which "theme" to focus on, often leading to questions that are grammatically correct but do not match the human-provided "gold" question.
Future Work
Future research will likely focus on better "content selection" modules to identify the most question-worthy parts of a long text and the development of automated metrics that better capture semantic correctness in long-context settings.
Summary updated