Перейти к содержимому
Hub Nexus

Автора пока нетВзять себе

Версия 3Обновлено 5 мин чтения

Поддержка

Automatically grading physics exams is hard because answers mix words and algebra. Two researchers proposed a way around it: let an AI language model only read each answer and write out the equations in a strict format, and let a reliable symbolic reasoning tool do the checking. They tested the first step on 200 typed student answers from the Australian Physics Olympiad. The best result was 176 of 200 matching the markers' list of equations, short of the 96.5% accuracy that the markers themselves could agree on.

The idea: AlphaPhysics

The Australian Physics Olympiad is an annual exam with about fifteen hundred participants aged 16 to 18. Students type their answers or scan handwritten working, and a team of about fifteen markers grades them in 48 hours, two weeks after the exam. The proposed pipeline, called AlphaPhysics (with no official connection to Google DeepMind, though it follows the structure of AlphaGeometry), has two steps:

  1. A large language model (LLM) extracts and translates the equations in a student's response into a standard format.
  2. An automated reasoning tool, such as a Satisfiability Modulo Theories (SMT) solver or a Computer Algebra System, checks whether they are equivalent to those in the solution.

This means instructors would not have to rely on the LLM's mathematical reasoning, which is notorious, though improving. It uses LLMs only for pattern recognition, and the equations they extract can be seen, contested and corrected by a student or teacher. The authors also chose open-source models small enough to run on a computer with a consumer graphics card, which answers concerns about transparency, privacy and the hidden electricity cost of proprietary models. They note that earlier studies of LLM physics grading used proprietary models whose updates change results over time, and required uploading student answers to outside servers.

The test

The authors used one question from the 2023 exam, in which students had to give an algebraic answer for the speed at which Mali must walk on a moving walkway to return at the same time as a group walking on the ground. It was chosen because working often interleaves lines of algebra with free text. Four graders marked all 200 responses and agreed the list of equations in each; the Olympiad Director checked them. In 3.5% of responses the graders could not agree exactly which equations the student meant, so no one could be expected to exceed 96.5%. Thirty of the 200 answers were blank.

Four techniques were compared:

TechniqueHow it works
DirectThe model is asked to extract the equations
LLM-Modulo SymPyThe model is warned if its answer breaks the required syntax, and gets up to three chances to repair it
LLM-Modulo Z3The same, but with specific feedback on the type of syntax error, such as an undefined symbol
ConsensusTwo models of similar size each use the SymPy loop, and Z3 checks whether their equations are equivalent. If not, they see both lists and try again, up to three times

Models ranged from 1 billion to 671 billion parameters, half of them "thinking" models trained to reason before answering.

What happened

Plot of accuracy against model size for each technique, with a sigmoid trend line

Accuracy against model size. Colors show the technique; circles are thinking models and crosses are the others. A line marks the 96.5% ceiling set by the markers' own disagreement (Figure 2 of the paper, CC BY 4.0).

  • Size helps. Accuracy rises with model size. The best, Llama 3.1 405B and DeepSeek 671B in the consensus setup, scored 88%, which is 8.5 percentage points below the 96.5% threshold. The authors conclude that no open-source model translated the answers at the accuracy wanted.
  • Feedback helps only when it is specific. The SymPy loop barely improved results. Small models gained most from syntax feedback, especially the thinking models, while larger ones gained more from discussion and checking with another model.
  • Consensus is costly. It raised accuracy only a little while greatly increasing running time.
  • Thinking models are slow. They use many more tokens: a 14-billion-parameter thinking model took 90,001 seconds on the Direct task, against 4,460 for Phi4. The authors estimate the budget as about 4,000 seconds for 200 responses, 20 seconds each. A 14-billion-parameter model, Phi4, scored about 70% and ran fast enough on a home computer, and lowering its precision from 16 bits to 4 bits only slightly lowered the score.
  • A plateau. For thinking models, accuracy leveled off at roughly 85% from about 70 billion parameters.

Plot of model accuracy against time to run, with lines for the number of blank responses and the best and highest expected accuracy

Accuracy against running time. Colors show the technique; circles are thinking models (DeepSeek). Horizontal lines mark the number of blank responses, the highest score reached and the highest expected score (Figure 3 of the paper, CC BY 4.0).

How the models failed

The commonest error in the best models was hallucination when a student mentioned an attachment that the model was never shown. For example, a response reading "Attachments: IMG_4805.HEIC" led two large models to agree on two equations that did not exist. Smaller models more often used undefined symbols, missed an equation or added one. A symbol typed as lowercase "s" instead of "S" breaks a solver; "plusminus root" had to be rewritten without "sqrt"; and when a student used "x" without defining it, the markers read it as one variable while the model took it for another. The authors say the best models made 24 errors in all.

Cost and next steps

The authors estimate compute as roughly 2 times the number of active parameters times the number of tokens, so size and long reasoning both cost energy. Their comparison of GPUs suggests that running a model on a home graphics card uses about three times the power of a cloud server for the same work, though running locally makes the user aware of what is being used. As of March 2025, they write, frontier open-source models reached about 88% accuracy, below a team of human graders. They suggest breaking the task into smaller parts, such as one line of a response per model call, and extending it to handwritten answers. They stress that this does not signal that the Olympiad is considering automated marking.

Sources

  • Lachlan McGinness and Peter Baumgartner, Can Large Language Models Correctly Interpret Equations with Errors?, arXiv, licensed under CC BY 4.0. Authors of the original: Lachlan McGinness and Peter Baumgartner. Changed here: shortened and rewritten, and the exam diagrams and some details left out; the two plots are the paper's own figures; rewritten in hubnx's own words.

Комментарии

Spinner Logo

Ещё на тему «Образование»

Автор: Hub Nexus Nomad
The Success Podcast Myth & The Illusion of Control
Автор: Abdul Ariwoola
Random article
Автор: Hub Nexus editorsПросмотры: 282
A demo for the Hub Nexus content editor, showing what could be created, and at the same time teaching how to create them with each syntax. It follows general markdown syntax, gfm, and more advanced like various charts and graphs code syntax.
CC BY 4.0
Speed and Velocity
CC0 1.0 (общественное достояние)
AA: This is Avi Arditti with Rosanne Skirble, and this week on Wordmaster -- the language of cliches. RS: These are phrases that lose meaning when we use them all the time. Take the expression: 24-7. That's another way of saying "24 hours a day, seven days a week." When I first heard it, it sounded
CC0 1.0 (общественное достояние)
A. C. Kemp, an English teacher at M.I.T. and keeper of slangcity.com, did a computer analysis of TV and movie scripts for us and discus