A large language model-assisted education tool to provide feedback on open-ended responses

Jordan K. Matelsky, Felipe Parodi, Tony Liu, Richard D. Lange, Konrad P. KordingarXiv 2023 · DOI

Introduction

Assessing deep understanding in education often relies on open-ended questions. However, grading these responses at scale presents a significant challenge. Human grading is high-quality but labor-intensive and prone to subjective errors, while traditional automated tools like multiple-choice questions offer speed but lack depth. FreeText is an open-source framework designed to bridge this gap using Large Language Models (LLMs) to provide immediate, personalized feedback on free-text student responses.

The "Pit of Despair" in Assessment

Educators often face a trade-off between throughput (the volume and speed of grading) and feedback quality. Multiple-choice questions sit at the high-throughput, low-quality end of the spectrum, while human graders provide high-quality feedback at low throughput. The authors identify a "Pit of Despair"—a zone where feedback is both slow and poor—and position LLM-based autograders as a solution that offers human-like quality with the speed of automated systems.

Throughput vs. Feedback Quality: LLM autograders bridge the gap between multiple-choice and human grading.

The FreeText Framework

FreeText is a modular system that can be integrated into common educational environments like Jupyter Notebooks. The workflow centers on "informational asymmetry": instructors define hidden grading criteria (rubrics) that the student does not see. This prevents students from simply "gaming" the system with keywords.

When a student submits a response, the system bundles the question, the response, and the hidden criteria into a payload for an LLM (such as GPT-4). The model then generates two types of feedback:

  1. Holistic Feedback: A general overview of the student's performance.
  2. Span-Bound Feedback: Specific highlights within the student's text indicating where corrections or improvements are needed.
The FreeText Jupyter Notebook widget in action, allowing students to submit free-text responses for immediate feedback.

Key Insights and Deployment

A unique feature of FreeText is its ability to assist in question design. If an AI "student" cannot meet the rubric because a question is too vague, the tool suggests improvements to the instructor. This creates a feedback loop that trains the teacher to write more precise assessments.

To address privacy concerns, the framework is model-agnostic. It can interface with commercial APIs or run locally hosted models (like Llama-2), ensuring that sensitive student data remains within a school's internal network.

Results and Future Directions

Qualitative evaluations in subjects like Biology and AI Ethics demonstrate that FreeText can identify specific misconceptions—such as incorrect DNA base pairing—and provide constructive, real-time corrections. While LLMs are not infallible and can occasionally hallucinate, FreeText is designed as a "first-pass" assistant to support, rather than replace, human instructors. Future work will focus on measuring long-term learning outcomes in large-scale classroom deployments and refining the "prompt engineering" required for effective rubrics.

Summary updated

BibTeX
@misc{matelsky2023large,
  author = {Jordan K. Matelsky and Felipe Parodi and Tony Liu and Richard D. Lange and Konrad P. Kording},
  title = {{A large language model-assisted education tool to provide feedback on open-ended responses}},
  year = {2023},
  eprint = {2308.02439},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.02439},
}
Figure