Distractor Generation based on Text2Text Language Models with Pseudo Kullback-Leibler Divergence Regulation

Hui-Juan Wang, Kai-Yu Hsieh, Han-Cheng Yu, Jui-Ching Tsou, Yu-An Shih, Chen-Hua Huang, Yao-Chung FanACL 2023

Abstract

Automated distractor generation (DG) for multiple-choice questions is a critical task in educational technology. Traditional methods often rely on ranking pre-defined candidates, which can lead to repetitive or irrelevant options. This paper proposes a generative Text2Text (T2T) framework using models like T5 and BART, enhanced by Pseudo Kullback-Leibler (PKL) Divergence regulation and multi-task training. Our approach significantly outperforms previous state-of-the-art methods, nearly doubling performance on key benchmarks and producing distractors that rival human-written quality.

Introduction

Creating effective multiple-choice questions (MCQs) is a labor-intensive task for educators. While identifying the correct answer is straightforward, generating high-quality "distractors"—incorrect options that are plausible yet clearly wrong—is challenging. A good distractor must maintain a high item discrimination index, fooling students who lack mastery while remaining distinct to those who do.

Historically, automated systems have employed a "Candidate Generation-and-Ranking" (CGR) approach. These systems retrieve similar words from external databases and rank them based on context. However, CGR often fails to account for the relationships between distractors, resulting in sets that are either too easy or semantically redundant. As shown in the comparison below, our work shifts the paradigm toward a generative Text2Text model.

Comparison of the proposed Text2Text approach with existing distractor generation methods.

Methodology

We introduce a three-pronged strategy to modernize distractor generation:

  1. Text2Text Formulation: We treat DG as a sequence-to-sequence task. By utilizing pre-trained models like T5 and BART, the system takes a "cloze" sentence (the question stem) and the correct answer as input to generate a sequence of distractors directly. This allows the model to learn dependencies between the distractors themselves.
  2. Pseudo Kullback-Leibler (PKL) Divergence Regulation: To balance plausibility and difficulty, we implement PKL regulation. This technique compares the model's output distribution against a "pseudo" distribution from a Masked Language Model (MLM). It ensures generated words are contextually appropriate without being so similar to the correct answer that they create "double-key" ambiguities.
  3. Candidate Augmentation and Multi-tasking: To further refine the output, we provide "hints" to the model by including top candidates from an MLM in the input prompt. Simultaneously, the model is trained on auxiliary tasks: Distractor Finding and Cloze Answering. This multi-tasking approach forces the model to develop a deeper semantic understanding of what makes an answer correct versus a distractor plausible.
The Text2Text architecture with candidate augmentation for generating distractors.

Datasets

The framework was evaluated on two major benchmarks:

  • CLOTH: A large-scale dataset of word-level cloze questions from middle and high school English exams.
  • MCQ: A cross-domain dataset covering science, vocabulary, and general knowledge. We refined these into a more consistent training set, CLOTH-F, to ensure robust model performance.

Experimental Results

Our T2T approach achieved a substantial leap in performance over existing baselines. On the MCQ dataset, the T5-based multi-tasking model improved the state-of-the-art P@1 score from 10.81 to 22.00.

Human evaluation by English teachers further validated these results. The generated distractors achieved a reliability score of 87.77%, remarkably close to the 88.89% score of human-written ground truth. Furthermore, the candidate augmentation strategy proved highly effective, with over 90% of generated sets being free of redundancy.

Discussion and Limitations

While the T2T framework represents a significant advancement, some challenges remain. The current PKL regulation operates at the word level, which can be less effective for complex terms that modern tokenizers split into sub-tokens. Additionally, unlike ranking methods that can offer hundreds of candidates, the T2T model typically generates a fixed set. Future research will focus on handling multi-token words and providing educators with greater control over the difficulty levels of generated distractors.

Conclusion

By reframing distractor generation as a generative Text2Text task and incorporating PKL regulation, this work establishes a new state-of-the-art. The results demonstrate that deep semantic understanding and multi-task learning are key to automating the creation of high-quality educational assessments.

Summary updated

BibTeX
@inproceedings{wang2023distractor,
  author = {Hui-Juan Wang and Kai-Yu Hsieh and Han-Cheng Yu and Jui-Ching Tsou and Yu-An Shih and Chen-Hua Huang and Yao-Chung Fan},
  title = {{Distractor Generation based on Text2Text Language Models with Pseudo Kullback-Leibler Divergence Regulation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.790},
}
Figure