Loading article...
Loading article...
Stream/Area:
-
Subject:
-
Paper ID:
IJSREM61235
Volume:
10 |
4 |
April 2026
Pages:
1-7
Publication Frequency:
Monthly (12 issues per year)
License:International Journal of Scientific Research in Engineering and Management follows the Creative Commons Attribution 4.0 (CC BY 4.0) License, allowing free use and distribution with proper attribution.
Computer Applications,
Lovely Professional University, Phagwara, Punjab
Computer Applications,
Lovely Professional University, Phagwara, Punjab
Computer Applications,
Lovely Professional University, Phagwara, Punjab
Computer Applications,
Lovely Professional University, Phagwara, Punjab
Computer Applications,
Lovely Professional University, Phagwara, Punjab
Automated content moderation within group messaging platforms poses a compound engineering challenge: the system must classify harmful text with reasonable precision while operating under sub-second latency constraints imposed by conversational user experience expectations. Existing approaches that rely exclusively on transformer-based classifiers produce frequent false positives on colloquial negative expressions such as "I hate Mondays" or "this exam is killing me," which carry no intent to harm yet trigger high toxicity scores. This paper presents Konnect, a cloud-native group messaging platform built on six containerized microservices interconnected through Apache Kafka publish-subscribe pipelines. The natural language processing subsystem pairs a RoBERTa-based sentiment classifier with a BERT-based toxicity detector to analyze every message asynchronously. We introduce a post-classification dampening layer that performs pronoun-target resolution and emotional-venting pattern recognition to suppress false positives before scores enter a Redis-backed sliding-window aggregation engine. The aggregation engine computes composite group-level moderation scores and drives a four-tier graduated escalation framework. The benchmark results on a dataset containing 2,400 annotated chat messages indicate that the dampening layer cuts down false positives by 38% while maintaining 97.2% of true positives. The end-to-end latency of the pipeline, from ingesting the message at the Kafka broker to delivering the scores to WebSocket clients, takes an average of 312 milliseconds on a standard CPU.
KEYWORDS
This paper presented Konnect, a microservices-based messaging platform that integrates dual transformer classifiers with a post-classification dampening layer for real-time content moderation. The dampening layer addresses a practical gap in toxicity classification: the tendency of pre-trained models to assign elevated scores to colloquial negative expressions that carry no interpersonal hostility. By examining whether the input text targets a human referent, the layer attenuates false positives by 38 percent while preserving 97.2 percent of true positive detections. The Kafka-based pub/sub architecture enables horizontal scaling of the inference pipeline, with near-linear throughput gains demonstrated up to four consumer replicas. The composite moderation score, computed over a Redis-backed sliding window with a safety floor mechanism, drives a four-tier graduated escalation framework that balances automated enforcement with moderator authority
[1] A. Vaswani et al., “Attention Is All You Need,” in Proc. NeurIPS, 2017, pp. 5998–6008. [2] J. Devlin, M.-W. Chang, K. Lee, and K. Toutanova, “BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding,” in Proc. NAACL-HLT, 2019, pp. 4171–4186. [3] Y. Liu et al., “RoBERTa: A Robustly Optimized BERT Pretraining Approach,” arXiv preprint arXiv:1907.11692, 2019. [4] L. Hanu and Unitary team, “Detoxify,” GitHub repository, 2020. [Online]. Available: https://github.com/unitaryai/detoxify [5] F. Barbieri, J. Camacho-Collados, L. Neves, and L. Espinosa-Anke, “TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classification,” in Findings of EMNLP, 2020, pp. 1644–1650. [6] J. Kreps, N. Narkhede, and J. Rao, “Kafka: A Distributed Messaging System for Log Processing,” in Proc. NetDB Workshop, 2011. [7] M. Kleppmann and J. Kreps, “Kafka, Samza and the Unix Philosophy of Distributed Data,” IEEE Data Engineering Bulletin, vol. 38, no. 4, pp. 4–14, 2015. [8] K. Crawford and T. Gillespie, “What is a flag for? Social media reporting tools and the vocabulary of complaint,” New Media & Society, vol. 18, no. 3, pp. 410–428, 2016. [9] S. Jhaver, I. Birman, E. Gilbert, and A. Bruckman, “Human-Machine Collaboration for Content Regulation,” ACM Trans. Comput.-Hum. Interact., vol. 26, no. 5, pp. 1–35, 2019. [10] L. Dixon, J. Li, J. Sorensen, N. Thain, and L. Vasserman, “Measuring and Mitigating Unintended Bias in Text Classification,” in Proc. AAAI/ACM Conf. on AI, Ethics, and Society, 2018, pp. 67–73. [11] M. Sap, D. Card, S. Gabriel, Y. Choi, and N. A. Smith, “The Risk of Racial Bias in Hate Speech Detection,” in Proc. ACL, 2019, pp. 1668–1678.
Publication Date
7/15/2026
Peer Review Type
Double-Blind Peer Review
Review Rounds: 2
Documents
Article Views
2
Total views since publication
PDF Downloads
5
Total downloads since publication
Geographic Reach
5
Digital Preservation: This article is permanently archived on Zenodo and complies with all data preservation standards across major indexing platforms.
Plagiarism Screening
This manuscript has been checked for plagiarism using TurnitinPlagiarismChecker software.
Conflict of Interest
The authors declare no conflict of interest related to this research work.
Funding Information
No funding information available for this research.
Related research in the same subject area
Loading similar articles...