The Lou Dataset - Exploring the Impact of Gender-Fair Language in German Text Classification

Andreas Waldis, Joel Birrer, Anne Lauscher, Iryna Gurevych · DOI

Introduction

German is a highly gendered language that traditionally relies on the "generic masculine" to refer to mixed-gender groups or individuals whose gender is unknown. However, societal shifts have led to the increasing adoption of gender-fair language (GFL). These strategies include inclusive markers—such as the "Gendersternchen" (Mitarbeiterinnen), colons (Mitarbeiter:innen), or underscores (Mitarbeiter_innen)—as well as neutral terms and double-naming (Mitarbeiterinnen und Mitarbeiter*).

While GFL is becoming more common in public discourse, most Large Language Models (LLMs) were trained on historical corpora where these forms are rare. This raises a critical question for Natural Language Processing (NLP): how do these linguistic shifts affect model performance? The Lou Dataset was developed to address this gap, providing a high-quality benchmark to evaluate how GFL impacts tasks like toxicity detection and stance classification.

The Lou Dataset

The Lou Dataset consists of 3.6k reformulated instances derived from three established German classification benchmarks:

  • X-Stance: Political stance detection (favor vs. against).
  • GermEval-2021: Social media comments labeled for toxicity, engagingness, and fact-claiming.
  • Detox: Social media texts labeled for sentiment and hate speech.

Lou is unique because it provides parallel versions of the same sentences across six distinct GFL strategies. This allows for a direct "apples-to-apples" comparison of model behavior when encountering different inclusive forms versus the traditional generic masculine.

Methodology

The researchers employed a systematic approach to evaluate the impact of GFL:

  1. Six GFL Strategies: They applied Doppelnennung (binary inclusion), three types of "All Gender Inclusion" (using *, :, or _), and two neutralization strategies (Neutral and the De-e neosystem).
  2. Human-in-the-loop Validation: To ensure quality, they compared reformulations created by "amateurs" (native speakers with moderate GFL experience) against those produced by professional linguists.
  3. Model Evaluation: The study tested 16 models, including German-specialized encoders (e.g., GBERT, GELECTRA), multilingual models (mDeBERTa), and instruction-tuned decoders (Llama-3, GPT-4o).
  4. Internal Analysis: Beyond accuracy metrics, the authors used t-SNE projections and layer-wise embeddings to determine where GFL variations are processed within the models' architectures.

Key Insights

The Human Difficulty of GFL

One of the study's most striking findings was that native German speakers (amateurs) had an error rate of up to 31% when attempting to apply GFL strategies correctly. This high error rate suggests that GFL is not yet fully standardized in common usage, making it a "moving target" for both human users and AI systems.

The "Label Flip" Phenomenon

While a model's overall F1 score might remain relatively stable across a dataset, individual predictions are surprisingly volatile. The researchers observed "label flips"—where changing a word to a gender-neutral form caused the model to change its classification (e.g., from "toxic" to "not toxic")—in up to 10.9% of cases. This volatility is often accompanied by a drop in prediction certainty, indicating that GFL introduces a level of ambiguity or "noise" for the model.

GFL as Syntactic Distraction

By analyzing the internal layers of the models, the researchers found that GFL differences are most distinguishable in the lower layers. This suggests that current models treat GFL primarily as a structural or syntactic variation rather than a deep semantic change. Essentially, the model sees the "Gendersternchen" more as a punctuation anomaly than a shift in meaning.

Results and Performance

  • Specialization Matters: Models specifically pre-trained on German (like GBERT) significantly outperformed general multilingual or English-centric models. Local linguistic knowledge is essential for navigating the nuances of GFL.
  • Inclusive vs. Neutral Strategies: Interestingly, "inclusive" strategies (like the GenderStar *) occasionally improved performance slightly. In contrast, "neutralization" strategies, which often require more complex sentence restructuring, tended to degrade performance.
  • Consistent Model Rankings: Despite individual prediction flips, the relative ranking of models remained consistent. A model that performs well on standard German typically remains the top performer on gender-fair German, even if its confidence fluctuates.

Limitations and Future Directions

The study is currently limited to the German language. While similar patterns likely exist in other gendered languages like French or Italian, these have yet to be tested using the Lou framework. Furthermore, the dataset does not yet cover rarer variations such as neo-pronouns (e.g., xier).

Future work should focus on developing GFL-robust training techniques. While the Lou Dataset identifies the sensitivity of current models to inclusive language, the next step for the field is to ensure that AI systems can process these societal linguistic shifts without losing accuracy or confidence.

Summary updated

BibTeX
@inproceedings{waldis2024lou,
  author = {Andreas Waldis and Joel Birrer and Anne Lauscher and Iryna Gurevych},
  title = {{The Lou Dataset - Exploring the Impact of Gender-Fair Language in German Text Classification}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.592},
}
Figure