Skip to content

Cookies

We use cookies to enhance your experience. Learn more

ResearchPublication

Reading comprehension quiz generation using generative pre-trained transformers

Earlier work with the University of Amsterdam, from 2022. A language model fine-tuned on pairs of texts and quizzes writes a whole multiple-choice question from a reading text: the question, its answer and three wrong options.

A long cream strip of paper on apricot paper, and under it a row of four squares: three pale blue and one green.

Where this comes from

This paper was written by researchers at the University of Amsterdam and at Prosus, and presented in July 2022 at the Fourth International Workshop on Intelligent Textbooks, held with the AIED conference. It is about language models in education, and it is listed here as earlier published work with authors from Prosus.

What the paper asks

Given any educational text, can a language model write a complete quiz on it? A complete quiz here is one multiple-choice question: the question, the right answer, and the wrong options, which the field calls distractors.

What it did

The authors fine-tuned GPT-3 on pairs of reading texts and quizzes from a dataset of examination questions, and named the result EduQuiz. It writes the whole quiz in one pass, to a fixed template of one question, one true answer and three false ones.

They compared it with a step-wise route, in which separate models write the question, then the answer, then the wrong options. That route was tried with fine-tuned GPT-3 models and with Macaw, a general model used as it comes. Automatic scores of word overlap said little, since a reasonable quiz can share few words with the reference one, so three people also rated 100 generated quizzes for each system.

What it found

  • The people rating them put EduQuiz and the step-wise GPT-3 route at a similar level overall, 90.5% and 89.3%, with the general model at 62.7%.
  • The end-to-end generator needs one fine-tuned model where the step-wise route needs three.
  • The wrong options are the hard part. EduQuiz’s answers were valid in 77.7% of cases, and its wrong options were able to mislead in 60.3%.

The authors conclude that “the majority of generated quizzes is reasonable”, that it is too early to replace tests written by people where grades depend on them, and that a generator like this already has value for practice while learning.

Limits the authors name

The models were trained mostly on English. Fine-tuning GPT-3 is costly. A model writes quizzes like the ones it was trained on, so another field needs its own data. And the comparison favors GPT-3, which was fine-tuned for the task while Macaw was used off the shelf.

Code and data

The data and the code are public at RamonDijkstra/EduQuiz.

The paper

Reading Comprehension Quiz Generation using Generative Pre-trained TransformersRamon Dijkstra, Zülküf Genç, Subhradeep Kayal, Jaap Kamps. Intelligent Textbooks 2022, a workshop of AIED 2022

Authors

  • Ramon Dijkstra

  • Zülküf Genç

    Director of AI, Prosus

  • Subhradeep Kayal

  • Jaap Kamps

References

  1. Reading Comprehension Quiz Generation using Generative Pre-trained TransformersRamon Dijkstra, Zülküf Genç, Subhradeep Kayal, Jaap Kamps. Proceedings of the Fourth International Workshop on Intelligent Textbooks 2022, with AIED 2022, Durham, 27 July 2022. CEUR Workshop Proceedings, vol. 3192, pages 4 to 17

Keep reading

  • Publication

    One model for the whole home page

    A shopping app’s home page is filled by many recommenders, each tuned for its own slot. This model writes one page per person, per meal moment: the title, the subtitle and what to show. In a live test on one slot it brought 137% more orders from that list.

  • Publication

    New robots, old tricks: teaching robots to speak AI

    A post of November 2026 on a year of wiring Darwin, the Prosus humanoid robot. Five parts spoke five protocols, and the post asks what a robot should tell an AI agent about its actions before the agent can use it.

  • Method

    Meet the large commerce model

    Language models learn from text. Magnet Decision learns from what people search for, look at, buy and come back for. Here’s how it’s built.