NERIF: GPT-4V for Automatic Scoring of Drawn Models

Gyeong-Geon Lee, Xiaoming Zhai · OpenReview

TL;DR

The paper introduces NERIF (Notation-Enhanced Rubric Instruction for Few-shot Learning), a novel prompt-engineering method that enables GPT-4V to automatically grade student-drawn scientific diagrams. While the model achieves a moderate overall accuracy of 51%, it demonstrates a powerful ability to generate transparent, natural-language rationales for its grading decisions, drastically reducing the data-labeling burden compared to traditional machine learning approaches.

What Problem Does This Paper Address?

In science education, asking students to draw free-form models (e.g., diagramming how molecules move when butter melts) is a fantastic way to reveal their conceptual understanding. However, grading these unstructured drawings is incredibly time-consuming for teachers.

While traditional deep learning models (like Convolutional Neural Networks) can automate this task, they act as "black boxes" and require massive training datasets—often upwards of 1,000 human-scored images per task. This creates a steep technical and logistical barrier for educators and researchers. The authors explore whether a vision-language model (VLM) like GPT-4V can overcome these hurdles by scoring drawings accurately using only a few examples and zero programming.

Methods

The authors developed NERIF, a framework designed to optimize GPT-4V's image classification performance via structured, single-turn prompts.

The Process of Notation-Enhanced Rubric Instruction for Few-shot Learning

As shown in Figure 1, the NERIF prompt consists of seven core components fed to GPT-4V across two input images:

  1. Role: Defining the AI as a science teacher.
  2. Task: Instructing the model to categorize drawings into proficiency levels.
  3. Problem Context: The scientific scenario the students are modeling.
  4. Notation-Enhanced Scoring Rubrics: Clear criteria mapped to specific proficiency levels.
  5. Instructional Notes: Heuristic, natural-language hints provided by researchers to guide the AI's visual attention (e.g., "arrows explicitly show motion; simply drawing lines does not").
  6. Few-shot Examples: Nine human-scored exemplar drawings complete with Chain-of-Thought (CoT) rationales to teach the model how to apply the rubric.
  7. Test Cases: The actual student drawings to be evaluated.

Datasets

The study utilized student-drawn scientific models from a prior study aligned with the Next Generation Science Standards (NGSS). Specifically, the tasks evaluated middle school students' understanding of particle motion, temperature, and phase changes (NGSS MS-PS1-4).

The dataset included:

  • 6 distinct modeling assessment tasks (e.g., melting butter, gas particles).
  • 9 few-shot examples per task.
  • A perfectly balanced test dataset of 900 models (150 per task), evenly split across three human-assigned proficiency levels: Beginning, Developing, and Proficient.

Key Insights and Ideas

  • The "Proficient" Penalty: GPT-4V proved surprisingly poor at identifying Proficient models, frequently downgrading them to Developing. Because a proficient score requires a student to satisfy all rubric criteria perfectly, a single overly strict interpretation by GPT-4V on a minor visual element drops the entire score.
  • Instructional Notes are a Game Changer: Providing the model with explicit visual hints (e.g., clarifying what constitutes a "particle" vs. a "line") significantly altered its evaluation logic. Without these notes, GPT-4V's responses became brief, rigid, and significantly less accurate.
  • Opening the Black Box: Unlike traditional CNNs that output a raw classification probability, GPT-4V narrates its visual extraction process. It explicitly states what it sees (e.g., "The model shows particles move faster after heating; this is indicated by longer arrows"), making its grading transparent and interpretable to human experts.

Key Results

  • Overall Accuracy: GPT-4V achieved an average scoring accuracy of 51% (SD = 0.037) across all tasks.
  • Accuracy by Class: Performance varied drastically by proficiency level. It scored 64% for Beginning models and 62% for Developing models, but plummeted to 26% for Proficient models.
  • Inter-rater Reliability: The quadratic weighted Fleiss' Kappa ranged from 0.32 to 0.51, indicating "Fair to Moderate" agreement with human experts.

Limitations and Future Work

While promising, NERIF's accuracy is not yet ready for standalone classroom deployment. The authors noted several technical limitations with the GPT-4V interface at the time of the study:

  • Context Contamination: The model's conversational memory can interfere with subsequent grading tasks. To maintain consistency, the researchers had to manually reset the session after every three test cases.
  • Image Processing Limits: When uploaded simultaneously, GPT-4V frequently ignored the third and fourth images in a prompt, forcing the authors to concatenate test cases into a single image file.

Future Directions: The authors suggest that future iterations utilizing the official GPT-4V API could implement multi-turn "voting" mechanisms (asking the model to grade an item multiple times to find a consensus) or explicitly instruct the model to be less rigid when evaluating top-tier Proficient responses.

Summary updated

BibTeX
@misc{lee2023nerif,
  author = {Gyeong-Geon Lee and Xiaoming Zhai},
  title = {{NERIF: GPT-4V for Automatic Scoring of Drawn Models}},
  year = {2023},
  eprint = {2311.12990},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.12990},
}
Figure