arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.19159cs.CR
收藏

关于变换器对混淆攻击的几何极限:潜在嵌入崩溃与性能鲁棒性差距

On the Geometric Limits of Transformer Defenses against Obfuscation Attacks: Latent Embedding Collapse & Performance Robustness Gap

University of the Pacific(太平洋大学)

Becky Mashaido, Tapadhir Das

AI总结:

本文研究了变换器在对抗混淆攻击时的几何极限,揭示了高检测性能并不等同于表示鲁棒性,通过实验发现潜在嵌入崩溃现象及性能鲁棒性差距,表明现有评估指标未能捕捉到潜在嵌入崩溃和底层几何脆弱性。

摘要:

提示注入攻击对语言模型安全构成重大威胁,但现有防御措施通常通过分类性能进行评估。我们证明高检测性能并不意味着表示鲁棒性。具体而言,多操作符混淆提示(结合同音字、零宽度字符和标点或表情符号噪声)可以部分坍缩到干净提示的嵌入流形上,我们称之为潜在嵌入崩溃。结果表明,在多个具有不同深度和容量的BERT家族编码器上,检测器实现接近完美的分类性能,但最小的干净-混淆边距delta=1.02,表明混淆和干净嵌入几乎重叠。混淆嵌入进一步表现出升高的类内方差(3.33±6.23),表明尽管性能高,但潜在空间存在严重不稳定性。这些结果揭示了显著的性能-鲁棒性差距,表明标准评估指标未能捕捉到潜在嵌入崩溃和底层几何脆弱性。我们的发现表明增加模型容量并不能消除潜在嵌入崩溃,这促使几何意识的鲁棒性分析成为性能基于评估的必要补充。

英文摘要:

Prompt injection attacks pose significant risks to language model safety, yet existing defenses are typically evaluated using classification performance. We show that high detection performance does not imply representational robustness. Specifically, multi-operator obfuscated prompts (combining homoglyphs, zero-width characters, and punctuation or emoji noise) can partially collapse onto the embedding manifold of clean prompts, a phenomenon we term latent embedding collapse. Results indicate that across multiple BERT family encoders with varying depth and capacity, detectors achieve near-perfect classification performance, yet the minimal clean-obfuscated margin delta = 1.02, indicating near-overlap of obfuscated and clean embeddings. Obfuscated embeddings further exhibit elevated intra-class variance (3.33 +/- 6.23), indicating severe latent-space instability despite high performance. These results reveal a substantial perf ormance-robustness gap, demonstrating that standard evaluation metrics fail to capture latent embedding collapse and underlying geometric fragility. Our findings show that increasing model capacity does not eliminate latent embedding collapse, motivating geometry-aware robustness analysis as a necessary complement to performance-based evaluation for prompt-injection defenses.

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

↑