Optimizing Coverage and Difficulty in Reinforcement Learning for Quiz Composition

Ricardo Pedro Querido Andrade Silva, Nassim Bouarour, Dina Fettache, Sarab Boussouar, Noha Ibrahim, Sihem Amer-YahiaarXiv 2026 · OpenReview

TL;DR

This paper tackles the challenge of automating quiz creation by framing it as a sequential decision-making problem for reinforcement learning (RL) agents. They developed a system, QUIZCOMP, that trains agents to select multiple-choice questions (MCQs) to meet specific topic coverage and difficulty targets, demonstrating that RL can effectively mimic and automate pedagogical goals.

What Problem Does This Paper Address?

Creating effective quizzes is a time-consuming task for educators. Teachers need to ensure quizzes cover specific topics and have a balanced difficulty level, often relying on manual selection and adjustment of questions. Existing automated quiz generation methods often focus on single objectives like topic relevance or redundancy reduction, failing to address the multi-objective nature of balancing both topic coverage and difficulty. This paper aims to automate this complex process by training an agent to compose quizzes that satisfy these dual pedagogical goals.

Methods

The core of this work is framing quiz composition as a sequential decision-making problem solvable by Reinforcement Learning (RL). They define a Markov Decision Process (MDP) where:

  • States: Represent a quiz, characterized by its topic and difficulty distribution vectors.
  • Actions: Involve modifying the current quiz to be more similar or dissimilar in terms of topics or difficulty. The specific actions are SimTopic, SimLevel, DissTopic, and DissLevel.
  • Reward: A scalarized reward function combines topic and difficulty matching, encouraging progress towards target distributions. They also explore a progress-based reward that explicitly rewards improvement between steps.

They investigate three popular RL algorithms:

  • DQN (Deep Q-Network): A value-based method, used as a benchmark.
  • SARSA: An on-policy temporal difference method.
  • A2C/A3C: Actor-critic methods that combine policy and value networks.

Datasets

The authors utilize a combination of synthetic and real-world datasets:

  • Synthetic Datasets: Three types were generated:
  • UNIFORM: Uniformly drawn MCQs.
  • BIASEDTOPIC: Biased topics and uniform difficulties.
  • BIASEDLEVEL: Biased difficulties and uniform topics. These were used to control data distributions and study agent behavior.

  • Real Datasets:

    • MED: Medical documents, with 111 topics sampled to 10, MCQs generated using MedGemma 9B.
  • MATH: Educational platform data, with 15 topics sampled to 10, MCQs from MathE.

Key Insights and Ideas

  • RL as a Natural Fit for Quiz Composition: The sequential nature of building a quiz, where each question selection impacts the overall quiz's properties, makes it a perfect candidate for RL.
  • Mimicking Teacher Behavior: The agents, through their learned policies, tend to favor similarity actions and local exploration, mirroring how human teachers might iteratively refine a quiz.
  • Transfer Learning is Powerful: Agents trained on one dataset or target distribution can effectively transfer their knowledge to others, suggesting a generalizable approach to quiz composition.
  • Topic Matching is Harder than Difficulty: Due to the larger number of topics compared to difficulty levels, agents found it more challenging to match topic distributions precisely.
  • User Study Validation: A pilot user study indicated that the system reduced perceived workload and effort for teachers, validating the practical utility of automated quiz composition.

Key Results

  • High Similarity Achieved: RL agents consistently achieved high quiz similarity (above 0.85) with target distributions across various datasets and configurations.
  • Efficiency: Agents found good quizzes significantly faster (up to 100x) than an "oracle" (a baseline that exhaustively searches for the best quiz).
  • Action Preferences: For uniform targets, agents favored similarity actions. For biased targets, they explored more using dissimilarity actions.
  • Transfer Learning Success: Agents showed strong transferability across datasets (MED to MATH and vice-versa) and between biased and uniform targets.
  • Algorithm Performance: While all investigated RL algorithms performed well, DQN was often the top performer, especially in achieving high similarity.

Limitations and Future Work

  • Limited Action Space: The current action space is restricted to modifying existing quizzes. Future work could broaden this to include on-the-fly MCQ generation using language models.
  • Cost Comparison: The authors plan to compare the computational cost of prompt engineering and model calls for MCQ generation against the cost of training RL agents.
  • Formalizing Boundaries: Further research is needed to formalize the trade-offs between training and reuse of RL models, aligning with recent work on ML reusability.
  • User Study Scale: The current user study was a pilot with 28 participants; larger-scale studies would be beneficial for broader validation.

Summary updated

Abstract

Quiz design is a tedious process that teachers undertake to evaluate the acquisition of knowledge by students. Our goal in this paper is to automate quiz composition from a set of multiple choice questions (MCQs). We formalize a generic sequential decision-making problem with the goal of training an agent to compose a quiz that meets the desired topic coverage and difficulty levels. We investigate DQN, SARSA and A2C/A3C, three reinforcement learning solutions to solve our problem. We run extensive experiments on synthetic and real datasets that study the ability of RL to land on the best quiz. Our results reveal subtle differences in agent behavior and in transfer learning with different data distributions and teacher goals. This was supported by our user study, paving the way for automating various teachers' pedagogical goals.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
MED · real dataset; uniform targetDQNAverage similarity with target0.871Quiz Composition · alpha=0.5 · target=uniform
Source quote
L257: \multirow{3}{*}{{\sc MeD}} │ DQN │ \multicolumn{1}{l|}{\bf 0.918} │ \multicolumn{1}{l|}{0.878} │ \multicolumn{1}{l|}{0.871} │ \multicolumn{1}{l|}{0.860} │ \multicolumn{1}{l|}{0.893}
MATH · real dataset; uniform targetDQNAverage similarity with target0.860Quiz Composition · alpha=0.5 · target=uniform
Source quote
L263: \multirow{3}{*}{{\sc Math}} │ DQN │ \multicolumn{1}{l|}{0.875} │ \multicolumn{1}{l|}{\bf 0.859} │ \multicolumn{1}{l|}{0.860} │ \multicolumn{1}{l|}{0.858} │ \multicolumn{1}{l|}{0.886}
MATH · target transferDQNAverage similarity with target0.756Quiz Composition · alpha=0.5 · eval-target=bias · train-target=uniform
Source quote
L313: \multirow{3}{*}{T_{\mathit{uniform}}} │ \multirow{3}{*}{T_{\mathit{bias}}} │ DQN │ 0.756 │ 100
MATH · target transferDQNAverage similarity with target0.866Quiz Composition · alpha=0.5 · eval-target=uniform · train-target=bias
Source quote
L318: \multirow{3}{*}{T_{\mathit{bias}}} │ \multirow{3}{*}{T_{\mathit{uniform}}} │ DQN │ 0.866 │ 24
MATH · Cross-dataset transfer: MeD to MathDQNAverage similarity with target0.877Quiz Composition · alpha=0.5 · target=uniform · source-dataset=MeD
Source quote
L341: \multirow{3}{*}{\sc MeD} │ \multirow{3}{*}{\sc Math} │ DQN │ 0.877 │ 12
MED · Cross-dataset transfer: Math to MeDDQNAverage similarity with target0.868Quiz Composition · alpha=0.5 · target=uniform · source-dataset=Math
Source quote
L346: \multirow{3}{*}{\sc Math} │ \multirow{3}{*}{\sc MeD} │ DQN │ 0.868 │ 20
BibTeX
@misc{silva2026optimizing,
  author = {Ricardo Pedro Querido Andrade Silva and Nassim Bouarour and Dina Fettache and Sarab Boussouar and Noha Ibrahim and Sihem Amer-Yahia},
  title = {{Optimizing Coverage and Difficulty in Reinforcement Learning for Quiz Composition}},
  year = {2026},
  eprint = {2603.27695},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.27695},
}
Figure