Introduction
Word embeddings serve as the mathematical foundation for modern Natural Language Processing (NLP). However, these models often absorb societal biases from their training data, leading to stereotypical associations—for instance, linking "doctor" more strongly with "man" than "woman."
Traditional solutions typically employ linear projection, a "sledgehammer" approach that flattens word vectors along a bias direction (e.g., gender). While this removes bias, it also erases valid semantic information. For example, aggressive debiasing might cause a model to forget that a "matriarch" is inherently a "woman," which cripples downstream tasks like coreference resolution.
OSCaR (Orthogonal Subspace Correction and Rectification) is a novel debiasing technique that uses "graded rotations" to disentangle biased associations without deleting valid linguistic nuances.
Methodology: Disentanglement via Rotation
Instead of deleting information, OSCaR treats bias as an unwanted correlation between concepts that should be independent, such as gender and occupation.
- Subspace Identification: The method first identifies two subspaces: one for the protected concept (e.g., male-vs-female) and another for the target concept (e.g., occupations).
- Graded Rotation: OSCaR identifies a 2D plane spanned by these concepts and applies a rotation until the concepts are orthogonal (at a 90-degree angle).
- Differentiability: This rotation is "graded"—words closer to the bias direction are moved more significantly. Because the operation is almost everywhere differentiable, it can be integrated into the fine-tuning of contextualized models like RoBERTa.
Evaluation and Benchmarks
The authors evaluated OSCaR across several benchmarks using GloVe and RoBERTa:
- WEAT (Word Embedding Association Test): Measures standard bias in vector spaces.
- SIRT (Sentence Inference Retention Test): A new benchmark of ~47,000 sentence pairs testing whether a model retains valid gendered information (e.g., "The lady bought a bagel" entailing "The woman bought a bagel") after debiasing.
- NLI Probing: Using Natural Language Inference (NLI) to see if debiasing affects logical reasoning.
Key Results
OSCaR achieves a superior balance between bias reduction and information retention. While performing on par with state-of-the-art projection methods (like Hard Debiasing and INLP) on standard WEAT metrics, it significantly outperforms them in preserving semantic integrity.
A key finding, dubbed the "Matriarch Test," revealed that standard projection debiasing caused the probability of correctly identifying a "matriarch" as a "woman" to plummet from 97% to 16%. In contrast, OSCaR maintains these valid associations. On the SIRT benchmark, OSCaR retained valid gendered information (Net Entailment) for GloVe embeddings at a rate of 84.5%, compared to just 66.8% for Hard Debiasing.
Conclusion
OSCaR demonstrates that bias mitigation does not have to come at the cost of semantic richness. By shifting from "deletion" to "disentanglement," OSCaR preserves the linguistic nuances necessary for complex downstream tasks while effectively mitigating stereotypical bias. Future work includes extending the method to non-binary gender representations and other protected categories like race and religion.
Summary updated