DistillSeq: A Framework for Safety Alignment Testing in Large Language Models using Knowledge Distillation
Mingke Yang, Yuqi Chen, Yi Liu, Ling Shi

TL;DR
DistillSeq is a cost-effective framework that enhances safety testing of large language models by transferring moderation knowledge to smaller models and employing novel attack strategies, significantly improving testing efficiency.
Contribution
The paper introduces DistillSeq, a new framework that reduces testing costs and improves attack success rates in safety evaluation of LLMs through knowledge distillation and innovative query generation methods.
Findings
Attack success rates increased by up to 93% with DistillSeq.
DistillSeq effectively transfers moderation knowledge to small models.
The framework reduces resource requirements for LLM safety testing.
Abstract
Large Language Models (LLMs) have showcased their remarkable capabilities in diverse domains, encompassing natural language understanding, translation, and even code generation. The potential for LLMs to generate harmful content is a significant concern. This risk necessitates rigorous testing and comprehensive evaluation of LLMs to ensure safe and responsible use. However, extensive testing of LLMs requires substantial computational resources, making it an expensive endeavor. Therefore, exploring cost-saving strategies during the testing phase is crucial to balance the need for thorough evaluation with the constraints of resource availability. To address this, our approach begins by transferring the moderation knowledge from an LLM to a small model. Subsequently, we deploy two distinct strategies for generating malicious queries: one based on a syntax tree approach, and the other…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Reliability and Analysis Research
