📖
Blockchain Hate Logger: Immutable Logging of Detected Hate Speech Using DeHateBERT
Muhammad Osama Nusrat, Saad Ahmed Jamal

Blockchain Hate Logger: Immutable Logging of Detected Hate Speech Using DeHateBERT

Science & Mathematics Published 2025 Verification Pending

Overview & Synopsis

The rise of hate speech on social media platforms presents significant challenges for content moderation, transparency, and user trust. Although hate speech classification has been widely explored using models such as DeHateBERT, existing moderation systems often lack accountability, and flagged content can be altered or removed without trace. In this paper, we present Blockchain Hate Logger a system that detects and immutably logs hate speech using a transformer-based text classifier (DeHate- BERT) and Ethereum smart contracts. We use the HateXplain dataset to classify 25,000 tweets into normal, offensive, or hate categories. For each flagged tweet, we compute a SHA-256 hash and store it along with the predicted label, model confidence, and timestamp on a smart contract deployed via Ganache, a local Ethereum blockchain. This ensures tamper-proof, verifiable moderation logs. We analyze over 1,000 transactions, estimate gas costs, and present trends in label distribution, confidence scores, and time-based logging. Our work builds on prior efforts in hate speech detection, fairness, and explainability, and demonstrates the feasibility of integrating NLP and blockchain for auditable AI content moderation. The full implementation is available at: https://github.com/mnusrat786/realtime-hate-logger.

Advertisement
SPONSOR CONTENT
Indexed from repository: HAL Open Science (hal.science)
Loading document from verified source...
Keyboard Shortcuts: ← / → for pages • + / - for zoom • 0 to fit width Powered by Mozilla PDF.js v3.11

Document Information

Document Title Blockchain Hate Logger: Immutable Logging of Detected Hate Speech Using DeHateBERT
Author / Organization Muhammad Osama Nusrat, Saad Ahmed Jamal
Subject & Discipline Multidisciplinary Academic Open Research
Categories Science & Mathematics
Publication Year 2025
License / Rights Open Access / Creative Commons
Resource Verification Listed PDF (Verification Pending)
Original Host Website HAL Open Science (hal.science)
File Format application/pdf (Portable Document Format)
Language EN
Catalog ID DOC-105962
Original Source Link Visit Source Page on hal.science »