Benchmarking LLM Guardrails in Handling Multilingual Toxicity

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yang, Yahan, Dan, Soham, Roth, Dan, Lee, Insup
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916459641307136
author Yang, Yahan
Dan, Soham
Roth, Dan
Lee, Insup
author_facet Yang, Yahan
Dan, Soham
Roth, Dan
Lee, Insup
contents With the ubiquity of Large Language Models (LLMs), guardrails have become crucial to detect and defend against toxic content. However, with the increasing pervasiveness of LLMs in multilingual scenarios, their effectiveness in handling multilingual toxic inputs remains unclear. In this work, we introduce a comprehensive multilingual test suite, spanning seven datasets and over ten languages, to benchmark the performance of state-of-the-art guardrails. We also investigates the resilience of guardrails against recent jailbreaking techniques, and assess the impact of in-context safety policies and language resource availability on guardrails' performance. Our findings show that existing guardrails are still ineffective at handling multilingual toxicity and lack robustness against jailbreaking prompts. This work aims to identify the limitations of guardrails and to build a more reliable and trustworthy LLMs in multilingual scenarios.
format Preprint
id arxiv_https___arxiv_org_abs_2410_22153
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Benchmarking LLM Guardrails in Handling Multilingual Toxicity
Yang, Yahan
Dan, Soham
Roth, Dan
Lee, Insup
Computation and Language
With the ubiquity of Large Language Models (LLMs), guardrails have become crucial to detect and defend against toxic content. However, with the increasing pervasiveness of LLMs in multilingual scenarios, their effectiveness in handling multilingual toxic inputs remains unclear. In this work, we introduce a comprehensive multilingual test suite, spanning seven datasets and over ten languages, to benchmark the performance of state-of-the-art guardrails. We also investigates the resilience of guardrails against recent jailbreaking techniques, and assess the impact of in-context safety policies and language resource availability on guardrails' performance. Our findings show that existing guardrails are still ineffective at handling multilingual toxicity and lack robustness against jailbreaking prompts. This work aims to identify the limitations of guardrails and to build a more reliable and trustworthy LLMs in multilingual scenarios.
title Benchmarking LLM Guardrails in Handling Multilingual Toxicity
topic Computation and Language
url https://arxiv.org/abs/2410.22153