TL;DR
This paper introduces "ILearner-LLM," a novel framework that uses large language models (LLMs) in an iterative loop to automatically generate and refine explanations for multiple-choice questions (MCQs) created by students. By combining an LLM-based explanation generator with an LLM-based quality evaluator, ILearner-LLM significantly improves the quality and student-likeness of generated explanations, addressing a key challenge in educational learnersourcing.
What Problem Does This Paper Address?
Learnersourcing, where students create educational content like MCQs, is a valuable pedagogical approach. A crucial component of this is generating high-quality explanations for the MCQ answers, which aids peer understanding and deepens conceptual learning. However, students often struggle to produce these explanations due to a lack of deep subject knowledge or difficulty articulating their understanding. This can lead to incomplete or low-quality explanations, or even their omission altogether. Existing methods for automatically generating explanations face challenges with data scarcity and capturing the nuances of student-written explanations. This paper tackles the problem of automatically generating explanations that are not only factually correct but also linguistically and semantically similar to those crafted by students, thereby enhancing the learnersourcing experience.
Methods
The core of the ILearner-LLM framework is an iterative enhancement process. It employs two main components, both powered by LLMs:
- Explanation Generation Module: This module uses instruction fine-tuning to train an LLM to generate explanations for a given MCQ (stem, correct answer, distractors).
- Explanation Evaluation Module: This module also uses instruction fine-tuning to train an LLM to predict a quality rating score for a generated explanation based on the MCQ.
The process works iteratively:
- An initial explanation is generated.
- This explanation is then evaluated by the evaluation module, producing a quality score.
- This score, along with the generated explanation, is fed back into the generation module as part of a refined prompt.
- The generation module then produces a "better" explanation based on this feedback.
- This cycle repeats for a predefined number of iterations (K).
The framework allows for two feedback strategies: using only the most recent iteration's feedback or incorporating feedback from all previous iterations. The authors also explored instruction fine-tuning for both the generator and evaluator, which they found crucial for aligning LLM outputs with student preferences.
Datasets
The experiments were conducted using five large datasets sourced from the PeerWise platform. These datasets cover various academic subjects:
- Sydney Biology Subject
- Cardiff Biology Subject
- Auckland Law Subject
- UK Medical Year 1 Subject
- UK Medical Year 2 Subject
For training the explanation generator, MCQs with quality ratings of 3 or higher and explanations longer than 10 words were used. For the explanation evaluator, a broader set of 27,140 high- and low-rated questions across all subjects were utilized. The paper does not introduce new benchmark datasets but leverages existing ones from a popular educational platform.
Key Insights and Ideas
- Iterative Refinement is Key: The core insight is that an iterative feedback loop between generation and evaluation, powered by LLMs, can significantly improve explanation quality beyond a single-pass generation.
- LLMs as Both Creators and Critics: The framework cleverly uses LLMs not only to generate explanations but also to evaluate their quality, mimicking a human feedback process.
- Instruction Fine-Tuning Matters: Aligning LLMs with specific educational tasks through instruction fine-tuning is critical for generating explanations that are syntactically and semantically similar to student-written ones.
- Student Preferences as a Guiding Star: The evaluation module is fine-tuned on student-provided quality ratings, ensuring that the generated explanations align with what students value in good explanations.
Key Results
- Improved Explanation Quality: ILearner-LLM, using LLaMA2-13B and GPT-4, demonstrated notable improvements in generating explanations that closely resemble student-written ones, as evidenced by higher BLEU and BERT scores.
- LLaMA2-13B Benefits Greatly: The iterative enhancement framework showed greater improvement for instruction fine-tuned LLaMA2-13B compared to GPT-4, suggesting that the iterative process is particularly effective for models that benefit more from explicit instruction tuning.
- Efficiency of Iterations: On average, only about 1.7 to 2.3 iterations were needed for fine-tuned LLaMA2-13B and GPT-4 to surpass the initial explanation quality.
- Evaluation Model Performance: Instruction fine-tuned evaluation models achieved lower Mean Squared Error (MSE) scores, indicating better alignment with student ratings, especially when trained on merged datasets from multiple subjects.
Limitations and Future Work
- LLM Limitations: The paper notes that GPT-4's limited context window (8K tokens) necessitated a specific iterative approach for feeding history, which still showed strong performance.
- Temperature Hyperparameters: The authors suggest exploring different temperature hyperparameters within ILearner-LLM to increase the diversity of generated explanations.
- Further Exploration of Iterative Strategies: While the paper compared using the most recent feedback versus all previous feedback, further exploration of optimal feedback aggregation strategies could be beneficial.
- Generalizability: While tested on five datasets, further validation across a wider range of subjects and educational contexts would strengthen the findings.
Summary updated