Evaluating NLP Embedding Models for Handling Science-Specific Symbolic Expressions in Student Texts
Tom Bleckmann, Paul Tschisgale
TL;DR
This paper investigates how contemporary NLP embeddings handle physics-specific symbolic expressions embedded in authentic student texts, a challenge often overlooked in educational data mining. It compares German and multilingual embeddings using two approaches: a similarity-based analysis of symbolic expressions against literal translations and related concepts, and an ML-pipeline evaluation where a fixed classifier (SVM) is trained across varying embeddings on physics concept maps. The results show substantial differences among models, with GPT-text-embedding-3-large typically outperforming others in both analyses, though the gains are moderate and context may influence outcomes. The study highlights practical implications for educational applications, including model selection, cost, privacy, and dependencies on external providers, and provides a framework for benchmarking future science-language embedding models that incorporate symbolic expressions. It also points to a need for open-source, math-aware embeddings and explicit mathematical language processing to reduce biases and improve scalable educational analytics.
Abstract
In recent years, natural language processing (NLP) has become integral to educational data mining, particularly in the analysis of student-generated language products. For research and assessment purposes, so-called embedding models are typically employed to generate numeric representations of text that capture its semantic content for use in subsequent quantitative analyses. Yet when it comes to science-related language, symbolic expressions such as equations and formulas introduce challenges that current embedding models struggle to address. Existing research studies and practical applications often either overlook these challenges or remove symbolic expressions altogether, potentially leading to biased research findings and diminished performance of practical applications. This study therefore explores how contemporary embedding models differ in their capability to process and interpret science-related symbolic expressions. To this end, various embedding models are evaluated using physics-specific symbolic expressions drawn from authentic student responses, with performance assessed via two approaches: 1) similarity-based analyses and 2) integration into a machine learning pipeline. Our findings reveal significant differences in model performance, with OpenAI's GPT-text-embedding-3-large outperforming all other examined models, though its advantage over other models was moderate rather than decisive. Overall, this study underscores the importance for educational data mining researchers and practitioners of carefully selecting NLP embedding models when working with science-related language products that include symbolic expressions. The code and (partial) data are available at https://doi.org/10.17605/OSF.IO/6XQVG.
