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

SafeWorld:地域多样性安全对齐

SafeWorld: Geo-Diverse Safety Alignment

UCLA(加利福尼亚大学洛杉矶分校);Salesforce AI Research(Salesforce人工智能研究院)

Da Yin, Haoyi Qiu, Kung-Hsiang Huang, Kai-Wei Chang, Nanyun Peng

AI总结:

针对大语言模型安全对齐忽视全球地域文化法律差异的问题,研究提出SafeWorld基准与多维度评估框架,并用合成偏好对训练的SafeWorldLM在多维度上显著优于GPT-4o等模型。

摘要:

在快速发展的大语言模型(LLMs)领域,保障安全性是一个至关重要且被广泛讨论的议题。然而,现有研究往往忽视了全球各地文化与法律标准的地域多样性。为了阐明地域多样性安全标准带来的挑战,我们推出了SafeWorld,这是一个专门设计的新型基准,用于评估大语言模型生成既实用、又具备文化敏感性且符合全球不同语境下法律规定的回复的能力。SafeWorld包含2342条测试用户查询,每条查询均基于来自50个国家和493个地区/种族的经人工验证的高质量文化规范与法律政策。在此基础上,我们提出了一个多维度自动安全评估框架,用于评估回复的语境适配性、准确性和全面性。我们的评估显示,当前的大语言模型难以达到这些标准。为了增强大语言模型与地域多样性安全标准的对齐程度,我们合成了用于直接偏好优化(DPO)对齐训练的实用偏好对。偏好对的构建旨在鼓励大语言模型做出恰当行为,并在必要时精准引用相关文化规范与政策。我们训练的SafeWorldLM在全部三个评估维度上均以大幅优势超越所有竞品模型,包括GPT-4o。全球人类评估者也指出,其在有用性和有害性评估中的胜率高出近20%。我们的代码和数据可在此处获取:https://github.com/PlusLabNLP/SafeWorld。

英文摘要:

In the rapidly evolving field of Large Language Models (LLMs), ensuring safety is a crucial and widely discussed topic. However, existing works often overlook the geo-diversity of cultural and legal standards across the world. To demonstrate the challenges posed by geo-diverse safety standards, we introduce SafeWorld, a novel benchmark specifically designed to evaluate LLMs' ability to generate responses that are not only helpful but also culturally sensitive and legally compliant across diverse global contexts. SafeWorld encompasses 2,342 test user queries, each grounded in high-quality, human-verified cultural norms and legal policies from 50 countries and 493 regions/races. On top of it, we propose a multi-dimensional automatic safety evaluation framework that assesses the contextual appropriateness, accuracy, and comprehensiveness of responses. Our evaluations reveal that current LLMs struggle to meet these criteria. To enhance LLMs' alignment with geo-diverse safety standards, we synthesize helpful preference pairs for Direct Preference Optimization (DPO) alignment training. The preference pair construction aims to encourage LLMs to behave appropriately and provide precise references to relevant cultural norms and policies when necessary. Our trained SafeWorldLM outperforms all competing models, including GPT-4o on all three evaluation dimensions by a large margin. Global human evaluators also note a nearly 20% higher winning rate in helpfulness and harmfulness evaluation. Our code and data can be found here: https://github.com/PlusLabNLP/SafeWorld.

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

↑