Research Article Open Access

Optimizing Bias Detection in Tweets Using Bayesian Probabilistic Model

Prasanth G Rao1, Harsha Chigurupati1, Krish Hashia1, Thriveni J1, P Deepa Shenoy1 and Venugopal K R1
  • 1 Department of Computer Science and Engineering, University of Visvesvaraya College of Engineering, Bangalore, 560001, India

Abstract

Content moderation on social media faces persistent challenges from inconsistent evaluation shaped by subjective judgment and subtle semantic variations. This work proposes a Bayesian probabilistic framework for detecting bias in tweets using WordNet-based vocabulary filtering, statistical normalization via z-scores, and threshold optimization. The system is stateless, scalable, and dataset-agnostic, requiring no session-specific information. Unlike complex models such as Support Vector Machines (SVM), Multi-Layer Perceptrons (MLP), and AdaBoost, which tend to exhibit skewed classification patterns, the proposed approach achieves balanced confusion matrices and competitive F1 scores. Experimental evaluation across three benchmark datasets covering hate speech, political partisanship, and racial and gender-based discrimination demonstrates accuracy ranging from 71 to 82.4%, with the highest F1 score of 0.859 on Dataset 1, confirming the framework’s effectiveness for interpretable and balanced bias detection.

Journal of Computer Science
Volume 22 No. 5, 2026, 1552-1568

DOI: https://doi.org/10.3844/jcssp.2026.1552.1568

Submitted On: 25 January 2026 Published On: 19 May 2026

How to Cite: Rao, P. G., Chigurupati, H., Hashia, K., J, T., Shenoy, P. D. & R, V. K. (2026). Optimizing Bias Detection in Tweets Using Bayesian Probabilistic Model. Journal of Computer Science, 22(5), 1552-1568. https://doi.org/10.3844/jcssp.2026.1552.1568

  • 37 Views
  • 12 Downloads
  • 0 Citations

Download

Keywords

  • X
  • Bias
  • Fairness
  • SentiWordNet