EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Large Language Model and Fuzzy Metric Integration in Assignment Grading for Introduction to Programming Type of Courses

Rade Radišić, Srđan Popov, Nebojša Ralević

Mathematics · 29.12.2025 · 14 (1) · 137

DOI: 10.3390/math14010137 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Mathematics, online erschienen am 29.12.2025. Verfasst von Rade Radišić und 2 weiteren Autor:innen. Die Arbeit wurde bisher 2-mal zitiert (Crossref) und nennt 30 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Science Fund of the Republic of Serbia.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

The integration of large language models (LLMs) and fuzzy metrics offers new possibilities for improving automated grading in programming education. While LLMs enable efficient generation and semantic evaluation of programming assignments, traditional crisp grading schemes fail to adequately capture partial correctness and uncertainty. This paper proposes a grading framework in which LLMs assess student solutions according to predefined criteria and output fuzzy grades represented by trapezoidal membership functions. Defuzzification is performed using the centroid method, after which fuzzy distance measures and fuzzy C-means clustering are applied to correct grades based on cluster centroids corresponding to linguistic performance levels (poor, good, excellent). The approach is evaluated on several years of real course data from an introductory programming course with approximately 800 students per year called “Programski jezici i strukture podataka” in the first year of studies of multiple study programs at the Faculty of Technical Sciences, University of Novi Sad, Serbia. Experimental results show that direct fuzzy grading tends to be overly strict compared to human grading, while fuzzy metric correction significantly reduces grading deviation and improves alignment with human assessment, particularly for higher-performing students. Combining LLM-based semantic analysis with fuzzy metrics yields a more nuanced, interpretable, and adaptable grading process, with potential applicability across a wide range of educational assessment scenarios.

Förderung

  • Science Fund of the Republic of Serbia

Zitieren

APA

Radišić, R., Popov, S., & Ralević, N. (2025). Large Language Model and Fuzzy Metric Integration in Assignment Grading for Introduction to Programming Type of Courses. Mathematics, 14(1), 137. https://doi.org/10.3390/math14010137

Vancouver

Radišić R, Popov S, Ralević N. Large Language Model and Fuzzy Metric Integration in Assignment Grading for Introduction to Programming Type of Courses. Mathematics. 2025;14(1):137. doi:10.3390/math14010137

BibTeX
@article{Radii2025,
  author = {Radišić, Rade and Popov, Srđan and Ralević, Nebojša},
  title = {Large Language Model and Fuzzy Metric Integration in Assignment Grading for Introduction to Programming Type of Courses},
  journal = {Mathematics},
  year = {2025},
  volume = {14},
  number = {1},
  pages = {137},
  doi = {10.3390/math14010137}
}
Kostenlos starten →