A Dataset for Misogyny Detection in Polish Social Media: Transferability of Hateful Speech Detection from General to Specific Types of Hate

Ewelina GajewskaarXiv 2026

TL;DR

Researchers have introduced a new dataset for misogyny detection in Polish social media, revealing a significant "transfer gap": models trained on general hate speech often fail to identify specific, gender-based hostility. The study finds that while general-purpose models struggle, "safety-specialized" models—those pre-trained specifically to recognize various harms—demonstrate much stronger generalization to the nuances of misogyny and gender stereotyping.

What Problem Does This Paper Address?

Automated content moderation is a high-stakes game of cat-and-mouse. While we have decent tools for catching "general" toxicity (like overt slurs), these models often miss specific, targeted forms of hate. Misogyny is a prime example, frequently manifesting as implicit bias, stereotypes, or "socially normalized" prejudice rather than just explicit insults.

In the world of Natural Language Processing (NLP), Polish is relatively underrepresented compared to English. Existing Polish datasets focus on broad toxicity or political hostility, leaving a vacuum for gender-directed abuse. The authors ask a critical question: If a model is great at catching general hate speech, can we trust it to catch misogyny? Or do we need specialized tools?

Methods

The researchers employed a multi-stage approach to build and test their detection systems:

  1. LLM-Assisted Annotation: To label their new dataset, they used two "frontier" Large Language Models (LLMs)—GPT-5.5 and Grok-4.3—to provide initial labels.
  2. Expert Adjudication: Human experts resolved disagreements between the LLMs and performed quality audits to ensure the "ground truth" was reliable.
  3. Model Comparison: They compared three families of models:
  4. Base Transformers: Standard Polish BERT and HerBERT models.
  5. Safety-Specialized Models: "Guard" versions of models (Bielik-Guard and HerBERT-Guard) that underwent specific pre-training for harmful content.
  6. Instruction-Tuned LLMs: Generative models (Bielik and PLLuM) evaluated in a zero-shot setting.

The core experiment involved cross-domain evaluation: training a model on a general harmful language dataset (BAN-PL) and testing its performance on the new, specific misogyny dataset.

Datasets

  • The Misogyny Dataset (New): 867 Polish social media comments collected from Facebook discussions regarding a controversy involving influencer Anna Lewandowska. It is annotated for three categories: Misogyny, Gender Stereotyping, and Neutral.
  • BAN-PL: A large, existing Polish dataset containing general harmful and offensive content from the Wykop.pl platform, used here as the "general" training baseline.

Key Insights and Ideas

  • The Transfer Gap is Real: There is a massive performance drop when moving from general hate speech to misogyny. A model's high accuracy on a general benchmark is a poor predictor of its ability to catch gender-based abuse.
  • Implicit Hate is the Hardest Nut to Crack: Models struggled significantly more with "Gender Stereotyping" (implicit) than with "Misogyny" (often more explicit). This suggests that surface-level lexical cues aren't enough; models need better pragmatic and contextual understanding.
  • Specialization Beats Scale: Interestingly, compact, safety-specialized models (like HerBERT-Guard) outperformed much larger generative LLMs. This suggests that how a model is trained for safety is more important than simply increasing the number of parameters.
  • LLMs as Annotators: The study found "moderate to substantial" agreement between LLMs and human experts, suggesting that while LLMs are useful for scaling annotation, human oversight remains essential for the "interpretative" boundaries of hate speech.

Key Results

  • Performance Drop: BERT’s F1 score plummeted from 0.875 on general hate speech to just 0.568 when asked to detect misogyny without further fine-tuning.
  • The "Guard" Advantage: HerBERT-Guard, despite not being fine-tuned on the new dataset, achieved an F1 of 0.686 on the misogyny task—significantly higher than the base models.
  • Ternary Classification: In the most difficult task (distinguishing between Neutral, Misogyny, and Stereotyping), HerBERT-Guard was the clear winner with 0.782 accuracy and a 0.742 F1 score.
  • Stereotyping Struggle: Most models had very low F1 scores for the "Stereotyping" class (often below 0.35), highlighting a major weakness in current NLP systems' ability to detect subtle prejudice.

Limitations and Future Work

The authors acknowledge several constraints:

  • Context Specificity: The dataset is derived from a single media controversy. The linguistic patterns of misogyny might differ in other social or political contexts.
  • Class Imbalance: The "Stereotyping" category made up only 5.1% of the data, making it difficult for models to learn this specific nuance effectively.
  • Subjectivity: Distinguishing between "stereotyping" and "neutral" discourse remains partly interpretative, which is a challenge for both humans and machines.

Future Directions: The researchers suggest building "cross-category transfer matrices" to see how models move between different targets of hate (e.g., from racism to misogyny) and exploring how cultural context influences what is considered "implicit" harm in different languages.

Summary updated

Abstract

Harmful language detection is commonly evaluated on broadly defined hate speech and toxicity benchmarks, yet it remains unclear whether models that successfully detect harmful language in general can transfer this capability to more specific forms of hate. We investigate this problem for misogyny detection in Polish, an area for which dedicated resources remain scarce. We introduce a new dataset of Polish social media comments annotated for misogyny, gender-directed hateful speech. Using this resource, we first assess the reliability of LLM-assisted annotation and then evaluate general-to-specific transfer by comparing models trained on general harmful language data, safety-specialized models, and models fine-tuned directly for misogyny detection. Our results show that strong performance on general harmful language detection does not transfer uniformly to misogyny; safety-specialized models demonstrate substantially stronger generalization ability. The study contributes a new Polish resource for gender-directed harmful language and demonstrates that the scope and granularity of prior safety training are important factors in transferring harmful language detection from general to specific forms of hate.
BibTeX
@misc{gajewska2026dataset,
  author = {Ewelina Gajewska},
  title = {{A Dataset for Misogyny Detection in Polish Social Media: Transferability of Hateful Speech Detection from General to Specific Types of Hate}},
  year = {2026},
  eprint = {2611.20044},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.20044},
}
Figure