arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.22153cs.CL
收藏

大语言模型护栏在处理多语言毒性内容方面的基准测试

Benchmarking LLM Guardrails in Handling Multilingual Toxicity

University of Pennsylvania(宾夕法尼亚大学);Microsoft(微软公司)

Yahan Yang, Soham Dan, Dan Roth, Insup Lee

AI总结:

该研究构建了涵盖7个数据集、十多种语言的多语言测试套件,对主流LLM护栏的多语言毒性处理能力、抗越狱能力等进行基准测试,发现现有护栏存在明显不足,为构建多语言场景下更可靠的LLM提供参考。

摘要:

随着大语言模型(LLMs)的普及,护栏(guardrails)对于检测和防御毒性内容已变得至关重要。然而,随着LLMs在多语言场景中的应用日益广泛,它们在处理多语言毒性输入方面的有效性仍不明确。在本研究中,我们引入了一套全面的多语言测试套件,涵盖7个数据集和十多种语言,用于对当前最先进的护栏性能进行基准测试。我们还研究了护栏针对近期越狱(jailbreaking)技术的抵御能力,并评估了上下文安全策略和语言资源可用性对护栏性能的影响。我们的研究结果表明,现有护栏在处理多语言毒性内容方面仍然效果不佳,且对越狱提示缺乏鲁棒性。本研究旨在明确护栏的局限性,以在多语言场景中构建更可靠、更值得信赖的LLMs。

英文摘要:

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.

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

↑