Generation Journal
Vol 9 No 2 (2025): Generation Journal

Adaptation of Contrastive Learning and Augmentation for Indonesian Product Review Classification on Unbalanced Data Using Deep Learning and NLP

Reknadi, Danang Bagus (Unknown)
Rohman, M. Ghofar (Unknown)
Mustain (Unknown)
Utomo, Aphila Fraga Listyo (Unknown)



Article Info

Publish Date
02 Aug 2025

Abstract

In the digital era, product reviews are an important source of information for consumers and businesses because they influence purchasing decisions and marketing strategies. However, the distribution of sentiment in product reviews is often unbalanced, with positive reviews dominating and negative reviews being limited. This condition poses a challenge in developing text classification models, especially for Indonesian which has a complex morphological structure and very rich vocabulary variations. This study adapts the Contrastive Learning method for the classification of unbalanced Indonesian language product reviews and tests the effectiveness of text augmentation techniques in improving representation, especially for minority classes with limited data. Data were obtained through web scraping from Indonesian e-commerce platforms, totaling around 10,000 reviews with a composition of 52% positive, 30% negative, and 18% neutral. The data was processed and expanded using augmentation techniques to significantly increase the variety and amount of training data. The LSTM model trained on the original data and the augmented data, showing an increase in validation accuracy from around 73% to almost 100% in the 30th epoch, with a final accuracy reaching 92% and an F1-Score of 90%. These results confirm that the incorporation of data augmentation is crucial to address imbalance, thereby improving the robustness and reliability of the model in product review sentiment classification

Copyrights © 2025






Journal Info

Abbrev

gj

Publisher

Subject

Computer Science & IT

Description

Generation (Genius Research Implementation Of Information Technology) Journal diterbitkan oleh Universitas Nusantara PGRI Kediri dan dikelola oleh Prodi Teknik Infomatika Universitas Nusantara PGRI Kediri. Tujuan dari Jurnal ini adalah untuk memfasilitasi publikasi ilmiah dari hasil-hasil penelitian ...