Detecting "Socially Unacceptable Discourse" (SUD) in the wild is a complex challenge for natural language processing. While numerous datasets exist to train AI models, they are often created in isolation, leading to a lack of standardized definitions. This research explores the "generalization gap" that occurs when models trained on specific datasets fail to perform across broader, more heterogeneous contexts. By aggregating 13 different datasets into a massive corpus, the authors demonstrate that more data does not always lead to better performance if the underlying human labels are inconsistent.
The Challenge of Heterogeneity
SUD is an umbrella term covering behaviors ranging from offensive language and "identity hate" to radicalization and toxic comments. However, one dataset might define "hate speech" based on specific keywords, while another focuses on the intent of the speaker or the vulnerability of the target. This lack of standardized annotation guidelines creates a significant hurdle for AI generalization. A model trained to find toxicity on Wikipedia might fail on Twitter or specialized forums like Stormfront. The authors set out to quantify this gap by asking: Can a single "global" model learn the nuances of SUD across all these different contexts?
The $G^{SUD}$ Corpus
To test this, the researchers compiled $G^{SUD}$, a new corpus consisting of 470,768 samples across 12 classes. It draws from 13 well-known sources, including Twitter (Davidson, Founta, Olid, HASOC), Reddit, Gab, Wikipedia talk pages (Jigsaw), and specialized threads like Fox News comments.
As seen in the distribution, the dataset is heavily imbalanced. The "neither" (benign) class accounts for 74.3% of the data. Furthermore, two datasets—Jigsaw and Founta—make up over 60% of the total samples, highlighting the inherent imbalance in available research data.
Methodology
The authors employed a rigorous experimental design using $BERT_{BASE}$ as the backbone, supplemented by a Multi-Layer Perceptron (MLP) head with 12 output neurons. They compared a "Global" model trained on the full $G^{SUD}$ corpus against "Individual" models trained only on single datasets. Training strategies included testing on the full imbalanced set, random oversampling for minority classes, and undersampling the dominant "neither" class.
Key Insights: The Generalization Gap
The study revealed several critical insights into the nature of SUD classification:
- The "Hate" Paradox: Although "Hate" appears in 10 of the 13 datasets, it has some of the shakiest classification performance. This "intraclass heterogeneity" stems from different annotators relating "hate" to different textual elements.
- Binary vs. Multiclass Performance: The model is excellent at binary classification (SUD vs. non-SUD), achieving a Macro F1 of ~88.5%. However, when distinguishing between specific types of SUD (multiclass), performance drops significantly to 53.9%.
- More Data ≠ Better Performance: In 11 out of 13 cases, a model trained only on a specific dataset outperformed the global model. This suggests that conflicting annotation guidelines in the global set act as "noise" rather than helpful signal.
Visualizing the Latent Space
Using t-SNE visualizations, the authors analyzed how the model perceives different classes in a high-dimensional space.
The visualization shows that classes unique to a single dataset (like "Abusive" or "Aggressive") form clear, tight clusters. Conversely, classes that appear across many datasets (like "Toxic" or "Offensive") are sparse and overlapping, making them much harder for the model to pin down accurately.
Conclusion and Future Directions
The primary bottleneck in SUD classification is not AI architecture, but the human element. The lack of formal, cross-domain guidelines leads to local biases that hinder global model performance. Future work should focus on developing formal annotation policies with linguists to reduce these biases and improving the model's ability to distinguish the source and target of discourse—a key feature of many SUD definitions that current models often ignore.
Summary updated