arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2511.11784cs.CRcs.AI
收藏

NegBLEURT Forest:利用不一致性和检测对抗攻击

NegBLEURT Forest: Leveraging Inconsistencies for Detecting Jailbreak Attacks

University of Luxembourg(卢森堡大学)

Lama Sleem, Jerome Francois, Lujun Li, Nathan Foucher, Niccolo Gentile, Radu State

AI总结:

NegBLEURT Forest通过语义一致性分析和隔离森林算法,有效检测对抗攻击,实现高准确率的攻击识别。

摘要:

针对旨在绕过安全机制的对抗攻击,通过促使大语言模型(LLM)生成有害或不适当内容,对伦理准则保持一致的情况下构成了严重威胁。由于其本质上依赖于特定上下文,构建通用过滤规则仍然困难。为了解决这些挑战而无需依赖阈值校准或模型微调,本工作引入了成功和不成功响应之间的语义一致性分析,证明了一种否定意识评分方法能够捕捉到有意义的模式。基于这一洞察,提出了一种新的检测框架,称为NegBLEURT Forest,用于评估由对抗性提示引发的输出与预期安全行为之间的匹配程度。它利用隔离森林算法识别异常响应,从而实现可靠的对抗攻击检测。实验结果表明,所提出的方法在不同模型上均能保持顶级性能,使用定制数据集时在准确性方面排名第一或第二,而其他方法则表现出对模型和数据变化的显著敏感性。

英文摘要:

Jailbreak attacks designed to bypass safety mechanisms pose a serious threat by prompting LLMs to generate harmful or inappropriate content, despite alignment with ethical guidelines. Crafting universal filtering rules remains difficult due to their inherent dependence on specific contexts. To address these challenges without relying on threshold calibration or model fine-tuning, this work introduces a semantic consistency analysis between successful and unsuccessful responses, demonstrating that a negation-aware scoring approach captures meaningful patterns. Building on this insight, a novel detection framework called NegBLEURT Forest is proposed to evaluate the degree of alignment between outputs elicited by adversarial prompts and expected safe behaviors. It identifies anomalous responses using the Isolation Forest algorithm, enabling reliable jailbreak detection. Experimental results show that the proposed method consistently achieves top-tier performance, ranking first or second in accuracy across diverse models using the crafted dataset, while competing approaches exhibit notable sensitivity to model and data variations.

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

↑