Optimizing Bias Detection in Tweets Using Bayesian Probabilistic Model
Prasanth G Rao1, Harsha Chigurupati1, Krish Hashia1, Thriveni J1, P Deepa Shenoy1 & Venugopal K R1 Show affiliations
- Department of Computer Science and Engineering, University of Visvesvaraya College of Engineering, Bangalore, 560001, India
Journal of Computer Science, Volume 22, Issue 5, pp. 1552–1568 · doi.org/10.3844/jcssp.2026.1552.1568
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.
Licence and reuse
Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.
How to reuse this articleResponses (0)
About this article
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
- Licence
- CC BY 4.0
- Issue
- Volume 22, Issue 5
- Policies
- Editorial independenceUse of generative AIData availabilityAppeals and complaints
- Version
- Version of record
