Article
Bias in translation
Many languages have one word that means both "he" and "she". (Turkish and Finnish are two.) Now translate a sentence from such a language into English: "(he or she) is a doctor." English forces a choice. Which word will a translation program pick? Nothing in the sentence says. So how does it choose?
How a translation program learns
A machine translation program is trained on a huge amount of text, often the same text written in two languages. It learns which words and phrases go together. When it translates, it picks the words that are most likely, based on what it saw.
That works well for most sentences. But when the original sentence does not contain some detail that the new language needs, the program fills the gap with what was most common in its training text.
How an assumption travels into a translation
Text people wrote
It reflects who was written about, and how.
used asTraining data
Doctors may be written about with he more often.
learned byModel
It picks the most likely word.
producesTranslation
It says he, though the original does not.
shared onlineNew text
It may become training data for the next model.
Check your understanding
A translation program reads a sentence from a language where one word means "he or she". It writes "he is a doctor". Why did it choose "he"?
A small model you can run
This is a tiny invented "training text". For each sentence, it lists the job and the pronoun that followed. The program counts, then chooses the more common pronoun for a neutral sentence:
The program has chosen "he" for the doctor and "she" for the nurse. The real world has doctors and nurses of every gender. The program does not know that. It only knows its text. Change some "he" values in the list to "she" and run it again: the choice changes. The model is only as balanced as its examples.
Other assumptions
Gender is only one example. A translation program can also copy:
| Assumption | Why it happens |
|---|---|
| Jobs, roles or hobbies linked to a gender or a country | The training text linked them often. |
| Formal or informal speech | If most training text is formal writing, slang and local ways of speaking get translated worse. |
| Less common languages | A language with little text available gives the model fewer examples, so its translations are worse. |
| Names and places | Names that were rare in the training text may be translated or spelled wrongly. |
Mistakes matter more when translation is used for something important, such as a medical form, a legal paper or a news story. The people affected most are the people whose language or way of speaking was under-represented in the data.
What reduces it
- More balanced training text, and text from more languages, dialects and ways of speaking.
- Show both options when the original sentence does not say, for example "he" and "she", or use a neutral word such as "they".
- Test on many kinds of sentences and check the results for each group (jobs, genders, dialects, languages).
- Human review for important texts, and a way for users to report problems.
- Transparency: tell users that the translation was made by a program and may contain assumptions.
Check your understanding
A translation program must pick "he" or "she" when the original sentence gives no gender. Which action would best reduce the assumption?
Worked example
A translation tool turns the neutral sentence "(he or she) is an engineer" into "He is an engineer", and "(he or she) is a nurse" into "She is a nurse". A reviewer asks: what is the cause, and what is the best fix?
- Cause: the program chose the pronoun most common in its training text. The original did not say, so the assumption came from the data.
- Not the cause: the program does not "believe" anything, and it is not a speed problem.
- Best fix: show both versions, or use "they", and test many jobs. Not a good fix: adding even more text of the same kind, because it keeps the same pattern.
Common mistakes
- "The translator is wrong about the language." Often the grammar is correct. The problem is an assumption about the person.
- "A translation program has opinions." It repeats patterns. It does not hold beliefs.
- "More text fixes it." More of the same kind of text repeats the same assumption.
- "A translation is a perfect copy of the meaning." Where the original is open, the program has to choose.
- "It only matters for gender." It also affects dialects, rare languages and stereotypes.
On the exam
You may see a translation, search or writing tool that copies stereotypes. The cause is the data it learned from, which reflects existing human biases. The best actions are more representative data, testing across groups, showing alternatives and human review. Do not choose "make it faster" or "the program decided to".
Key words
Machine translation: translating text from one language to another with a program, usually trained on text.
Assumption: something taken as true without being stated. A program's assumptions come from its data.
Stereotype: a fixed, over-simple idea about a group of people.