[Paper Review] It's All in the Name: Mitigating Gender Bias with Name-Based Counterfactual Data Substitution
This paper proposes Counterfactual Data Substitution (CDS) and the Names Intervention to mitigate both direct and indirect gender bias in word embeddings. By substituting names in a corpus using gender-paired name pairs and applying counterfactual augmentation, the method reduces gender cluster purity by 49% on average, outperforming projection-based methods like WED in non-biased gender analogy tasks by 19%.
This paper treats gender bias latent in word embeddings. Previous mitigation attempts rely on the operationalisation of gender bias as a projection over a linear subspace. An alternative approach is Counterfactual Data Augmentation (CDA), in which a corpus is duplicated and augmented to remove bias, e.g. by swapping all inherently-gendered words in the copy. We perform an empirical comparison of these approaches on the English Gigaword and Wikipedia, and find that whilst both successfully reduce direct bias and perform well in tasks which quantify embedding quality, CDA variants outperform projection-based methods at the task of drawing non-biased gender analogies by an average of 19% across both corpora. We propose two improvements to CDA: Counterfactual Data Substitution (CDS), a variant of CDA in which potentially biased text is randomly substituted to avoid duplication, and the Names Intervention, a novel name-pairing technique that vastly increases the number of words being treated. CDA/S with the Names Intervention is the only approach which is able to mitigate indirect gender bias: following debiasing, previously biased words are significantly less clustered according to gender (cluster purity is reduced by 49%), thus improving on the state-of-the-art for bias mitigation.
Motivation & Objective
- To address the limitations of projection-based debiasing methods like WED, which fail to mitigate indirect gender bias.
- To improve counterfactual data augmentation (CDA) by reducing text duplication and increasing coverage of gendered terms.
- To develop a scalable, name-based intervention that captures gender bias beyond simple word pairs.
- To evaluate whether debiasing methods preserve utility in downstream NLP tasks like sentiment classification and word similarity.
- To investigate whether removing gender bias via linear subspaces over-corrects and removes useful gender information.
Proposed method
- Proposes Counterfactual Data Substitution (CDS), a variant of CDA that substitutes biased text instead of duplicating the corpus, avoiding exponential growth.
- Introduces the Names Intervention, a name-pairing strategy using frequency and gender-specificity to generate balanced male-female name pairs.
- Applies CDS with the Names Intervention to create a counterfactual corpus where gendered names are systematically swapped.
- Uses the resulting corpus to retrain word embeddings, aiming to reduce both direct and indirect gender bias.
- Employs clustering of the most biased words to measure reduction in gender-based cluster purity.
- Evaluates performance on non-biased gender analogies, SimLex-999, and sentiment classification to assess utility preservation.
Experimental results
Research questions
- RQ1Can CDA and its variants mitigate indirect gender bias, as measured by reduced gender cluster purity in word embeddings?
- RQ2How does CDS compare to CDA in terms of performance and computational efficiency on large-scale corpora?
- RQ3Does WED remove too much gender information, as evidenced by poor performance on non-biased gender analogy tasks?
- RQ4To what extent does the Names Intervention improve coverage and effectiveness of bias mitigation compared to standard CDA?
- RQ5Do debiased embeddings retain utility in downstream NLP tasks like sentiment classification and word similarity?
Key findings
- CDA/S with the Names Intervention reduces gender cluster purity by 49% on average across English Gigaword and Wikipedia, successfully mitigating indirect gender bias.
- CDA and CDS outperform WED variants by 19% on average in non-biased gender analogy tasks, indicating better preservation of gender semantics.
- WED70 performs worse than the unmitigated baseline on non-biased analogies (27.1% error rate on Gigaword), suggesting it removes too much gender information.
- The Names Intervention enables effective treatment of gendered names beyond simple word pairs, significantly expanding the scope of bias mitigation.
- Debiased embeddings from CDS and CDA maintain strong performance on SimLex-999 and sentiment classification, indicating utility preservation.
- CDS is computationally more efficient than CDA due to substitution over duplication, and supports multiple intervention layers without exponential corpus growth.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.