TL;DR
When translating from English into gendered languages like Italian or Spanish, Large Language Models (LLMs) famously default to masculine forms—even when the text explicitly says "she." Post-training models specifically for translation fixes this behavior on the surface, and this paper uncovers how: rather than erasing the model's underlying bias, fine-tuning recruits a tiny circuit of attention heads to act as a conditional "override switch" whenever feminine pronouns appear.
What Problem Does This Paper Address?
Language is full of hidden assumptions that Machine Translation (MT) forces into the open. Take the English sentence: "The cook prepared a soup for the housekeeper because he helped clean the room." English doesn't gender the word "housekeeper," so a human translator looks at the pronoun ("he") to choose the right gendered noun and article in Italian (il governante vs. la governante).
Historically, MT systems—and modern LLMs—ignore that contextual clue and lean on training data statistics, defaulting to masculine translations or occupational stereotypes (like assuming a housekeeper is always la governante). Recently, researchers noticed that post-training LLMs specifically for translation (via instruction tuning) makes them much better at respecting context. What we didn't know was what changed under the hood. Did post-training actually erase the model's statistical gender priors, or did it build a patch on top of them?
Methods
To peek inside the black box, the authors combined behavioral tests with a causal mechanistic intervention—essentially, targeted brain surgery on state-of-the-art, MT-tuned LLMs (TowerInstruct-7B, GemmaX2-9B, and TowerPlus-9B) and their base models (Llama2 and Gemma2).
- Behavioral Baseline: Using zero-shot prompts across four grammatical gender languages (Italian, Spanish, French, and German), they measured two metrics: Minimal Pair Accuracy (MPA)—whether a model switches the target gender when "he" changes to "she"—and Prior Bias—what gender the model chooses when given a gender-neutral cue like "they."
- Hunting for Cue-Sensitive Heads: Looking only at sentences the models translated correctly, the authors tracked the models' internal self-attention weights. At the exact moment a model generated a gendered target word (like el profesor vs. la profesora), they measured how strongly every attention head across every layer looked back at the English pronoun ("he" or "she").
- Progressive Head Ablation (The Causal Test): Because high attention doesn't automatically prove causation, the authors zeroed out the outputs of the top-$k$ most responsive heads (up to 20) one by one during translation. Focusing on Italian, Spanish, and French, they tracked the exact token probabilities of masculine vs. feminine articles (e.g., il vs. la) to see if silencing these heads broke the translation—comparing this against silencing 20 random heads as a control.
Datasets
The authors did not train models from scratch; for evaluation, they used a diagnostic benchmark created by Manna et al. (2026), which reorganizes the classic WinoMT dataset. It consists of 1,582 "minimal pairs"—identical English sentences featuring stereotypic male- or female-dominated professions that differ only in the pronoun (he vs. she)—alongside a neutralized condition (they/them) to test baseline priors.
Key Insights and Ideas
- Post-training builds an override, not neutrality: Instruction tuning dramatically improves a model's sensitivity to context, yet leaves its underlying masculine default completely intact.
- Gender encoding is starkly asymmetric: The models do not encode "male" and "female" symmetrically. Instead, masculine is treated as the unmarked default state, while feminine realizations require active, explicit contextual grounding to trigger an override.
- Capabilities localize in tiny, cross-lingual circuits: A tiny fraction of attention heads—largely shared across different target languages—acts as the causal bottleneck for routing feminine signals. Knock them out, and the model forgets it saw "she" and snaps right back to its masculine prior. Knock out the top heads in masculine contexts, and almost nothing happens.
Key Results
- Better accuracy, stubborn priors: MT post-training boosted contextual accuracy (MPA) across the board. For English-to-Spanish, Gemma2's MPA jumped from 20.4% to 87.0% in its tuned variant, TowerPlus. Yet in neutral contexts, TowerPlus actually showed the strongest masculine prior bias of all—defaulting to masculine forms 89.1% to 92.8% of the time across languages.
- Sub-3% ablation breaks feminine translation: Zeroing out less than 3% of a model's attention heads caused feminine translations to collapse into masculine ones, while random head ablations had virtually zero effect.
- Massive flip rates: In English-to-Italian on TowerInstruct, silencing just 4 heads (0.4% of its 1,024 total heads) caused the model to flip from a correct feminine output to an incorrect masculine one 74.3% of the time (compared to just a 9.5% flip rate in masculine contexts). TowerPlus proved slightly more diffuse, flipping 19.2% to 27.8% of feminine cases after ablating 7 to 16 heads (1.0%–2.4% of its 672 heads), while masculine flip rates stayed near zero (0.6%–1.4%).
Limitations and Future Work
The authors note that their setup simplifies gender into a strict binary (he/she), excluding non-binary pronouns and gender-neutral target forms—an area where current MT models still struggle. Furthermore, the study only evaluates closely related European languages with similar grammatical gender rules, and because heads were ranked by direct attention to pronouns, indirect multi-hop routing through intermediate layers wasn't captured. Moving forward, the authors suggest turning this diagnostic tool into a surgical debiasing strategy: fine-tuning only these specific attention circuits to make models fairer without the massive cost of retraining from scratch.
Summary updated