跳到主要导航 跳到搜索 跳到主要内容

LLM-Agnostic Semantic Representation Attack

  • Jiawei Lian
  • , Jianhong Pan
  • , Lefan Wang
  • , Yi Wang
  • , Tairan Huang
  • , Shaohui Mei
  • , Lap Pui Chau
  • Northwestern Polytechnical University Xian
  • PolyU
  • City University of Hong Kong

科研成果: 期刊稿件 › 文章 › 同行评审

摘要

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., “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 a Coherence-Convergence Relationship and a Cross-Model Semantic Generalization bound that characterize semantic convergence and 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 naturalness in the evaluated settings.

学术指纹

探究 'LLM-Agnostic Semantic Representation Attack' 的科研主题。它们共同构成独一无二的学术指纹。

引用此