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

SAGE:一个用于大语言模型安全评估的通用框架

SAGE: A Generic Framework for LLM Safety Evaluation

Mohamed bin Zayed University of Artificial Intelligence (MBZUAI)(穆罕默德·本·扎耶德人工智能大学);Microsoft, India(微软(印度));Indian Institute of Technology Hyderabad(印度理工学院海得拉巴分校)

Madhur Jindal, Hari Shrawgi, Parag Agrawal, Sandipan Dandapat

AI总结:

本文提出SAGE框架,利用基于大五人格的对抗智能体进行多轮对话,实现对LLM的定制化安全评估,实验发现危害随对话长度增加且策略敏感性显著。

摘要:

随着大语言模型在从医疗保健到金融建议等各类应用中的快速部署,安全评估难以跟上其发展步伐。当前的基准测试侧重于与通用策略的单轮交互,未能捕捉真实世界使用中的对话动态以及上下文中出现的应用特定危害。这些潜在疏忽可能导致在标准安全基准和其他当前评估方法中未被注意的危害。为满足这些对稳健AI安全评估的需求,我们引入了SAGE(安全AI通用评估),一个自动化模块化框架,专为定制化和动态危害评估而设计。SAGE采用基于大五人格模型的、具有多样个性的提示对抗智能体,实现系统感知的多轮对话,这些对话能适应目标应用和危害策略。我们评估了七个最先进的大语言模型,涵盖三个应用和危害策略。多轮实验表明,危害随对话长度增加而增加,模型行为在不同用户个性和场景下差异显著,且一些模型通过高拒绝率最小化危害,但这降低了有用性。我们还展示了危害类别内的策略敏感性,其中收紧针对儿童的性相关策略显著增加了跨应用的测量缺陷。这些结果激励了适应性、策略感知和上下文特定的测试,以实现更安全的现实世界部署。

英文摘要:

As Large Language Models are rapidly deployed across diverse applications from healthcare to financial advice, safety evaluation struggles to keep pace. Current benchmarks focus on single-turn interactions with generic policies, failing to capture the conversational dynamics of real-world usage and the application-specific harms that emerge in context. Such potential oversights can lead to harms that go unnoticed in standard safety benchmarks and other current evaluation methodologies. To address these needs for robust AI safety evaluation, we introduce SAGE (Safety AI Generic Evaluation), an automated modular framework designed for customized and dynamic harm evaluations. SAGE employs prompted adversarial agents with diverse personalities based on the Big Five model, enabling system-aware multi-turn conversations that adapt to target applications and harm policies. We evaluate seven state-of-the-art LLMs across three applications and harm policies. Multi-turn experiments show that harm increases with conversation length, model behavior varies significantly when exposed to different user personalities and scenarios, and some models minimize harm via high refusal rates that reduce usefulness. We also demonstrate policy sensitivity within a harm category where tightening a child-focused sexual policy substantially increases measured defects across applications. These results motivate adaptive, policy-aware, and context-specific testing for safer real-world deployment.

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

↑