Objective

Online math tutors need to know quickly whether a student's answer is right. Multiple-choice questions are easy to mark, but they can reward test-taking tricks and may not show how a student thinks. Fill-in questions show more, but they are harder to grade. A student might write 1/5, 0.2, a full sentence, or the answer along with the working.

The setting here is Rori, a math tutor that students chat with on WhatsApp, run by Rising Academies in Ghana. Its existing grading tool uses text rules and language processing. After human review, about 1% of its marks (1,186) were wrongly marked wrong when the answer was actually correct. Telling a student that a right answer is wrong can cause confusion and frustration.

The paper has two aims.

  • Share a new dataset, AMMORE, of math answers from a part of the world that learning analytics research rarely covers.
  • Test whether large language models (LLMs) can grade the hardest answers, and whether better grading changes how well a system estimates what a student has mastered.

Methods

This was a quantitative study using existing platform data. It can show how well different graders match human graders on this dataset. It cannot show learning gains for students.

The data. The AMMORE dataset has about 53,000 answers from 2,508 students who used Rori at home between 1 January and 30 April 2024. Most users came from Nigeria, Ghana and South Africa and were mostly aged between 10 and 30. Questions came from 151 lessons for grades 6 to 9 in algebra and numbers and operations. Two math educators reviewed answers marked wrong or other by Rori's tool and settled disagreements by discussion, creating a human answer key.

Experiment 1. The team built a harder subset called AMMORE-hard with 4,463 answers (1,528 correct and 2,935 wrong) after removing easy cases such as exact matches. Six graders were compared against the human key:

  • plain string matching;
  • text processing with symbol checks;
  • GPT-4 with a zero-shot prompt (no examples);
  • GPT-4 with a few-shot prompt (three examples);
  • GPT-4 with a chain-of-thought prompt, which asks the model to reason step by step and explain;
  • text processing followed by a zero-shot GPT-4 check.

GPT-4 ran with its temperature set to 0, and it saw only the question, the expected answer and the student answer. The team also timed each method and reran two of them 10 times on 100 examples to check consistency.

Experiment 2. Each grader's marks went into Bayesian Knowledge Tracing, a common method that estimates after each attempt whether a student has learned a skill. A student counted as mastering a lesson at a score of 0.9. The study compared string matching and chain-of-thought grading against human grading. The paper does not mention ethics approval.

Key Findings

Overall, GPT-4 with step-by-step prompts was the best grader on the hard cases, and its better marks changed estimates of what students had mastered.

Experiment 1: grading hard answers

  • Plain string matching was weakest, with accuracy of 0.79 and kappa (agreement beyond chance) of 0.44.
  • Accuracy for the other methods: text processing 0.96, zero-shot 0.94, few-shot 0.93, chain-of-thought 0.97, and text processing plus zero-shot 0.96. Kappa values were 0.90, 0.86, 0.83, 0.93 and 0.92.
  • Chain-of-thought was the best method, and text processing plus zero-shot was close behind.
  • All methods did better at spotting wrong answers than correct ones. Zero-shot and few-shot prompts missed more correct answers written in unusual formats.
  • Adding examples did not clearly help. Few-shot scored below zero-shot.
  • The model did best when the student wrote the answer in an unexpected but valid form, such as an equivalent fraction.
  • The authors report that chain-of-thought raised overall grading accuracy from 96% to 97%.

Where the model went wrong

  • It sometimes marked correct answers wrong when the working looked odd, such as a student writing =6+6 then =12 for 3^2 + 3^1.
  • It rejected answers with look-alike characters or badly formatted numbers, which humans accepted given a mobile keyboard.
  • It sometimes made its own math mistakes, such as misreading the place value of a digit.

Speed and consistency

  • Chain-of-thought took 2.79 seconds on average, against 0.73 seconds for few-shot and 0.68 for zero-shot. Text processing took 0.006 seconds.
  • Across 10 reruns, run-to-run agreement was 0.90 for zero-shot and 0.88 for chain-of-thought. Chain-of-thought agreed better with humans in each run but varied more from run to run.

Experiment 2: mastery estimates

  • Basic text processing misjudged mastery for 6.9% of students (165 out of 2,388). Chain-of-thought grading did so for 2.6% (61 out of 2,388).
  • For one student, string matching gave zero mastered lessons, while human and model grading gave scores over 0.90 in every lesson they finished.
  • In another case, correct answers in the wrong format were marked wrong, and the student seemed to leave lessons midway, then finished lessons once the answer format was clearer.

Implications

The authors argue that LLMs could make open-response math questions more practical in digital learning systems, as a helper for the hardest answers.

For developers and platform designers

  • The authors suggest a hybrid design: use fast, predictable text rules for common answers and send only unusual answers to an LLM.
  • They note that even a small share of grading errors can change mastery estimates a lot, so fixing the hard tail matters.
  • They flag cost and speed. Chain-of-thought is slower and has computing and money costs at large scale.

For teachers and school leaders

Our reading (not the authors' recommendation): when choosing a tutoring app, ask how it grades open answers and what happens when a correct answer is marked wrong. Students who are wrongly marked may lose confidence or stop practicing.

Our reading (not the authors' recommendation): a teacher reviewing mastery reports should remember that scores depend on the grader behind them.

Our reading (not the authors' recommendation): a school using a tutoring tool could ask the vendor how often correct answers are marked wrong and whether there is a way for students to flag a mistaken mark.

For researchers

The authors offer the AMMORE dataset for studies of math practice, grading models and student behavior in a context that is rarely studied. They also say that more research is needed on when to use each method in a hybrid system.

Limitations

The authors say the data cover only middle school math in two domains, algebra and numbers and operations, so results may not apply to other subjects, ages or more complex tasks. They also reduced grading to correct or incorrect, which hides partial understanding. They note that LLMs cost money and computing power at scale and can make errors in math reasoning or invent details, so more checking methods are needed.

Within the study, chain-of-thought varied more from run to run, which could confuse students if the same type of answer is accepted one time and rejected another.

The paper does not mention, but the work looks only at the hardest 1% of answers, so the gain in overall accuracy from 96% to 97% is small, and the study does not test whether better grading improves what students learn.

The paper does not mention, but the mastery estimates used standard default settings and a 0.9 cut-off picked from earlier experiments, so a different cut-off could change the share of misjudged students.

The paper does not mention, but the human key came from two educators who settled disagreements by discussion, so it may include some judgment calls, such as how strict to be on formatting.

Several authors work for or consult for Rising Academies, the company behind the platform, which the paper discloses.

Future Directions

The authors point to several questions for future work.

  • Do these methods work on other subjects, grade levels and age groups, given that automated grading can vary by domain?
  • Can LLMs support richer scoring than correct or wrong, such as partial credit and more detailed rubrics?
  • What checks can catch LLM mistakes and invented details, and can they keep cost and speed at a workable level at large scale?
  • What is the best design for a hybrid system, including ways to decide automatically when to use fast rules and when to call an LLM, based on the kind of answer?

The authors also describe AMMORE as a base for future analyses of mastery across lessons, lesson difficulty, and how model grades compare with human grades.

The bottom line: On a set of tricky math answers from students in West Africa, GPT-4 asked to reason step by step graded close to human level (kappa 0.93) and reduced wrongly estimated lesson mastery from 6.9% to 2.6% of students. The method is slower, can make math mistakes and varies between runs, and it was tested only on algebra and number questions. A mix of simple rules for common answers and an LLM for odd ones looks like a sensible approach, but its effect on actual learning has not been tested.