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

ML-Bench&Guard: 政策导向的多语言安全基准与大型语言模型的防护机制

BabelSafe: A Policy-Grounded Multilingual Safety Benchmark for LLMs

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Fudan University(复旦大学);University of Chicago(芝加哥大学)

Yunhan Zhao, Zhaorun Chen, Xingjun Ma, Bo Li

AI总结:

本文提出ML-Bench和ML-Guard,通过区域法规构建多语言安全基准,并开发基于扩散模型的防护系统,实现文化与法律一致的多语言安全评估。

摘要:

随着大型语言模型(LLMs)在跨语言场景中的广泛应用,确保在多样化的监管和文化环境中安全已成为关键挑战。然而,现有多语言基准主要依赖通用风险分类和机器翻译,限制了防护模型的适应能力。本文引入ML-Bench,一个基于政策的多语言安全基准,涵盖14种语言,直接从区域法规中提取风险类别和细则,指导生成多语言安全数据。基于ML-Bench,开发ML-Guard,一种基于扩散大型语言模型(dLLM)的防护模型,支持多语言安全判断和政策条件下的合规评估。ML-Guard有两个变体,一个1.5B轻量模型用于快速判断安全/不安全,另一个7B模型用于定制化合规检查并提供详细解释。在11个强防护基线和现有多语言安全基准上进行广泛实验,证明ML-Guard在性能上优于现有方法。

英文摘要:

As Large Language Models (LLMs) are increasingly deployed in cross-linguistic contexts, ensuring safety across diverse regulatory and cultural environments has become a critical challenge. However, existing multilingual benchmarks largely rely on general risk taxonomies and machine-translated data, limiting evaluation to predefined risk categories and providing insufficient coverage of region-specific regulatory requirements and cultural contexts. To bridge these gaps, we introduce BabelSafe, a policy-grounded multilingual safety benchmark covering 13 language settings. BabelSafe is constructed from regional regulatory sources, with risk categories and fine-grained rules extracted from jurisdiction-specific regulatory documents directly used to guide the generation of multilingual safety data. During data generation, we further incorporate region-specific cultural contexts, enabling regulation-grounded and culturally contextualized evaluation across languages. Building on BabelSafe, we develop BabelGuard, a Diffusion Large Language Model (dLLM)-based guardrail model that supports multilingual safety judgment and policy-conditioned safety assessment. BabelGuard has two variants, a lightweight 1.5B model for fast `safe/unsafe' classification and a more capable 7B model for customizable policy-conditioned safety checking with detailed explanations. We evaluate BabelGuard against 11 strong guardrail baselines on 6 existing multilingual safety benchmarks and BabelSafe, demonstrating the strong performance of BabelGuard across these evaluation settings. We hope that BabelSafe and BabelGuard can help advance the development of regulation-aware and culturally contextualized multilingual guardrail systems.

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

↑