Exploring the Impact of Training Data Distribution and Subword Tokenization on Gender Bias in Machine Translation
Authors:
- Bar IluzBIBar Iluz
- Gabriel StanovskyGSGabriel Stanovsky
- David MarečekDMDavid Mareček
Preprint
Abstract
We study the effect of tokenization on gender bias in machine translation, an aspect that has been largely overlooked in previous works. Specifically, we focus on the interactions between the frequency of gendered profession names in training data, their representation in the subword tokenizer's vocabulary, and gender bias. We observe that female and non-stereotypical gender inflections of profession names (e.g., Spanish "doctora" for "female doctor") tend to be split into multiple subword tokens. Our results indicate that the imbalance of gender forms in the model's training corpus is a major factor contributing to gender bias and has a greater impact than subword splitting. We show that analyzing subword splits provides good estimates of gender-form imbalance in the training data and can be used even when the corpus is not publicly available. We also demonstrate that fine-tuning just the token embedding layer can decrease the gap in gender prediction accuracy between female and male forms without impairing the translation quality.Keywords
All Related Versions
This publication has 15 references indexed in Scilit:
- How Much Does Tokenization Affect Neural Machine Translation?2023
- Why don’t people use character-level machine translation?2022
- Auto-Debias: Debiasing Masked Language Models with Automated Biased Prompts2022
- Gender Bias in Machine TranslationTransactions of the Association for Computational Linguistics, 2021
- Byte Pair Encoding is Suboptimal for Language Model Pretraining2020
- Improving Massively Multilingual Neural Machine Translation and Zero-Shot Translation2020
- Reducing Gender Bias in Neural Machine Translation as a Domain Adaptation Problem2020
- SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processing2018
- Gender Bias in Coreference Resolution: Evaluation and Debiasing Methods2018
- Neural Machine Translation of Rare Words with Subword Units2016