Skip to content
Open access

Implementation of the IndoBERT-LSTM Model for Indonesian Sentiment Analysis withan Explainable AI Approach Using SHAP

Aug 2026 · Journal of Electrical Engineering and Informatics · 0 citations

TL;DR

The integration of the IndoBERT-BiLSTM architecture with SHAP is demonstrated to deliver accurate and explainable Indonesian sentiment analysis, which effectively bridges the gap between deep learning performance and decision transparency without compromising classification accuracy.

Abstract

This study aims to develop an Indonesian sentiment analysis model that achieves high classification performance while providing post-hoc explanations of prediction results.The study utilized a quantitative experimental approach using the IndoNLU SmSA dataset, comprising 11,000 training and 1,260 validation samples across positive, neutral, and negative categories. The proposed model integrates an IndoBERT contextual representation generator with a Bidirectional Long Short-Term Memory (BiLSTM) network to model sequential relationships. Furthermore, SHapley Additive exPlanations (SHAP) are applied to provide post-hoc interpretations of the model's predictions by identifying individual token contributions. The IndoBERT-BiLSTM model achieved an accuracy of 92.78%, a Macro F1-score of 0.9013, and a Macro Average AUC of 0.976, outperforming standard LSTM and fine-tuned IndoBERT baselines. However, learning curve analysis indicated mild overfitting during the training process. SHAP visualizations successfully explained the token-level contributions to the classification decisions, providing transparency into the model's reasoning. This study demonstrates the integration of the IndoBERT-BiLSTM architecture with SHAP to deliver accurate and explainable Indonesian sentiment analysis. The approach effectively bridges the gap between deep learning performance and decision transparency without compromising classification accuracy.

Read PDF

Similar papers

Review Open access Jul 2026

A Hybrid VADER–IndoBERT Framework for Robust Sentiment Analysis of Long and Ambiguous Indonesian Texts

A Hybrid VADER–IndoBERT framework designed to improve sentiment classification robustness on complex Indonesian texts is introduced, demonstrating the superiority of Transformer-based architectures in capturing long-range dependencies and handling ambiguous sentiment cues.

Margareta Valencia Suci Handayani, R. S. Basuki, Muljono et al. · 0 citations
Conference Jul 2026

Enhancing Explainability in Sentiment Analysis Using ConvLSTM with SHAP and LIME: A Case Study on the IMDb Movie Review Dataset

This paper presents a sentiment analysis framework that combines Convolutional Long Short-Term Memory (ConvLSTM) networks with Explainable Artificial Intelligence (XAI) techniques to improve transparency and interpretability in text classification tasks. Using the IMDb movie review dataset, the study replicates previou...

Lisa Zano, Angelina Prima Kurniati, Abide Mandaza · 0 citations
Open access Jul 2026

LSTM-Based Classification of Indonesian Regional Song Lyrics by Language

This study successfully proposes a Long Short-Term Memory (LSTM)-based model for automatic classification of Indonesian regional song lyrics by language, demonstrating that LSTM effectively captures sequential linguistic patterns and contextual relationships within regional languages.

Muhammad Rizky, Anandita Priatama, Aviv Yuniar Rahman et al. · 0 citations
Conference Jul 2026

Efficiency Comparison of LoRA and QLoRA for Indonesian Sentiment Analysis Using IndoBERT

Sentiment analysis is an important task in Natural Language Processing (NLP) because it enables researchers to understand public opinion. Transformer-based models such as BERT have demonstrated strong performance in sentiment analysis tasks. To further improve model performance, a full fine-tuning (FFT) process is typi...

Ilhan Muhtadin, Fitriyani · 0 citations
Open access Aug 2026

A transfer learning with data augmentation approach to emotion classification of Indonesian tweets

This research presents a transfer learning approach to analyze the benchmark EmoT corpus of 4401 emotion-labeled Indonesian Tweets, combined with a task-specific data augmentation strategy to enhance model generalization.

Dvir Levi, Phillip M. LaCasse, Lyssa A. White · 0 citations
Review Open access Jul 2026

Two-Stage Framework Using IndoBERT for Sentiment Analysis of Tokopedia Reviews under Extreme Class Imbalance

This study proposes a two-stage classification approach that decomposes the multi-class classification task into two sequential binary classification stages using a BERT-based Indonesian-language transformer model (IndoBERT), and suggests that simplifying the decision space through gradual task decomposition is more ef...

Ades Tikaningsih, Imam Tahyudin, Berlilana Berlilana · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.