arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.08793cs.CRcs.CLcs.HC
收藏

JailbreakLens:针对大语言模型越狱攻击的可视化分析

JailbreakLens: Visual Analysis of Jailbreak Attacks Against Large Language Models

State Key Lab of CAD&CG, Zhejiang University(浙江大学CAD与计算机图形学国家重点实验室);Laboratory of Art and Archaeology Image (Zhejiang University), Ministry of Education(浙江大学艺术与考古图像实验室(教育部));Hangzhou City University(杭州市大学);Zhejiang University(浙江大学)

Yingchaojie Feng, Zhizhang Chen, Zhining Kang, Sijia Wang, Haoyu Tian, Wei Zhang, Minfeng Zhu, Wei Chen

AI总结:

本文提出LLM辅助框架与可视化系统JailbreakLens,支持自动越狱评估、提示词多层次分析及实例细化验证,以评估大语言模型安全性并发现其弱点。

摘要:

大语言模型(LLM)的普及凸显了人们对其安全漏洞的担忧,尤其是在应对越狱攻击方面:攻击者会设计越狱提示词以绕过安全机制,从而可能造成滥用。要解决这些担忧,必须对越狱提示词进行全面分析,以评估LLM的防御能力并识别潜在弱点。然而,评估越狱性能和理解提示词特征的复杂性使这项分析十分费力。我们与领域专家合作,对问题进行刻画,并提出一个LLM辅助框架来简化分析流程。该框架提供自动越狱评估,以促进性能评价,并支持分析提示词中的组成部分和关键词。基于该框架,我们设计了JailbreakLens这一可视化分析系统,使用户能够探究针对目标模型的越狱性能,对提示词特征开展多层次分析,并细化提示词实例以验证发现。通过案例研究、技术评估和专家访谈,我们证明了该系统能有效帮助用户评估模型安全性并识别模型弱点。

英文摘要:

The proliferation of large language models (LLMs) has underscored concerns regarding their security vulnerabilities, notably against jailbreak attacks, where adversaries design jailbreak prompts to circumvent safety mechanisms for potential misuse. Addressing these concerns necessitates a comprehensive analysis of jailbreak prompts to evaluate LLMs' defensive capabilities and identify potential weaknesses. However, the complexity of evaluating jailbreak performance and understanding prompt characteristics makes this analysis laborious. We collaborate with domain experts to characterize problems and propose an LLM-assisted framework to streamline the analysis process. It provides automatic jailbreak assessment to facilitate performance evaluation and support analysis of components and keywords in prompts. Based on the framework, we design JailbreakLens, a visual analysis system that enables users to explore the jailbreak performance against the target model, conduct multi-level analysis of prompt characteristics, and refine prompt instances to verify findings. Through a case study, technical evaluations, and expert interviews, we demonstrate our system's effectiveness in helping users evaluate model security and identify model weaknesses.

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

↑