Mitigating Gender Bias in English to Romanian Machine Translation

arXiv cs.CL Papers

Summary

This paper proposes a hybrid pipeline combining fine-tuned LLaMA-based gender classification with tag-aware neural machine translation to mitigate gender bias in English-to-Romanian MT, introducing new datasets and improving gender accuracy by over 40 points on benchmarks.

arXiv:2608.08606v1 Announce Type: new Abstract: Machine translation (MT) systems often fail to correctly translate gender, especially when converting from a gender-neutral language like English to a gendered target language such as Romanian. This bias results in translations that default to masculine forms or reinforce gender stereotypes. We propose a hybrid pipeline to mitigate this issue by combining large language model (LLM)-based gender classification with neural machine translation (NMT). Our system uses a fine-tuned LLM to detect the intended gender of target words in English sentences and insert inline gender hint tags. These tagged sentences are then passed to a Transformer model fine-tuned to generate morphologically correct Romanian translations. To support this, we introduce three novel datasets for gender disambiguation and translation. Our approach improves gender accuracy on the WinoMT and WinoGender benchmarks by over 40 percentage points compared to a baseline MT system. This is the first method to explicitly address and evaluate gender bias in English-Romanian MT using both LLM inference and tag-aware translation.
Original Article
View Cached Full Text

Cached at: 08/11/26, 08:08 AM

# Mitigating Gender Bias in English to Romanian Machine Translation
Source: [https://arxiv.org/html/2608.08606](https://arxiv.org/html/2608.08606)
11institutetext:Human Language Technologies Research Center
Faculty of Mathematics and Computer Science
University of Bucharest
11email:ioanaagrigore28@gmail\.com, sergiu\.nisioi@unibuc\.ro###### Abstract

Machine translation \(MT\) systems often fail to correctly translate gender, especially when converting from a gender\-neutral language like English to a gendered target language such as Romanian\. This bias results in translations that default to masculine forms or reinforce gender stereotypes\. We propose a hybrid pipeline to mitigate this issue by combining large language model \(LLM\)\-based gender classification with neural machine translation \(NMT\)\. Our system uses a fine\-tuned LLM to detect the intended gender of target words in English sentences and insert inline gender hint tags\. These tagged sentences are then passed to a Transformer model fine\-tuned to generate morphologically correct Romanian translations\. To support this, we introduce three novel datasets for gender disambiguation and translation\. Our approach improves gender accuracy on the WinoMT and WinoGender benchmarks by over 40 percentage points compared to a baseline MT system\. This is the first method to explicitly address and evaluate gender bias in English–Romanian MT using both LLM inference and tag\-aware translation\.

## 1Introduction

Gender bias in machine translation \(MT\) remains a well\-documented challenge, particularly when translating from languages like English—where gender is often implicit—to target languages such as Romanian, which require explicit grammatical gender agreement\. Most neural MT systems tend to default to masculine forms or fail to resolve gender correctly from context, resulting in biased or grammatically incorrect outputs\. This issue is especially prominent in translations involving professions, roles, or named entities referring to people\.

In this work, we introduce novel datasets and a hybrid pipeline that combines large language model \(LLM\)\-based gender inference with a fine\-tuned neural machine translation \(NMT\) model\. Specifically, we use a fine\-tuned LLaMA model to classify the gender of target words in an English sentence and insert explicit inline gender hint tags \(e\.g\.,<tgF\>teacher</tgF\>\)\. A Transformer model is then trained to recognize and act on these tags, producing gender\-aware Romanian translations\.

To support this system, we release111All data is released under CC BY\-NC 4\.0 license at[https://github\.com/Ioannnnna/EnRoGend](https://github.com/Ioannnnna/EnRoGend)\.novel, high\-quality corpora that support \(i\) gender\-aware English classification and \(ii\) gender\-controlledEN→\\rightarrowROtranslation\. We evaluate our approach on multiple test suites including WinoMT and WinoGender\[[11](https://arxiv.org/html/2608.08606#bib.bib2),[16](https://arxiv.org/html/2608.08606#bib.bib1)\], achieving significant gains in gender translation accuracy over baseline MT\. Our results demonstrate that combining LLM\-based context understanding with targeted NMT adaptation can mitigate gender bias in low\-resource language pairs\. Direct LLM translation remains costly and difficult to control at scale; our pipeline offers explicit controllability, interpretability, and compatibility with existing MT systems\.

## 2Related Work

Gender bias in machine translation \(MT\) has been previously documented, particularly in language pairs where the source language \(e\.g\., English\) lacks overt gender markers, while the target language \(e\.g\., German, French, Spanish\) requires grammatical gender agreement\. Early studies\[[11](https://arxiv.org/html/2608.08606#bib.bib2),[16](https://arxiv.org/html/2608.08606#bib.bib1)\]introduced diagnostic datasets such as WinoGender and WinoMT to systematically evaluate gender bias in translation\.

Recent work on gender\-inclusive machine translation shows that state\-of\-the\-art MT systems and LLMs continue to default to masculine forms, particularly in morphologically gendered languages, even when gender\-neutral or gender\-ambiguous translations are appropriate\[[1](https://arxiv.org/html/2608.08606#bib.bib13),[14](https://arxiv.org/html/2608.08606#bib.bib12)\]\. Newly introduced multilingual benchmarks and evaluation datasets reveal that models struggle to exploit contextual cues, extended discourse, and explicit instructions to reliably produce inclusive or neutral forms\[[9](https://arxiv.org/html/2608.08606#bib.bib14)\]\. Cross\-linguistic analyses further highlight persistent difficulties with gender ambiguity and non\-binary constructions, motivating approaches that explicitly detect and control gender\-relevant information prior to or during translation\[[2](https://arxiv.org/html/2608.08606#bib.bib15)\]\.

Related work has also explored sentence\-level source\-side gender tags, where the gender of the speaker is provided as an explicit signal to the translation model\[[19](https://arxiv.org/html/2608.08606#bib.bib19)\]\. More recently, large language models \(LLMs\) have been explored as an alternative to traditional tagging\. Instruction\-tuned models have been shown to produce gender\-controlled outputs via prompt engineering\[[12](https://arxiv.org/html/2608.08606#bib.bib16),[13](https://arxiv.org/html/2608.08606#bib.bib17)\]\. These models can generate separate masculine and feminine translations by conditioning on contextual cues or examples\. However, most of this work focuses on high\-resource languages such as Spanish, French, German\.

Shared\-task style evaluations such as the WMT 2020 Gender Coreference and Bias task further highlight persistent gender biases across many submitted MT systems and target languages\[[5](https://arxiv.org/html/2608.08606#bib.bib18)\]\.

To date, gender bias in English\-Romanian MT remains unaddressed\. Romanian presents special challenges due to its three\-gender system and complex morphological agreement\.

## 3EnGen: The English Gender Disambiguation Dataset

We build two datasets for fine\-tuning LLMs to predict the gender of a target word in a given context\. The process is semi\-automatic \- a native speaker of Romanian creates sentences, additional examples are generated by GPT through the OpenAI API\[[6](https://arxiv.org/html/2608.08606#bib.bib4)\]222Full LLM prompt is provided in the official repository\.and then the output is checked and filtered again by a native speaker\. The datasets follow a two\-stage curriculum learning approach, where training starts with simpler examples and increases in difficulty:

### 3\.1Dataset 1 \- Single\-Entity Phrases

![Refer to caption](https://arxiv.org/html/2608.08606v1/d1_gender_pie.png)

![Refer to caption](https://arxiv.org/html/2608.08606v1/d1_category_pie.png)

![Refer to caption](https://arxiv.org/html/2608.08606v1/d1_context_pie.png)

Figure 1:Dataset 1 distributions\. Left: gender is equally balanced across feminine, masculine, and ambiguous entities\. Middle: category is equally balanced for nouns related to family, animals, roles, jobs, names\. Right: the majority of phrases contain only one sentence, followed by two and three sentence context lengths\.Dataset 1 consists of 11,472 examples\. Each example contains one genderable word, such as a job title, family member, animal, role, or proper name\. The phrases may contain up to three sentences\. We use ambiguous to denote cases where gender cannot be inferred from context; this category includes gender\-neutral or non\-binary references \(e\.g\., ‘they’\), without making assumptions about the speaker’s gender identity\. Statistics regarding the distribution of each categories in the dataset are visible in[Figure 1](https://arxiv.org/html/2608.08606#S3.F1)\.

The data generation process begins with one\-sentence contexts\. For each semantic category, a separate prompt is used to create examples where the gender of the target word is clear or ambiguous\. Once all categories are completed for the one\-sentence context, the process repeats with two\-sentence contexts, and then again with three\-sentence contexts\. Across all context lengths, the dataset is balanced to contain as close as possible the number of feminine, masculine, and ambiguous examples\.

Table 1:Sample examples from Dataset 1\. Each sentence includes a target word and its corresponding gender\.
### 3\.2Dataset 2 \- Multi\-Entity Phrases

Dataset 2 contains 996 examples with unique target words\. Every sentence contains exactly two genderable words: the target word, whose gender must be predicted, and a distractor word, which serves to increase task complexity\. The context length is one or two sentences\. The distractor entity has ambiguous gender and is placed in various positions within the sentence to reduce predictability\.

We ensure a balanced gender representation \(feminine, masculine, ambiguous\) while keeping the surrounding context highly similar across variants\. All three gender labels appear for each target word and the context remains semantically and syntactically natural\. The format is identical to dataset 1, consisting of an input \(sentence, target word and category\) and an output \(gender label\)\.

Table 2:Triplet Sample from Dataset 2\. Here the "librarian" represents the target word and "teacher", "student", "detective" are the other entities from the context that can also be gendered\.
### 3\.3Dataset Splitting

Both datasets are split into training, validation, and test sets to support the two\-stage fine\-tuning procedure, with splits designed to preserve class balance and avoid leakage\.

For Dataset 1 \(D1\) we use an 80/10/10 split stratified by gender and category, ensuring each gender–category combination is proportionally represented\. The resulting sizes are: train = 9,177, val = 1,147, test = 1,148\. For Dataset 2 \(D2\) we use a 70/15/15 triplet\-locked split: each \(masculine, feminine, ambiguous\) triplet receives a group ID and the whole group is assigned to exactly one partition \(train, validation or test\)\. This guarantees that no variant from the same triplet appears in different splits, including the test set\. The resulting sizes are: train = 699, val = 150, test = 147\. Training sets are used for parameter updates, validation sets for hyperparameter selection, and test sets are reserved strictly for final evaluation\.

We adopt a curriculum learning approach: dataset 1 contains single\-entity phrases so the model can first learn the basic mapping from context to gender without interference\. Dataset 2 raises the difficulty with two genderable words \(one target and one distractor\) varying in positions and cues\.

## 4EnRoGend: a Parallel English\-Romanian Gender\-Tagged Dataset

The dataset consists of 1,974 examples, organized into pairs: two versions of the same sentence, each with the same target word marked for a masculine and feminine genders\. Each example includes the English source, where the target word is surrounded by a gender tag <tgM\>target word</tgM\> or <tgF\>target word</tgF\>, and the corresponding Romanian translation, which has no tags\. This dataset contains only occupations and person\-related nouns having the purpose of teaching the MT system that it should use feminine when it sees <tgF\></tgF\> and masculine when it sees <tgM\></tgM\>\. The construction of this dataset begins with a predefined list of 82 entities referring to jobs and roles\. For each entity, we write between 10 and 15 sentences where the entity’s gender is elicited using the feminine pronoun \(she\), then we duplicate the sentence using the masculine pronoun; see for reference[Table 3](https://arxiv.org/html/2608.08606#S4.T3)\. All sentences are translated into Romanian and verified by two annotators\. The dataset is balanced between gendered target words, with 987 masculine and 987 feminine instances, covering 82 distinct occupations\.

Table 3:Sample Pair from the English\-Romanian Gender Tagged Dataset\.EnThe teacher thanked the<tgM\>lawyer</tgM\>sincehehad been generous throughout the project\.RoProfesorul i\-a mulțumit avocatului, deoarece fusese generos pe parcursul proiectului\.EnThe<tgF\>journalist</tgF\>advised the painter on the task becauseshewas kind\.RoJurnalista l\-a sfătuit pe pictor pentru că era amabilă\.We split the machine–translation dataset with a similar pair\-locked strategy to avoid near\-duplicate leakage\. Each example belongs to a 2\-item minimal pair\. Instead of shuffling individual rows, we shuffle pairs and keep both members together in the same partition\. The splits are 80% train, 10% validation and 10% test\. This guarantees that if the masculine variant of a sentence is in training, its feminine counterpart cannot appear in validation or test \(and vice versa\), including for the held\-out test set\. The result is a fair evaluation that is not inflated by near\-duplicate examples\.

## 5Methodology

The datasets described in previous sections are the first ones to address gender bias for English\-Romanian language pairs and can thus enable the creation of an end\-to\-end machine translation pipeline\. The pipeline processes an input sentence through a sequence of analysis and generation stages designed to preserve intended gender information during translation\. Candidate entities that may require gendered realization are first identified, after which a large language model infers the contextual gender of each entity based on discourse cues\. The inferred gender information is then encoded using inline tags and merged back into the original sentence, forming an intermediate representation that makes gender constraints explicit\. This tagged sentence is subsequently passed to the machine translation system, which uses the annotations to guide the selection of appropriate gendered forms in the target language, thereby reducing reliance on default or biased gender choices\. The entire process is rendered in[Figure 2](https://arxiv.org/html/2608.08606#S5.F2)\.

To enable gender\-aware processing in realistic settings, the pipeline relies on anEntity Selectorthat used a predefined list of gendered entities that serve as candidate targets for gender inference\. The list is compiled based on previous studies\[[3](https://arxiv.org/html/2608.08606#bib.bib3)\]\. Each word in the input sentence is matched against this list to identify role nouns or occupations whose gender must be inferred\. To improve robustness, fuzzy string matching is applied to account for misspellings, plural forms, and minor lexical variations\.

User Input SentenceThe doctor congratulated the nurse because he did a good job\.Entity SelectorIdentifies: doctor, nurseLLM Gender ClassificationTarget word: doctor→\\rightarrowambiguousTarget word: nurse→\\rightarrowmasculineMerged Tagged SentenceThe doctor congratulated the<tgM\>nurse</tgM\>because he did a good job\.Machine Translation \(MT\)Output: Doctorul l\-a felicitat peasistentpentru că a făcut o treabă bună\.Figure 2:End\-to\-end pipeline example\. The system takes an English sentence, extracts candidate entities, classifies gender for each using the LLM, inserts tags for gendered entities, and translates the tagged sentence into Romanian\.### 5\.1LLM Gender Classification

For this step, the main focus is to have a classifier that is fast and easily deployable in an MT system\. As such, we employ the pre\-trained LLaMA 3\.2 \(1B parameters\) model from Unsloth\[[18](https://arxiv.org/html/2608.08606#bib.bib6)\]\. To make fine\-tuning feasible on limited hardware, the model is loaded in 4\-bitNF4quantization and fine\-tuned with mixed precision\. We adopt Low\-Rank Adaptation \(LoRA\)\[[4](https://arxiv.org/html/2608.08606#bib.bib7)\]\. Instead of updating a full weight matrixW0∈ℝd×kW\_\{0\}\\in\\mathbb\{R\}^\{d\\times k\}, LoRA learns a low\-rank update:

W=W0\+Δ​W,Δ​W=αr​A​B,W=W\_\{0\}\+\\Delta W,\\qquad\\Delta W=\\tfrac\{\\alpha\}\{r\}AB,whereA∈ℝd×rA\\in\\mathbb\{R\}^\{d\\times r\},B∈ℝr×kB\\in\\mathbb\{R\}^\{r\\times k\},r≪min⁡\(d,k\)r\\ll\\min\(d,k\), andα\\alphascales the update\. The frozenW0W\_\{0\}preserves pre\-trained knowledge, whileΔ​W\\Delta Wcaptures task\-specific adjustments\. LoRA adapters are inserted into the query, key, value, output, gate, up, and down projection layers\. Only LoRA parameters and the classification head are updated during training\. We use AdamW with separate parameter groups, one for the LoRA adapter parameters and one for the language modeling head\. This allows assigning distinct learning rates to each group, while weight decay is applied only where specified in the grid configuration\. Training is performed with gradient accumulation and mixed\-precision computation inbfloat16, on a single Nvidia L4 GPU in Colab Pro\.

#### Classification Strategy

a Linear Classification Head is attached to the pre\-trained LLaMA 3\.2 \(1B parameters \) model\. After processing the input sequence through the language model, we extract the hidden state corresponding to the final token position in the sequence\. This hidden representation, denoted𝐡last\\mathbf\{h\}\_\{\\text\{last\}\}, encodes the full context of the input, including the sentence and target word\.

A fully connected linear layer then transforms this hidden vector into a fixed\-size output vector representing class logits for the three possible gender labels: feminine, masculine, and ambiguous\. Formally, the prediction is computed as:

𝐡last=LLM​\(𝐱\)​\[−1\],𝐲=𝐖𝐡last\+𝐛,\\mathbf\{h\}\_\{\\text\{last\}\}=\\text\{LLM\}\(\\mathbf\{x\}\)\[\-1\],\\qquad\\mathbf\{y\}=\\mathbf\{W\}\\mathbf\{h\}\_\{\\text\{last\}\}\+\\mathbf\{b\},where𝐖∈ℝ3×d\\mathbf\{W\}\\in\\mathbb\{R\}^\{3\\times d\}and𝐛∈ℝ3\\mathbf\{b\}\\in\\mathbb\{R\}^\{3\}are the learned parameters of the classification head, andddis the dimensionality of the hidden state\. Model training is guided by the cross\-entropy loss\.

#### 5\.1\.1The Two\-Stage Curriculum Learning

is designed to gradually increase task complexity while training\. In the first stage, the model is fine\-tuned on Dataset 1, which contains sentences with a single named entity and well\-balanced gender classes\. These examples provide both clear and ambiguous contexts, allowing the model to learn the core gender classification task with minimal distraction or noise\.

Once this base ability is acquired, the second stage uses the Dataset 2, which presents more realistic challenges, including sentences containing multiple named entities\. This stage encourages the model to reason about context and resolve gender cues in more complex linguistic scenarios\.

#### Hyperparameter Search and Evaluation

We explore hyperparameter configurations for both stages of curriculum training:

- •Stage 1 \(initial fine\-tuning on D1\): LoRA rankr∈\{8,12,16,24,32\}r\\in\\\{8,12,16,24,32\\\}with scalingα≈2​r\\alpha\\approx 2r, dropout in\[0\.00,0\.06\]\[0\.00,0\.06\], learning rates for the LoRA adapters and classifier head \(4×10−54\\times 10^\{\-5\}–1\.6×10−41\.6\\times 10^\{\-4\}\), weight decay in\{0\.0,0\.005,0\.01\}\\\{0\.0,0\.005,0\.01\\\}, and22–33epochs\.
- •Stage 2 \(continued fine\-tuning on D2\): LoRA ranks\{8,12,16\}\\\{8,12,16\\\}with proportionally scaledα\\alpha, dropout in\[0\.04,0\.07\]\[0\.04,0\.07\], smaller learning rates \(4×10−54\\times 10^\{\-5\}–1\.0×10−41\.0\\times 10^\{\-4\}\), weight decay in\{0\.005,0\.01\}\\\{0\.005,0\.01\\\}, and11–22epochs\.

For hyperparameter tuning we use optuna search\. It runs a fixed budget of trials \(e\.g\., 12\), guided by a Tree\-structured Parzen Estimator \(TPE\) sampler\.

We observe that several configurations achieve high accuracy and F1 scores on Dataset 1, with the top\-performing model reaching an F1 of 0\.97 and accuracy of 97% on the test set\. The performance on Dataset 2 varies more widely due to its complex, multi\-entity structure\. While the best model achieves a strong F1 score of 0\.95, others drop as low as 0\.66\. Overall, the performance is sensitive to regularization and learning rate balance, and improves with moderate\-to\-deep LoRA ranks \(e\.g\., 12–16\) paired with well\-scaledα\\alphavalues\.

Table[4](https://arxiv.org/html/2608.08606#S5.T4)summarizes the generalization in both datasets\. The best joint test F1 score reaches 0\.96, confirming that high\-quality performance can be maintained by generalizing across D1 and D2 simultaneously\.

In addition, we evaluate the final Stage 2 models both on D2 and again on D1, which allows us to quantify catastrophic forgetting via the Forgetting F1 metric \(see[Table 4](https://arxiv.org/html/2608.08606#S5.T4)\)\. This approach makes the runs easy to compare and gives us a reliable way to measure the effect of curriculum learning\. The joint metrics represent the model’s performance on the combined test set, which merges the test splits from both datasets, D1 and D2\. The Forgetting F1 metric shows how much performance on D1 is lost after the second stage of training on D2\. It is computed as the difference in F1 score on the D1 test set after and before Stage 2 fine\-tuning, a negative value indicates forgetting \(performance decreased\), while a positive value implies improvement or recovery on D1 after further training\.

Table 4:The Forgetting F1 metric quantifies the degree of catastrophic forgetting, with most configurations showing mild drops \(e\.g\., \-0\.0121 or \-0\.0015\), while a few show large negative values \(e\.g\., \-0\.1820\), indicating significant loss of earlier knowledge\.

### 5\.2Gender\-Aware Machine Translation \(En→\\rightarrowRo\)

We fine\-tune an English\-to\-Romanian pre\-trained Transformer model Helsinki\-NLP/opus\-mt\-en\-ro\[[17](https://arxiv.org/html/2608.08606#bib.bib5)\]and evaluate performance on both in\-domain splits and external diagnostic sets\. The tokenizer is extended with four special tokens: <tgM\>, </tgM\>, <tgF\>, and </tgF\> on the source side\. If no padding token is defined, the EOS token is reused as PAD\. Romanian references are kept tag\-free to avoid leaking gender labels into the target side\.

Because the dataset contains many minimal pairs \(i\.e\., identical English sentences differing only in masculine vs\. feminine tags\), a random split would risk leaking near\-duplicate examples across train, validation, and test sets, leading to artificially inflated evaluation scores\. To prevent this, we enforce a pair\-locked split:

- •Sentences are grouped into pairs consecutively by file order:\(0,1\),\(2,3\),…\(0,1\),\(2,3\),\\dots\. Each pair is assigned a unique integer pair\_id defined as⌊i/2⌋\\lfloor i/2\\rfloor\. We ensure an even number of rows; otherwise, the source file is adjusted\.
- •Exact duplicates on the \(English, Romanian\) tuple are removed to avoid trivial matches at evaluation time\.
- •The set of unique pair\_ids is randomly shuffled with a fixed seed for reproducibility\.
- •The first 80% of pair\_ids are assigned to the training set, the next 10% to validation, and the remaining 10% to test\. Both members of each minimal pair are always placed in the same split\.
- •We verify that pair\_id sets are disjoint across splits and report hashed overlaps on both source and target texts as a sanity check against accidental data leakage\.

#### Hyperparameter Tuning

To determine the most effective fine\-tuning strategy for Transformer with gender tags, we explore three adaptation regimes under identical training loops:

- •Full fine\-tuning: all model parameters are updated, providing maximum flexibility but at a higher computational cost\.
- •Partial fine\-tuning: most encoder layers are frozen, and only the decoder, shared embeddings, language modeling head, and the lastNNencoder layers \(N∈\{1,2,3\}N\\in\\\{1,2,3\\\}\) are updated, reducing training cost while retaining adaptability\.
- •LoRA fine\-tuning: a parameter\-efficient strategy where low\-rank adapters are injected into the attention layers, keeping the base model frozen and updating only the adapter parameters\.

Hyperparameter tuning is performed using Optuna with a grid\-based search over the following space: learning rate∈\{1​e−5,5​e−5,1​e−4\}\\in\\\{1\\mathrm\{e\}\{\-5\},5\\mathrm\{e\}\{\-5\},1\\mathrm\{e\}\{\-4\}\\\}, batch size∈\{8,16\}\\in\\\{8,16\\\}, epochs∈\{1,2\}\\in\\\{1,2\\\}, and, for partial fine\-tuning, the number of unfrozen encoder layersNunfreeze∈\{1,2,3\}N\_\{\\text\{unfreeze\}\}\\in\\\{1,2,3\\\}\. Model selection is based on validation performance, and the best configurations are evaluated on the held\-out test set using BLEU\[[8](https://arxiv.org/html/2608.08606#bib.bib11)\], chrF\+\+\[[7](https://arxiv.org/html/2608.08606#bib.bib8)\]333chrF\+\+ signature isnrefs:1\|case:mixed\|eff:yes\|nc:6\|nw:0\|space:no\|version:2\.4\.3and BLEU signature isnrefs:1\|case:mixed\|eff:no\|tok:13a\|smooth:exp\|version:2\.4\.3\., TER\[[15](https://arxiv.org/html/2608.08606#bib.bib9)\], and COMET\[[10](https://arxiv.org/html/2608.08606#bib.bib10)\]metrics\. The reported metrics reflect different aspects of translation quality: BLEU and chrF\+\+ measure word and character n\-gram overlap between system output and reference; TER reflects the number of edits needed to reach the reference, where lower is better; and COMET is a learned metric that evaluates adequacy and fluency based on source, hypothesis, and references\. The surface\-form metrics such as BLEU, chrf\+\+, and TER tend to reflect good results due to the high overlap, however the gender mismatch is more nuanced semantic aspect, therefore we rely more on the COMET metric for the final judgments and keep the remaining metrics as evidence\.

Table 5:Hyperparameter optimization results on thevalidation setfor fine\-tuning Transformer with gender tags\. The table compares full, partial, and LoRA fine\-tuning modes across various learning rates, batch sizes, epochs, and \(for partial mode\) number of unfrozen encoder layers\. Full fine\-tuning with a learning rate of1​e−41\\mathrm\{e\}\{\-4\}, batch size 16, and 2 epochs achieved the best validation performance, with the highest BLEU \(97\.29\), chrF \(98\.57\), COMET \(0\.853\), and the lowest TER \(1\.71\)\.The results in Table[5](https://arxiv.org/html/2608.08606#S5.T5)show that full fine\-tuning with a learning rate of1​e−41\\mathrm\{e\}\{\-4\}, batch size 16, and 2 epochs achieved the best overall performance \(highlighted in boldface\)\. Partial fine\-tuning with 2–3 unfrozen encoder layers performed competitively \(bottom row marked with an \*\), achieving a COMET scores above 0\.85 and comparable overall scores to the full\-finetuning model\. This represents a good compromise between efficiency and accuracy\.

The best hyperparameter configuration selected on the validation set based on the results of[Table 5](https://arxiv.org/html/2608.08606#S5.T5)is the fully finetuned model\. This model achieves similar scores on the held\-out test set: a COMET score of 0\.846, a BLEU score of 96\.92, a chrF\+\+ score of 98\.21, and a TER of 1\.94\.

LoRA, however, underperformed in our experimental setting, suggesting that lightweight adapter tuning does not provide enough capacity for this task\. A likely explanation is that this task requires more than light domain adaptation\. The model must learn to use new source\-side gender tags and realize them through correct Romanian morphology, including agreement on nouns, adjectives, and verbs\. Full and partial fine\-tuning are better suited to this controlled generation setting because they let more of the model adapt to the tag signal\. By contrast, the LoRA setups tested may have been too limited to capture the link between explicit gender tags and downstream morphological realization\. The large gap in performance therefore suggests that this form of parameter\-efficient tuning is not sufficient for robust gender control in English–Romanian translation\. Another possible factor is that Romanian morphological agreement is more demanding than the target\-side changes required in some higher\-resource settings\.

## 6Benchmark Evaluation

To evaluate gender bias in machine translation, we rely on several benchmarks that are designed to probe whether a system can correctly resolve gender based on cues and whether it reflects correct grammatical agreement in gender\-marked target languages\. Although GPT\-4o was used in the data creation process, all benchmark evaluations are conducted on external datasets that are not used during training, to ensure that there are no data leaks\. In addition, we have compared all the sentences with our dataset to ensure that there is no data leakage\.

##### The WinoMT dataset\[[16](https://arxiv.org/html/2608.08606#bib.bib1)\]

consists of \(1,584 pro and 1,584 anti\) English sentences in which gender must be inferred from context\. Each sentence is presented in two forms: apro\-stereotypicalvariant, where the pronoun aligns with common gender stereotypes and ananti\-stereotypicalvariant, where the pronoun contradicts such stereotypes, e\.g\., pro\-stereotypical sentence:The nurse helped the patient becauseshewas kind\.Anti\-stereotypical sentence:The nurse helped the patient becausehewas kind\.An unbiased system is expected to perform similarly on both pro\-stereotypical and anti\-stereotypical examples\.

##### The WinoGender dataset\[[11](https://arxiv.org/html/2608.08606#bib.bib2)\]

is a pronoun resolution benchmark that tests the impact of gendered pronouns on translation, consisting of 720 sentences\. Each example is a minimal pair differing only in the pronoun \(he, she or they\) and is used to decide whether the system’s output reflects these distinctions correctly in the gendered target\-language translation\.

All English test sentences are translated using three systems: 1\. Raw MT \- the base Transformer model, without any additional gender hint tags; and 2\. Gender\-Aware Pipeline \- each sentence passed through our pipeline \(as described in[Figure 2](https://arxiv.org/html/2608.08606#S5.F2)\); 3\. GPT\-5\.2 using default system settings and zero\-shot translation prompts; due to its proprietary nature, exact replication may not be possible\. These test sets do not include gold\-standard Romanian reference translations\. Therefore, a manual evaluation was conducted by a native Romanian speaker and verified through spot checks\. For each test case, we check whether the translation preserves the correct grammatical gender of the target word, along with agreement \(e\.g\., adjective inflection, verb conjugation\)\.

Table 6:The results presented in the table are the accuracies on benchmark test sets\. It shows that the raw Transformer system performs better when the correct gender is masculine, as it often defaults to masculine forms during translation\. While this leads to higher scores on Pro\-stereotypical examples \(where the gold label aligns with masculine bias\), it harms performance on Anti\-stereotypical and feminine cases\. Similarly, a state\-of\-the\-art model such as GPT\-5\.2 has a strong preference for stereotypical biases\. The gender\-aware pipeline significantly improves accuracy across all subsets by explicitly guiding the model toward the intended gender\.Some translations contain issues such as incorrect word choices or missing diacritics\. However, as these errors occur in both raw and fine\-tuned outputs, we consider a translation correct if the intended gender is correct and if it stays in agreement with the rest of the sentence\. For example, if the MT translates salesperson for feminine gender as "vânzătora" instead of "vânzătoarea" we consider it correct\.

## 7Conclusion

We investigate gender bias in English→\\rightarrowRomanian machine translation, where ambiguous English inputs must be rendered with explicit grammatical gender in Romanian\. Our results confirm that a standard Transformer MT baseline frequently defaults to masculine forms and exhibits stereotype sensitivity, performing substantially better on pro\-stereotypical WinoMT examples than on anti\-stereotypical ones\. Furthermore, even proprietary state\-of\-the\-art models such as GPT\-5\.2 have a bias towards stereotypical translations into Romanian, despite the fact that such models might have been exposed to the WinoMT and WinoGender datasets\.

To mitigate gender bias, we propose a hybrid pipeline that combines LLM\-based contextual gender disambiguation with tag\-aware neural machine translation: a fine\-tuned LLM predicts the intended gender of target entities in the English source and inserts inline gender hint tags, which a Transformer model learns to follow during translation\. Across external diagnostic benchmarks, this approach yields large gains in gender correctness, improving accuracy by over 40 percentage points relative to the raw MT system and substantially reducing the pro/anti performance gap, indicating reduced reliance on stereotypical defaults\.

To support research in this low\-resource setting, we introduced several datasets for \(i\) EnGen \- English language gender disambiguation with a curriculum learning setup and \(ii\) EnRoGend \- a controlled En→\\rightarrowRo translation with gender tags, using leakage\-safe splitting strategies\. We also found that full and partial fine\-tuning of the MT model effectively leverage the gender tags, while the LoRA configurations we tested underperformed for this task, suggesting that tag\-conditioned morphological control may require greater adaptation capacity\.

While our experiments focus on Romanian, the proposed pipeline is applicable to other morphologically gendered target languages\.

## Acknowledgments

This research is supported by InstRead: Research Instruments for the Text Complexity, Simplification and Readability Assessment CNCS \- UEFISCDI project number PN\-IV\-P2\-2\.1\-TE\-2023\-2007 and by the project “Romanian Hub for Artificial Intelligence \- HRIA”, Smart Growth, Digitization and Financial Instruments Program, 2021\-2027, MySMIS no\. 351416\.

## Note

This preprint has not undergone peer review or any post\-submission improvements or corrections\. The Version of Record of this contribution is published in Lecture Notes in Computer Science \(LNCS, Springer\), and is available online at[https://doi\.org/10\.1007/978\-3\-032\-29532\-3\_11](https://doi.org/10.1007/978-3-032-29532-3_11)

## References

- \[1\]J\. Hackenbuchner, E\. Gkovedarou, and J\. Daems\(2025\-08\)GENDEROUS: machine translation and cross\-linguistic evaluation of a gender\-ambiguous dataset\.InProceedings of the 6th Workshop on Gender Bias in Natural Language Processing \(GeBNLP\),A\. Faleńska, C\. Basta, M\. Costa\-jussà, K\. Stańczak, and D\. Nozza \(Eds\.\),Vienna, Austria,pp\. 302–319\.External Links:[Link](https://aclanthology.org/2025.gebnlp-1.27/),[Document](https://dx.doi.org/10.18653/v1/2025.gebnlp-1.27),ISBN 979\-8\-89176\-277\-0Cited by:[§2](https://arxiv.org/html/2608.08606#S2.p2.1)\.
- \[2\]J\. Hackenbuchner, A\. Tezcan, and J\. Daems\(2024\-06\)Automatic detection of \(potential\) factors in the source text leading to gender bias in machine translation\.InProceedings of the 25th Annual Conference of the European Association for Machine Translation \(Volume 2\),C\. Scarton, C\. Prescott, C\. Bayliss, C\. Oakley, J\. Wright, S\. Wrigley, X\. Song, E\. Gow\-Smith, M\. Forcada, and H\. Moniz \(Eds\.\),Sheffield, UK,pp\. 27–28\.External Links:[Link](https://aclanthology.org/2024.eamt-2.14/)Cited by:[§2](https://arxiv.org/html/2608.08606#S2.p2.1)\.
- \[3\]J\. Hackenbuchner, A\. Tezcan, and J\. Daems\(2025\)Gender bias and the role of context in human perception and machine translation\.Computational Linguistics in the Netherlands Journal14,pp\. 215–239\.External Links:[Link](https://www.clinjournal.org/clinj/article/view/197)Cited by:[§5](https://arxiv.org/html/2608.08606#S5.p2.1)\.
- \[4\]E\. J\. Hu, yelong shen, P\. Wallis, Z\. Allen\-Zhu, Y\. Li, S\. Wang, L\. Wang, and W\. Chen\(2022\)LoRA: low\-rank adaptation of large language models\.InInternational Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=nZeVKeeFYf9)Cited by:[§5\.1](https://arxiv.org/html/2608.08606#S5.SS1.p1.1)\.
- \[5\]T\. Kocmi, T\. Limisiewicz, and G\. Stanovsky\(2020\-11\)Gender coreference and bias evaluation at WMT 2020\.InProceedings of the Fifth Conference on Machine Translation,L\. Barrault, O\. Bojar, F\. Bougares, R\. Chatterjee, M\. R\. Costa\-jussà, C\. Federmann, M\. Fishel, A\. Fraser, Y\. Graham, P\. Guzman, B\. Haddow, M\. Huck, A\. J\. Yepes, P\. Koehn, A\. Martins, M\. Morishita, C\. Monz, M\. Nagata, T\. Nakazawa, and M\. Negri \(Eds\.\),Online,pp\. 357–364\.External Links:[Link](https://aclanthology.org/2020.wmt-1.39/),[Document](https://dx.doi.org/10.18653/v1/2020.wmt-1.39)Cited by:[§2](https://arxiv.org/html/2608.08606#S2.p4.1)\.
- \[6\]OpenAI\(2024\)GPT\-4o: openai’s multimodal language model\.Note:[https://openai\.com/index/](https://openai.com/index/)Accessed: 29 August 2025Cited by:[§3](https://arxiv.org/html/2608.08606#S3.p1.1)\.
- \[7\]M\. Popović\(2017\-09\)ChrF\+\+: words helping character n\-grams\.InProceedings of the Second Conference on Machine Translation,Copenhagen, Denmark,pp\. 612–618\.External Links:[Link](https://aclanthology.org/W17-4770/),[Document](https://dx.doi.org/10.18653/v1/W17-4770)Cited by:[§5\.2](https://arxiv.org/html/2608.08606#S5.SS2.SSSx1.p1.4)\.
- \[8\]M\. Post\(2018\-10\)A call for clarity in reporting BLEU scores\.InProceedings of the Third Conference on Machine Translation: Research Papers,Belgium, Brussels,pp\. 186–191\.External Links:[Link](https://www.aclweb.org/anthology/W18-6319)Cited by:[§5\.2](https://arxiv.org/html/2608.08606#S5.SS2.SSSx1.p1.4)\.
- \[9\]A\. Pranav, J\. Hackenbuchner, G\. Attanasio, M\. Lardelli, and A\. Lauscher\(2025\-11\)Glitter: a multi\-sentence, multi\-reference benchmark for gender\-fair German machine translation\.InFindings of the Association for Computational Linguistics: EMNLP 2025,C\. Christodoulopoulos, T\. Chakraborty, C\. Rose, and V\. Peng \(Eds\.\),Suzhou, China,pp\. 18450–18477\.External Links:[Link](https://aclanthology.org/2025.findings-emnlp.1002/),[Document](https://dx.doi.org/10.18653/v1/2025.findings-emnlp.1002),ISBN 979\-8\-89176\-335\-7Cited by:[§2](https://arxiv.org/html/2608.08606#S2.p2.1)\.
- \[10\]R\. Rei, N\. M\. Guerreiro, J\. Pombal, D\. van Stigt, M\. Treviso, L\. Coheur, J\. G\. C\. de Souza, and A\. Martins\(2023\-12\)Scaling up CometKiwi: unbabel\-IST 2023 submission for the quality estimation shared task\.InProceedings of the Eighth Conference on Machine Translation,P\. Koehn, B\. Haddow, T\. Kocmi, and C\. Monz \(Eds\.\),Singapore,pp\. 841–848\.External Links:[Link](https://aclanthology.org/2023.wmt-1.73/),[Document](https://dx.doi.org/10.18653/v1/2023.wmt-1.73)Cited by:[§5\.2](https://arxiv.org/html/2608.08606#S5.SS2.SSSx1.p1.4)\.
- \[11\]R\. Rudinger, J\. Naradowsky, B\. Leonard, and B\. Van Durme\(2018\-06\)Gender bias in coreference resolution\.New Orleans, Louisiana\.External Links:[Link](https://aclanthology.org/N18-2002/)Cited by:[§1](https://arxiv.org/html/2608.08606#S1.p3.1),[§2](https://arxiv.org/html/2608.08606#S2.p1.1),[§6](https://arxiv.org/html/2608.08606#S6.SS0.SSS0.Px2)\.
- \[12\]E\. Sánchez, P\. Andrews, P\. Stenetorp, M\. Artetxe, and M\. R\. Costa\-jussà\(2024\)Gender\-specific machine translation with large language models\.InProceedings of the Fourth Workshop on Multilingual Representation Learning \(MRL 2024\),pp\. 148–158\.External Links:[Link](https://aclanthology.org/2024.mrl-1.10/)Cited by:[§2](https://arxiv.org/html/2608.08606#S2.p3.1)\.
- \[13\]A\. Sant, C\. Escolano, A\. Mash, F\. De Luca Fornaciari, and M\. Melero\(2024\)The power of prompts: evaluating and mitigating gender bias in MT with LLMs\.InProceedings of the 5th Workshop on Gender Bias in Natural Language Processing \(GeBNLP\),pp\. 94–139\.External Links:[Link](https://aclanthology.org/2024.gebnlp-1.7/),[Document](https://dx.doi.org/10.18653/v1/2024.gebnlp-1.7)Cited by:[§2](https://arxiv.org/html/2608.08606#S2.p3.1)\.
- \[14\]B\. Savoldi, G\. Attanasio, E\. Cupin, E\. Gkovedarou, J\. Hackenbuchner, A\. Lauscher, M\. Negri, A\. Piergentili, M\. Thind, and L\. Bentivogli\(2025\-11\)Mind the inclusivity gap: multilingual gender\-neutral translation evaluation with mGeNTE\.InProceedings of the 2025 Conference on Empirical Methods in Natural Language Processing,C\. Christodoulopoulos, T\. Chakraborty, C\. Rose, and V\. Peng \(Eds\.\),Suzhou, China,pp\. 13698–13720\.External Links:[Link](https://aclanthology.org/2025.emnlp-main.692/),[Document](https://dx.doi.org/10.18653/v1/2025.emnlp-main.692),ISBN 979\-8\-89176\-332\-6Cited by:[§2](https://arxiv.org/html/2608.08606#S2.p2.1)\.
- \[15\]M\. Snover, B\. Dorr, R\. Schwartz, L\. Micciulla, and J\. Makhoul\(2006\-August8\-12\)A study of translation edit rate with targeted human annotation\.InProceedings of the 7th Conference of the Association for Machine Translation in the Americas: Technical Papers,Cambridge, Massachusetts, USA,pp\. 223–231\.External Links:[Link](https://aclanthology.org/2006.amta-papers.25/)Cited by:[§5\.2](https://arxiv.org/html/2608.08606#S5.SS2.SSSx1.p1.4)\.
- \[16\]G\. Stanovsky, N\. A\. Smith, and L\. Zettlemoyer\(2019\)Evaluating gender bias in machine translation\.InProceedings of the 57th Annual Meeting of the Association for Computational Linguistics,pp\. 1679–1684\.External Links:[Link](https://aclanthology.org/P19-1164/)Cited by:[§1](https://arxiv.org/html/2608.08606#S1.p3.1),[§2](https://arxiv.org/html/2608.08606#S2.p1.1),[§6](https://arxiv.org/html/2608.08606#S6.SS0.SSS0.Px1)\.
- \[17\]Unsloth AI\(2025\)Helsinki\-NLP/opus\-mt\-en\-ro\.Note:[https://huggingface\.co/Helsinki\-NLP/opus\-mt\-en\-ro](https://huggingface.co/Helsinki-NLP/opus-mt-en-ro)Accessed: 29 August 2025Cited by:[§5\.2](https://arxiv.org/html/2608.08606#S5.SS2.p1.1)\.
- \[18\]Unsloth AI\(2025\)unsloth/Llama\-3\.2\-1B\-bnb\-4bit\.Note:[https://huggingface\.co/unsloth/Llama\-3\.2\-1B\-bnb\-4bit](https://huggingface.co/unsloth/Llama-3.2-1B-bnb-4bit)Accessed: 29 August 2025Cited by:[§5\.1](https://arxiv.org/html/2608.08606#S5.SS1.p1.1)\.
- \[19\]E\. Vanmassenhove, C\. Hardmeier, and A\. Way\(2018\)Getting gender right in neural machine translation\.InProceedings of the 2018 Conference on Empirical Methods in Natural Language Processing,pp\. 3003–3008\.External Links:[Link](https://aclanthology.org/D18-1334/)Cited by:[§2](https://arxiv.org/html/2608.08606#S2.p3.1)\.

Similar Articles

Anchoring LLM Gender Bias to Human Baselines: A Cross-Lingual Audit

arXiv cs.CL

This paper audits six large language models for gender stereotyping across English, Korean, Chinese, and Japanese, anchoring against human baselines. It finds that LLM stereotyping often exceeds human cross-country variation and can compound across languages, introducing a four-pattern framework to characterize such behaviors.