RTP-LX: Can LLMs Evaluate Toxicity in Multilingual Scenarios?

Adrian de Wynter, Ishaan Watts, Tua Wongsangaroonsri, Minghui Zhang, Noura Farra +28 more
4/22/2024
cs.CLcs.CYcs.LG

No official code found. Best implementation: microsoft/RTP-LX (29 stars, last commit 2025-05-01).

Abstract

Large language models (LLMs) and small language models (SLMs) are being adopted at remarkable speed, although their safety still remains a serious concern. With the advent of multilingual S/LLMs, the question now becomes a matter of scale: can we expand multilingual safety evaluations of these models with the same velocity at which they are deployed? To this end, we introduce RTP-LX, a human-transcreated and human-annotated corpus of toxic prompts and outputs in 28 languages. RTP-LX follows participatory design practices, and a portion of the corpus is especially designed to detect culturally-specific toxic language. We evaluate 10 S/LLMs on their ability to detect toxic content in a culturally-sensitive, multilingual scenario. We find that, although they typically score acceptably in terms of accuracy, they have low agreement with human judges when scoring holistically the toxicity of a prompt; and have difficulty discerning harm in context-dependent scenarios, particularly with subtle-yet-harmful content (e.g. microaggressions, bias). We release this dataset to contribute to further reduce harmful uses of these models and improve their safe deployment.

View on arXivView PDF

Code Implementations(1)

microsoft/RTP-LXCommunity100%

Repository for the paper "RTP-LX: Can LLMs Evaluate Toxicity in Multilingual Scenarios?"

293Python, Jupyter NotebookSep 7, 20231 years agoNOASSERTION
hate-speech-detectionmultilingualopen-datapromptingtoxic-language

Similar Papers

Cite this paper

@article{wynter2024rtplx,
  title  = {RTP-LX: Can LLMs Evaluate Toxicity in Multilingual Scenarios?},
  author = {Adrian de Wynter and Ishaan Watts and Tua Wongsangaroonsri and Minghui Zhang and Noura Farra and Nektar Ege Altıntoprak and Lena Baur and Samantha Claudet and Pavel Gajdusek and Can Gören and Qilong Gu and Anna Kaminska and Tomasz Kaminski and Ruby Kuo and Akiko Kyuba and Jongho Lee and Kartik Mathur and Petter Merok and Ivana Milovanović and Nani Paananen and Vesa-Matti Paananen and Anna Pavlenko and Bruno Pereira Vidal and Luciano Strika and Yueh Tsao and Davide Turcato and Oleksandr Vakhno and Judit Velcsov and Anna Vickers and Stéphanie Visser and Herdyan Widarmanto and Andrey Zaikin and Si-Qing Chen},
  year   = {2024},
  eprint = {2404.14397},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.14397v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.14397.svg)](https://codeofpaper.com/paper/2404.14397)

Discussion