SafetyAnalyst:面向AI行为的可解释、透明且可控的安全审核
SafetyAnalyst: Interpretable, Transparent, and Steerable Safety Moderation for AI Behavior
AI总结:
针对现有AI安全审核系统缺乏可解释性和可控性的问题,提出SafetyAnalyst框架,利用思维链推理构建危害-收益树并聚合为危害性得分,在提示安全分类任务上超越现有系统并实现透明可控。
摘要:
理想的AI安全审核系统应当具备结构上的可解释性(使其决策能被可靠地解释)和可控性(以符合安全标准并反映社区价值观),而现有系统在这两方面均存在不足。为弥补这一差距,我们提出了一个新颖的AI安全审核框架SafetyAnalyst。给定一种AI行为,SafetyAnalyst使用思维链推理,通过创建结构化的“危害-收益树”来分析其潜在后果。该树列举了AI行为可能导致的危害性和有益性行动与影响,并附带描述对利益相关者潜在影响的概率、严重性和即时性标签。随后,SafetyAnalyst使用28个完全可解释的权重参数将所有影响聚合为一个危害性得分,这些参数可与特定的安全偏好相对齐。我们应用该框架开发了一个开源LLM提示安全分类系统,该系统由前沿LLM在1.9万个提示上生成的1850万个危害-收益特征蒸馏而来。在全面的基准测试中,我们展示了SafetyAnalyst(平均F1=0.81)在提示安全分类上优于现有审核系统(平均F1<0.72),同时提供了可解释性、透明性和可控性等额外优势。
英文摘要:
The ideal AI safety moderation system would be both structurally interpretable (so its decisions can be reliably explained) and steerable (to align to safety standards and reflect a community's values), which current systems fall short on. To address this gap, we present SafetyAnalyst, a novel AI safety moderation framework. Given an AI behavior, SafetyAnalyst uses chain-of-thought reasoning to analyze its potential consequences by creating a structured "harm-benefit tree," which enumerates harmful and beneficial actions and effects the AI behavior may lead to, along with likelihood, severity, and immediacy labels that describe potential impacts on stakeholders. SafetyAnalyst then aggregates all effects into a harmfulness score using 28 fully interpretable weight parameters, which can be aligned to particular safety preferences. We applied this framework to develop an open-source LLM prompt safety classification system, distilled from 18.5 million harm-benefit features generated by frontier LLMs on 19k prompts. On comprehensive benchmarks, we show that SafetyAnalyst (average F1=0.81) outperforms existing moderation systems (average F1$<$0.72) on prompt safety classification, while offering the additional advantages of interpretability, transparency, and steerability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。