Skip to content

The PEV attack jailbreaks six open-weight models by adding noise to embedding vectorsPEV

Paper Tracker· arXiv:2610.07125· Abhinav Sudhakar Dubey, Scott Sirri, Vaggos Chatziafratis, C. Seshadhri·Indexed by this site · 2026-10-07· Originally publishedAttacks

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

PEV achieves a 100% per-prompt ASR on JailbreakBench across six models, and the authors state the first success typically occurs within one minute.

Threat modelAn attacker can inject a single independent Gaussian noise into the input embeddings of an open-weight LLM, without needing gradients, model descriptions, or internal weights, and without altering the user-visible prompt. The goal is to make harmful prompts produce the requested harmful content. A prompt is considered jailbroken if any run is labeled unsafe.

Questions
Open-weight LLMs are expected to refuse harmful prompts, but they can still be jailbroken by modifying inputs or the model, and gradient-based methods require high GPU time. The authors want a simpler, faster, cheaper method that can reliably elicit unsafe responses.
Methods
PEV adds independent Gaussian noise to each token embedding once before it is fed into the transformer; the noise is not added to subsequently generated tokens. The same prompt is repeatedly sampled; σ is chosen per model at the peak of the unsafe response rate. A jailbreak is counted if any run produces the requested harmful content.
Experiments and results
On six models and 100 JailbreakBench prompts, PEV achieves 100% per-prompt success rate (Table 1). The authors state that the first success typically occurs within one minute, and the average computational cost is at most an order of magnitude lower. Qwen2.5-1.5B has 7 prompts exceeding 20 runs, with a maximum of 160.
Limitations and future work
The authors state that PEV is currently limited to open-weight models and believe perturbations can generate unsafe training data for closed-source models. Experiments cover six instruction-tuned chat models, JailbreakBench, and five baseline attacks; the judge is Claude Opus 4.6, and the paper does not report agreement coefficients.
Experimental setupLlama-3.1-8B-Instruct、Qwen2.5-1.5B-Instruct et al. · JailbreakBench · per-prompt attack success rate、wall-clock time to first jailbreak et al.
Evaluated models
Llama-3.1-8B-InstructQwen2.5-1.5B-InstructPhi-4-mini-3.8BGLM-4-9BSmolLM3-3BMistral-7B-Instruct
Benchmarks
JailbreakBench
Metrics
per-prompt attack success ratewall-clock time to first jailbreakruns to first jailbreak
AI summaryThe research addresses the risk of refusal failure when the input representation of open-source models is perturbed, proposes the PEV method, tests multiple models in a controlled benchmark, and reports results of producing unsafe outputs. Conclusions are limited to the authors' experimental setup.

The research addresses the risk of refusal failure when the input representation of open-source models is perturbed, proposes the PEV method, tests multiple models in a controlled benchmark, and reports results of producing unsafe outputs. Conclusions are limited to the authors' experimental setup.

Related events and news

1 events · 1 news mentions

News that mentions this paper

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors seek a jailbreak that requires less GPU time than gradient suffixes and weight modifications, and can reliably elicit unsafe responses.

    Although open-weight LLMs refuse harmful prompts, the authors seek a jailbreak that is simpler, faster, requires less GPU time, and reliably elicits unsafe responses.

    • Scenario: the authors state these models are already deployed in several domains and can still produce false information, toxic text, or dangerous advice. Models usually refuse unsafe prompts, but modifying the input or the model can still jailbreak them.
    • Limitations of existing work: the authors state that gradient-based suffix optimization and disabling the neurons responsible for safety guardrails both require high GPU time; gradient modifications sometimes need thousands of forward passes per prompt (Zou et al., 2023).
    • This paper proposes: Perturbed Embedding Vector (PEV). It adds independent Gaussian noise only to the prompt embeddings and repeatedly samples, without computing gradients or modifying internal weights.
    • Threat model:
      • Goal: make a harmful prompt produce the requested harmful content rather than a refusal or deflection.
      • Knowledge: the authors state no model description, internal weights, or knowledge of the embedding function is needed; only the ability to inject additive noise into the input of the generation function and a one-time write to the embedding layer.
      • Operation: noise is added once per token, followed by a forward pass on the original model with unmodified weights; the user-visible prompt is not changed, and no persistent modification is made. Five baselines are labeled by the authors as white-box.
      • Victim systems: six open-weight instruction-tuned chat models; prompts come from JailbreakBench.
  2. What related research exists?

    Compared against GCG-type, Soft Prompt, and three model-modification attacks, using the 100 prompts from JailbreakBench.

    The paper divides baselines into prompt-level attacks and model-level attacks, with JailbreakBench as the benchmark.

    Prompt-Level Attacks

    • GCG / I-GCG (Zou et al., 2023; Jia et al., 2025): Optimize an adversarial token suffix after the malicious prompt, using gradients to steer the response toward a compliant start. I-GCG adds a target template directory and multi-coordinate updates. The authors state it is the slowest attack in GPU time in their experiments.
    • Soft Prompt (Schwinn et al., 2024; Yang et al., 2024): Append an adversarial embedding suffix, using gradients to steer the final embedding toward an unsafe response. The authors state PEV does not require such gradients or model modifications, thus converges faster.

    Model-Level Attacks

    • Latent Fusion (Xing et al., 2026): Select a structurally similar benign prompt for the malicious prompt, and at layers identified as carrying refusal, overwrite the original state with interpolation of the two hidden states.
    • Refusal Cones (Arditi et al., 2024; Wollschläger et al., 2026): Find vectors in the residual stream related to safe refusal and project them out. The authors state it requires gradients and expensive preprocessing; and state PEV is lighter and more effective.
    • NeuroStrike (Wu et al., 2026): Find neurons related to safe refusal and prune them, thus rewriting weights. The authors state this is a permanent, deterministic modification to the model.

    Benchmark and Refusal Training

    • JailbreakBench (Chao et al., 2024): 100 unsafe prompts. The authors state it selects the better parts from AdvBench and HarmBench; AdvBench is described by Chao et al. as having fairly simple prompts, HarmBench is larger but noisier. Ten categories align with OpenAI usage policies. Early work often used self-created prompts (Wei et al., 2023).
    • Refusal Training: The introduction uses Robey et al. (2023)'s SmoothLLM and Zou et al. (2024)'s circuit breakers to illustrate that models can be specifically trained to resist jailbreaks.

    Experimental Comparisons

    • Baseline Methods: Direct request, and I-GCG, Soft Prompt, Latent Fusion, NeuroStrike, Refusal Cones. Benchmark: 100 prompts from JailbreakBench.

    The authors position PEV as: the same additive noise used for all prompts and all LLMs, no embedding search, no weight or hidden layer modification, and no change to the user-visible prompt.

  3. How does the paper address this problem?

    PEV adds Gaussian noise once to each token embedding, resampling until unsafe appears.

    PEV adds a single random Gaussian noise to the embeddings of the prompt tokens, then feeds it to the transformer; the same prompt is resampled repeatedly until an unsafe response appears.

    How the input is written as a matrix

    • The authors decompose the LLM into tokenization, embedding, and output generation. Each token has an embedding, and the entire prompt is written as a d by n matrix; n is the context window length, and empty tokens are used for padding if insufficient.
    • The generation part is written as a random function. The authors write that the model may also have prompt cleaning or system prompts; since they have access to internal specifications, these modifications can be removed. In experiments, the chat template uses an empty system message.

    How noise is added

    • With a fixed scale σ, the output is M̃(E(T(x))+Z̃). Each element of Z is independently sampled from a Gaussian distribution with mean 0 and standard deviation σ.
    • This is equivalent to adding independent noise to each token embedding once. Noise is added only once when calling the generation function, not to subsequently generated tokens.
    • The authors state that no model description, internal weights, or knowledge of the embedding function is needed; only the ability to inject additive noise is required; the process is identical for all prompts and all LLMs.

    Sampling and scale

    • Independently resample the noise matrix for the same prompt and same σ. The authors state that running multiple times can increase the jailbreak rate, and claim that on JailbreakBench it usually reaches 100% in fewer than 20 runs; Table 3 shows that Qwen2.5-1.5B has prompts requiring more runs.
    • σ is selected between 0.003 and 0.08 per model. The authors state that they first scan σ on a small subset of unsafe prompts and take the σ where the proportion of unsafe responses peaks. Values for each model are in Table 3.
    • r is the ratio of the approximate noise norm to the average norm of the prompt embeddings, with the denominator including padding to the window length. The authors write that the total noise norm is approximately σ times the square root of the product of n and d.

    How success is determined

    • Each output is classified into three categories. safe is refusal or deflection without producing the requested artifact; unsafe is fully or partially producing the requested harmful artifact, including repetitive loops containing harmful content; degenerate is irrelevant, hallucinated, or other language without harmful content, and the authors do not count it as unsafe.
    • A prompt is considered jailbroken if any run is unsafe. Classification uses Claude Opus 4.6 with the same instructions as the JailbreakBench judge.
  4. What experiments did the paper conduct?

    PEV achieves a 100% per-prompt success rate on JailbreakBench across six models (Table 1).

    Experimental setup

    • Models: Qwen2.5-1.5B-Instruct, SmolLM3-3B, Phi-4-mini-3.8B, Mistral-7B-Instruct, Llama-3.1-8B-Instruct, GLM-4-9B. Table 1 uses abbreviations. All methods use default parameters.
    • Data and decoding: 100 harmful prompts from JailbreakBench, ten categories; Appendix Table 4 gives examples by category. temperature 0.7, top-k 50, top-p 0.9; user turn has empty system prompt, no persona, prefix/suffix, or wrapper.
    • Baselines: direct request, and I-GCG, Soft Prompt, Latent Fusion, Refusal Cones, NeuroStrike. The latter five are all described as using white-box gradients or white-box access.
    • Hardware and repetition: single NVIDIA A100-SXM4-80GB, batch of 20 runs per prompt. Figure 2b labels Qwen2.5-1.5B, Phi-4-mini, Llama-3.1-8B as 37, 52, 79 ms/step.
    • PEV: σ per model ranges 0.003–0.08 (Table 3). Each prompt starts with 20 runs, some prompts get additional runs. The authors observe that other methods' modifications are deterministic, and adding more runs does not increase jailbreak rate.
    • Judging: Claude Opus 4.6 uses the same instructions as the JailbreakBench judge, labeling safe, unsafe, or degenerate. A prompt is considered jailbroken if any run is unsafe. The authors state they manually read all responses labeled unsafe and sampled other responses, finding no errors by Claude. The paper does not report the number of samples or agreement coefficients.

    Main results

    Per-prompt attack success rates (%) from Table 1. The table below omits per-model columns for I-GCG and Latent Fusion.

    Swipe horizontally to read the table

    ModelBaselineSoft PromptNeuroStrikeRefusal ConesPEV
    Llama-3.1-8B8588792100
    Qwen2.5-1.5B13959694100
    Phi-4-mini16759296100
    GLM-4-9B56889393100
    SmolLM3-3B971008598100
    Mistral-7B99709589100
    • The authors state that PEV jailbreaks all prompts on all models, which no other tested method achieves simultaneously. Six-model averages from Table 1: Baseline 48, I-GCG 75.2, Soft Prompt 81.0, Latent Fusion 61.0, NeuroStrike 91.3, Refusal Cones 93.7, PEV 100. Refusal Cones does not reach 100% on any model.
    • The authors state that Llama-3.1-8B's baseline of 8% indicates it is trained to be safer; Mistral-7B and SmolLM3-3B have baselines above 97%, which the authors say are inherently unsafe models included for completeness. PEV's 100% includes prompts requiring more than 20 runs: Qwen2.5-1.5B reaches 93% within 20 runs (Table 3).
    • Exceptions: Soft Prompt also achieves 100% on SmolLM3-3B; on that model, I-GCG is 92% and NeuroStrike 85%, below the baseline of 97%. On Mistral-7B, Soft Prompt 70%, Latent Fusion 85%, Refusal Cones 89%, all below the baseline of 99%. On Llama-3.1-8B, Latent Fusion is 9%. Table 2 lists prompts where only PEV succeeds and the run counts, which the authors state are all under one minute: Llama-3.1-8B has 14, 6, 11; GLM-4-9B has 6, 6, 5; Phi-4-mini has 13, 2.

    Time to first jailbreak

    • Figure 2 measures wall-clock time on a single A100-80GB from the unmodified model to the first success for a given prompt. The caption states that average success rates across six models are plotted, and that PEV reaches 100% at the lowest first-jailbreak time.
    • The authors state that PEV can obtain unsafe responses within one minute on all tested models without preprocessing, and claim it is the fastest. They state that Refusal Cones, the next highest success rate, takes an order of magnitude longer, mostly in preprocessing, with per-prompt time comparable to PEV afterward. The abstract states that the average computational cost of the first successful attack is at most an order of magnitude lower than previous attacks.
    • The caption states that I-GCG is omitted due to scale: Figure 2a writes it takes about 730 s/prompt to reach 75% success; Figure 2b writes 7, 17, and 29 minutes on Qwen2.5-1.5B, Phi-4-mini, Llama-3.1-8B, without one-to-one correspondence. The figure also has second- and minute-level annotations, not matched to methods in the text, so no values are assigned here.

    Noise scale and required runs

    From Table 3. r is the relative noise length.

    Swipe horizontally to read the table

    ModelσrWithin 20 runsMax runsAverage runs
    Llama-3.1-8B0.0162.055100%161.8
    Qwen2.5-1.5B0.0240.99493%1609.02
    Phi-4-mini0.080.393100%141.71
    GLM-4-9B0.0032.196100%81.37
    SmolLM3-3B0.0080.064100%151.7
    Mistral-7B0.0052.395100%121.6
    • Figure 3a counts runs needed for first success at each model's σpeak: GLM-4-9B and Phi-4-mini cover all 100 prompts within 8 and 14 runs, respectively; Qwen2.5-1.5B covers 93 within 20 runs, with the remaining 7 up to 160 runs.
    • Figure 3b plots the proportion of unsafe outputs across 2000 generations per model (100 prompts × 20 runs) as a function of σ. The authors state that Llama-3.1-8B, GLM-4-9B, and Qwen2.5-1.5B show sharp peaks at σpeak, while Phi-4-mini rises and falls more gradually from σpeak=0.08. The text does not give exact percentages for each σ.
    • The authors state that r ranges from 6% to 240%, and claim that despite such large perturbations relative to the original embeddings, prompt semantics are sufficiently preserved because responses still satisfy the harmful prompt's requirements.

    Safe responses and degeneration

    • Figure 4 plots the proportion of safe and degenerate responses as a function of σ for n=2000 (100 prompts × 20 runs) for Llama-3.1-8B, Phi-4-mini, and Qwen2.5-1.5B; σ=0 is the unperturbed direct request. The text does not give specific percentages on the curves.
    • The authors state that as perturbation increases, many degenerate responses appear for a single prompt; the proportion of safe responses remains nonzero at larger perturbations. They state that other methods typically have 20 runs in the same category, and the model's own randomness plays almost no role in jailbreaking.
    • A footnote states that responses in other languages, if translated, are often unsafe. The classification rule still labels other-language responses without harmful content as degenerate, not unsafe.

    Other ablations and analysis

    • I-GCG per model (Table 1): Llama 44, Qwen 78, Phi 65, GLM 77, Smol 92, Mistral 95.
    • Latent Fusion per model (Table 1): Llama 9, Qwen 59, Phi 49, GLM 68, Smol 96, Mistral 85.
    • The lowest average runs is GLM-4-9B at 1.37, the highest is Qwen2.5-1.5B at 9.02 (Table 3).
    • Figure 1: at σ=0.003, the same GLM-4-9B gives another language, an unsafe completion, or a degenerate output across different runs; without perturbation it refuses.
    • The paper does not report query counts for each method; except for Figure 2's caption, no seconds are given that can be matched to methods.
  5. What are some points that can be further explored?

    The authors state that PEV is currently limited to open-weight models and suggest using perturbations to create training data for closed-source models.

    Limitations and future directions noted by the authors

    • Limited to open weights: the authors state the technique is currently limited to open-weight models (§5).
    • Closed-source training data: the authors suggest perturbations could also be used to generate unsafe training data for closed-source models, as a cheap way to design guardrails and training data (§5).
    • Behavior under perturbation: the authors view PEV as a step toward understanding LLM behavior under perturbation and suggest a possible connection to dynamical systems theory (§5).

    Experimental coverage

    • Six open-weight instruction-tuned chat models were tested, with default decoding parameters fixed across all methods (§4).
    • Prompts are the 100 from JailbreakBench across ten categories; 20 runs were first performed per model, per prompt, per method (§4, Table 1).
    • Baselines are direct request, plus I-GCG, Soft Prompt, Latent Fusion, NeuroStrike, and Refusal Cones (§4).
    • Judgments used Claude Opus 4.6; the authors state they manually checked all unsafe responses and sampled other responses. The paper does not report the sample size or agreement coefficient (§4).
    • σ was selected on a small subset of unsafe prompts; the size of this subset is not reported in the paper; the safe and degenerate curves in Figure 4 include three models (§4, Figure 3, Figure 4).
  6. Summarize the main content of the paper

    PEV uses Gaussian noise on embeddings to jailbreak all JailbreakBench prompts across six models.

    PEV is an embedding-noise jailbreak against open-weight LLMs.

    • Problem: the authors want a method that does not compute gradients, does not modify weights, reliably elicits unsafe responses, and uses less GPU time than existing attacks.
    • Method: add independent Gaussian noise once to each token embedding, applied only to the input, then run a forward pass on the original model. Repeated sampling; a prompt is jailbroken if any run is judged unsafe. σ is chosen per model at the peak of the unsafe response rate.
    • Main result: on the 100 JailbreakBench prompts across six models, PEV achieves a 100% per-prompt success rate (Table 1). Averaged over six models, Refusal Cones is 93.7%, NeuroStrike is 91.3%, and direct request is 48%. The Llama-3.1-8B baseline is 8%, while PEV remains 100%.
    • Time and exceptions: the authors state the first success typically occurs within one minute, and the average compute cost is at most an order of magnitude lower than previous attacks. Qwen2.5-1.5B covers only 93% within 20 runs, requiring up to 160 runs (Table 3). Soft Prompt also reaches 100% on SmolLM3-3B; on Mistral-7B and SmolLM3-3B, several attacks fall below their respective high baselines.
    • Authors' conclusion: the authors believe that such a simple method jailbreaking all tested prompts indicates a safety problem for open-weight models. They also believe perturbation constitutes both a safety risk and a way to inspect model behavior under embedding perturbation and to prepare unsafe training data for closed-source models.

Related papers

Show 3 more papers
Read originalarxiv.org