paper-with-me

홈 › Papers

Embedding Poisoning: Bypassing Safety Alignment via Embedding Semantic Shift

2025-09-08 · Shuai Yuan, Zhibo Zhang, Yuxi Li, Guangdong Bai, Wang Kailong arxiv

The widespread distribution of Large Language Models (LLMs) through public platforms like Hugging Face introduces significant security challenges. While these platforms perform basic security scans, they often fail to detect subtle manipulations within the embedding layer. This work identifies a novel class of deployment phase attacks that exploit this vulnerability by injecting imperceptible perturbations directly into the embedding layer outputs without modifying model weights or input text. These perturbations, though statistically benign, systematically bypass safety alignment mechanisms and induce harmful behaviors during inference. We propose Search based Embedding Poisoning(SEP), a practical, model agnostic framework that introduces carefully optimized perturbations into embeddings associated with high risk tokens. SEP leverages a predictable linear transition in model responses, from refusal to harmful output to semantic deviation to identify a narrow perturbation window that evades alignment safeguards. Evaluated across six aligned LLMs, SEP achieves an average attack success rate of 96.43% while preserving benign task performance and evading conventional detection mechanisms. Our findings reveal a critical oversight in deployment security and emphasize the urgent need for embedding level integrity checks in future LLM defense strategies.

📄 PDF Abstract BibTeX arXiv:2509.06338

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Circumventing Safety Alignment in Large Language Models Through Embedding Space Toxicity Attenuation

2025-07-08 · Zhibo Zhang, Yuxi Li, Kailong Wang, Shuai Yuan 외 arxiv

Large Language Models (LLMs) have achieved remarkable success across domains such as healthcare, education, and cybersecurity. However, this openness also introduces significant security risks, particularly through embed…

SEA: Low-Resource Safety Alignment for Multimodal Large Language Models via Synthetic Embeddings

2025-02-18 · Weikai Lu, Hao Peng, Huiping Zhuang, Cen Chen 외

Multimodal Large Language Models (MLLMs) have serious security vulnerabilities.While safety alignment using multimodal datasets consisting of text and data of additional modalities can effectively enhance MLLM's security…

GPUSafety Alignment

Adversarial Attack on Network Embeddings via Supervised Network Poisoning

2021-02-14 · Viresh Gupta, Tanmoy Chakraborty

Learning low-level node embeddings using techniques from network representation learning is useful for solving downstream tasks such as node classification and link prediction. An important consideration in such applicat…

Adversarial AttackLink PredictionNetwork EmbeddingNode Classification+1

Embedded Safety-Aligned Intelligence via Differentiable Internal Alignment Embeddings

2025-12-20 · Harsh Rathva, Ojas Srivastava, Pruthwik Mishra arxiv

We introduce Embedded Safety-Aligned Intelligence (ESAI), a theoretical framework for multi-agent reinforcement learning that embeds alignment constraints directly into agents internal representations using differentiabl…

Multi-agent Reinforcement Learning

Does Vec2Text Pose a New Corpus Poisoning Threat?

2024-10-09 · Shengyao Zhuang, Bevan Koopman, Guido Zuccon

The emergence of Vec2Text -- a method for text embedding inversion -- has raised serious privacy concerns for dense retrieval systems which use text embeddings. This threat comes from the ability for an attacker with acc…

Retrieval