← Lab /Security & privacy

Dual-space prompt mutations boost attack success against DeepSeek

Combining semantic and character-level mutations yields higher misuse success rates than single-space attacks on DeepSeek

Security & privacy arXiv 14 Apr 2026 Attack Simulation evidence

Published as “DeepSeek Robustness Against Semantic-Character Dual-Space Mutated Prompt Injection”

Why it matters

Composite semantic-character mutation provides a more realistic red-team assessment, guiding the design of multi-layer defenses for LLM safety.

Summary

Dual-space mutation achieves the strongest overall attack performance, reaching a mean misuse success rate (MSR) of 0.189, a peak MSR of 0.375, and the highest mean Stealth score. It improves mean MSR by 12.5% over semantic-only and 5.6% over character-only attacks, though it does not consistently minimize query cost, with a higher average AQS than single-space baselines.

What they found 3

  1. Dual-space mutation attains the highest mean and peak success rates and best stealth among evaluated strategies.

    “dual-space mutation achieves the strongest overall attack performance among the evaluated strategies, attaining the highest mean MSR (0.189), peak MSR (0.375), and mean Stealth.”

  2. Mean MSR improvement over single-space baselines is 12.5% (semantic) and 5.6% (character).

    “Compared with semantic-only and character-only mutation, it improves mean MSR by 12.5% and 5.6%, respectively.”

  3. Dual-space mutation has higher average query cost than single-space methods.

    “its mean AQS is 36.5, compared with 34.1 for semantic-only and 34.8 for character-only.”

Caveats 3

  • Dual-space mutation does not achieve the lowest mean AQS, indicating it is not consistently more query-efficient than semantic-only or character-only attacks.
  • The current evaluation is restricted to a general-purpose LLM setting and does not cover domain-specific deployments or specialized defense mechanisms.
  • the query budget is limited to 200, constraining the analysis of long-horizon adaptive attacks.

What’s new here 4

  • Combines semantic rewriting and character-level obfuscation in a unified dual-space mutation framework.
  • Introduces a hybrid ε-greedy and hill-climbing search strategy to efficiently explore the high-dimensional attack space.
  • Provides a unified evaluation protocol with three metrics (MSR, AQS, Stealth) for systematic black-box robustness testing of Chinese LLMs like DeepSeek.
  • Offers a pluggable operator library and visualization tools for reproducible red-team assessments.