arXiv:2605.08898cs.CLcs.AI2026-05

用语义攻击绕过大模型安全防护,成功率超99%。

LLM-Agnostic Semantic Representation Attack

论文配图:LLM-Agnostic Semantic Representation Attack
图 1 · 摘自论文原文
  • 从精准文本匹配转向恶意语义构造,突破传统方法局限。
  • 在26个开源模型上平均攻击成功率99.71%,跨模型迁移性强。
  • 保持提示自然性与可解释性,适合研究模型安全的学者。

大型语言模型(LLMs)普遍采用对齐技术防止有害输出,但攻击者可通过设计对抗性提示绕过这些防护。现有基于词元级优化的方法多依赖精确肯定模板(如“当然,这是……”),常面临收敛不佳、提示不自然、跨模型泛化差等问题。为此,本文提出语义表示攻击(SRA),一种全新的无模型依赖范式,将对抗目标从精确文本匹配重构为恶意语义表征。理论上,我们建立了语义一致性-收敛关系,并推导出跨模型语义泛化界,证明维持语义一致性可同时保障白盒语义收敛与黑盒可迁移性。技术上,通过语义表示启发式搜索(SRHS)算法,在增量离散词块扩展中保持提示的可解释性与结构连贯性。大量实验表明,该框架在26个开源LLM上实现99.71%的平均攻击成功率,具备强迁移性与隐蔽性。

原文摘要 · Abstract (English)

Large Language Models (LLMs) increasingly employ alignment techniques to prevent harmful outputs. Despite these safeguards, attackers can circumvent them by crafting adversarial prompts. Predominant token-level optimization methods primarily rely on optimizing for exact affirmative templates (e.g., ``\textit{Sure, here is...}''). However, these paradigms frequently encounter bottlenecks such as suboptimal convergence, compromised prompt naturalness, and poor cross-model generalization. To address these limitations, we propose Semantic Representation Attack (SRA), a novel LLM-agnostic paradigm that fundamentally reconceptualizes adversarial objectives from exact textual targeting to malicious semantic representations. Theoretically, we establish the semantic Coherence-Convergence Relationship and derive a Cross-Model Semantic Generalization bound, proving that maintaining semantic coherence guarantees both white-box semantic convergence and black-box transferability. Technically, we operationalize this framework via the Semantic Representation Heuristic Search (SRHS) algorithm, which preserves interpretability and structural coherence of the adversarial prompts during incremental discrete token chunk expansion. Extensive evaluations demonstrate that our framework achieves a 99.71% average attack success rate across 26 open-source LLMs, with strong transferability and stealth.

对抗攻击大模型安全语义攻击

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。