Journal of Electrical Engineering and Informatics
Vol. 4 No. 1 (2026): Journal of Electrical Engineering and Informatics

An Explainable AI Framework for Bias Detection in Indonesian Sentiment Analysis

Arif Tri Widiyatmoko (Universitas Pelita Bangsa)
Arif Siswandi (Universitas Pelita Bangsa)
Amali Amali (Universitas Pelita Bangsa)
Intan Virginia Aulia (Universitas Pelita Bangsa)
Dendi Permana (Universitas Pelita Bangsa)



Article Info

Publish Date
30 Sep 2026

Abstract

The development of deep learning models in sentiment analysis has significantly improved the accuracy of text classification. However, these models are generally black-box, making them difficult to interpret and potentially contain undetectable biases. This study aims to detect and evaluate bias in sentiment analysis models using SHAP-based Explainable Artificial Intelligence (XAI) approach. The model used is IndoBERT which is trained on the Indonesian sentiment dataset. The research stages include data preprocessing, model training, interpretability analysis using SHAP, and fairness evaluation using disparate impact metrics. The results showed that the model achieved an accuracy of 88%, but SHAP analysis revealed the dominance of certain features in decision-making. In addition, fairness evaluation shows that there is an inequality in the distribution of predictions between groups. These findings show that high accuracy does not guarantee model fairness, so Explainable AI integration is important in the development of transparent and accountable NLP systems. 

Copyrights © 2026






Journal Info

Abbrev

JEENI

Publisher

Subject

Computer Science & IT Control & Systems Engineering Electrical & Electronics Engineering Engineering

Description

Journal of Electrical Engineering and Informatics is a scientific journal managed by a peer review process. The Journal of Electrical Engineering and Informatics is published by the Department of Electrical Engineering Education, Universitas Negeri Makassar. The Journal of Electrical Engineering and ...