arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.03893cs.CLcs.AI
收藏

从一到多:扩展语言模型中毒性缓解的范围

From One to Many: Expanding the Scope of Toxicity Mitigation in Language Models

Cohere for AI(Cohere人工智能研究院);Cohere(Cohere公司)

Luiza Pozzobon, Patrick Lewis, Sara Hooker, Beyza Ermis

AI总结:

本研究扩展了语言模型毒性缓解的多语言范围,通过翻译数据在九种语言中比较微调与检索增强技术,揭示了翻译质量、跨语言迁移、模型规模及数据量对缓解效果的影响。

摘要:

迄今为止,语言模型中的毒性缓解几乎完全集中在单语言设置上。随着语言模型拥抱多语言能力,我们的安全措施跟上步伐至关重要。认识到这一研究空白,我们的方法扩展了传统毒性缓解的范围,以应对多种语言带来的复杂性。在缺乏跨语言充足标注数据集的情况下,我们采用翻译数据来评估和增强我们的缓解技术。我们还在静态和持续毒性缓解场景下,将微调缓解方法与检索增强技术进行了比较。这使我们能够检验翻译质量和跨语言迁移对毒性缓解的影响。我们还探讨了模型规模和数据量如何影响这些缓解工作的成功与否。我们的研究涵盖九种语言,代表了广泛的语言语系和资源可用性水平,从高资源到中资源语言不等。通过全面的实验,我们为多语言毒性缓解的复杂性提供了深刻见解,提供了有价值的洞察,并为这一日益重要领域的未来研究铺平了道路。代码和数据可在 https://github.com/for-ai/goodtriever 获取。

英文摘要:

To date, toxicity mitigation in language models has almost entirely been focused on single-language settings. As language models embrace multilingual capabilities, it's crucial our safety measures keep pace. Recognizing this research gap, our approach expands the scope of conventional toxicity mitigation to address the complexities presented by multiple languages. In the absence of sufficient annotated datasets across languages, we employ translated data to evaluate and enhance our mitigation techniques. We also compare finetuning mitigation approaches against retrieval-augmented techniques under both static and continual toxicity mitigation scenarios. This allows us to examine the effects of translation quality and the cross-lingual transfer on toxicity mitigation. We also explore how model size and data quantity affect the success of these mitigation efforts. Covering nine languages, our study represents a broad array of linguistic families and levels of resource availability, ranging from high to mid-resource languages. Through comprehensive experiments, we provide insights into the complexities of multilingual toxicity mitigation, offering valuable insights and paving the way for future research in this increasingly important field. Code and data are available at https://github.com/for-ai/goodtriever.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑