Search and Filter

Automatic Question & Answer Generation Using Generative Large Language Model (LLM)

Date

AI Overview

Why it matters

Manually creating diverse and fair assessment questions from multiple lecture materials is time-consuming and challenging for educators. Automated tools can save valuable time and resources while helping students practice independently.

Study at a glance
  • Question: Can a fine-tuned open-source language model automatically generate multiple-choice questions and answers from reading passages?
  • Setting and data: English reading tests from middle and high schools in China; 33,840 question items selected from the RACE dataset and WikiText-2 benchmark.
  • Method: Supervised parameter fine-tuning of a 4-bit quantized language model using prompt engineering, followed by automated metric evaluation.
  • AI tools: Llama-2-7b-hf, T5, BERT
Key findings
  • The 4-bit fine-tuned Llama-2-7B model achieved an overall perplexity score of 6.43 on the WikiText-2 test set, comparable to industry benchmarks.
  • Generated multiple-choice questions achieved semantic relevance scores between 0.46 and 0.76 when compared against the context reading passage.
  • Earlier tests using the T5 model produced relevant readable outputs for only about 40% of test cases, with high average perplexity scores between 197.31 and 312.48.

Summary drafted with AI from the full paper and may contain errors. See the full paper for details.

\Abstract{In the realm of education, student evaluation holds equal significance as imparting knowledge. To be evaluated, students usually need to go through text-based academic assessment methods. Instructors need to make diverse sets of questions that need to be fair for all students to prove their adequacy over a particular topic. This can prove to be quite challenging as they may need to manually go through several different lecture materials. Our objective is to make this whole process much easier by implementing Automatic Question Answer Generation /(AQAG), using fine-tuned generative LLM. For tailoring the instructor's preferred question style (MCQ, conceptual, or factual questions), prompt Engineering (PE) is being utilized. In this research, we propose to leverage unsupervised learning methods in NLP, primarily focusing on the English language. This approach empowers the base Meta-Llama 2-7B model to integrate RACE dataset as training data for the fine-tuning process. Creating a customized model that will offer efficient solutions for educators, instructors, and individuals engaged in text-based evaluations. A reliable and efficient tool for generating questions and answers can free up valuable time and resources, thus streamlining their evaluation processes.}