ACL2025

Cross-Lingual Transfer of Debiasing and Detoxification in Multilingual LLMs: An Extensive Investigation

Vera Neplenbroek, Arianna Bisazza, Raquel Fernández

被引用 5 次

摘要

Recent generative large language models (LLMs) show remarkable performance in non-English languages, but when prompted in those languages they tend to express higher harmful social biases and toxicity levels. Prior work has shown that finetuning on specialized datasets can mitigate this behavior, and doing so in English can transfer to other languages. In this work, we investigate the impact of different finetuning methods on the model's bias and toxicity, but also on its ability to produce fluent and diverse text. We reduce biases by finetuning on curated non-harmful text, but find only direct preference optimization to be effective for mitigating toxicity. The mitigation caused by applying these methods in English also transfers to non-English languages. We find evidence that the extent to which transfer takes place can be predicted by the amount of data in a given language present in the model's pretraining data. However, this transfer of bias and toxicity mitigation often comes at the expense of decreased language generation ability in non-English languages, highlighting the importance of developing language-specific bias and toxicity mitigation methods. 1 Gemma 2 (Google, 2024) are a family of LLMs that were primarily trained on English data, including web documents, code, and mathematical text. This training data was filtered, to make sure no personal information or other sensitive, harmful or illegal content was included. We use the 9B model that was trained on 8 trillion tokens, and the 2B model that was trained on 2 trillion tokens. Llama 3 (AI@Meta, 2024a) are a family of LLMs that were primarily trained on English data,