Search papers, labs, and topics across Lattice.
This paper investigates data augmentation and feature engineering techniques to improve hate speech detection across a range of models, from traditional TF-IDF to large language models like Gemma-7B and gpt-oss-20b. The study evaluates the impact of SMOTE, weighted loss, POS tagging, and text augmentation on performance across diverse datasets. Key findings include gpt-oss-20b achieving top performance overall, Delta TF-IDF showing strong gains from data augmentation (98.2% accuracy on Stormfront), and the confirmation that implicit hate speech is harder to detect.
Data augmentation can boost a TF-IDF model to near state-of-the-art hate speech detection accuracy on certain datasets, rivaling much larger transformer models.
This paper evaluates data augmentation and feature enhancement techniques for hate speech detection, comparing traditional classifiers, e.g., Delta Term Frequency-Inverse Document Frequency (Delta TF-IDF), with transformer-based models (DistilBERT, RoBERTa, DeBERTa, Gemma-7B, gpt-oss-20b) across diverse datasets. It examines the impact of Synthetic Minority Over-sampling Technique (SMOTE), weighted loss determined by inverse class proportions, Part-of-Speech (POS) tagging, and text data augmentation on model performance. The open-source gpt-oss-20b consistently achieves the highest results. On the other hand, Delta TF-IDF responds strongly to data augmentation, reaching 98.2% accuracy on the Stormfront dataset. The study confirms that implicit hate speech is more difficult to detect than explicit hateful content and that enhancement effectiveness depends on dataset, model, and technique interaction. Our research informs the development of hate speech detection by highlighting how dataset properties, model architectures, and enhancement strategies interact, supporting more accurate and context-aware automated detection.