衡量关键所在:评估真实世界 LLM 应用中安全风险的框架
Measuring What Matters: A Framework for Evaluating Safety Risks in Real-World LLM Applications
AI总结:
本文提出了一个评估LLM应用级安全风险的实用框架,涵盖定制化风险分类原则与评估实践,并通过内部多场景试点验证,为组织安全部署提供可操作指导。
摘要:
如今,针对大型语言模型(LLMs)的大多数安全测试工作主要集中在评估基础模型上。然而,在应用层面评估安全性的需求日益增长,因为诸如系统提示、检索管道和护栏等组件引入了额外因素,这些因素显著影响了 LLM 应用程序的整体安全性。在本文中,我们引入了一个实用的框架,用于评估 LLM 系统中的应用级安全性,并通过在我们组织内多个用例的真实世界部署进行了验证。该框架由两部分组成:(1) 开发定制化安全风险分类法的原则,以及 (2) 评估 LLM 应用程序中安全风险的实践。我们阐述了拟议的框架如何应用于我们的内部试点,为寻求扩大其安全测试工作规模的组织提供了参考点。这项工作旨在弥合 AI 安全理论概念与在实践中保护 LLM 应用程序的运营现实之间的差距,为安全且可扩展的部署提供可操作的指导。
英文摘要:
Most safety testing efforts for large language models (LLMs) today focus on evaluating foundation models. However, there is a growing need to evaluate safety at the application level, as components such as system prompts, retrieval pipelines, and guardrails introduce additional factors that significantly influence the overall safety of LLM applications. In this paper, we introduce a practical framework for evaluating application-level safety in LLM systems, validated through real-world deployment across multiple use cases within our organization. The framework consists of two parts: (1) principles for developing customized safety risk taxonomies, and (2) practices for evaluating safety risks in LLM applications. We illustrate how the proposed framework was applied in our internal pilot, providing a reference point for organizations seeking to scale their safety testing efforts. This work aims to bridge the gap between theoretical concepts in AI safety and the operational realities of safeguarding LLM applications in practice, offering actionable guidance for safe and scalable deployment.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。