GRU vs BERT comparison for social media content moderation
Social media platforms struggle to effectively moderate harmful content at scale. Manual moderation is slow and inconsistent, while basic keyword filtering misses contextual hate speech.
Implemented and compared two deep learning architectures — GRU and BERT — for classifying tweets into hate speech, offensive language, and neutral content. BERT achieved 91% accuracy with superior contextual understanding.
BERT achieved 91% accuracy vs GRU's 87%
ROC AUC of 0.97 for BERT — excellent discrimination ability
BERT F1-score of 0.91 vs GRU's 0.85

ROC Curve — GRU (AUC 0.966) vs BERT (AUC 0.977)

GRU Confusion Matrix — Hate Speech vs Offensive vs Neither

BERT Confusion Matrix — Higher accuracy across all classes