Understanding the effectiveness of coverage criteria for large language models: a special perspective from jailbreak attacksUnderstanding the Effectiveness of Coverage Criteria for Large Language Models: A Special Angle from Jailbreak Attacks
AI summary
An empirical study takes jailbreak attacks as a case to evaluate the effectiveness of traditional coverage criteria for large language model safety testing. The study performs clustering analysis on model hidden states, finds that neuron coverage differs significantly when processing normal versus jailbreak queries, and systematically evaluates from three levels: criteria, layers, and tokens. On this basis, three applications are proposed: real-time jailbreak detection with an average accuracy of 93.61%, coverage levels can prioritize test cases, and coverage guidance can generate jailbreak attack samples to discover vulnerabilities.