← Lab /AI/ML

Activation path length reveals multi-turn prompt injections, raising detection to 93.8%

An activation-level signature called adversarial restlessness can reliably detect multi-turn prompt-injection attacks.

AI/ML arXiv 30 Apr 2026 Method Prototype evidence

Published as “Latent Adversarial Detection: Adaptive Probing of LLM Activations for Multi-Turn Attack Detection”

Why it matters

The method enables early, low-false-positive detection of multi-turn jailbreaks for operators who can instrument the target LLM, offering a practical defense layer beyond text-only filters.

Summary

Latent Adversarial Detection (LAD) detects multi-turn jailbreaks by measuring a trajectory signature in LLM residual activations, achieving 93.8% detection on synthetic held-out data and 89.4% detection at 2.4% false-positive rate on a mixed real-world/synthetic test set. The evidence is strong on synthetic and three model families (24B-70B) but drops to 47-71% on real-world LMSYS data and probes do not transfer across architectures.

What they found 4

  1. Scalar trajectory features raise detection from 76.2% to 93.8% on synthetic data

    “Five scalar trajectory features capturing this signal lift conversation-level detection from 76.2% to 93.8% on synthetic held-out data.”

  2. Combined three-source training yields 89.4% detection at 2.4% false-positive rate on a held-out mixed set

    “Combined three-source training achieves 89.4% detection at 2.4% false positive rate on a held-out mixed set.”

  3. Real-world LMSYS detection ranges from 47% to 71% when its distribution is represented in training

    “with detection on real-world LMSYS reaching 47-71% when its distribution is represented in training.”

  4. Probes are model-specific and do not transfer across architectures

    “Probes are modelspecific and do not transfer across architectures.”

Caveats 8

  • Detection on real-world LMSYS data is substantially lower (47-71%) than on synthetic data.
  • Probes trained on one model family achieve near-random performance on other families (off-diagonal F1 ≈50%).
  • Synthetic-only trained probes incur a 99.1% false-positive rate on LMSYS-Chat-1M.
  • Using only binary conversation-level labels yields 50-59% false positives, undermining practical deployment.
  • White-box access is required.
  • Probes are modelspecific and do not transfer across architectures.
  • LMSYS detection remains lower (47-71%).
  • deployment requires a cold-start period of labeled data per target model.

What’s new here 4

  • Detects adversarial intent via activation trajectory dynamics rather than surface text.
  • Introduces three-phase turn-level labels (benign, pivoting, adversarial) for early detection.
  • Shows model-specific probes that require per-model training but generalize across model sizes.
  • Combines raw activations with five scalar trajectory features in a lightweight XGBoost classifier.