English

Enhancing Multilingual Sentiment Analysis with Explainability for Sinhala, English, and Code-Mixed Content

Computation and Language 2025-04-21 v1 Artificial Intelligence Machine Learning

Abstract

Sentiment analysis is crucial for brand reputation management in the banking sector, where customer feedback spans English, Sinhala, Singlish, and code-mixed text. Existing models struggle with low-resource languages like Sinhala and lack interpretability for practical use. This research develops a hybrid aspect-based sentiment analysis framework that enhances multilingual capabilities with explainable outputs. Using cleaned banking customer reviews, we fine-tune XLM-RoBERTa for Sinhala and code-mixed text, integrate domain-specific lexicon correction, and employ BERT-base-uncased for English. The system classifies sentiment (positive, neutral, negative) with confidence scores, while SHAP and LIME improve interpretability by providing real-time sentiment explanations. Experimental results show that our approaches outperform traditional transformer-based classifiers, achieving 92.3 percent accuracy and an F1-score of 0.89 in English and 88.4 percent in Sinhala and code-mixed content. An explainability analysis reveals key sentiment drivers, improving trust and transparency. A user-friendly interface delivers aspect-wise sentiment insights, ensuring accessibility for businesses. This research contributes to robust, transparent sentiment analysis for financial applications by bridging gaps in multilingual, low-resource NLP and explainability.

Keywords

Cite

@article{arxiv.2504.13545,
  title  = {Enhancing Multilingual Sentiment Analysis with Explainability for Sinhala, English, and Code-Mixed Content},
  author = {Azmarah Rizvi and Navojith Thamindu and A. M. N. H. Adhikari and W. P. U. Senevirathna and Dharshana Kasthurirathna and Lakmini Abeywardhana},
  journal= {arXiv preprint arXiv:2504.13545},
  year   = {2025}
}

Comments

6 pages, 6 figures, 4 tables

R2 v1 2026-06-28T23:03:03.041Z