Gender-specific Machine Translation with Large Language Models

Eduardo Sánchez, Pierre Andrews, Pontus Stenetorp, Mikel Artetxe, Marta R. Costa-jussà · OpenReview

Abstract

Decoder-only Large Language Models (LLMs) have demonstrated potential in machine translation (MT), albeit with performance slightly lagging behind traditional encoder-decoder Neural Machine Translation (NMT) systems. However, LLMs offer a unique advantage: the ability to control the properties of the output through prompts. In this study, we harness this flexibility to explore LLaMa's capability to produce gender-specific translations for languages with grammatical gender. Our results indicate that LLaMa can generate gender-specific translations with competitive accuracy and gender bias mitigation when compared to NLLB, a state-of-the-art multilingual NMT system. Furthermore, our experiments reveal that LLaMa's translations are robust, showing significant performance drops when evaluated against opposite-gender references in gender-ambiguous datasets but maintaining consistency in less ambiguous contexts. This research provides insights into the potential and challenges of using LLMs for gender-specific translations and highlights the importance of in-context learning to elicit new tasks in LLMs.
BibTeX
@misc{sanchez2023gender,
  author = {Eduardo Sánchez and Pierre Andrews and Pontus Stenetorp and Mikel Artetxe and Marta R. Costa-jussà},
  title = {{Gender-specific Machine Translation with Large Language Models}},
  year = {2023},
  eprint = {2309.03175},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.03175},
}
Figure