Melola Discovery

← Melola Discovery

Open access Journal SINTA 1

A Random Oversampling and BERT-based Model Approach for Handling Imbalanced Data in Essay Answer Correction

JURNAL INFOTEL · Vol. 16 No. 4 (2024) · pp. 729–739

DOI
10.20895/infotel.v16i4.1224
ISSN
2085-3688, 2460-0997
Published
2024-12-20
Publisher
LPPM Institut Teknologi Telkom Purwokerto
Language
en
License
creativecommons.org/licenses/by-sa/4.0/

Abstract

The task of automated essay scoring has long been plagued by the challenge of imbalanced datasets, where the distribution of scores or labels is skewed towards certain categories. This imbalance can lead to poor performance of machine learning models, as they tend to be biased towards the majority class. One potential solution to this problem is the use of oversampling techniques, which aim to balance the dataset by increasing the representation of the minority class. In this paper, we propose a novel approach that combines random oversampling with a BERT-base uncased model for essay answer correction. This research explores various scenario of text pre-processing techniques to optimize model accuracy. Using a dataset of essay answers obtained from eighth-grade middle school students in Indonesian language, our approach demonstrates good performance in terms of precision, recall, F1-score and accuracy compared to traditional methods such as Backpropagation Neural Network, Naïve Bayes and Random Forest Classifier using FastText word embedding with Wikipedia 300 vector size pretrained model. The best performance was obtained using the BERT-base uncased model with 2e-5 learning rate and a simplified pre-processing approach. By retaining punctuation, numbers, and stop words, the model achieved a precision of 0.9463, recall of 0.9377, F1-score of 0.9346, and an accuracy of 94%.

Keywords

Collaboration network of the authors

No co-authors found in Melola yet.

Metadata source: OpenAlex API (jurnal SINTA, ADR 0048) https://openalex.org/S4210188896, first harvested 19 Nov 2026, last seen 22 Nov 2026.
Original metadata (oai_dc)
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"><dc:title xml:lang="en">A Random Oversampling and BERT-based Model Approach for Handling Imbalanced Data in Essay Answer Correction</dc:title><dc:creator>Dian Ahkam Sani</dc:creator><dc:subject>automated essay scoring</dc:subject><dc:subject>class imbalance</dc:subject><dc:subject>random oversampling</dc:subject><dc:subject>text preprocessing</dc:subject><dc:subject>Indonesian language</dc:subject><dc:subject>junior high school students</dc:subject><dc:subject>text classification</dc:subject><dc:description xml:lang="en">The task of automated essay scoring has long been plagued by the challenge of imbalanced datasets, where the distribution of scores or labels is skewed towards certain categories. This imbalance can lead to poor performance of machine learning models, as they tend to be biased towards the majority class. One potential solution to this problem is the use of oversampling techniques, which aim to balance the dataset by increasing the representation of the minority class. In this paper, we propose a novel approach that combines random oversampling with a BERT-base uncased model for essay answer correction. This research explores various scenario of text pre-processing techniques to optimize model accuracy. Using a dataset of essay answers obtained from eighth-grade middle school students in Indonesian language, our approach demonstrates good performance in terms of precision, recall, F1-score and accuracy compared to traditional methods such as Backpropagation Neural Network, Naïve Bayes and Random Forest Classifier using FastText word embedding with Wikipedia 300 vector size pretrained model. The best performance was obtained using the BERT-base uncased model with 2e-5 learning rate and a simplified pre-processing approach. By retaining punctuation, numbers, and stop words, the model achieved a precision of 0.9463, recall of 0.9377, F1-score of 0.9346, and an accuracy of 94%.</dc:description><dc:publisher>LPPM Institut Teknologi Telkom Purwokerto</dc:publisher><dc:date>2024-12-20</dc:date><dc:type>info:eu-repo/semantics/article</dc:type><dc:identifier>https://doi.org/10.20895/infotel.v16i4.1224</dc:identifier><dc:identifier>10.20895/infotel.v16i4.1224</dc:identifier><dc:source>JURNAL INFOTEL; Vol 16 No 4 (2024); 729-739</dc:source><dc:source>2085-3688</dc:source><dc:source>2460-0997</dc:source><dc:language>en</dc:language><dc:rights>https://creativecommons.org/licenses/by-sa/4.0/</dc:rights></oai_dc:dc>