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

LionGuard:构建情境化审核分类器以应对本地化不安全内容

LionGuard: Building a Contextualized Moderation Classifier to Tackle Localized Unsafe Content

GovTech Singapore(新加坡政府科技局)

Jessica Foo, Shaun Khoo

AI总结:

本文提出LionGuard,一个针对新加坡语境的审核分类器,用于防范不安全的大语言模型输出,在Singlish数据上显著优于现有审核API,展示了本地化对审核分类器的价值及低资源语言的可行方案。

摘要:

随着大语言模型(LLMs)在各种应用中的日益普及,其输出安全性问题变得愈发重要。目前大多数安全调优或审核工作主要采用以西方为中心的安全观,尤其是在处理有毒、仇恨或暴力言论方面。本文介绍了LionGuard,一个针对新加坡语境构建的审核分类器,可作为防范不安全LLM输出的护栏。在Singlish数据上的评估中,LionGuard在二元分类任务上比现有广泛使用的、未针对新加坡语境微调的审核API高出14%,在多标签任务上高出多达51%。我们的工作凸显了审核分类器本地化的优势,并为低资源语言提供了一种实用且可扩展的方法。

英文摘要:

As large language models (LLMs) become increasingly prevalent in a wide variety of applications, concerns about the safety of their outputs have become more significant. Most efforts at safety-tuning or moderation today take on a predominantly Western-centric view of safety, especially for toxic, hateful, or violent speech. In this paper, we describe LionGuard, a Singapore-contextualized moderation classifier that can serve as guardrails against unsafe LLM outputs. When assessed on Singlish data, LionGuard outperforms existing widely-used moderation APIs, which are not finetuned for the Singapore context, by 14% (binary) and up to 51% (multi-label). Our work highlights the benefits of localization for moderation classifiers and presents a practical and scalable approach for low-resource languages.

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

↑