[Paper Review] Hypothesis Engineering for Zero-Shot Hate Speech Detection
This paper proposes a hypothesis engineering approach that combines multiple NLI-based hypotheses to improve zero-shot hate speech detection, addressing key failure modes like counterspeech, reclaimed slurs, and implicit hate. It achieves a 7.9 pp accuracy gain on HateCheck and 10.0 pp on ETHOS over a strong NLI baseline, demonstrating that modular, error-driven hypothesis design significantly boosts zero-shot performance without fine-tuning.
Standard approaches to hate speech detection rely on sufficient available hate speech annotations. Extending previous work that repurposes natural language inference (NLI) models for zero-shot text classification, we propose a simple approach that combines multiple hypotheses to improve English NLI-based zero-shot hate speech detection. We first conduct an error analysis for vanilla NLI-based zero-shot hate speech detection and then develop four strategies based on this analysis. The strategies use multiple hypotheses to predict various aspects of an input text and combine these predictions into a final verdict. We find that the zero-shot baseline used for the initial error analysis already outperforms commercial systems and fine-tuned BERT-based hate speech detection models on HateCheck. The combination of the proposed strategies further increases the zero-shot accuracy of 79.4% on HateCheck by 7.9 percentage points (pp), and the accuracy of 69.6% on ETHOS by 10.0pp.
Motivation & Objective
- To improve zero-shot hate speech detection accuracy without fine-tuning or labeled data.
- To identify and address specific failure modes in vanilla NLI-based zero-shot hate speech detection.
- To develop a modular, interpretable framework for enhancing NLI-based zero-shot classification through targeted hypothesis engineering.
- To evaluate the effectiveness of hypothesis combinations on unseen datasets like ETHOS and HateCheck.
- To enable data-efficient, scalable hate speech detection applicable to low-resource or emerging language contexts.
Proposed method
- Conduct an error analysis on a vanilla NLI-based zero-shot hate speech detection system using the HateCheck benchmark.
- Design four hypothesis-based strategies: filtering by target group, filtering counterspeech, filtering reclaimed slurs, and catching dehumanizing comparisons.
- Use multiple hypotheses per strategy to predict specific linguistic phenomena relevant to hate speech detection.
- Combine predictions from multiple hypotheses using rule-based or confidence-weighted aggregation to produce a final verdict.
- Apply the strategies to input texts by generating hypotheses that test for specific hate speech characteristics.
- Evaluate the full system on HateCheck (for development) and ETHOS (as an unseen test set) to measure performance gains.
Experimental results
Research questions
- RQ1What are the primary failure modes of vanilla NLI-based zero-shot hate speech detection?
- RQ2Can combining multiple hypotheses improve zero-shot hate speech detection beyond a single hypothesis formulation?
- RQ3How effective are targeted hypothesis strategies in mitigating specific error types such as counterspeech or reclaimed slurs?
- RQ4To what extent do the proposed strategies generalize to unseen datasets like ETHOS?
- RQ5Can hypothesis engineering achieve performance gains comparable to fine-tuned models without requiring labeled data?
Key findings
- The vanilla NLI-based zero-shot baseline outperforms both commercial systems and fine-tuned BERT models on the HateCheck benchmark.
- The combination of all four proposed hypothesis strategies increases zero-shot accuracy by 7.9 percentage points on HateCheck, reaching 79.4%.
- On the ETHOS dataset, the strategy combination improves accuracy by 10.0 percentage points, reaching 69.6%.
- The performance gains are primarily driven by improved detection of previously problematic cases, such as counterspeech and implicit hate speech.
- The strategy targeting dehumanizing comparisons had a slight negative effect on ETHOS, suggesting context-dependent effectiveness.
- The modular design allows for easy adjustment of precision-recall trade-offs by adding or removing strategies or tuning confidence thresholds.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.