Comparison of Large Language Models for Generating Contextually Relevant Questions

Ivo Lodovico Molina, Valdemar Švábenský, Tsubasa Minematsu, Li Chen, Fumiya Okubo +1 more
7/30/2024
cs.CLcs.AIcs.CY

No official code found. Best implementation: limu-research/2024-ectel-qg (3 stars, MIT, last commit 2024-09-14).

Abstract

This study explores the effectiveness of Large Language Models (LLMs) for Automatic Question Generation in educational settings. Three LLMs are compared in their ability to create questions from university slide text without fine-tuning. Questions were obtained in a two-step pipeline: first, answer phrases were extracted from slides using Llama 2-Chat 13B; then, the three models generated questions for each answer. To analyze whether the questions would be suitable in educational applications for students, a survey was conducted with 46 students who evaluated a total of 246 questions across five metrics: clarity, relevance, difficulty, slide relation, and question-answer alignment. Results indicate that GPT-3.5 and Llama 2-Chat 13B outperform Flan T5 XXL by a small margin, particularly in terms of clarity and question-answer alignment. GPT-3.5 especially excels at tailoring questions to match the input answers. The contribution of this research is the analysis of the capacity of LLMs for Automatic Question Generation in education.

View on arXivView PDF

Code Implementations(1)

MIT

Pipeline for generating questions. The first step is the answer generation, where the model takes the slide text and generate multiples answers (ideas or phrases). The second step consist in take the a single answer from previous step along with the slides text and it generates a question for that answer.

31Jupyter NotebookMar 5, 20242 years agoMIT

Similar Papers

Cite this paper

@article{molina2024comparison,
  title  = {Comparison of Large Language Models for Generating Contextually Relevant Questions},
  author = {Ivo Lodovico Molina and Valdemar Švábenský and Tsubasa Minematsu and Li Chen and Fumiya Okubo and Atsushi Shimada},
  year   = {2024},
  eprint = {2407.20578},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.20578v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.20578.svg)](https://codeofpaper.com/paper/2407.20578)

Discussion