Objective
Large language models (LLMs) are computer programs trained on huge amounts of text so they can write and answer questions in everyday language. ChatGPT, built on GPT-3.5 and the newer GPT-4, is the best-known example. Earlier studies found that ChatGPT did worse in mathematics than in many other subjects, and that its answers to math problems often contained calculation mistakes. The authors say that calculus, one of the most widely taken math courses, had received little attention, and that nobody had yet tested whether ChatGPT could grade calculus solutions.
Grading matters because it takes teachers many hours, and quick feedback helps students most when it arrives soon. The authors also wanted to test the AI on a task it was probably not trained for, as a kind of unusual benchmark (a test that AI developers did not prepare for).
The study set out to answer these questions:
- How well do GPT-3.5 and GPT-4 solve college-level calculus problems?
- How well can they grade calculus solutions compared with expert human graders?
- Does the AI lose focus ("loss of coherence") when it has to repeat a task many times in one answer?
- Did the models get worse over time, as some people had claimed, when the same problems were tried again six months later?
Methods
This was a computational test of AI tools, not a study of classroom teaching. The researchers used the public ChatGPT (GPT-3.5) and the paid GPT-4 with default settings, to copy what an ordinary user would experience. Because it tests tools on a set of problems, it can show how the tools performed on those problems, but it cannot show how students or teachers would behave.
The problems
The calculus problems came from three sources: standard textbook exercises from Stewart (2020) with numerical answers; high school competition problems from the 2021 Stanford Math Tournament team round; and 10 questions randomly chosen from homework and final exams of a real calculus course at New York University Abu Dhabi. The questions were limited to two paragraphs, with no multiple choice and no images. The problems were typed in a plain-text math format, or in TeX for the Stanford set.
Solving and grading
Both models were asked to solve every problem. For the textbook and Stanford problems, the researchers wrote their own made-up answers: one correct, one correct but written differently, one partly correct and one wrong. For the course problems, they used answers from real students who had consented, plus the chatbots' own answers. The prompt gave the problem, the correct solution, a grading rubric (for example 10 points for correct work with explanation, 8 for correct work without explanation, with partial credit for sensible steps) and the labeled submissions. The "golden standard" scores were set by the study's author, sometimes as a range. For the course problems, GPT-3.5 graded three times, and three senior students who had earned an A in the course also graded, without knowing that some answers came from a machine.
Other tests
To test focus, GPT-4 was asked which of 100 lists of 10 random whole numbers contained a number in a given interval. To test change over time, problems tried in March 2023 were repeated in September 2023. The team also briefly tried a tool that connects ChatGPT to WolframAlpha, a math program. The analysis used averages, two-sample t-tests (a way to check whether a gap between two averages is likely to be real or just chance) and an "aptness index", which measures how far a grader's scores stray from the golden standard (0 is perfect).
Key Findings
Overall, GPT-4 solved calculus problems better than GPT-3.5 but still made many errors. As a grader, GPT-4 reached average scores very close to human graders, yet its scores on single answers were less accurate than theirs. These are results from one small set of problems.
Solving calculus problems
- On textbook exercises, GPT-3.5 scored 30% and GPT-4 scored 60%. The gap was not statistically significant (p-value 0.078).
- On the Stanford competition problems, GPT-3.5 scored 14%, all from partial credit with no correct answers. GPT-4 scored 24% and got one of 10 exercises right.
- On the real course exercises, GPT-3.5 scored 43% and GPT-4 scored 72%. This gap was also not significant (p-value 0.25), partly because results varied a lot. The students scored 70.88% on average when graded by humans who did not know who wrote the answers.
- Both models made basic arithmetic errors. For example, the chatbot calculated one expression as -8 when the correct value is -4. Its explanations were generally appropriate.
- Comparing March with September 2023, GPT-3.5 improved on the course exercises (p-value 1.3%). No significant change appeared for GPT-4 or for the other cases, so the claimed decline was not seen.
- The WolframAlpha-connected tool was "not encouraging": it often did not use WolframAlpha, or gave it questions it could not understand.
Grading
- On the textbook problems, the error rate was 10% for GPT-3.5 and 6.67% for GPT-4.
- On the Stanford problems, GPT-3.5 graded about 62.5% of submissions correctly, with scores close to the right range in about 32.5% and completely off in around 5%. GPT-4 did similarly, with no completely off scores.
- On real student work, GPT-3.5 gave an average of 75.6%, GPT-4 gave 70.0% and the human graders gave 70.9%.
- Counting single scores that missed the target, GPT-3.5 had about 10 close misses and about 3 far misses. GPT-4 had 10 close misses and 1 far miss. Human graders had about 1 close miss and none far off.
- The aptness index for GPT-4 was 0.867, clearly different from zero, and better than GPT-3.5, which was above 1. The human graders were statistically indistinguishable from zero.
- Grading the chatbots' own answers was harder for everyone, and GPT-3.5 failed severely there.
Loss of coherence
- In the list test with 50 sequences, GPT-4 had about 30% errors in June 2023 (28.6%) and 6.15% later. With 100 sequences, errors were 55.3% earlier and 32% later.
- GPT-4 often stopped before finishing: it covered 59.4 of 100 lists earlier and 78 later.
- Errors were rare at first, then grew after the first mistakes, and later answers looked close to random guessing.
- When asked for rows containing the number 620, GPT-4 invented a row that did not exist.
Implications
The authors conclude that GPT-4 alone cannot yet grade calculus work reliably, but could be a strong support for a human grader. The points below mix what the authors say with a careful reading of the results.
Teachers and graders
- The authors suggest an AI first pass paired with human review. The paper notes that no study has yet shown how such a pairing works best, so any trial should be small and checked.
- Give the model the problem, a correct solution and a clear rubric. The authors say this reduced trivial mistakes, but human supervision was still needed.
- Do not feed it very long batches. In the list tests, accuracy dropped as the task got longer, so grading a few submissions at a time is a sensible reading of this result.
- The authors advise that students could use the chatbot to set up a solution but would have to check every calculation.
Leaders and policymakers
- The authors call for transparency, fairness and regulation, including data privacy, security and fair access, before AI grading spreads.
- They note that equal treatment is a concern if the AI cannot recognize correct answers written in unusual ways.
Developers and researchers
- Typing math in plain text or TeX is a barrier for students. The authors expect image or handwriting input to remove it.
- The list test could serve as a simple benchmark for loss of coherence.
The evidence is too thin to say how AI grading would affect real students' grades or learning, since no students received AI grades in this study.
Limitations
The authors say they used a small sample of questions from a single textbook, so it is unclear whether the results hold for other calculus problems. They also say the plain-text math format can be ambiguous and may have caused some errors, and that students might find it a burden to write answers in that format. They note that fast-moving technology could make the study out of date, and that human supervision is still needed.
The authors judge the risk of the chatbot having seen the problems before as moderate. The textbook problems and answers are public, while the course exam questions were never published.
The paper does not mention, but the "golden standard" scores were set by one person, the study's author, so the AI and humans were measured against one person's judgment. The paper also does not say how many submissions each grader scored in total, and the real class had only a handful of exercises (10 questions). Three human graders is a small group.
The paper does not mention, but most of the grading tests used made-up answers, and the AI results can change between runs because of built-in randomness (the paper notes the answers differ each time). The paper also gives the course date inconsistently (summer 2017 in one place, the 2021 class in another). Finally, the paper does not state whether the work was peer reviewed in the text provided, and the tests were done in 2023 on versions of the models that have since changed.
Future Directions
The authors list five directions and say the current study is foundational:
- Image submissions. Can the AI grade pictures of handwritten math, so students do not have to type formulas in a special format?
- Mathematical software. Can linking models like GPT to programs such as Mathematica cut arithmetic errors in solving and grading?
- Hybrid grading. How should human graders and AI share the work to combine their strengths? The authors say no studies exist yet on how this pairing would work.
- Attention mechanisms. Can the loss of coherence, which may be tied to how these models focus on text, be reduced?
- Custom training. Would a model trained specially for math and grading be more accurate and reliable?
The authors also say more testing is needed to fully judge GPT's grading ability and that loss of coherence needs further investigation. Questions the study leaves open include how the results would look on other courses, other problem sources and newer models.
The bottom line: In a small test of calculus problems, GPT-4 gave student answers average scores almost the same as three human graders (70.0% versus 70.9%) in seconds, but its scores on individual answers were less accurate, and it made arithmetic mistakes and sometimes lost focus on long tasks. The evidence comes from a limited set of problems, a single author's answer key and tests done in 2023, so it is suggestive, not conclusive. For teachers, the careful reading is to treat AI as a fast first reader whose scores a person must check, not as a stand-alone grader.
Comments 0
No comments yet. Be the first to share a thought.
Get new research summaries by email
Every new summary, daily at 8:00 AM Eastern (or weekly if you prefer). Unsubscribe in one click.