Layerwise Convergence Fingerprints for Runtime Misbehavior Detection in Large Language Models
On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks
also in 1 more
Abstract (arXiv)
Large language models deployed at runtime can misbehave in ways that clean-data validation cannot anticipate: training-time backdoors lie dormant until triggered, jailbreaks subvert safety alignment, and prompt injections override the deployer's instructions. Existing runtime defenses address these threats one at a time and often assume a clean reference model, trigger knowledge, or editable weights, assumptions that rarely hold for opaque third-party artifacts. We introduce Layerwise Convergence Fingerprinting (LCF), a tuning-free runtime monitor that treats the inter-layer hidden-state trajectory as a health signal: LCF computes a diagonal Mahalanobis distance on every inter-layer difference, aggregates via Ledoit-Wolf shrinkage, and thresholds via leave-one-out calibration on 200 clean examples, with no reference model, trigger knowledge, or retraining. Evaluated on four architectures (Llama-3-8B, Qwen2.5-7B, Gemma-2-9B, Qwen2.5-14B) across backdoors, jailbreaks, and prompt injection (56 backdoor combinations, 3 jailbreak techniques, and BIPIA email + code-QA), 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, detects 92-100% of DAN jailbreaks (62-100% for GCG and softer role-play), and flags 100% of text-payload injections across all eight (model, domain) cells, at 12-16% backdoor FPR and <0.1% inference overhead. A single aggregation score covers all three threat families without threat-specific tuning, positioning LCF as a general-purpose runtime safety layer for cloud-served and on-device LLMs.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 29 of its 34 references that are in the map. First posted on arXiv 27 Apr 2026.
Builds on
29 of 34 references.
Closest ancestors · 1
Same direction, newest first
Other references · 28
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,106
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 623
- 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 580
- 2018Spectral Signatures in Backdoor Attackscited by 484
- 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 459
- 2023DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Modelscited by 376
- 2023Poisoning Language Models During Instruction Tuningcited by 269
- 2023Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Modelscited by 264
- 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 263
- 2021Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Triggercited by 222
16 more
- 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfercited by 158
- 2023Backdooring Instruction-Tuned Large Language Models with Virtual Prompt Injectioncited by 157
- 2021SPECTRE: Defending Against Backdoor Attacks Using Robust Statisticscited by 130
- 2024Not All Layers of LLMs Are Necessary During Inferencecited by 96
- 2024Transformers represent belief state geometry in their residual streamcited by 77
- 2024BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks and Defenses on Large Language Modelscited by 50
- 2024Tracing Representation Progression: Analyzing and Enhancing Layer-Wise Similaritycited by 36
- 2024CROW: Eliminating Backdoors from Large Language Models via Internal Consistency Regularizationcited by 33
- 2024PURE: Turning Polysemantic Neurons Into Pure Features by Identifying Relevant Circuitscited by 29
- 2024CleanGen: Mitigating Backdoor Attacks for Generation Tasks in Large Language Modelscited by 24
- 2024BadActs: A Universal Backdoor Defense in the Activation Spacecited by 21
- 2024LLMScan: Causal Scan for LLM Misbehavior Detectioncited by 13
- 2025Backdoor Attribution: Elucidating and Controlling Backdoor in Language Modelscited by 10
- 2025ConfGuard: A Simple and Effective Backdoor Detection for Large Language Modelscited by 9
- 2025Exposing the Ghost in the Transformer: Abnormal Detection for Large Language Models via Hidden State Forensicscited by 6
- 2025Mechanistic Exploration of Backdoored Large Language Model Attention Patternscited by 3
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Patcher: Post-Hoc Patching of Backdoored Large Language Models
- 2025SafeMERGE: Preserving Safety Alignment in Fine-Tuned Large Language Models via Selective Layer-Wise Model Merging
- 2024Jailbreak Antidote: Runtime Safety-Utility Balance via Sparse Representation Adjustment in Large Language Models
- 2026Continual Safety Alignment via Gradient-Based Sample Selection
- 2026Understanding and Preserving Safety in Fine-Tuned LLMs
- 2026HyperSafe: Inference-Time Safety Recovery for Fine-Tuned Language Models
- 2026PRISM: Transfer and Limits of Activation Interventions in Tool-Calling Language Models
- 2025SABER: Uncovering Vulnerabilities in Safety Alignment via Cross-Layer Residual Connection