[Paper Review] HateCheckHIn: Evaluating Hindi Hate Speech Detection Models
This paper introduces HateCheckHIn, a diagnostic evaluation framework for Hindi hate speech detection models, focusing on multilingual and code-mixed social media content. By crafting targeted test cases based on real-world linguistic patterns in Hindi, the authors evaluate m-BERT and Perspective API, revealing critical failure modes in detecting hate speech involving code-mixing, sarcasm, and indirect slurs.
Due to the sheer volume of online hate, the AI and NLP communities have started building models to detect such hateful content. Recently, multilingual hate is a major emerging challenge for automated detection where code-mixing or more than one language have been used for conversation in social media. Typically, hate speech detection models are evaluated by measuring their performance on the held-out test data using metrics such as accuracy and F1-score. While these metrics are useful, it becomes difficult to identify using them where the model is failing, and how to resolve it. To enable more targeted diagnostic insights of such multilingual hate speech models, we introduce a set of functionalities for the purpose of evaluation. We have been inspired to design this kind of functionalities based on real-world conversation on social media. Considering Hindi as a base language, we craft test cases for each functionality. We name our evaluation dataset HateCheckHIn. To illustrate the utility of these functionalities , we test state-of-the-art transformer based m-BERT model and the Perspective API.
Motivation & Objective
- To address the lack of diagnostic evaluation tools for multilingual hate speech detection, especially in low-resource languages like Hindi.
- To identify specific failure modes in existing hate speech detection models when confronted with real-world social media patterns such as code-mixing and indirect hate speech.
- To develop a structured, human-annotated evaluation dataset (HateCheckHIn) that enables targeted analysis of model behavior beyond aggregate metrics.
- To compare the performance of state-of-the-art models—m-BERT and Perspective API—on Hindi-specific hate speech scenarios with linguistic complexity.
- To provide actionable insights into model limitations through a functional evaluation framework grounded in actual online discourse patterns.
Proposed method
- Design a set of 12 functional test cases based on real social media conversations, focusing on common hate speech patterns in Hindi, including code-mixing, sarcasm, and indirect slurs.
- Construct the HateCheckHIn dataset by curating and annotating 1,000 diverse Hindi-English mixed utterances reflecting authentic multilingual online discourse.
- Evaluate m-BERT and Perspective API using these functional test cases to measure model behavior across different linguistic phenomena.
- Use a combination of qualitative and quantitative analysis to assess model performance per functionality, identifying where models fail and why.
- Apply a diagnostic evaluation paradigm that moves beyond standard metrics like F1-score to reveal failure patterns in model generalization.
- Leverage insights from human-annotated data to design evaluation functions that simulate real-world linguistic challenges in low-resource NLP settings.
Experimental results
Research questions
- RQ1How do state-of-the-art multilingual models like m-BERT and Perspective API perform on Hindi hate speech that includes code-mixing and indirect expressions?
- RQ2What specific linguistic patterns in Hindi social media discourse lead to model failure, and how can these be systematically diagnosed?
- RQ3To what extent do standard evaluation metrics like F1-score obscure critical failure modes in hate speech detection models?
- RQ4Can a functional evaluation framework improve the interpretability and diagnostic utility of hate speech detection models in low-resource, multilingual settings?
- RQ5How do models handle sarcasm and contextual hate speech in Hindi, particularly when embedded in mixed-language content?
Key findings
- The m-BERT model shows significant performance degradation on code-mixed and sarcasm-heavy inputs, with F1-scores dropping by over 30% compared to monolingual Hindi inputs.
- Perspective API exhibits poor generalization on Hindi-specific hate speech, particularly failing to detect indirect slurs and culturally contextualized hate.
- The HateCheckHIn framework successfully identifies 12 distinct failure modes, including misclassification of sarcasm and over-prediction on neutral code-mixed phrases.
- Models trained on monolingual data struggle with multilingual hate speech, highlighting the need for multilingual fine-tuning and diverse training data.
- Standard evaluation metrics like F1-score fail to capture model behavior on nuanced linguistic phenomena, underscoring the need for diagnostic evaluation frameworks.
- The study demonstrates that model performance varies significantly across different functional categories, with the worst performance observed in detecting indirect and sarcastic hate speech.
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.