Towards LLM-Based Autograding for Short Textual Answers

Johannes Schneider, Bernd Schenk, Christina Niklaus · DOI · OpenReview

TL;DR

This paper investigates the use of Large Language Models (LLMs) like ChatGPT for automatically grading short textual answers in academic settings. While LLMs show promise as a "second opinion" to aid educators, they are not yet ready for fully automated grading due to issues with robustness, bias, and a tendency to favor vague answers, necessitating continued human oversight.

What Problem Does This Paper Address?

Grading exams, especially short textual answers, is a time-consuming, subjective, and often repetitive task for educators. The advent of powerful LLMs has opened up possibilities for automating this process, but entrusting AI with such high-stakes decisions raises significant ethical concerns, including potential biases and the generation of inaccurate information. This paper aims to evaluate the feasibility of using LLMs for Automatic Short Answer Grading (ASAG) and to understand how they can best support educators, rather than replace them, while mitigating associated risks.

Methods

The researchers employed ChatGPT (GPT 3.5) to assess student answers in three ways:

  1. Assessing the educator's answer: The LLM was asked to evaluate the quality of an instructor-provided "optimal" answer to an exam question, providing feedback on what might be missing.
  2. Assessing the student's answer in general: The LLM evaluated individual student answers without direct comparison to an optimal answer.
  3. Comparing student's and educator's answer: The LLM assessed the similarity between a student's answer and the educator's optimal answer.

They used specific prompts for each assessment type and collected both qualitative feedback (explanations) and quantitative categorizations (e.g., "Good," "Ok," "Bad"). The study also involved comparing the LLM's grading with human (educator) grading to identify discrepancies.

Datasets

The study utilized two exams from two different educators:

  • An English-language exam from a master's level data science course with 21 participants, consisting of 16 questions and a total of 90 points.
  • A German-language exam from a bachelor's level information systems introductory course with 34 participants, featuring 3 questions each worth 10 points.

The questions covered a range of Bloom's taxonomy levels, from simple recall to complex evaluation. No new benchmarks were introduced; the focus was on evaluating existing LLM capabilities on real-world academic assessments.

Key Insights and Ideas

  • LLMs as a "Second Opinion": The most significant takeaway is that LLMs can serve as a valuable complementary perspective, helping educators identify potential biases or overlooked aspects in their grading.
  • Vagueness is Rewarded: LLMs tend to favor vague or broadly related content, sometimes rating it more favorably than human graders who might penalize irrelevant or slightly incorrect information.
  • Sensitivity to Prompts and Phrasing: Even minor changes in prompts or the wording of student answers can drastically alter an LLM's assessment, highlighting a lack of robustness.
  • Language Sensitivity: The LLM's grading criteria can be language-dependent, with German answers sometimes being penalized for grammar and spelling issues that wouldn't affect English answers.
  • Misunderstanding Questions: LLMs can sometimes misunderstand the core intent of a question or provide irrelevant information in their feedback.
  • Poor Alignment with Human Graders: The correlation between LLM judgments and educator grading was found to be small, indicating that LLMs are not yet reliable for independent grading.

Key Results

  • Educator Assessment: LLM responses to assessing educator's answers were generally positive, often suggesting generic improvements like adding more detail or examples, but did not lead to changes in the human-crafted responses.
  • Student Assessment: The LLM tended to rate most student responses as "good" or "very good," showing little differentiation, which contrasted sharply with the educator's more varied scoring.
  • Similarity Assessment: The LLM's assessment of similarity between student and educator answers showed poor overall alignment, with a Pearson correlation close to 0.
  • Impact on Grading: In some instances, the LLM's positive assessment of answers that included non-lecture material or were poorly worded (due to English language proficiency) led to minor adjustments in the human grader's assessment.

Limitations and Future Work

The authors acknowledge several limitations:

  • Lack of Context: The LLM was not provided with specific course materials, relying solely on its general world knowledge, which can lead to discrepancies.
  • Prompt Engineering Challenges: Finding the optimal prompts for grading is non-trivial, and responses can be sensitive to slight changes.
  • Robustness and Fairness: The LLM's sensitivity to minor input variations and its tendency to favor vagueness raise concerns about fairness and consistency.
  • Ethical Considerations: The paper touches upon the ethical debate of whether LLMs should be used to fail students, suggesting they should primarily serve as a "second opinion."

Future work suggested includes:

  • Developing more explicit grading schemes that identify specific concepts.
  • Investigating fine-tuned LLMs specifically for grading, which would require large datasets of graded exams.
  • Exploring LLMs for exam development and question assessment.
  • Allowing for multiple "optimal" answers per question to better accommodate diverse valid responses.
  • Further research into mitigating biases and improving the robustness and explainability of LLM-based grading.

Summary updated

BibTeX
@inproceedings{schneider2024towards,
  author = {Johannes Schneider and Bernd Schenk and Christina Niklaus},
  title = {{Towards LLM-Based Autograding for Short Textual Answers}},
  booktitle = {CSEDU},
  year = {2024},
  doi = {10.5220/0012552200003693},
}
Figure