Toxicity in Multilingual Machine Translation at Scale
This study analyzes added toxicity in multilingual MT using HOLISTICBIAS, ALTI+ attribution, revealing low-resource languages and demographic axes prone to toxicity.
Key Findings
Methodology
This work combines HOLISTICBIAS dataset, NLLB’s toxicity wordlist detection, and ALTI+ input attribution to systematically evaluate added toxicity across 164 languages. Automatic detection is validated with human evaluation, analyzing source contribution and hallucination/mistranslation roles. The approach quantifies toxicity, identifies mechanisms, and explains sources of bias.
Key Results
- Toxicity rates vary from 0% to 5% across languages, with low-resource languages like Yoruba and Tok Pisin showing higher rates. 84% of toxicity correlates significantly with source contribution, with low source contribution (<40%) indicating hallucination. Hallucination and mistranslation are primary causes of toxicity, with low source contribution and high Gini impurity indicating higher risk. Human evaluation confirms detection reliability with false positive rates below 1%.
- Languages with fewer resources and sensitive demographic axes (e.g., sexual orientation, gender) exhibit higher toxicity. The analysis reveals that mistranslation and hallucination contribute substantially to toxicity, emphasizing the importance of source fidelity and robustness in model outputs.
Significance
This research provides the first systematic analysis of added toxicity mechanisms in large-scale multilingual MT, highlighting the risks associated with low-resource languages and demographic biases. It offers quantitative tools for bias detection and model explanation, informing safer and fairer translation systems. The findings guide data curation, model tuning, and interpretability efforts, crucial for deploying responsible AI in global contexts. By understanding how hallucination and mistranslation lead to toxicity, developers can design targeted mitigation strategies, advancing AI ethics and safety in multilingual applications.
Technical Contribution
The paper innovatively combines HOLISTICBIAS, toxicity wordlist detection, and ALTI+ attribution to quantify source contribution and robustness, providing a multi-dimensional framework for toxicity analysis. It introduces the use of Gini impurity as a measure of translation stability related to toxicity, enabling fine-grained risk assessment. This integrated approach advances interpretability and bias detection in neural MT, especially across diverse languages and demographic axes. The methodology is scalable and adaptable, offering a new paradigm for bias mitigation and safety in multilingual NLP.
Novelty
This is the first comprehensive study integrating HOLISTICBIAS, ALTI+ attribution, and toxicity detection to analyze toxicity mechanisms across 164 languages. It uniquely links low source contribution and translation instability to toxicity risk, providing a quantitative and interpretable framework. Unlike prior work focusing on single languages or surface-level detection, this research offers a multi-layered, explainable analysis of bias origins in multilingual models, filling a critical gap in AI safety research.
Limitations
- Detection relies on predefined toxicity wordlists, which may miss context-dependent or novel toxic expressions, especially in low-resource languages. The attribution metrics, while informative, may not fully capture complex bias pathways in highly ambiguous or adversarial cases. Experiments are primarily based on HOLISTICBIAS and FLORES datasets, limiting generalization to real-world, noisy data. Further work is needed to incorporate contextual and multimodal signals for comprehensive toxicity mitigation.
Future Work
Future efforts will focus on developing context-aware, deep learning-based toxicity classifiers that adapt dynamically to evolving language use. Integrating multimodal data (images, audio) could improve bias detection robustness. Additionally, refining interpretability tools to trace bias pathways more precisely will enhance model transparency. Long-term goals include creating self-correcting translation systems with built-in bias mitigation, ensuring safer deployment in diverse cultural environments, and establishing standardized benchmarks for multilingual fairness and safety.
AI Executive Summary
Multilingual machine translation (MT) has become a cornerstone of global communication, enabling seamless cross-lingual information exchange. However, as models scale to cover hundreds of languages, new challenges emerge, notably the inadvertent introduction of toxic content. Existing detection methods often rely on static word lists, which are insufficient for capturing nuanced or context-dependent toxicity, especially in low-resource languages. This gap poses risks of reinforcing biases and causing harm in real-world applications.
In response, this study leverages the HOLISTICBIAS dataset, which encompasses demographic axes such as gender, race, and sexual orientation, to evaluate toxicity in 164 languages translated from English. The authors employ a combination of toxicity wordlist detection, ALTI+ input attribution, and Gini impurity metrics to analyze the sources and mechanisms of toxicity. Their findings reveal that toxicity rates vary from 0% to 5%, with low-resource languages like Yoruba and Tok Pisin exhibiting higher rates. Crucially, the analysis shows that hallucination and mistranslation—where the model either invents or misinterprets content—are primary contributors to toxicity, especially when source contribution is low.
The research further validates automatic detection through human evaluation, confirming that false positives are under 1%. The integration of source attribution and robustness metrics provides a promising pathway for preemptively flagging risky translations. These insights are vital for developing safer, fairer multilingual systems, as they highlight the importance of data quality, model interpretability, and bias mitigation strategies.
Ultimately, this work advances the understanding of toxicity in neural MT, emphasizing that addressing hallucination and mistranslation is key to reducing harmful outputs. Future directions include enhancing contextual detection, expanding multimodal approaches, and establishing standardized benchmarks for multilingual fairness, ensuring AI systems serve diverse global communities responsibly.
Deep Analysis
Background
The evolution of machine translation has transitioned from rule-based systems to neural models, notably Transformer architectures (Vaswani et al., 2017), which enabled large-scale multilingual models like mBERT and XLM-R (Conneau et al., 2020). Projects such as NLLB (No Language Left Behind, 2022) have expanded translation capabilities to over 600 languages, emphasizing inclusivity. Despite these advances, issues of bias, toxicity, and fairness have surfaced, especially as models generate harmful content unintentionally. Prior works (Sheng et al., 2021; Webster et al., 2020) have documented biases but lacked systematic mechanisms to analyze and interpret toxicity sources across languages. HOLISTICBIAS (Smith et al., 2022) provides a comprehensive benchmark for demographic bias evaluation, but understanding how toxicity arises during translation—particularly via hallucination and mistranslation—remains an open challenge. Addressing this gap is critical for deploying responsible multilingual AI systems.
Core Problem
Multilingual MT systems risk introducing toxicity, especially in low-resource languages and sensitive demographic axes. Existing detection methods are limited by reliance on static word lists, which cannot capture context-dependent or evolving expressions. Hallucination and mistranslation are identified as key mechanisms leading to toxicity, but their roles are not well-quantified or understood. This impairs the ability to develop targeted mitigation strategies. The core problem is how to accurately detect, interpret, and reduce added toxicity, considering the complex interplay of language resource levels, model biases, and translation robustness. Solving this is vital for ensuring safe, fair, and inclusive AI-powered communication tools.
Innovation
This work introduces a multi-faceted framework combining HOLISTICBIAS, toxicity wordlist detection, and ALTI+ attribution to analyze toxicity mechanisms systematically. It innovates by quantifying source contribution to toxicity, revealing hallucination and mistranslation as primary causes. The use of Gini impurity to measure translation robustness offers a novel interpretability angle, enabling fine-grained risk assessment. Unlike prior approaches limited to surface-level detection, this methodology provides explainability and actionable insights, especially across diverse languages and demographic axes. The integration of these techniques represents a significant step forward in bias analysis and mitigation in multilingual NLP.
Methodology
- �� Translate HOLISTICBIAS sentences into 164 languages using NLLB 3.3B model, covering demographic axes like gender, race, and ability. • Detect toxicity via toxicity wordlists, created through human translation, to identify potentially harmful terms. • Validate automatic detection with human annotators, assessing false positive and negative rates. • Apply ALTI+ to compute input attribution scores, measuring source contribution to each translated word, especially toxic ones. • Calculate Gini impurity across aligned descriptor words to evaluate translation robustness. • Analyze the correlation between source contribution, robustness, and toxicity, identifying high-risk translation patterns. • Use thresholds (e.g., 40% source contribution) to flag potentially hallucinated or mistranslated toxic outputs. • Perform statistical analysis across languages and axes, identifying patterns and high-risk scenarios. • Incorporate human evaluation to verify false positives and negatives, refining detection thresholds and interpretability tools.
Experiments
The experiments involve translating a large-scale dataset (HOLISTICBIAS, 472k sentences) into 164 languages using NLLB 3.3B. Toxicity detection relies on curated wordlists, validated by native speakers, to identify toxic content. The evaluation measures include toxicity rate statistics, source contribution analysis via ALTI+, and robustness assessment through Gini impurity. The study conducts ablation experiments to verify the impact of source contribution thresholds and robustness metrics on toxicity detection accuracy. Human evaluators assess false positives and negatives, providing ground truth for automatic methods. The experiments also compare toxicity across demographic axes and language resource levels, revealing key patterns and risk factors. The setup emphasizes scalability, interpretability, and cross-lingual generalization, aiming to produce actionable insights for bias mitigation.
Results
Toxicity rates across languages range from 0% to 5%, with low-resource languages like Yoruba and Tok Pisin exhibiting higher rates (>2%). 84% of toxic outputs show significant correlation with low source contribution (<40%), indicating hallucination or mistranslation as primary causes. The combined analysis of source contribution and Gini impurity identifies translation instability as a key factor in toxicity risk. Human evaluation confirms detection accuracy, with false positive rates below 1%, though some languages like Chinese and Persian show higher false positives. The results underscore the importance of data quality, resource level, and demographic sensitivity in toxicity mitigation. These findings provide a quantitative basis for developing safer translation models and bias-aware evaluation protocols.
Applications
- �� Immediate: Implement toxicity risk flags in multilingual translation platforms, enabling real-time content moderation and reducing harmful outputs. • Long-term: Develop self-correcting translation systems with integrated bias detection and explainability modules, fostering responsible AI deployment across diverse cultural contexts. These applications can improve user trust, compliance with ethical standards, and inclusivity in global communication tools.
Limitations & Outlook
Current detection relies heavily on predefined toxicity wordlists, which may miss context-dependent or emerging toxic expressions, especially in low-resource languages. Attribution metrics like source contribution and Gini impurity, while effective, may not fully capture complex bias pathways in adversarial or ambiguous cases. The datasets used (HOLISTICBIAS, FLORES) do not encompass all real-world scenarios, limiting generalization. Further research is needed to incorporate contextual, multimodal, and adaptive detection methods to address these gaps.
Plain Language Accessible to non-experts
想象一台超级复杂的翻译机器,就像一个多功能厨房。这个厨房里有很多不同的厨师(模型),他们用不同的食材(输入信息)做菜。正常情况下,厨师会根据食材做出美味的菜肴(准确翻译),但有时候,他们会误用食材,加入一些不该放的调料(毒性内容),比如放了辣椒或盐太多。这些错误可能是因为厨师误解了食材( mistranslation),或者看到一些不存在的食材(hallucination),导致菜变得不合适。低资源的厨房(低资源语言)因为设备和食材少,更容易出错,做出带有偏见或不尊重的菜肴。科学家们用特殊的工具(检测和解释方法)检查厨房,找出哪些环节容易出错,提出改进方案,确保每一道菜都安全、健康、受欢迎。这样,未来的翻译就能像专业厨师一样,既快又准,还能尊重每个人的不同需求。
ELI14 Explained like you're 14
想象你在玩一个超级复杂的拼图游戏,你需要把很多不同颜色和形状的块拼在一起,才能拼出一幅漂亮的画。有时候,拼图会出现错误,比如把不该放在一起的块拼到一块,这样拼出来的画就会变得奇怪甚至有点不友善。这就像机器翻译,有时候它会把一些不该出现的词或内容加入到翻译里,造成不好的效果。特别是当机器用的资料不多(低资源语种),它更容易出错。研究发现,这些错误有时候是因为机器误解了原始内容( mistranslation),或者看到一些不存在的细节(hallucination)。为了避免这些问题,科学家们设计了各种检测和解释工具,帮助找出出错的原因,就像拼图游戏中用放大镜检查每一块一样。这样,未来的翻译工具就能变得更聪明、更安全,让我们用得更放心。
Glossary
Toxicity (毒性)
指在翻译中引入对某些群体或个人有害、冒犯或歧视的内容。技术上通过词表检测和模型归因分析识别。
本文用来描述模型输出中不应出现的有害内容。
Hallucination (虚假生成)
模型在没有对应源信息的情况下,生成与输入无关的内容,可能引入偏见或毒性。技术上通过源贡献度和归因分析检测。
分析模型错误产生毒性内容的机制。
Mistranslation (误译)
源语言中的非毒性内容被错误翻译成带有偏见或攻击性的词汇,导致毒性引入。
识别翻译偏差的根源。
ALTI+ (归因方法)
一种基于Transformer模型的输入归因技术,衡量每个输入词对输出的贡献,帮助解释毒性产生路径。
用于分析源贡献度与毒性关系。
Gini Impurity (Gini不纯度)
衡量分类中样本不纯度的指标,数值越高表示样本分布越不均匀,用于评估翻译鲁棒性。
分析翻译的鲁棒性与毒性关联。
Open Questions Unanswered questions from this research
- 1 如何在多语种模型中实时监控和预警毒性内容仍未完全解决,特别是在低资源语种和新兴偏见表达方面。现有方法多依赖词表,难以捕捉隐晦或新出现的偏见,未来需结合深度学习和上下文理解提升检测能力。
Applications
Immediate Applications
Multilingual Content Moderation
Integrate toxicity risk flags into translation platforms for real-time moderation, reducing harmful outputs and ensuring safer content across languages.
Bias Mitigation in Models
Use source contribution and robustness metrics to fine-tune models, decreasing bias and toxicity, especially in sensitive demographic axes.
Long-term Vision
Responsible AI Translation Systems
Develop self-correcting, explainable multilingual translation systems that automatically detect, interpret, and mitigate toxicity, promoting ethical AI deployment globally.
Abstract
Machine Translation systems can produce different types of errors, some of which are characterized as critical or catastrophic due to the specific negative impact that they can have on users. In this paper we focus on one type of critical error: added toxicity. We evaluate and analyze added toxicity when translating a large evaluation dataset (HOLISTICBIAS, over 472k sentences, covering 13 demographic axes) from English into 164 languages. An automatic toxicity evaluation shows that added toxicity across languages varies from 0% to 5%. The output languages with the most added toxicity tend to be low-resource ones, and the demographic axes with the most added toxicity include sexual orientation, gender and sex, and ability. We also perform human evaluation on a subset of 8 translation directions, confirming the prevalence of true added toxicity. We use a measurement of the amount of source contribution to the translation, where a low source contribution implies hallucination, to interpret what causes toxicity. Making use of the input attributions allows us to explain toxicity, because the source contributions significantly correlate with toxicity for 84% of languages studied. Given our findings, our recommendations to reduce added toxicity are to curate training data to avoid mistranslations, mitigate hallucination and check unstable translations.