Abstract
In education, open-ended quiz questions have become an important tool for assessing the knowledge of students. Yet, manually preparing such questions is a tedious task, and thus automatic question generation has been proposed as a possible alternative. So far, the vast majority of research has focused on generating the question text, relying on question answering datasets with readily picked answers, and the problem of how to come up with answer candidates in the first place has been largely ignored. Here, we aim to bridge this gap. In particular, we propose a model that can generate a specified number of answer candidates for a given passage of text, which can then be used by instructors to write questions manually or can be passed as an input to automatic answer-aware question generators. Our experiments show that our proposed answer candidate generation model outperforms several baselines.
Introduction
In the field of Natural Language Processing (NLP) for education, "Answer-Aware Question Generation" has seen significant progress. However, existing systems typically require a human to provide a specific "target answer" before the AI can generate a corresponding question. In practical educational settings, this still leaves instructors with the labor-intensive task of identifying suitable facts and phrases within a text to serve as answers.
This research addresses the overlooked first step: Answer Candidate Generation (ACG). The goal is to automate the selection of phrases that make for high-quality quiz answers. While simple methods like Named Entity Recognition (NER) or noun phrase extraction can be used, they often produce excessive noise or overwhelming lists of candidates. This paper proposes a dedicated classification model to bridge the gap between raw text and fully automated quiz generation.
Methodology
The researchers frame ACG as a supervised classification problem, utilizing a three-stage pipeline:
- Extraction: The system extracts all "noun chunks" and "named entities" from a passage. To capture more natural and descriptive answers, adjacent noun chunks are merged if connected by specific conjunctions or prepositions (e.g., "a Marian place of prayer and reflection").
- Feature Engineering: The model employs a hybrid of linguistic and statistical features:
- Statistical: TF-IDF scores at article and paragraph levels to gauge phrase importance.
- Linguistic: Part-of-speech (POS) tags, dependency relations, and entity types.
- Orthographic: Binary flags for capitalization, digits, and currency symbols.
- Semantic: "Title Similarity," measuring the phrase's relevance to the overall article topic.
- Classification: These features are processed by a Bernoulli Naive Bayes classifier. This model provides a confidence score for each candidate, allowing the system to rank them and return a user-specified number of top-tier answers.
Experimental Setup
The model was trained and evaluated using the SQuAD 1.1 (Stanford Question Answering Dataset).
- Training: 87,600 human-generated question-answer pairs were used. Human-selected answers served as positive examples, while other extracted phrases in the same text were treated as negative examples.
- Evaluation: The model was tested on the SQuAD development split, comprising 2,067 unique passages.
Results and Discussion
A key observation from the data is that human-selected answers are often complex; only 33% of answers in SQuAD are single words. This validates the researchers' strategy of merging noun chunks to capture descriptive candidates.
The proposed model was compared against several baselines, including standard NER, Noun Chunking (NCh), and a fine-tuned T5-small generative model.
As shown in Figure 1, the model's recall (measured by EM-Any) improves steadily as more candidates are requested. Notably, the model achieved a better Exact Match score with just 8 candidates (75.43%) than the NER baseline achieved while producing an average of 13.6 candidates (74.36%). This ranking capability is a significant advantage, allowing instructors to request a specific number of high-quality suggestions.
In terms of precision, the model significantly outperformed noun-chunking baselines (Figure 2). While noun chunking has high recall, it produces over 33 candidates per passage on average, many of which are irrelevant. The proposed classifier maintains higher average quality. While a fine-tuned T5-small model was slightly better at identifying a single "best" answer (37.56 EM-Avg), it struggled to generate a diverse list of multiple candidates, a task where the proposed classifier excels.
Conclusion
While the model shows strong performance, the authors note that evaluation is limited by the "False Negative" problem: the model may identify valid answers that were simply not selected by human annotators in the SQuAD dataset. Future work will explore generative models for producing multiple diverse candidates and involve domain experts to qualitatively assess the educational utility of the generated answers.
Summary updated