arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.09175cs.CRcs.AIcs.CL
收藏

FLAME:灵活的大语言模型辅助审核引擎

FLAME: Flexible LLM-Assisted Moderation Engine

AIRI;Moscow Institute of Physics and Technology(莫斯科物理技术学院);SberHealth;Skolkovo Institute of Science and Technology(斯科尔科沃科学技术研究院)

Ivan Bakulin, Ilia Kopanichuk, Iaroslav Bespalov, Nikita Radchenko, Vladimir Shaposhnikov, Dmitry Dylov, Ivan Oseledets

AI总结:

针对LLM面临的越狱攻击问题,本文提出FLAME引擎,将审核重点从输入过滤转向输出评估,在保持计算效率的同时显著降低攻击成功率,为LLM内容安全提供更稳健的解决方案。

摘要:

大型语言模型(LLMs)的快速发展为用户与模型交互的审核带来了重大挑战。尽管LLMs展现出卓越的能力,但它们仍易受对抗性攻击,尤其是绕过内容安全措施的“越狱”技术。当前主要依赖输入提示过滤的内容审核系统已被证明不足,Best-of-N(BoN)等越狱技术对流行LLMs的成功率达到80%或更高。本文介绍灵活的大语言模型辅助审核引擎(FLAME):一种将重点从输入过滤转向输出审核的新方法。与分析用户查询的传统熔断方法不同,FLAME评估模型响应,具有以下关键优势:(1)训练和推理中的计算效率;(2)增强对BoN越狱攻击的抵抗力;(3)通过可定制的主题过滤定义和更新安全标准的灵活性。实验表明,FLAME显著优于当前审核系统。例如,FLAME将GPT-4o-mini和DeepSeek-v3的攻击成功率降低约9倍,同时保持低计算开销。我们对各种LLMs进行了全面评估,并分析了该引擎相对于最先进越狱技术的效率。这项工作为开发更 robust和适应性更强的LLM内容审核系统做出了贡献。

英文摘要:

The rapid advancement of Large Language Models (LLMs) has introduced significant challenges in moderating user-model interactions. While LLMs demonstrate remarkable capabilities, they remain vulnerable to adversarial attacks, particularly ``jailbreaking'' techniques that bypass content safety measures. Current content moderation systems, which primarily rely on input prompt filtering, have proven insufficient, with techniques like Best-of-N (BoN) jailbreaking achieving success rates of 80% or more against popular LLMs. In this paper, we introduce Flexible LLM-Assisted Moderation Engine (FLAME): a new approach that shifts the focus from input filtering to output moderation. Unlike traditional circuit-breaking methods that analyze user queries, FLAME evaluates model responses, offering several key advantages: (1) computational efficiency in both training and inference, (2) enhanced resistance to BoN jailbreaking attacks, and (3) flexibility in defining and updating safety criteria through customizable topic filtering. Our experiments demonstrate that FLAME significantly outperforms current moderation systems. For example, FLAME reduces attack success rate in GPT-4o-mini and DeepSeek-v3 by a factor of ~9, while maintaining low computational overhead. We provide comprehensive evaluation on various LLMs and analyze the engine's efficiency against the state-of-the-art jailbreaking. This work contributes to the development of more robust and adaptable content moderation systems for LLMs.

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

↑