INTI Nusa Mandiri
Vol. 21 No. 1 (2026): INTI Periode Agustus 2026

DETEKSI SPOILER PADA ULASAN BUKU BERBAHASA INDONESIA MENGGUNAKAN PENDEKATAN MACHINE LEARNING DAN DEEP LEARNING

Natasya Agustine Sadhi (Tarumanagara University)
Hannah Larissa Halim (Universitas Tarumanagara)
Jessica Winola (Universitas Tarumanagara)
Viny Christanti Mawardi (Unknown)



Article Info

Publish Date
31 Aug 2026

Abstract

Spoiler detection in book reviews is a challenging text classification task because spoilers are not always identifiable from specific words but depend heavily on the narrative context in which information is revealed. This study compares six text classification models for detecting spoilers in Indonesian-language book reviews from Goodreads, namely Support Vector Machine (SVM), Random Forest, XGBoost, Bidirectional Long Short-Term Memory (BiLSTM), IndoBERT, and XLM-R (RoBERTa). Data were collected through Selenium-based web scraping and GraphQL API from 40 mystery and thriller book titles, resulting in 11,259 reviews with a class imbalance ratio of 1:10.4. All models were evaluated using AUC-ROC, PR-AUC, spoiler F1-score, and spoiler recall as primary metrics, with decision thresholds optimized through each model's validation set. XLM-R achieved the best overall performance with an AUC-ROC of 0.7017, a PR-AUC of 0.2263, and a spoiler F1-score of 0.2903, followed by IndoBERT, SVM, Random Forest, XGBoost, and BiLSTM. Overall, transformer-based models outperformed the traditional machine learning models and BiLSTM across most evaluation metrics. The results also indicate that each model exhibits different precision-recall characteristics, suggesting that model performance should not be evaluated using a single metric alone. These findings can serve as an initial reference for future research on Indonesian-language spoiler detection and support the development of automated spoiler detection systems for content moderation on digital book review platforms

Copyrights © 2026






Journal Info

Abbrev

inti

Publisher

Subject

Computer Science & IT

Description

The INTI Nusa Mandiri Journal is intended as a media for scientific studies on the results of research, thought and analysis-critical studies on the issues of Computer Science, Information Systems and Information Technology, both nationally and internationally. The scientific article in question is ...