Content moderation needs small, fast classifiers, and the standard way to get one is knowledge distillation: train a compact "student" model to copy the soft predictions of larger "teacher" models. When several teachers are used, the usual practice is to throw away the examples where they disagree, on the theory that disagreement means noise. In hate speech data this practice may be quietly harmful. Most posts are benign, and teachers agree on them easily. The posts teachers disagree on are plausibly the rare ones: hate aimed at under-represented groups, coded abuse, and the boundary between offensive and hateful. Discarding disagreement would then remove the minority class a second time, on top of the imbalance already in the data.
This note proposes to test that hypothesis directly, and then to reverse the practice. Disagreement examples are kept. They are trained against the full averaged teacher distribution, and they are up-weighted in proportion to how much architecturally different teachers disagree. The student is trained on the natural, unbalanced data distribution, and its prior is corrected at the end so it stays calibrated at real platform base rates. The central bet is that teacher disagreement is a label-free signal for the long tail. It can find rare identity targets that plain class reweighting cannot, because the training labels only say "hate / not hate" and never say whom the hate targets.
Core Claim
The claim has two parts, and both can be falsified. The diagnostic part: when a committee of heterogeneous teachers labels imbalanced toxicity data, the examples removed by uncertainty filtering are strongly enriched for the minority class and for rare identity targets. The method part: weighting examples by teacher disagreement, rather than discarding them, improves the student on rare targets beyond what class-frequency reweighting achieves. It should do this while keeping false-positive rates at the natural base rate close to an unweighted student.
If disagreement weighting only matches class reweighting on the binary label and does no better on unlabeled rare targets, the method claim fails. What remains is a narrower but still useful finding: "do not filter; reweight."
Where This Sits
The closest prior work is Teacher and Student Models of Offensive Language in Social Media. It uses an ensemble of BERT, XLNet and fBERT to pseudo-label 1.4M SOLID tweets, discards high-disagreement samples, and trains CNN/BiLSTM students, reaching 0.8082 macro-F1 on OLID against the teacher's 0.8174. That work supplies our pipeline and our main baseline. We change exactly the step it treats as hygiene, and it never measured minority recall or which classes its filter removed.
DDML distills one frozen XLM-R teacher into several peer students across nine hate speech datasets. It is one-to-many with a standard supervised loss, so it tells us nothing about aggregating conflicting teachers under imbalance.
Two multi-teacher papers from other domains motivate the mechanism. Open-MOPD shows that a capability supplying about 20% of prompts but 0.99% of gradient tokens gets drowned out in multi-teacher distillation, and that reallocating the training budget, not resolving teacher conflict, fixes it. We borrow the diagnosis: we measure each class's and each target group's share of the distillation gradient. Our setting differs in that it is classification, and the "drowned" group is a class, not a task. Learning from All and MACPO argue the opposite of filtering: cross-teacher deviation carries information and should be used, not discarded. We take that position into imbalanced text classification in its simplest form, as a per-example weight, rather than through preference optimization.
The hate speech literature both motivates and constrains the design. Targeted Identity Group Prediction in Hate Speech Corpora reports F1 of 0.70–0.85 for frequent target groups on the Measuring Hate Speech corpus, with steep degradation for age, disability and national origin. Dll5143A reports community-target F1 of 0.52 versus 0.79 for individuals. Together these show that the long tail inside the hate class is where current models fail.
L3Cube-MahaHate warns that artificially balanced training inflates false positives at deployment. That constrains us: we must not buy minority recall by distorting the prior, so calibration at natural base rate is a primary metric, not an afterthought. Separating Hate Speech and Offensive Language Classes via Adversarial Debiasing shows profanity shortcuts and dataset-dependent instability of single-model fixes. It motivates using teachers with different inductive biases, so that their disagreement reflects genuine ambiguity rather than a shared shortcut.
Research Program
We first build a heterogeneous teacher committee on each labeled training set. It contains the three transformer teachers from Ranasinghe and Zampieri (BERT, XLNet, fBERT), a character/n-gram CNN, and a LoRA-tuned instruction LLM in the style of LLMsAgainstHate. Teacher outputs on labeled and unlabeled pools (SOLID for OLID, the 2M unlabeled EDOS posts) are computed once and cached. Distillation compute is therefore independent of the number of teachers.
For each example $i$, let $\bar p_i$ be the average of the teacher class distributions, and let $D_i$ be the generalized Jensen–Shannon divergence among the teachers. $D_i$ is zero when all teachers agree and grows with disagreement. The student's prediction is $q_i$. It is trained on the natural distribution with
$$ \mathcal{L} = \frac{1}{\sum_i w_i}\sum_i w_i \Big[\alpha\,\mathrm{KL}(\bar p_i \,\|\, q_i) + (1-\alpha)\,\mathrm{CE}(y_i, q_i)\Big], \qquad w_i = 1 + \beta\, D_i , $$
where $y_i$ is the gold label (the cross-entropy term is dropped on unlabeled data), $\alpha$ balances teacher and gold supervision, and $\beta$ sets how strongly disagreement is emphasized. Because weighting shifts the effective class prior seen in training, we estimate that shifted prior from the weighted training set. At inference, we subtract its log and add the log of the natural prior to the student's logits. This standard prior correction restores deployment calibration without retraining.
The analysis half of the program answers four questions. The first is the diagnostic: what fraction of Ranasinghe-style filtered examples are minority-class, and, on MHS and EDOS where fine-grained annotations exist, which targets and sexism subcategories they belong to. The second is gradient share: following Open-MOPD, the share of distillation gradient norm contributed by hate examples and by each target group, under averaging, filtering, class reweighting, and disagreement weighting. The third is whether heterogeneity matters: a committee of five same-architecture seeds is compared with the heterogeneous committee. The fourth is where disagreement is noise rather than signal: we manually audit a sample of the highest-$D_i$ examples for label errors.
Baselines
The naive reference is a student of the same size fine-tuned directly on gold labels with plain cross-entropy on the natural distribution. It shows how much any distillation helps at all.
The strongest existing distillation method is the Ranasinghe and Zampieri pipeline, reproduced exactly: same teachers, same SOLID pseudo-labeling, uncertainty filtering, and the same 2D-CNN student. Its reported result is 0.8082 macro-F1 on OLID (Teacher and Student Models). Our first check is that our reproduction lands near this number. It is the strongest competitor because it is the only published multi-teacher distillation system for this task, and it differs from ours only in the filtering choice. Beating it means higher minority-class F1 and higher rare-target recall at matched or better macro-F1, with no worse calibration.
The strongest single-model imbalance method is Dual Contrastive Learning, which combines focal loss with supervised and self-supervised contrastive terms (Hate Speech Detection via Dual Contrastive Learning). It reports 95.6% weighted-F1 on Davidson and 67.2% macro-F1 on SemEval-2019 Task 5. We run it on the same backbone as our student.
The ablation that isolates our key ingredient is averaged-teacher distillation with class-frequency reweighting (or logit-adjusted loss) in place of disagreement weighting. It uses identical teachers, cached outputs, student, data and prior correction. We also run a variant that multiplies both weights, and the same-seed-committee variant.
Every system gets the same student architectures (DistilBERT and the 2D-CNN), the same training data, and an equal hyperparameter search budget of twenty trials selected on development-set macro-F1. We report means over five seeds.
Why not just…?
Why not just fine-tune one strong transformer with focal loss? This is the cheapest serious alternative, and DCL shows it is strong on binary benchmarks. But focal loss can only up-weight what the loss can see: hard examples with respect to the binary label. The rare-target failures on MHS and the 0.52 community-target F1 in Dll5143A arise under exactly such loss engineering. Our MHS experiment trains every system on binary labels only and scores per-target recall. That experiment settles whether teacher disagreement locates tail cases that focal loss misses. If DCL matches us there, the proposal's value reduces to compression.
Why not just average the teachers and apply class reweighting? This is the real threat. On the binary hate-versus-not metric we expect it to be close to our method, because both push gradient toward the hate class. The distinguishing prediction is on unlabeled sub-structure: class reweighting treats all hate examples alike, while disagreement weighting should concentrate on rare targets and on the hate/offensive boundary in Davidson. If the two tie on rare-target recall, we report that honestly. The contribution then becomes the diagnostic showing that filtering is harmful and that reweighting suffices.
Why not just oversample or generate synthetic hate? Resampling does raise weighted-F1: 0.73 to 0.85 for multilingual BERT in Exploring Hate Speech Detection Models for Lithuanian Language. But it distorts the prior that L3Cube-MahaHate warns about. HateGAN adds an adversarial generator for about a 5% hate-class F1 gain. We include oversampling followed by the same distillation as a baseline, and compare it on false-positive rate at natural base rate, which is where we expect it to lose.
Why not just serve the teacher ensemble? It is the accuracy ceiling, and we report it as such. The deployment argument is the one Ranasinghe and Zampieri already made: over 9,000 MiB of memory versus 150 MiB for the student. We aim to close the ensemble gap on rare targets, not to beat the ensemble.
Proposed Experiments
The main benchmarks are three. OLID with SOLID as the unlabeled pool, for direct comparison to 0.8082 macro-F1. Davidson, with about 1,400 hate against 23,000 other tweets, for hate-class F1 and hate/offensive confusion. EDOS, trained on binary Task A labels with the 2M unlabeled posts; for reference, the reported selective-ensemble macro-F1 is 0.8538 on Task A and 0.4774 on Task C (JUST_ONE). On EDOS we score per-subcategory recall of the binary student, using Task C annotations never seen in training. MHS serves the same purpose for identity targets. The file reports frequent-group F1 of 0.70–0.85, and no reported result was found on Lacuna for the rare groups, so we establish that baseline ourselves. HateCheck probes functional failures such as counter-speech and reclaimed slurs. Train-on-Founta, test-on-Davidson measures cross-domain robustness; no reported result on Lacuna was found for this transfer pair beyond the qualitative collapse described in Deep Learning for Hate Speech Detection: A Comparative Study.
Metrics are macro-F1, minority-class F1, per-target and per-subcategory recall, expected calibration error, and false-positive rate at the natural base rate.
Three checks are decisive. First, if filtered examples are not minority-enriched (say, below twice the base rate), the premise fails and we stop. Second, disagreement weighting must beat averaged-teacher class reweighting on rare-target recall in MHS and EDOS by more than seed variance, while staying within a point of its macro-F1. Third, the heterogeneous committee must beat the same-architecture seed committee on those rare-target metrics. If it does not, architectural diversity is not what makes disagreement informative, and the simpler seed committee should be recommended instead.
References
- Teacher and Student Models of Offensive Language in Social Media
- DDML: Multi-Student Knowledge Distillation for Hate Speech
- Open-MOPD: Diagnosing and Fixing Capability Imbalance in Multi-Teacher On-Policy Distillation
- Learning from All: Concept Alignment for Autonomous Distillation from Multiple Drifting MLLMs
- MACPO: Weak-to-Strong Alignment via Multi-Agent Contrastive Preference Optimization
- Targeted Identity Group Prediction in Hate Speech Corpora
- Dll5143A@NLU of Devanagari Script Languages 2025: Detection of Hate Speech and Targets Using Hierarchical Attention Network
- L3Cube-MahaHate: A Tweet-based Marathi Hate Speech Detection Dataset and BERT Models
- Separating Hate Speech and Offensive Language Classes via Adversarial Debiasing
- LLMsAgainstHate@NLU of Devanagari Script Languages 2025: Hate Speech Detection and Target Identification in Devanagari Languages via Parameter Efficient Fine-Tuning of LLMs
- Hate Speech Detection via Dual Contrastive Learning
- Exploring Hate Speech Detection Models for Lithuanian Language
- HateGAN: Adversarial Generative-Based Data Augmentation for Hate Speech Detection
- JUST_ONE at SemEval-2023 Task 10: Explainable Detection of Online Sexism (EDOS)
- Deep Learning for Hate Speech Detection: A Comparative Study