Explainable Social Media Sentiment Analysis via DeBERTaV3 Embeddings and Sentiment-Aware Feature Refinement Model

Authors

  • Hemakirthiga Karuppaiah Research Scholar (Part-Time), Department of Computer Science, Raja Doraisingam Government Arts College, Sivaganga, Alagappa University, Karaikudi, Tamil Nadu, India https://orcid.org/0009-0002-3978-7915
  • Arunadevi Jayaraj Assistant Professor, Department of Computer Science, Raja Doraisingam Government Arts College, Sivaganga, Alagappa University, Karaikudi, Tamil Nadu, India https://orcid.org/0009-0009-6667-5004

DOI:

https://doi.org/10.21015/vtse.v14i4.2733

Abstract

The growing volume of content generated via social media platforms has increased the importance of sentiment analysis. Natural Language Processing (NLP) provides effective techniques for processing and understanding human-generated text and facilitates automated sentiment analysis. However, the unstructured and informal characteristics of social media text pose significant challenges in accurate sentiment classification. In addition, existing sentiment analysis models often face difficulties in capturing fine-grained sentiment information and often lack transparent model predictions. In order to address these issues, this study develops an explainable feature embedding and hybrid classification framework for social-media sentiment analysis (XFEHC-SMSA), using two benchmark datasets and providing a transparent explanation of the model's prediction. To achieve this, the model employs DeBERTaV3 as a feature embedding module to produce rich contextual feature representations and captures relationships among the words within the input sequences, while a sentiment-aware feature refinement module is included to highlight the features related to sentiment-related information and reduce the less informative features. The model integrates Bidirectional Long Short-Term Memory with a Hierarchical Attention Network to capture both sequential and hierarchical patterns relevant to sentiment analysis. Furthermore, the model uses the RAdam optimizer to optimize the network parameters. Finally, Integrated Gradient explainability is employed to offer transparent insights into the textual information that most contributes to the model's decision. The experimental evaluation is carried out through two benchmark datasets; the model achieved better classification performance using both datasets. These outcomes demonstrate that the proposed model is highly suited for real-world applications across various domains. Therefore, the proposed model contributes toward more accurate, interpretable, and practically applicable sentiment analysis of social media text.

References

[1] J. An, B. Ding, and N. Jiang, “Noise-aware graph neural networks for multimodal semantic alignment in social media sentiment analysis,” Eng. Appl. Artif. Intell., vol. 168, Art. no. 114058, 2026, doi: 10.1016/j.engappai.2026.114058.

[2] R. Wang, H. Feng, E. Cambria, M. J. Piran, J. Santamaria, M. Ju, et al., “GPPLEA: Guided polarity prompt learning for enhanced emotion analysis in low-sample social media environments,” Cognit. Comput., vol. 18, no. 1, p. 23, 2026, doi: 10.1007/s12559-026-10558-x.

[3] Y. Afriyie and B. A. Weyori, “Sentiment analysis based on deep learning approaches for text classification,” J. Electr. Syst. Inf. Technol., vol. 13, no. 1, p. 14, 2026, doi: 10.1186/s43067-026-00322-4.

[4] R. Khalil, “AI driven sentiment analysis in financial markets: Using transformer base models and social media signals for stock market predictions,” J. Model. Manag., pp. 1–25, 2026, doi: 10.1108/JM2-08-2025-0415.

[5] K. de Cuveland, E. Choi, and M. Shin, “Social dynamics of hyperbole—social media sentiment analysis for hype detection in emerging technologies: A conceptual approach,” Technol. Anal. Strateg. Manage., vol. 38, no. 7, pp. 1024–1038, 2026, doi: 10.1080/09537325.2025.2502599.

[6] A. Gueddes and M. A. Mahjoub, “BERT-OntoSent: Combining BERT language model with sentiment ontology for enhanced sentiment analysis on social media,” J. Inf. Telecommun., vol. 10, no. 1, pp. 1–23, 2026, doi: 10.1080/24751839.2025.2528363.

[7] B. Makkena, “Harnessing natural language processing (NLP) and generative AI techniques for social media sentiment analysis with text classification,” in Proc. 2026 Int. Conf. Smart Futuristic Technol. (ICSFT), IEEE, 2026, pp. 1–7, doi: 10.1109/ICSFT66733.2026.11507968.

[8] K. Yanuar, J. Lee, M. C. H. Budhiono, and S. Heripracoyo, “Development of artificial intelligence for sentiment analysis on social media in facing the impact of social media on education in Indonesia,” in Proc. 2025 7th Int. Conf. Cybern. Intell. Syst. (ICORIS), IEEE, 2025, pp. 1–6, doi: 10.1109/ICORIS67789.2025.11295978.

[9] W. Chen, K. Zhou, B. Hu, Y. Yang, Y. Xu, D. Zhuoma, et al., “Unlocking visitor experiences in cultural heritage sites with SHAP-interpretable AI and social media sentiment analysis,” NPJ Herit. Sci., vol. 13, no. 1, p. 457, 2025, doi: 10.1038/s40494-025-02014-0.

[10] D. Tiwari, B. S. Bhati, B. Nagpal, N. Alturki, and L. Bayisenge, “Attention-augmented hybrid CNN-LSTM model for social media sentiment analysis in cryptocurrency investment decision-making,” Sci. Rep., vol. 15, no. 1, p. 33201, Sep. 2025, doi: 10.1038/s41598-025-18245-x.

[11] S. S. Almalki, “Sentiment analysis and emotion detection using transformer models in multilingual social media data,” Int. J. Adv. Comput. Sci. Appl., vol. 16, no. 3, p. 324, 2025, doi: 10.14569/IJACSA.2025.0160332.

[12] S. Sitoula, T. B. Shahi, S. Wibowo, and A. Neupane, “Sentiment analysis of Nepali social media text with a hybrid deep learning model,” Soc. Netw. Anal. Min., vol. 15, no. 1, p. 85, 2025, doi: 10.1007/s13278-025-01508-w.

[13] S. Zhou and M. Mohd, “Mental health safety and depression detection in social media text data: A classification approach based on a deep learning model,” IEEE Access, vol. 13, pp. 63284–63297, 2025, doi: 10.1109/ACCESS.2025.3559170.

[14] U. K. Das, R. S. Ani, N. Datta, I. Fahad, J. Sikder, U. Sara, et al., “Enhancing sentiment analysis accuracy on social media comments using a tuned BERT model,” Discover Computing, vol. 28, no. 1, p. 198, 2025, doi: 10.1007/s10791-025-09599-x.

[15] C. P. Gupta and V. R. Kumar, “Social media sentiment analysis: Analyzing the impact of artificial intelligence,” in Proc. 2025 Int. Conf. Emerg. Techn. Comput. Intell. (ICETCI), IEEE, 2025, pp. 1–6, doi: 10.1109/ICETCI67340.2025.11258052.

[16] M. Kayal, J. Pati, and S. Kumar, “IBNN: An integrated BERT-neural network framework for sentiment and emotion based text analysis,” Sci. Rep., vol. 16, no. 1, p. 22425, May 2026, doi: 10.1038/s41598-026-49099-6.

[17] O. R. Deokar, T. R. Gaikwad, K. R. Gawali, P. D. Ghanghav, S. A. Shivarkar, and A. A. Muzumdar, “Social media sentiment analysis using machine learning,” in Proc. 2025 3rd Int. Conf. Disruptive Technol. (ICDT), IEEE, 2025, pp. 89–93, doi: 10.1109/ICDT63985.2025.10986650.

[18] X. Zhu, H. Feng, E. Cambria, X. Yu, J. Santamaria, X. Fan, et al., “FMSA: Few-shot multimodal sentiment analysis for social media via integrated prompt learning and vision-language models,” IEEE Trans. Affect. Comput., vol. 17, no. 3, pp. 3405–3419, 2026, doi: 10.1109/TAFFC.2026.3681216.

[19] N. Sambamoorthy, R. Govindan, S. B. Nidamanuri, S. Pria, I. P. Singh, and R. Arumuganainar, “An ensemble machine learning framework for market trend prediction using social media sentiment analysis,” in Proc. 2026 6th Int. Conf. Expert Clouds Appl. (ICOECA), IEEE, 2026, pp. 1015–1020, doi: 10.1109/ICOECA68095.2026.11485237.

[20] A. Amirthasaravanan, M. D. Choudhry, S. Jeevanandham, S. Ramasamy, K. Suvalakshmi, and D. Karthikeswaran, “Enhanced sentiment analysis on social media using BERT and multimodal attention-based fusion,” Automatika, vol. 67, no. 1, pp. 69–90, 2026, doi: 10.1080/00051144.2025.2598897.

[21] M. F. Almufareh, N. Z. Jhanjhi, M. Humayun, G. N. Alwakid, D. Javed, and S. N. Almuayqil, “Integrating sentiment analysis with machine learning for cyberbullying detection on social media,” IEEE Access, vol. 13, pp. 78348–78359, 2025, doi: 10.1109/ACCESS.2025.3558843.

[22] S. Parveen, U. Zaheen, and S. A. Khan, “Deep learning approaches to sentiment analysis and text classification in social media data,” Crit. Rev. Soc. Sci. Stud., vol. 4, no. 1, pp. 1168–1182, 2026, doi: 10.59075/pvkfjc68.

[23] M. Mohammadagha, I. Tshitenge, and I. Adebambo, “State-of-the-art machine learning techniques in sentiment analysis for social media,” Int. J. Appl. Data Sci. Eng. Health, vol. 1, no. 1, pp. 49–69, 2026, doi: 10.31224/4590.

[24] “Emotion Detection Dataset (Social Media Text),” Kaggle. Accessed: Aug. 18, 2026. [Online]. Available: https://www.kaggle.com/datasets/mayurjare/emotion-datasets

[25] “Social Media Sentiment Analysis,” Kaggle. Accessed: Aug. 18, 2026. [Online]. Available: https://www.kaggle.com/datasets/abdullah0a/social-media-sentiment-analysis-dataset

[26] S. Magsarjav, M. Humphries, J. Tuke, and L. Mitchell, “Best preprocessing techniques for sentiment analysis,” arXiv:2606.24055, 2026, doi: 10.48550/arXiv.2606.24055.

[27] P. He, J. Gao, and W. Chen, “DeBERTaV3: Improving DeBERTa using ELECTRA-style pre-training with gradient-disentangled embedding sharing,” in Proc. Int. Conf. Learn. Represent. (ICLR), 2023, doi: 10.48550/arXiv.2111.09543.

[28] Z. Yang, D. Yang, C. Dyer, X. He, A. Smola, and E. Hovy, “Hierarchical attention networks for document classification,” in Proc. NAACL-HLT, 2016, pp. 1480–1489, doi: 10.18653/v1/N16-1174.

[29] L. Liu et al., “On the variance of the adaptive learning rate and beyond,” in Proc. 8th Int. Conf. Learn. Represent. (ICLR), 2020, doi: 10.48550/arXiv.1908.03265.

[30] M. Sundararajan, A. Taly, and Q. Yan, “Axiomatic attribution for deep networks,” in Proc. 34th Int. Conf. Mach. Learn., vol. 70, 2017, pp. 3319–3328. [Online]. Available: https://proceedings.mlr.press/v70/sundararajan17a.html

[31] S. Singh, K. Kumar, and B. Kumar, “A fusion of social media context for efficient multimodal sentiment analysis using deep learning techniques,” Discov. Artif. Intell., vol. 6, no. 1, p. 329, 2026, doi: 10.1007/s44163-026-00986-x.

[32] L. Ashbaugh and Y. Zhang, “A comparative study of sentiment analysis on customer reviews using machine learning and deep learning,” Computers, vol. 13, no. 12, p. 340, 2024, doi: 10.3390/computers13120340.

[33] A. Assiri, A. Gumaei, F. Mehmood, T. Abbas, and S. Ullah, “DeBERTa-GRU: Sentiment analysis for large language model,” Comput. Mater. Contin., vol. 79, no. 3, pp. 4219–4236, 2024, doi: 10.32604/cmc.2024.050781.

[34] E. Birhanie, Z. Mossie, and M. Chalie, “Sentiment classification from social media Amharic text using a deep neural network approach: Politics domain,” SN Comput. Sci., vol. 6, no. 6, Jul. 2025, doi: 10.1007/s42979-025-04176-x.

Downloads

Published

2026-11-25

How to Cite

Karuppaiah, H., & Jayaraj, A. (2026). Explainable Social Media Sentiment Analysis via DeBERTaV3 Embeddings and Sentiment-Aware Feature Refinement Model. VFAST Transactions on Software Engineering, 14(4), 328–349. https://doi.org/10.21015/vtse.v14i4.2733