Latent Feature-based Data Splits to Improve Generalisation Evaluation: A Hate Speech Detection Case Study
On the map: LLM safety and security → Safety alignment, refusal and guardrails
Abstract (arXiv)
With the ever-growing presence of social media platforms comes the increased spread of harmful content and the need for robust hate speech detection systems. Such systems easily overfit to specific targets and keywords, and evaluating them without considering distribution shifts that might occur between train and test data overestimates their benefit. We challenge hate speech models via new train-test splits of existing datasets that rely on the clustering of models' hidden representations. We present two split variants (Subset-Sum-Split and Closest-Split) that, when applied to two datasets using four pretrained models, reveal how models catastrophically fail on blind spots in the latent space. This result generalises when developing a split with one model and evaluating it on another. Our analysis suggests that there is no clear surface-level property of the data split that correlates with the decreased performance, which underscores that task difficulty is not always humanly interpretable. We recommend incorporating latent feature-based splits in model development and release two splits via the GenBench benchmark.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. Builds on 42 of its 75 references that are in the map. First posted on arXiv 16 Nov 2023.
Builds on
42 of 75 references.
References · 42
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,841
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 864
- 2022BERTopic: Neural topic modeling with a class-based TF-IDF procedurecited by 779
- 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 724
- 2018Annotation Artifacts in Natural Language Inference Datacited by 656
- 2021Dynabench: Rethinking Benchmarking in NLPcited by 447
30 more
- 2020HateXplain: A Benchmark Dataset for Explainable Hate Speech Detectioncited by 403
- 2019On Measuring Social Biases in Sentence Encoderscited by 397
- 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 280
- 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 260
- 2020Selective Question Answering under Domain Shiftcited by 228
- 2021Mind the Gap: Assessing Temporal Generalization in Neural Language Modelscited by 226
- 2021Latent Hatred: A Benchmark for Understanding Implicit Hate Speechcited by 216
- 2018Stress Test Evaluation for Natural Language Inferencecited by 211
- 2020HateBERT: Retraining BERT for Abusive Language Detection in Englishcited by 206
- 2018Hate Speech Dataset from a White Supremacy Forumcited by 196
- 2021Masked Language Modeling and the Distributional Hypothesis: Order Word Matters Pre-training for Littlecited by 176
- 2021All Bark and No Bite: Rogue Dimensions in Transformer Language Models Obscure Representational Qualitycited by 150
- 2019Multilingual and Multi-Aspect Hate Speech Analysiscited by 133
- 2019A Benchmark Dataset for Learning to Intervene in Online Hate Speechcited by 128
- 2019Well-Read Students Learn Better: On the Importance of Pre-training Compact Modelscited by 118
- 2020Contextualizing Hate Speech Classifiers with Post-hoc Explanationcited by 84
- 2021Types of Out-of-Distribution Texts and How to Detect Themcited by 80
- 2022GLUE-X: Evaluating Natural Language Understanding Models from an Out-of-distribution Generalization Perspectivecited by 72
- 2020We Need to Talk About Random Splitscited by 70
- 2021Memorization vs. Generalization: Quantifying Data Leakage in NLP Performance Evaluationcited by 69
- 2021Generalization in NLI: Ways (Not) To Go Beyond Simple Heuristicscited by 67
- 2018Spread of hate speech in online social mediacited by 59
- 2019Understanding the Behaviors of BERT in Rankingcited by 49
- 2022VALUE: Understanding Dialect Disparity in NLUcited by 45
- 2020Topic Modeling with Contextualized Word Representation Clusterscited by 41
- 2019Out-of-Domain Detection for Low-Resource Text Classification Taskscited by 36
- 2021Sequence Length is a Domain: Length-based Overfitting in Transformer Modelscited by 34
- 2018Peer to Peer Hate: Hate Speech Instigators and Their Targetscited by 30
- 2020On Cross-Dataset Generalization in Automatic Detection of Online Abusecited by 20
- 2022Benchmarking Long-tail Generalization with Likelihood Splitscited by 8
Built on by
Not cited yet.