Abstract
As societal norms shift towards inclusivity, gender-fair language (GFL) is becoming increasingly prevalent in German text. However, most Large Language Models (LLMs) are trained on historical corpora dominated by the "generic masculine." This paper introduces the Lou dataset, a high-quality benchmark designed to evaluate how various GFL strategies affect model performance in text classification tasks. Our findings indicate that while GFL can trigger label flips in up to 10.9% of predictions, the overall performance rankings of models remain remarkably stable, suggesting that current benchmarks retain their evaluative utility.
Introduction
In the German language, the "generic masculine" has long been the default for referring to groups of people. Recent shifts toward inclusivity have introduced various gender-fair language (GFL) strategies, ranging from explicit mentions of both genders (Doppelnennung) to the use of non-binary symbols like the "GenderStar" (Studentinnen*). For LLMs, this represents a significant distribution shift from their training data. This study investigates whether GFL acts as noise that degrades performance in critical tasks such as stance detection, toxicity filtering, and sentiment analysis.
The Lou Dataset
To systematically address this question, we developed the Lou dataset. It consists of 3.6k high-quality reformulations derived from three existing German classification benchmarks: X-Stance, GermEval-2021, and Detox. Unlike previous attempts using amateur annotators—which resulted in error rates as high as 31%—the Lou dataset was curated by professional linguists to ensure grammatical accuracy and consistency.
The dataset provides parallel versions of sentences across six distinct GFL strategies, categorized into gender-inclusive and gender-neutral approaches.
Methodology
We evaluated 16 different language models, including German-specialized BERT variants (e.g., GBERT, GELECTRA), multilingual models, and large-scale instruction-tuned models like GPT-4o. Beyond standard accuracy metrics, we analyzed internal model behavior through layer-wise embeddings and attention patterns to understand how these linguistic variations are processed.
Key Insights into Model Behavior
Our analysis revealed several critical aspects of how models interact with GFL:
- Syntactic Processing: Probing the internal layers suggests that models treat GFL primarily as a syntactic variation (a change in word structure) rather than a semantic shift. The impact is most pronounced in the lower layers of the network.
- The Certainty Gap: Encountering GFL often leads to a drop in prediction confidence. This "certainty gap" is the primary driver of label flips, where a model changes its classification (e.g., from "toxic" to "not toxic") simply due to the inclusion of a gender-neutral symbol.
- Symbolic Anchors: In some tasks, symbols like the GenderStern (*) actually improved performance, potentially acting as anchors that help the model focus on specific entities.
Results and Performance
The experimental results demonstrate that while individual predictions are sensitive to GFL, the macro-level performance is robust.
- Label Flip Rate: GFL caused up to 10.9% of individual predictions to flip, a significant margin for sensitive applications like content moderation.
- Model Specialization: Models specifically pre-trained on German data handled GFL significantly better than general-purpose multilingual or English-centric models.
- Ranking Stability: Despite individual fluctuations, the relative ranking of models remained highly stable (Pearson correlation $\rho \ge 0.95$). A model that performs well on standard text is likely to remain the top performer on gender-fair text.
Conclusion and Future Work
The Lou dataset provides a crucial benchmark for the evolving linguistic landscape of German. While current models show resilience in terms of overall rankings, the high rate of label flips underscores the need for continued refinement. Future research should extend these evaluations to generative tasks and other gendered languages to ensure that AI systems remain reliable and inclusive as language continues to evolve.
Summary updated