mlsanityData to 7 Oct 2026

Latent Feature-based Data Splits to Improve Generalisation Evaluation: A Hate Speech Detection Case Study

arXiv 2311.10236 ↗First posted 16 Nov 2023cs.CLcited by 0

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  5. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  6. 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,841
  7. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
  8. 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 864
  9. 2022BERTopic: Neural topic modeling with a class-based TF-IDF procedurecited by 779
  10. 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 724
  11. 2018Annotation Artifacts in Natural Language Inference Datacited by 656
  12. 2021Dynabench: Rethinking Benchmarking in NLPcited by 447
30 more
  1. 2020HateXplain: A Benchmark Dataset for Explainable Hate Speech Detectioncited by 403
  2. 2019On Measuring Social Biases in Sentence Encoderscited by 397
  3. 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 280
  4. 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 260
  5. 2020Selective Question Answering under Domain Shiftcited by 228
  6. 2021Mind the Gap: Assessing Temporal Generalization in Neural Language Modelscited by 226
  7. 2021Latent Hatred: A Benchmark for Understanding Implicit Hate Speechcited by 216
  8. 2018Stress Test Evaluation for Natural Language Inferencecited by 211
  9. 2020HateBERT: Retraining BERT for Abusive Language Detection in Englishcited by 206
  10. 2018Hate Speech Dataset from a White Supremacy Forumcited by 196
  11. 2021Masked Language Modeling and the Distributional Hypothesis: Order Word Matters Pre-training for Littlecited by 176
  12. 2021All Bark and No Bite: Rogue Dimensions in Transformer Language Models Obscure Representational Qualitycited by 150
  13. 2019Multilingual and Multi-Aspect Hate Speech Analysiscited by 133
  14. 2019A Benchmark Dataset for Learning to Intervene in Online Hate Speechcited by 128
  15. 2019Well-Read Students Learn Better: On the Importance of Pre-training Compact Modelscited by 118
  16. 2020Contextualizing Hate Speech Classifiers with Post-hoc Explanationcited by 84
  17. 2021Types of Out-of-Distribution Texts and How to Detect Themcited by 80
  18. 2022GLUE-X: Evaluating Natural Language Understanding Models from an Out-of-distribution Generalization Perspectivecited by 72
  19. 2020We Need to Talk About Random Splitscited by 70
  20. 2021Memorization vs. Generalization: Quantifying Data Leakage in NLP Performance Evaluationcited by 69
  21. 2021Generalization in NLI: Ways (Not) To Go Beyond Simple Heuristicscited by 67
  22. 2018Spread of hate speech in online social mediacited by 59
  23. 2019Understanding the Behaviors of BERT in Rankingcited by 49
  24. 2022VALUE: Understanding Dialect Disparity in NLUcited by 45
  25. 2020Topic Modeling with Contextualized Word Representation Clusterscited by 41
  26. 2019Out-of-Domain Detection for Low-Resource Text Classification Taskscited by 36
  27. 2021Sequence Length is a Domain: Length-based Overfitting in Transformer Modelscited by 34
  28. 2018Peer to Peer Hate: Hate Speech Instigators and Their Targetscited by 30
  29. 2020On Cross-Dataset Generalization in Automatic Detection of Online Abusecited by 20
  30. 2022Benchmarking Long-tail Generalization with Likelihood Splitscited by 8

Built on by

Not cited yet.