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

探索直接的对话式红队测试

Exploring Straightforward Conversational Red-Teaming

IBM Research AI(IBM研究院人工智能部门)

George Kour, Naama Zwerdling, Marcel Zalmanovici, Ateret Anaby-Tavor, Ora Nova Fandina, Eitan Farchi

AI总结:

本文研究现成 LLM 在直接红队测试中的攻击能力,比较单轮与多轮对话策略,发现其可有效诱导目标模型产生不良输出并依据历史调整攻击,但对齐越强效果越弱。

摘要:

大型语言模型(LLM)正越来越多地用于商业对话系统,但它们带来安全和伦理风险。在多轮对话中,上下文会影响模型行为,这一点可能被利用以产生不良回应。本文考察在直接红队测试方法中使用现成 LLM 的有效性:攻击者 LLM 试图诱导目标 LLM 输出不良内容,并比较单轮与对话式红队测试策略。实验揭示了显著影响其作为红队成员表现的各种使用策略。结果表明,现成模型可以充当有效的红队成员,甚至能根据以往尝试调整攻击策略,不过随着对齐程度提高,其有效性会下降。

英文摘要:

Large language models (LLMs) are increasingly used in business dialogue systems but they pose security and ethical risks. Multi-turn conversations, where context influences the model's behavior, can be exploited to produce undesired responses. In this paper, we examine the effectiveness of utilizing off-the-shelf LLMs in straightforward red-teaming approaches, where an attacker LLM aims to elicit undesired output from a target LLM, comparing both single-turn and conversational red-teaming tactics. Our experiments offer insights into various usage strategies that significantly affect their performance as red teamers. They suggest that off-the-shelf models can act as effective red teamers and even adjust their attack strategy based on past attempts, although their effectiveness decreases with greater alignment.

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

↑