← Lab /AI/ML

Layerwise convergence fingerprinting cuts backdoor success below 1% and catches most jailbreaks

LCF can reliably detect backdoors, jailbreaks, and prompt injections at runtime without model-specific tuning

AI/ML arXiv 27 Apr 2026 Defense Prototype evidence

Published as “Layerwise Convergence Fingerprints for Runtime Misbehavior Detection in Large Language Models”

Why it matters

LCF offers a practical, low-overhead runtime safety layer for cloud-served and on-device LLMs without needing reference models or trigger data.

Summary

LCF detects runtime misbehavior in LLMs, cutting mean backdoor attack success rate to below 1% on Qwen2.5-7B and Gemma-2 and flagging 92-100% of DAN jailbreaks, while incurring <0.1% inference overhead. The evidence comes from evaluations on four 7-14B models across 56 backdoor combos, three jailbreak techniques, and prompt-injection benchmarks, compared against five baseline defenses. However, detection is less reliable on Llama-3 (mean ASR 4.2%) and the calibrated false-positive rate exceeds the 10% target (12-15%).

What they found 2

  1. Backdoor attack success rate reduced to below 1% on two models

    “LCF reduces mean backdoor attack success rate (ASR) below 1% on Qwen2.5-7B and Gemma-2 and to 1.3% on Qwen2.5-14B”

  2. High detection rates for DAN jailbreaks

    “detects 92-100% of DAN jailbreaks (62-100% for GCG and softer role-play)”

Caveats 6

  • On Llama-3 the mean ASR is 4.2% and two refusal combinations retain elevated ASR (BadNet 12%, CTBA 30%)
  • The leave-one-out threshold overshoots the 10% target, yielding backdoor FPR 12.5-15.7%, jailbreak 13-22%, and prompt-injection 13-19%
  • We evaluate four 7-14B models; scaling to 32B/70B remains future work.
  • LCF requires 200 calibration examples matched to the deployment domain (a generic instruction-tuning set does not transfer to email or code-QA; Appendix G)
  • the LOO threshold overshoots the 10% target (backdoor 12.5-15.7%, jailbreak 13-22%, prompt-injection 13-19%) due to finite-sample variance at n=200.
  • Coverage is one benchmark per family (BackdoorLLM, JailbreakBench + DAN/Roleplay, BIPIA); adaptive attacks (Section 6) cover only backdoor training, and input-level adaptive attacks on jailbreaks and prompt injections are future work.

What’s new here 3

  • A tuning-free, threat-agnostic monitor that requires only white-box hidden-state access and a small clean calibration set.
  • All-layer diagonal Mahalanobis scoring aggregated with Ledoit-Wolf shrinkage, eliminating the need for a reference model or trigger knowledge.
  • A single unified detection score that covers backdoors, jailbreaks, and prompt injections without per-threat tuning.