Ingen forfatter endnuOvertag den
- Sprog
- English
- Emner
- UddannelseVidenskab
Students write "E=mgh", "E(pot)=gmh" and "Epot=Mg∆h" for the same idea, and computer models that turn text into numbers have trouble with such formulas. A study tested six embedding models on physics formulas from real student answers. The one that did best was OpenAI's GPT-text-embedding-3-large, but its lead was moderate rather than decisive. This is a summary of an arXiv paper.
The problem
Embedding models turn words, sentences or documents into long lists of numbers that capture their meaning, so that similar texts sit close together. They are widely used to analyze student writing. But science answers mix words with equations and formulas, which such models may have rarely seen in training. Studies have either left formulas out of the text or ignored the problem, and earlier work found lower prediction accuracy for text that contained symbolic expressions. Leaving them out can bias results, particularly for students who rely more on formulas.
What the authors did
They used German students' answers to two physics tasks: labeling the arrows of a concept map, and describing how they would solve a problem. They picked out 100 symbolic expressions by hand, half from each task, without their surrounding sentences, which makes the test a lower bound on what the models can do. They tested six models: German_Semantic_STS_V2, paraphrase-multilingual-mpnet-base-v2, Gbert-large, G-SciEdBERT (fine-tuned for science education), GPT-text-embedding-3-large and GPT-text-embedding-ada-002. Some are open source, some proprietary, and some German-specific.
Approach 1, similarity. For each formula the authors wrote a correct plain-language reading, a subtly wrong one, the physics concept it relates to, a wrong but nearby concept, and an off-topic phrase, "apple pie recipe." A good model should place the formula closest to the correct reading and concept, farther from the wrong ones and farthest from the apple pie, which they measured with cosine similarity.
Approach 2, a classifier. With a support vector machine classifier fixed, they swapped the embedding model and measured how well it sorted 3,322 concept-map statements into four rating categories, 83% of them plain text and 17% with formulas, using Cohen's kappa for agreement with human raters.
What they found
- Similarity. GPT-text-embedding-3-large was best at telling correct from incorrect readings (AUC 0.73) and correct from incorrect related concepts (AUC 0.74). The other models were close to, or only slightly above, random guessing; AUC 0.5 is guessing and 1 is perfect. In the paired comparison it ranked the correct reading above the wrong one in 91% of cases, and the correct concept above the wrong one in 83%. Only three models gave the apple pie a noticeably lower score.
- Classifier. Average agreement was higher for plain-text answers (kappa 0.72) than for answers with formulas (kappa 0.60). GPT-text-embedding-3-large did best on both, and ada-002 was second. The science-education model G-SciEdBERT did worst on both.

Classifier performance for text-only answers (left) and answers with formulas (right), by embedding model (figure from the paper by T. Bleckmann and P. Tschisgale, CC BY 4.0).

ROC curves for the similarity test (figure from the paper by T. Bleckmann and P. Tschisgale, CC BY 4.0).
What it means, and the limits
The authors write that the choice of embedding model matters when student answers contain formulas. They think GPT-text-embedding-3-large's edge is likely due to broader training data and a more advanced design; the science model probably failed because its fine-tuning was on conceptual tasks rather than formulas. Choosing a model is not only about performance: proprietary models cost money, raise data protection questions and make users depend on an outside provider, while open models are more transparent but weaker with formulas. The authors call for open models trained on scientific text and for work on mathematical language processing.
Limits: only physics was studied, so chemistry or mathematics may differ; the study did not test how different ways of writing the same formula affect results; and the formulas were tested without surrounding text, so real performance is probably higher.
Sources
- Tom Bleckmann and Paul Tschisgale, "Evaluating NLP Embedding Models for Handling Science-Specific Symbolic Expressions in Student Texts", arXiv:2505.17950 (https://arxiv.org/abs/2505.17950), licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Figures 3 and 5 of the paper are shown unchanged apart from being captioned here; its other figures are left out. Changed here: rewritten as a summary in hubnx's own words.
Kommentarer



