Automating Turkish Educational Quiz Generation Using Large Language Models

Kamyar Zeinalipour, Yusuf Gökberk Keptig, Marco Maggini, Marco Gori · DOI

TL;DR

Researchers have introduced Turkish-Quiz-Instruct, the first specialized dataset designed to automate educational quiz generation for the Turkish language. By fine-tuning Large Language Models (LLMs) like Llama-2 and GPT-3.5 on this high-quality data, the team successfully transformed models that initially struggled with Turkish into proficient tools capable of generating accurate multiple-choice and short-answer questions.

The Challenge of Linguistic Bias in EdTech

While AI-driven educational tools are expanding rapidly, they suffer from a significant "English-centric" bias. Most Question Generation (QG) research focuses on English, leaving educators in other linguistic regions—like Turkey—with few specialized resources.

Turkish presents unique challenges for Natural Language Processing (NLP): it is an agglutinative language with complex syntax and semantic structures that differ significantly from Indo-European languages. Standard LLMs often lack the nuance required to generate pedagogically sound questions from Turkish textbooks. This research addresses this gap by providing both the data and the methodology needed to build localized educational technology.

Methodology

The authors employed a multi-stage pipeline to move from raw text to a fine-tuned quiz generator:

  1. Data Acquisition: Educational content was scraped from Turkish websites dedicated to secondary school curricula, covering subjects like Biology, History, and Literature.
  2. Synthetic Data Generation (Self-Instruct): Using GPT-4-Turbo as a "teacher" model, the team generated high-quality multiple-choice questions (MCQs) and short-answer questions (SAQs). A meticulously crafted 10-point prompt ensured the questions were clear, plausible, and factually grounded.
  3. Human Validation: To verify synthetic data quality, native Turkish speakers rated a sample of questions on a scale from A (factually accurate) to E (demonstrably wrong).
  4. Fine-Tuning: The validated dataset was used to fine-tune "student" models, including GPT-3.5-Turbo, Llama-2-7b, and Llama-2-13b. For the Llama models, Parameter-Efficient Fine-Tuning (PEFT) was utilized to reduce computational costs while maintaining performance.
The multi-stage pipeline for Turkish educational quiz generation, from data acquisition to model training.

The Turkish-Quiz-Instruct Dataset

The core contribution of this work is the Turkish-Quiz-Instruct dataset, which includes:

  • Volume: 8,000 training texts and 260 evaluation texts.
  • Subjects: Chemistry, Biology, Geography, Philosophy, Turkish Literature, and History.
  • Format: Each entry pairs a Turkish educational text with corresponding MCQs (stem, correct answer, and distractors) and SAQs.

The dataset and models have been made available on Hugging Face and GitHub to support the broader research community.

Key Insights and Results

The "Zero-to-Hero" Effect

Before fine-tuning, the Llama-2 models were largely ineffective for Turkish quiz generation, frequently receiving "Rating-E" (the lowest grade) from human evaluators. However, after fine-tuning on the new dataset, performance improved dramatically, with a significant portion of outputs reaching "Rating-A."

High-Quality Synthetic Data

Human evaluators confirmed the efficacy of the GPT-4 teacher model. As shown in the rating distribution, the vast majority of generated content met the highest standards for educational accuracy.

Human evaluation results for GPT-4 generated questions, showing a 93.3% accuracy rate (Rating A).

Quantitative Improvements

  • GPT-3.5-Turbo: The ROUGE-L score for MCQs increased from 21.38 to 28.82 after fine-tuning.
  • Llama-2-7b: This model showed the most dramatic improvement in short-answer generation, with its ROUGE-1 score climbing from 3.31 to 54.37.
  • Model Scale: In short-answer tasks, the Llama-2-13b model significantly outperformed the 7b version, suggesting that model parameters remain crucial for capturing the complexities of Turkish semantics.

Limitations and Future Directions

The authors highlight that ROUGE scores (measuring word overlap) are often poor indicators of question quality, as a question can be factually perfect but use different wording than the reference. Future work will focus on developing more sophisticated semantic evaluation metrics.

Additionally, while the current dataset is tailored to secondary school levels, expanding to primary education or specialized university-level subjects is a logical next step. Future iterations may also explore more complex formats like "fill-in-the-blanks" or "matching" questions to provide a more comprehensive toolkit for educators.

Summary updated

BibTeX
@inproceedings{zeinalipour2024automating,
  author = {Kamyar Zeinalipour and Yusuf Gökberk Keptig and Marco Maggini and Marco Gori},
  title = {{Automating Turkish Educational Quiz Generation Using Large Language Models}},
  booktitle = {ISPR},
  year = {2024},
  url = {https://openreview.net/forum?id=H5i0k0XHEN},
}
Figure