Hate Speech Detection Platform
Explainable AI & Reward Optimized LLMs for Multilingual, Code-Mixed, and Multimodal Content Moderation.
Social Media Input (T, V, C) → Language & Modality Detection → Modality Preprocessing (Text Normalization, EasyOCR, Context Sanitization) → Feature Extraction & Cross-Attention Fusion → Hate Speech Classification → Grounded XAI Attribution → Human Feedback & Multi-Objective Reward Calculation → DPO Optimization.
- Strict Binary Objective: 0 = Non-Hateful, 1 = Hateful.
- No Hardcoding Rule: All metrics, predictions, explanations, and rewards are dynamically computed.
- Multilingual Robustness: Devanagari script and Latin Romanized Hindi slang support without blind machine translation.
- Multimodal Meme Analysis: EasyOCR extraction and Cross-Modal Cross-Attention fusion.
Hate Speech Detection Workspace
Interactive multimodal inference with grounded Explainable AI attributions and instant feedback collection.
Tokens in red positively contribute toward the HATEFUL classification. Tokens in green contribute toward NON-HATEFUL.
Submit feedback to evaluate the model and supply data to the Reward Optimization engine.
Dataset Laboratory
Universal dataset adapters, schema validation, class balance verification, and leakage-safe splits.
| Dataset Name | Identifier | Samples | Languages | Modalities | Status | Actions |
|---|
Preprocessing Studio
Inspect the actual transformation stages for text, multilingual code-mixing, memes, and context.
Applies Unicode NFKC normalization, URL neutralization ([URL]), mention anonymization ([MENTION]), camelCase hashtag decomposition, and Devanagari script integrity checking.
Raw: "Inko maro! #DeshBhakti https://t.co/xyz" Normalized: "Inko maro ! Desh Bhakti [URL]"
Detects Latin vs Devanagari unicode characters and matches phonetic Romanized Hindi lexicon (e.g. kamine, bhai, desh, aukaat) to reliably identify Hinglish code-mixing without English translation loss.
Loads meme graphics, resizes to [224, 224], extracts embedded text and spatial bounding boxes via EasyOCR, and normalizes pixel tensors for cross-modal cross-attention.
Sanitizes thread history and masks protected demographic references ([DEMOGRAPHIC_NEUTRAL]) to prevent models from learning identity-term biases.
Model Laboratory & Registry
Architectures, trained checkpoints, live performance metrics, and active model management.
| Model Name | Identifier | Version | Type | Accuracy / Macro F1 | Status | Action |
|---|
| Version ID | Optimization Method | Reward Score | Macro F1 | Created At |
|---|
Explainability (XAI) Studio
Grounded token-level attribution, visual bounding saliency, and AOPC faithfulness validation.
Traditional attention maps frequently fail faithfulness tests. Our engine implements Leave-One-Out (LIME-style) perturbation attribution and verifies explanation faithfulness by measuring confidence drop (Δf(x)) when top-k attributed tokens are ablated.
Faithfulness Score Formula: AOPC_Drop = |f(x) - f(x \ top_k)| / f(x)
Tokens that elevate hateful logit probability (slurs, dehumanization, violent imperatives).
Tokens that reduce hateful logit probability (counterspeech, civil terms, quotation critiques).
Reward Optimization Laboratory
Execute actual feedback-driven Direct Preference Optimization (DPO) and monitor reward metrics.
R(x, y, e, f) = α·R_cls + β·R_exp + γ·R_ctx + δ·R_fb - λ_err·R_err Current Weights: α=0.35, β=0.25, γ=0.15, δ=0.25, λ_err=0.50
Rewards model accuracy, faithful explanations, and context awareness while heavily penalizing confident false positives.
| Run Name | Method | Preference Pairs | Macro F1 (Before → After) | Status | Executed At |
|---|
| ID | R_cls | R_exp | R_ctx | R_fb | R_err (Penalty) | Total Reward |
|---|
Bias and Fairness Laboratory
Disaggregated group metrics, False Positive Rate (FPR) parity, and Equalized Odds analysis.
| Language Subgroup | Samples | Accuracy | Macro F1 | False Positive Rate (FPR) | False Negative Rate (FNR) |
|---|
Research Experiment Laboratory
Run and verify Experiments 1 through 9 directly with real backend executions and metric calculations.
Research Reports & Academic Deliverables
Official ACL Paper Draft and Presentation Deck.
Official ACL formatting following the core research problem statement.
A 15-slide comprehensive viva presentation covering Motivation, Problem Formulation, Multimodal Architecture, XAI Faithfulness, and Reward Optimization.
Open Interactive Presentation Slides →System Settings & Hyperparameters
Centralized configuration without requiring source-code modifications.