Understanding the Effectiveness of Coverage Criteria for Large Language Models: A Special Angle from Jailbreak Attacks
On the map: LLM safety and security → Jailbreaking
Abstract (arXiv)
Large language models (LLMs) have revolutionized artificial intelligence, but their increasing deployment across critical domains has raised concerns about their abnormal behaviors when faced with malicious attacks. Such vulnerability alerts the widespread inadequacy of pre-release testing. In this paper, we conduct a comprehensive empirical study to evaluate the effectiveness of traditional coverage criteria in identifying such inadequacies, exemplified by the significant security concern of jailbreak attacks. Our study begins with a clustering analysis of the hidden states of LLMs, revealing that the embedded characteristics effectively distinguish between different query types. We then systematically evaluate the performance of these criteria across three key dimensions: criterion level, layer level, and token level. Our research uncovers significant differences in neuron coverage when LLMs process normal versus jailbreak queries, aligning with our clustering experiments. Leveraging these findings, we propose three practical applications of coverage criteria in the context of LLM security testing. Specifically, we develop a real-time jailbreak detection mechanism that achieves high accuracy (93.61% on average) in classifying queries as normal or jailbreak. Furthermore, we explore the use of coverage levels to prioritize test cases, improving testing efficiency by focusing on high-risk interactions and removing redundant tests. Lastly, we introduce a coverage-guided approach for generating jailbreak attack examples, enabling systematic refinement of prompts to uncover vulnerabilities. This study improves our understanding of LLM security testing, enhances their safety, and provides a foundation for developing more robust AI applications.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 42 of its 55 references that are in the map. First posted on arXiv 27 Aug 2024.
Builds on
42 of 55 references.
Closest ancestors · 12
Same direction, newest first
- 2024PARDEN, Can You Repeat That? Defending against Jailbreaks via Repetition13 May
- 2024JailBreakV: A Benchmark for Assessing the Robustness of MultiModal Large Language Models against Jailbreak Attacks3 Apr
- 2024Pandora: Jailbreak GPTs by Retrieval Augmented Generation Poisoning13 Feb
- 2023DeepInception: Hypnotize Large Language Model to Be Jailbreaker6 Nov
- 2023AutoDAN: Interpretable Gradient-Based Adversarial Attacks on Large Language Models23 Oct
- 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
- 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attacks5 Oct
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts19 Sep
- 2023Certifying LLM Safety against Adversarial Prompting6 Sep
- 2023Detecting Language Model Attacks with Perplexity27 Aug
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
- 2023MasterKey: Automated Jailbreak Across Multiple Large Language Model Chatbots16 Jul
Other references · 30
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2023AGIEval: A Human-Centric Benchmark for Evaluating Foundation Modelscited by 716
- 2023Instruction Tuning with GPT-4cited by 686
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
- 2017DeepXplore: Automated Whitebox Testing of Deep Learning Systemscited by 311
- 2023LLM Self Defense: By Self Examination, LLMs Know They Are Being Trickedcited by 244
- 2023Does Synthetic Data Generation of LLMs Help Clinical Text Mining?cited by 154
- 2018DeepGauge: Multi-Granularity Testing Criteria for Deep Learning Systemscited by 147
18 more
- 2018Guiding Deep Learning System Testing using Surprise Adequacycited by 124
- 2022ReCode: Robustness Evaluation of Code Generation Modelscited by 103
- 2023Can GPT-3 Perform Statutory Reasoning?cited by 73
- 2018TensorFuzz: Debugging Neural Networks with Coverage-Guided Fuzzingcited by 68
- 2024Towards Understanding Safety Alignment: A Mechanistic Perspective from Safety Neuronscited by 53
- 2024Perception-guided Jailbreak against Text-to-Image Modelscited by 40
- 2024Glitch Tokens in Large Language Models: Categorization Taxonomy and Effective Detectioncited by 29
- 2020Reducing DNN Labelling Cost using Surprise Adequacy: An Industrial Case Study for Autonomous Drivingcited by 22
- 2022LMentry: A Language Model Benchmark of Elementary Language Taskscited by 22
- 2024NLPerturbator: Studying the Robustness of Code LLMs to Natural Language Variationscited by 20
- 2023Beyond Classification: Financial Reasoning in State-of-the-Art Language Modelscited by 19
- 2022NPC: Neuron Path Coverage via Characterizing Decision Logic of Deep Neural Networkscited by 18
- 2024Drowzee: Metamorphic Testing for Fact-Conflicting Hallucination Detection in Large Language Modelscited by 14
- 2024Identifying Query-Relevant Neurons in Large Language Models for Long-Form Textscited by 14
- 2024Exploring ChatGPT App Ecosystem: Distribution, Deployment and Securitycited by 12
- 2021Revisiting Neuron Coverage for DNN Testing: A Layer-Wise and Distribution-Aware Criterioncited by 11
- 2024Your Large Language Model is Secretly a Fairness Proponent and You Should Prompt it Like Onecited by 11
- 2024GlitchProber: Advancing Effective Detection and Mitigation of Glitch Tokens in Large Language Modelscited by 5
Built on by
Citing papers per year: 2025: 5; 2026: 3.
8 papers.
- 2025Exposing the Ghost in the Transformer: Abnormal Detection for Large Language Models via Hidden State Forensicscited by 6
- 2025Rethinking Autonomy: Preventing Failures in AI-Driven Software Engineeringcited by 4
- 2025Circumventing Safety Alignment in Large Language Models Through Embedding Space Toxicity Attenuationcited by 2
- 2026ASEval: Automated Trajectory-Level Security Testing for Autonomous Agentscited by 2
- 2025Clotho: Measuring Task-Specific Pre-Generation Test Adequacy for LLM Inputscited by 1
- 2026Depth Charge: Jailbreak Large Language Models from Deep Safety Attention Headscited by 1
- 2025Exploiting Latent Space Discontinuities for Building Universal LLM Jailbreaks and Data Extraction Attackscited by 0
- 2026RACC: Representation-Aware Coverage Criteria for LLM Safety Testingcited by 0
- 2026ASEval: Automated Trajectory-Level Security Testing for Autonomous Agents21 May 2026
- 2026Depth Charge: Jailbreak Large Language Models from Deep Safety Attention Heads6 Mar 2026
- 2026RACC: Representation-Aware Coverage Criteria for LLM Safety Testing2 Feb 2026
- 2025Exploiting Latent Space Discontinuities for Building Universal LLM Jailbreaks and Data Extraction Attacks1 Nov 2025
- 2025Clotho: Measuring Task-Specific Pre-Generation Test Adequacy for LLM Inputs22 Sep 2025
- 2025Rethinking Autonomy: Preventing Failures in AI-Driven Software Engineering15 Aug 2025
- 2025Circumventing Safety Alignment in Large Language Models Through Embedding Space Toxicity Attenuation8 Jul 2025
- 2025Exposing the Ghost in the Transformer: Abnormal Detection for Large Language Models via Hidden State Forensics1 Apr 2025
Similar, not cited
Close in wording, no citation either way
- 2026SoK: Robustness in Large Language Models against Jailbreak Attacks
- 2025Evolving Security in LLMs: A Study of Jailbreak Attacks and Defenses
- 2024Bag of Tricks: Benchmarking of Jailbreak Attacks on LLMs
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Survey
- 2025Do Methods to Jailbreak and Defend LLMs Generalize Across Languages?
- 2024A Comprehensive Study of Jailbreak Attack versus Defense for Large Language Models
- 2024Revisiting Jailbreaking for Large Language Models: A Representation Engineering Perspective
- 2025Exploring Jailbreak Attacks on LLMs through Intent Concealment and Diversion