Reuse & Permissions

It is not necessary to obtain permission to reuse this article or its components as it is available under the terms of the Creative Commons Attribution 4.0 International license. This license permits unrestricted use, distribution, and reproduction in any medium, provided attribution to the author(s) and the published article's title, journal citation, and DOI are maintained. Please note that some figures may have been included with permission from other third parties. It is your responsibility to obtain the proper permission from the rights holder directly for these figures.

Export citation

Export citation

Choose format for download:

Download Citation
  • Open Access

Testing the validity of embedding-based similarity and clustering for handwritten physics solutions

Maike Tauschhuber*

Gerd Kortemeyer†,‡

  • Department of Information Technology and Electrical Engineering, ETH Zurich, 8092 Zurich, Switzerland

  • Rectorate and AI Center, ETH Zurich, 8092 Zurich, Switzerland

  • *Contact author: mtauschhuber@neuroo.de
  • †Contact author: kgerd@ethz.ch
  • ‡Also at Michigan State University, East Lansing, Michigan 48823, USA.

Phys. Rev. Phys. Educ. Res. 22, 020147 – Published 21 October, 2026

DOI: https://doi.org/10.1103/sdnj-cjst

Abstract

Text embeddings are increasingly used in physics education research to organize, compare, and cluster large collections of written text. Their appeal is clear: once student responses have been mapped into a vector space, similarity comparisons and clustering become computationally inexpensive. However, in assessment contexts, the relevant question is not merely whether clusters can be produced but whether the geometry of the embedding space preserves grading-relevant distinctions. We tested this premise using 992 handwritten student-problem solutions from a high-stakes engineering thermodynamics exam, transcribed into five textual representations and embedded using nine embedding mechanisms. We compared embedding similarity and embedding-based hierarchical clusters against human-assigned scores. Across models, representations, and clustering choices, embedding similarity showed a consistent but modest relationship to score similarity, and the resulting clusters were score-enriched but not score-equivalent. Experiments with a synthetic dataset suggest that this may be due to embeddings behaving like novices when categorizing physics-problem solutions; that is, their similarity geometry is strongly influenced by surface features rather than conceptual, semantic structure. These findings suggest that rubric-blind transcription and out-of-the-box, state-of-the-art embeddings can support exploratory organization and human-in-the-loop review of physics solutions, but they do not provide an unsupervised basis for grading without external validation against the assessment construct of interest.

View figure in article

Physics Subject Headings (PhySH)

Article Text

References (104)

  1. J. H. Larkin and F. Reif, Understanding and teaching problem-solving in physics, Eur. J. Sci. Educ. 1, 191 (1979).
  2. T. Gok, The general assessment of problem solving processes and metacognition in physics education, Int. J. Phys. Chem. Educ. 2, 110 (2010).
  3. J. L. Docktor and J. P. Mestre, Synthesis of discipline-based education research in physics, Phys. Rev. ST Phys. Educ. Res. 10, 020119 (2014).
  4. E. Ince, An overview of problem solving studies in physics education, J. Educ. Learn. 7, 191 (2018).
  5. R. J. Dufresne and W. J. Gerace, Assessing-to-learn: Formative assessment in physics instruction, Phys. Teach. 42, 428 (2004).
  6. J. T. Laverty, W. Bauer, G. Kortemeyer, and G. Westfall, Want to reduce guessing and cheating while making students happier? Give more exams!, Phys. Teach. 50, 540 (2012).
  7. W. Fakcharoenphol and T. Stelzer, Physics exam preparation: A comparison of three methods, Phys. Rev. ST Phys. Educ. Res. 10, 010108 (2014).
  8. C. Wieman and K. Perkins, Transforming physics education, Phys. Today 58, 36 (2005).
  9. O. Uhden, R. Karam, M. Pietrocola, and G. Pospiech, Modelling mathematical reasoning in physics education, Sci. Educ. 21, 485 (2012).
  10. J. Tuminaro and E. F. Redish, Elements of a cognitive model of physics problem solving: Epistemic games, Phys. Rev. ST Phys. Educ. Res. 3, 020101 (2007).
  11. R. E. Teodorescu, C. Bennhold, G. Feldman, and L. Medsker, New approach to analyzing physics problems: A taxonomy of introductory physics problems, Phys. Rev. ST Phys. Educ. Res. 9, 010103 (2013).
  12. C. Singh, Assessing student expertise in introductory physics with isomorphic problems. ii. Effect of some potential factors on problem solving and transfer, Phys. Rev. ST Phys. Educ. Res. 4, 010105 (2008).
  13. J. Larkin, J. McDermott, D. P. Simon, and H. A. Simon, Expert and novice performance in solving physics problems, Science 208, 1335 (1980).
  14. M. M. Hull, E. Kuo, A. Gupta, and A. Elby, Problem-solving rubrics revisited: Attending to the blending of informal conceptual and formal mathematical reasoning, Phys. Rev. ST Phys. Educ. Res. 9, 010105 (2013).
  15. J. L. Docktor, J. Dornfeld, E. Frodermann, K. Heller, L. Hsu, K. A. Jackson, A. Mason, Q. X. Ryan, and J. Yang, Assessing student written problem solutions: A problem-solving rubric with application to introductory physics, Phys. Rev. Phys. Educ. Res. 12, 010130 (2016).
  16. D. E. Meltzer, Relation between students’ problem-solving performance and representational format, Am. J. Phys. 73, 463 (2005).
  17. P. B. Kohl and N. D. Finkelstein, Student representational competence and self-assessment when solving physics problems, Phys. Rev. ST Phys. Educ. Res. 1, 010104 (2005).
  18. P. B. Kohl, D. Rosengrant, and N. D. Finkelstein, Strongly and weakly directed approaches to teaching multiple representation use in physics, Phys. Rev. ST Phys. Educ. Res. 3, 010108 (2007).
  19. D.-H. Nguyen and N. S. Rebello, Students’ difficulties in transfer of problem solving across representations, in AIP Conference Proceedings (American Institute of Physics, Melville, NY, 2009), Vol. 1179, pp. 221–224.
  20. B. R. Wilcox and S. J. Pollock, Coupled multiple-response versus free-response conceptual assessment: An example from upper-division physics, Phys. Rev. ST Phys. Educ. Res. 10, 020124 (2014).
  21. F. Reif, J. H. Larkin, and G. C. Brackett, Teaching general learning and problem-solving skills, Am. J. Phys. 44, 212 (1976).
  22. F. Reif, Millikan lecture 1994: Understanding and teaching important scientific thought processes, Am. J. Phys. 63, 17 (1995).
  23. L. Hsu, E. Brewe, T. M. Foster, and K. A. Harper, Resource letter RPS-1: Research in problem solving, Am. J. Phys. 72, 1147 (2004).
  24. J. Hattie, Visible Learning: A Synthesis of over 800 Meta-Analyses Relating to Achievement (Routledge, Abingdon, Oxfordshire, 2008).
  25. F. Al-Salmani, J. Johnson, and B. Thacker, Assessing thinking skills in free-response exam problems: Pandemic online and in-person, Phys. Rev. Phys. Educ. Res. 19, 010131 (2023).
  26. D. A. Kashy, G. Albertelli, G. Ashkenazi, E. Kashy, H.-K. Ng, and M. Thoennessen, Individualized interactive exercises: A promising role for network technology, in Proc. Frontiers in Education (IEEE, Piscataway, NJ, 2001), Vol. 31, pp. 1073–1078.
  27. G. Kortemeyer, E. Kashy, W. Benenson, and W. Bauer, Experiences using the open-source learning content management and assessment system LON-CAPA in introductory physics courses, Am. J. Phys. 76, 438 (2008).
  28. J. Risley, Motivating students to learn physics using an online homework system, Newsletter of the APS Forum on Education Fall 3 (2001).
  29. T. Stelzer and G. Gladding, The evolution of web-based activities in physics at Illinois, Newsletter of the APS Forum on Education Fall 7 (2001).
  30. R. J. Dufresne, J. P. Mestre, D. M. Hart, and K. A. Rath, The effect of web-based homework on test performance in large enrollment introductory physics courses, J. Comput. Math. Sci. Teach. 21, 229 (2002).
  31. C. Fredericks, Patterns of behavior in online homework for introductory physics, Ph.D. thesis, University of Massachusetts, 2007.
  32. M. Richards-Babb, J. Drelick, Z. Henry, and J. Robertson-Honecker, Online homework, help or hindrance? What students think and how they perform, J. Coll. Sci. Teach. 40, 81 (2011).
  33. D. C. Perdian, Early identification of student performance and effort using an online homework system: A pilot study, J. Sci. Educ. Technol. 22, 697 (2013).
  34. E. W. Burkholder, J. K. Miles, T. J. Layden, K. D. Wang, A. V. Fritz, and C. E. Wieman, Template for teaching and assessment of problem solving in introductory physics, Phys. Rev. Phys. Educ. Res. 16, 010123 (2020).
  35. E. G. Offerdahl and J. B. Arneson, Formative assessment to improve student learning in biochemistry, in Biochemistry Education: From Theory to Practice (ACS Publications, Washington, DC, 2019), pp. 197–218.
  36. T. M. Clark, C. S. Callam, N. M. Paul, M. W. Stoltzfus, and D. Turner, Testing in the time of COVID-19: A sudden transition to unproctored online exams, J. Chem. Educ. 97, 3413 (2020).
  37. T. M. Gomez, C. Luciano, T. Nguyen, S. M. Villafañe, and M. N. Groves, Student success and experience in a flipped, senior physical chemistry course spanning before and after the covid-19 pandemic, Chem. Educ. Res. Pract. 26, 210 (2025).
  38. E. Kashy, B. M. Sherrill, D. T. Y. Tsai, D. Weinshank, M. Engelmann, and D. J. Morrissey, CAPA, an integrated computer assisted personalized assignment system, Am. J. Phys. 61, 1124 (1993).
  39. E. Kashy, S. J. Gaff, N. H. Pawley, W. L. Stretch, S. L. Wolfe, D. J. Morrissey, and Y. Tsai, Conceptual questions in computer-assisted assignments, Am. J. Phys. 63, 1000 (1995).
  40. R. Warnakulasooriya and D. Pritchard, Learning and problem-solving transfer between physics problems using web-based homework tutor, in EdMedia+ Innovate Learning (Association for the Advancement of Computing in Education (AACE), Norfolk, VA, 2005), pp. 2976–2983.
  41. G. Gladding, B. Gutmann, N. Schroeder, and T. Stelzer, Clinical study of student learning using mastery style versus immediate feedback online activities, Phys. Rev. ST Phys. Educ. Res. 11, 010114 (2015).
  42. B. Gutmann, G. Gladding, M. Lundsgaard, and T. Stelzer, Mastery-style homework exercises in introductory physics courses: Implementation matters, Phys. Rev. Phys. Educ. Res. 14, 010128 (2018).
  43. M. Scott, T. Stelzer, and G. Gladding, Evaluating multiple-choice exams in large introductory physics courses, Phys. Rev. ST Phys. Educ. Res. 2, 020102 (2006).
  44. A. Pawl, R. E. Teodorescu, and J. D. Peterson, Assessing class-wide consistency and randomness in responses to true or false questions administered online, Phys. Rev. ST Phys. Educ. Res. 9, 020102 (2013).
  45. G. Kortemeyer, The psychometric properties of classroom response system data: A case study, J. Sci. Educ. Technol. 25, 561 (2016).
  46. J. Stewart and S. Ballard, Effect of written presentation on performance in introductory physics, Phys. Rev. ST Phys. Educ. Res. 6, 020120 (2010).
  47. J. L. Davis and T. N. McDonald, Online, handwritten or hybrid homework: What’s best for our students in the long run?, J. Online Eng. Educ. 7, 1 (2016).
  48. D. J. Palazzo, Y.-J. Lee, R. Warnakulasooriya, and D. E. Pritchard, Patterns, correlates, and reduction of homework copying, Phys. Rev. ST Phys. Educ. Res. 6, 010104 (2010).
  49. E. Gönülateş and G. Kortemeyer, Modeling unproductive behavior in online homework in terms of latent student traits: An approach based on item response theory, J. Sci. Educ. Technol. 26, 139 (2017).
  50. G. Kortemeyer, An empirical study of the effect of granting multiple tries for online homework, Am. J. Phys. 83, 646 (2015).
  51. K. VanLehn, B. van de Sande, R. Shelby, and S. Gershman, The Andes physics tutoring system: An experiment in freedom, in Advances in Intelligent Tutoring Systems, edited by R. Nkambou, J. Bourdeau, and R. Mizoguchi, Studies in Computational Intelligence Vol. 308 (Springer, Berlin, Heidelberg, 2010), pp. 421–443, 10.1007/978-3-642-14363-2_21.
  52. C. M. Nakamura, S. K. Murphy, M. G. Christel, S. M. Stevens, and D. A. Zollman, Automated analysis of short responses in an interactive synthetic tutoring system for introductory physics, Phys. Rev. Phys. Educ. Res. 12, 010122 (2016).
  53. J. A. Shapiro, An algebra subsystem for diagnosing students’ input in a physics tutoring system, Int. J. Artif. Intell. Educ. 15, 205 (2005).
  54. OpenAI, ChatGPT, https://chat.openai.com/ (accessed April 2024).
  55. OpenAI, ChatGPT, https://openai.com/research/gpt-4 (accessed April 2024).
  56. OpenAI, Hello GPT-4o, https://openai.com/index/hello-gpt-4o/ (accessed June 2024).
  57. J. G. Meyer, R. J. Urbanowicz, P. C. Martin, K. O’Connor, R. Li, P.-C. Peng, T. J. Bright, N. Tatonetti, K. J. Won, G. Gonzalez-Hernandez et al., ChatGPT and large language models in academia: Opportunities and challenges, BioData Mining 16, 20 (2023).
  58. E. Kasneci, K. Seßler, S. Küchemann, M. Bannert, D. Dementieva, F. Fischer, U. Gasser, G. Groh, S. Günnemann, E. Hüllermeier et al., ChatGPT for good? On opportunities and challenges of large language models for education, Learn. Individ. Differ. 103, 102274 (2023).
  59. W. Yeadon and T. Hardy, The impact of AI in physics education: A comprehensive review from GCSE to university levels, Phys. Educ. 59, 025010 (2024).
  60. A. Sperling and J. Lincoln, Artificial intelligence and high school physics, Phys. Teach. 62, 314 (2024).
  61. G. Polverini and B. Gregorcic, How understanding large language models can inform the use of ChatGPT in physics education, Eur. J. Phys. 45, 025701 (2024).
  62. P. Tschisgale, P. Wulff, and M. Kubsch, Integrating artificial intelligence-based methods into qualitative research in physics education research: A case for computational grounded theory, Phys. Rev. Phys. Educ. Res. 19, 020123 (2023).
  63. F. Kieser, P. Wulff, J. Kuhn, and S. Küchemann, Educational data augmentation in physics education research using ChatGPT, Phys. Rev. Phys. Educ. Res. 19, 020150 (2023).
  64. P. Wulff, Physics language and language use in physics—what do we know and how ai might enhance language-related research and instruction, Eur. J. Phys. 45, 023001 (2024).
  65. T. H. Kung, M. Cheatham, A. Medenilla, C. Sillos, L. De Leon, C. Elepaño, M. Madriaga, R. Aggabao, G. Diaz-Candido et al., Performance of ChatGPT on USMLE: Potential for AI-assisted medical education using large language models, PLOS Digital Health 2, e0000198 (2023).
  66. J. Achiam, S. Adler, S. Agarwal, L. Ahmad, I. Akkaya, F. L. Aleman, D. Almeida, J. Altenschmidt, S. Altman, S. Anadkat et al., GPT-4 technical report, arXiv:2303.08774.
  67. G. Kortemeyer, Could an artificial-intelligence agent pass an introductory physics course?, Phys. Rev. Phys. Educ. Res. 19, 010132 (2023).
  68. V. López-Simó and M. F. Rezende, Challenging chatgpt with different types of physics education questions, Phys. Teach. 62, 290 (2024).
  69. K. D. Wang, E. Burkholder, C. Wieman, S. Salehi, and N. Haber, Examining the potential and pitfalls of ChatGPT in science and engineering problem-solving, Front. Educ. 8, 1330486 (2024).
  70. G. Kortemeyer, M. Babayeva, G. Polverini, R. Widenhorn, and B. Gregorcic, Multilingual performance of a multimodal artificial intelligence system on multisubject physics concept inventories, Phys. Rev. Phys. Educ. Res. 21, 020101 (2025).
  71. S. Küchemann, S. Steinert, N. Revenga, M. Schweinberger, Y. Dinc, K. E. Avila, and J. Kuhn, Can ChatGPT support prospective teachers in physics task development?, Phys. Rev. Phys. Educ. Res. 19, 020128 (2023).
  72. J. Wilson, B. Pollard, J. M. Aiken, M. D. Caballero, and H. J. Lewandowski, Classification of open-ended responses to a research-based assessment using natural language processing, Phys. Rev. Phys. Educ. Res. 18, 010141 (2022).
  73. T. Wan and Z. Chen, Exploring generative AI assisted feedback writing for students’ written responses to a physics conceptual question with prompt engineering and few-shot learning, Phys. Rev. Phys. Educ. Res. 20, 010152 (2024).
  74. G. Kortemeyer, Toward AI grading of student problem solutions in introductory physics: A feasibility study, Phys. Rev. Phys. Educ. Res. 19, 020163 (2023).
  75. G. Kortemeyer, J. Nöhl, and D. Onishchuk, Grading assistance for a handwritten thermodynamics exam using artificial intelligence: An exploratory study, Phys. Rev. Phys. Educ. Res. 20, 020144 (2024).
  76. T. Liu, J. Chatain, L. Kobel-Keller, G. Kortemeyer, T. Willwacher, and M. Sachan, AI-assisted automated short answer grading of handwritten university level mathematics exams, arXiv:2408.11728.
  77. G. Kortemeyer and J. Nöhl, Assessing confidence in AI-assisted grading of physics exams through psychometrics: An exploratory study, Phys. Rev. Phys. Educ. Res. 21, 010136 (2025).
  78. Á. Fraknói, A. Kornai, and Z. Zombori, Embedding mathematical formulas into vector space, in 8th Conference on Artificial Intelligence and Theorem Proving (AITP 2023), Aussois, France (2023), https://aitp-conference.org/2023/abstract/AITP_2023_paper_17.pdf.
  79. X. He, Mathematical formulas-based scientific literature retrieval with heterogeneous network semantic enhancement, in Web Information Systems Engineering - WISE 2024, edited by M. Barhamgi, H. Wang, and X. Wang, Lecture Notes in Computer Science Vol. 15436 (Springer, Singapore, 2025), pp. 26–41, 10.1007/978-981-96-0579-8_3.
  80. Z. Xu, Hesitant Fuzzy Sets Theory, Studies in Fuzziness and Soft Computing Vol. 314 (Springer, Cham, 2014), 10.1007/978-3-319-04711-9.
  81. X. Lin, Z. Huang, H. Zhao, E. Chen, Q. Liu, H. Wang, and S. Wang, HMS: A hierarchical solver with dependency-enhanced understanding for math word problem, in Thirty-Fifth AAAI Conference on Artificial Intelligence, AAAI 2021, Thirty-Third Conference on Innovative Applications of Artificial Intelligence, IAAI 2021, The Eleventh Symposium on Educational Advances in Artificial Intelligence, EAAI 2021, Virtual Event, February 2-9, 2021 (AAAI Press, Palo Alto, CA, 2021), pp. 4232–4240, 10.1609/aaai.v35i5.16547.
  82. Applying Machine Learning in Science Education Research: When, How, and Why?, edited by P. Wulff, M. Kubsch, and C. Krist (Springer, Cham, 2025), 10.1007/978-3-031-74227-9.
  83. T. O. B. Odden, H. Tyseng, J. T. Mjaaland, M. F. Kreutzer, and A. Malthe-Sørenssen, Using text embeddings for deductive qualitative research at scale in physics education, Phys. Rev. Phys. Educ. Res. 20, 020151 (2024).
  84. M. Caramaschi and T. O. B. Odden, Analyzing the history of physics education in the USA and Europe through natural language processing, Phys. Rev. Phys. Educ. Res. 21, 020153 (2025).
  85. A. Buzzell, T. J. Atherton, and R. Barthelemy, Modern physics courses: Understanding the content taught in the U.S., Phys. Rev. Phys. Educ. Res. 21, 010139 (2025).
  86. K. Gili, K. Heuton, A. Shah, D. Hammer, and M. C. Hughes, Combining physics education and machine learning research to measure evidence of students’ mechanistic sensemaking, Phys. Rev. Phys. Educ. Res. 21, 020161 (2025).
  87. T. Wyrwich, M. Kubsch, H. Drachsler, and K. Neumann, Tracking students’ progression in developing understanding of energy using AI technologies, Phys. Rev. Phys. Educ. Res. 21, 010152 (2025).
  88. P. P. Martin, D. Kranz, P. Wulff, and N. Graulich, Exploring new depths: Applying machine learning for the analysis of student argumentation in chemistry, J. Res. Sci. Teach. 61, 1757 (2024).
  89. A. Gurin Schleifer, B. Beigman Klebanov, and G. Alexandron, Uncovering measurement biases in LLM embedding spaces: The Anna Karenina principle and its implications for automated feedback, Int. J. Artif. Intell. Educ. 35, 2821 (2025).
  90. M. T. Kane, Validating the interpretations and uses of test scores, J. Educ. Measure 50, 1 (2013).
  91. S. Messick, Validity of psychological assessment: Validation of inferences from persons’ responses and performances as scientific inquiry into score meaning, Am. Psychol. 50, 741 (1995).
  92. Z. Chen and T. Wan, Grading explanations of problem-solving process and generating feedback using large language models at human-level accuracy, Phys. Rev. Phys. Educ. Res. 21, 010126 (2025).
  93. R. Mok, F. Akhtar, L. Clare, C. Li, J. Ida, L. Ross, and M. Campanelli, Using large language models for grading in education: An applied test for physics, Phys. Educ. 60, 035006 (2025).
  94. OpenAI, Introducing GPT-5.4, https://openai.com/index/introducing-gpt-5-4/ (Accessed: 2026-06-14).
  95. OpenAI, text-embedding-3-large documentation, https://platform.openai.com/docs/models/text-embedding-3-large (2025), accessed: 2025-09-08.
  96. Jina AI, Jina-embeddings-v4 model documentation, https://jina.ai/models/jina-embeddings-v4/ (2025).
  97. M. Günther, S. Sturua, M. K. Akram, I. Mohr, A. Ungureanu, B. Wang, S. Eslami, S. Martens, M. Werk, N. Wang, and H. Xiao, Jina-embeddings-v4: Universal embeddings for multimodal multilingual retrieval, in Proceedings of the 5th Workshop on Multilingual Representation Learning (MRL 2025), edited by D. I. Adelani, C. Arnett, D. Ataman, T. A. Chang, H. Gonen, R. Raja, F. Schmidt, D. Stap, and J. Wang (Association for Computational Linguistics, Suzhou, China, 2025), pp. 531–550, 10.18653/v1/2025.mrl-main.36.
  98. A. Yang, B. Zhang, B. Hui, B. Gao, B. Yu, C. Li, D. Liu, J. Tu, J. Zhou, J. Lin, K. Lu, M. Xue, R. Lin, T. Liu, X. Ren, and Z. Zhang, Qwen2.5-math technical report: Toward mathematical expert model via self-improvement, arXiv:2409.12122.
  99. T. M. J. Fruchterman and E. M. Reingold, Graph drawing by force-directed placement, Software: Practice and Experience 21, 1129 (1991).
  100. G. Kortemeyer, Virtual-reality graph visualization based on Fruchterman-Reingold using Unity and SteamVR, Inf. Visualization 21, 143 (2022).
  101. M. T. H. Chi, P. J. Feltovich, and R. Glaser, Categorization and representation of physics problems by experts and novices, Cogn. Sci. 5, 121 (1981).
  102. S. F. Wolf, D. P. Dougherty, and G. Kortemeyer, Rigging the deck: Selecting good problems for expert-novice card-sorting experiments, Phys. Rev. ST Phys. Educ. Res. 8, 020116 (2012).
  103. S. F. Wolf, D. P. Dougherty, and G. Kortemeyer, Empirical approach to interpreting card-sorting data, Phys. Rev. ST Phys. Educ. Res. 8, 010124 (2012).
  104. G. Kortemeyer, Ethel: A virtual teaching assistant, Phys. Teach. 62, 698 (2024).

Outline

Information

Sign In to Your Journals Account

Filter

Filter

Article Lookup

Enter a citation