Automated grading using natural language processing and semantic analysis

Educational institutions' grading systems have evolved significantly toward automation, propelled by advances in Natural Language Processing (NLP) and Artificial Intelligence (AI). This research comprehensively explores automated grading systems, analyzing traditional methods alongside contemporary approaches and research on exam grading. Through extensive literature review, we examine the advantages and disadvantages of keyword-centric techniques, NLP-based systems, and hybrid models. We implement a novel NLP-based automatic grading system that combines multiple similarity measures with semantic analysis using TensorFlow's Universal Sentence Encoder. The system evaluates student responses by comparing them to reference answers using a weighted combination of edit similarity, cosine similarity, Jaccard similarity, normalized word count, and semantic similarity. Experiments conducted on 14 student responses demonstrate the system's ability to provide consistent and accurate grading while identifying cases requiring further human review. This study contributes to understanding automated grading systems, offering insights into their efficacy, limitations, and prospects in educational assessment practices.•Hybrid evaluation: The proposed methodology combines traditional NLP techniques with advanced semantic analysis to provide comprehensive evaluation of student answers; the system integrates both surface-level textual similarity and deep semantic analysis to evaluate open-ended student responses.•Weighted scoring: The system computes a weighted base score by combining four NLP metrics (Jaccard, edit distance, cosine similarity, normalized word count) and then blends this with a semantic similarity score from the Universal Sentence Encoder to assign marks.•Rule-based final scoring: The final scoring layer applies threshold logic to assign zero, partial, or full marks based on semantic score and word count, and flags responses that fall into ambiguous ranges for teacher review.

Authors

Institutions

Publication Details

Journal
MethodsX
Published
2025-05-26
DOI
https://doi.org/10.1016/j.mex.2025.103395
Citations
4
Primary Topic
Educational Technology and Assessment
Type
article
Field-Weighted Citation Impact
12.98

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automated grading using natural language processing and semantic analysis

Kok-Why Ng, Ahmad Ayaan
4 citations
MethodsX
Educational Technology and Assessment
12.98
article

Automated grading using natural language processing and semantic analysis

Kok-Why Ng, Ahmad Ayaan
article en
4 citations

Abstract

Educational institutions' grading systems have evolved significantly toward automation, propelled by advances in Natural Language Processing (NLP) and Artificial Intelligence (AI). This research comprehensively explores automated grading systems, analyzing traditional methods alongside contemporary approaches and research on exam grading. Through extensive literature review, we examine the advantages and disadvantages of keyword-centric techniques, NLP-based systems, and hybrid models. We implement a novel NLP-based automatic grading system that combines multiple similarity measures with semantic analysis using TensorFlow's Universal Sentence Encoder. The system evaluates student responses by comparing them to reference answers using a weighted combination of edit similarity, cosine similarity, Jaccard similarity, normalized word count, and semantic similarity. Experiments conducted on 14 student responses demonstrate the system's ability to provide consistent and accurate grading while identifying cases requiring further human review. This study contributes to understanding automated grading systems, offering insights into their efficacy, limitations, and prospects in educational assessment practices.•Hybrid evaluation: The proposed methodology combines traditional NLP techniques with advanced semantic analysis to provide comprehensive evaluation of student answers; the system integrates both surface-level textual similarity and deep semantic analysis to evaluate open-ended student responses.•Weighted scoring: The system computes a weighted base score by combining four NLP metrics (Jaccard, edit distance, cosine similarity, normalized word count) and then blends this with a semantic similarity score from the Universal Sentence Encoder to assign marks.•Rule-based final scoring: The final scoring layer applies threshold logic to assign zero, partial, or full marks based on semantic score and word count, and flags responses that fall into ambiguous ranges for teacher review.

MethodsXVol. 14
Multimedia University (MY)
Multimedia University
Quality Education
Openalex Percentile: Top 2%
Educational Technology and Assessment
12.98
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.