TL;DR
Researchers from the University of Illinois Chicago and Salesforce Research have developed GEEP (GEnder Equality Prompt), a method to debias pre-trained language models (PLMs) without destroying their general intelligence. By freezing the model and only training new, neutral embeddings for specific professions, GEEP achieves state-of-the-art gender fairness while significantly mitigating the "catastrophic forgetting" that plagues traditional fine-tuning methods.
What Problem Does This Paper Address?
Pre-trained language models like BERT and RoBERTa are the workhorses of modern NLP, but they are notorious for absorbing societal biases from their massive web-scale training data. For instance, these models often associate "nurse" with female pronouns and "doctor" with male ones.
The standard fix is a second phase of pre-training (SPPA) on a small, manually curated gender-neutral dataset. However, this creates a "catastrophic forgetting" problem: because the debiasing dataset is small and highly focused, updating all the model's billions of parameters causes it to "forget" the diverse general knowledge it learned originally. This leads to a massive performance drop on standard benchmarks like GLUE, making the "fair" model less useful for real-world applications.
Methods
The authors propose GEnder Equality Prompt (GEEP), a parameter-efficient approach inspired by prompt-tuning.
Instead of updating the entire model, GEEP follows these steps: 1 . Freeze the Model: All original parameters of the pre-trained model (like RoBERTa) are locked and cannot be changed.
- Add New Embeddings: The authors identify a set of biased profession names (e.g., "programmer," "housekeeper") and create brand-new, randomly initialized word embeddings for them. These act as "gender equality prompts."
- Selective Training: During the second phase of pre-training on gender-neutral data, the model only updates these new profession embeddings.
By re-initializing the profession embeddings, the model effectively "deletes" the old biased representations before training even begins. Because the rest of the model is frozen, the foundational linguistic knowledge remains intact.
Datasets
- Debiasing Data: A 6.1GB subset of English Wikipedia. The authors filtered for sentences containing professions and created a balanced set by swapping gendered terms (e.g., changing "he" to "she" and vice versa).
- Fairness Evaluation:
- Winogender & Winograd Schema Challenge (WSC): Benchmarks for pronoun coreference resolution.
- Definite Pronoun Resolution (DPR): A corpus for linking pronouns to noun phrases.
- General Performance Evaluation: The GLUE (General Language Understanding Evaluation) benchmark, consisting of 8 diverse NLP tasks like sentiment analysis and natural language inference.
Key Insights and Ideas
- Re-initialization is a Shortcut: Traditional methods try to "unlearn" bias by shifting existing weights. GEEP simply throws away the biased profession embeddings and starts fresh, which the authors found to be more effective and faster to converge.
- Forgetting is a Major Trade-off: The paper empirically proves that full-parameter debiasing (SPPA) causes performance to tank on tasks like CoLA (linguistic acceptability) and RTE (entailment), sometimes by more than 10 points.
- Efficiency Matters: GEEP only adds about 232k parameters—a mere 0.21% increase for a RoBERTa-base model. This makes it highly practical for organizations that cannot afford to re-train massive models from scratch.
Key Results
GEEP consistently outperformed both the original RoBERTa model and the SPPA baseline across fairness and general tasks.
- Gender Fairness: On the Winogender dataset, GEEP achieved 64.5% accuracy, significantly higher than the original RoBERTa (50.9%) and the SPPA method (57.3%).
- General Performance: While SPPA caused the average GLUE score to drop from 86.5 to 80.2, GEEP maintained a much higher average of 83.3. It essentially "saved" the model from the worst effects of catastrophic forgetting.
Limitations and Future Work
The authors acknowledge a few key limitations:
- Binary Focus: The study primarily focuses on binary gender (male/female) because existing benchmarks and datasets are largely built around this binary.
- Scope of Bias: The method currently targets profession-related bias. While this is a major area of concern, other forms of bias (race, religion, etc.) were not addressed.
- Future Directions: The authors suggest that GEEP could be extended to other fairness issues if the relevant "biased words" can be identified and replaced with neutral prompts. They also highlight the need for more inclusive datasets that cover non-binary gender identities.
Summary updated