paper-with-me

홈 › Papers

FLRT: Fluent Student-Teacher Redteaming

2024-07-24 · T. Ben Thompson, Michael Sklar

Many publicly available language models have been safety tuned to reduce the likelihood of toxic or liability-inducing text. To redteam or jailbreak these models for compliance with toxic requests, users and security analysts have developed adversarial prompting techniques. One attack method is to apply discrete optimization techniques to the prompt. However, the resulting attack strings are often gibberish text, easily filtered by defenders due to high measured perplexity, and may fail for unseen tasks and/or well-tuned models. In this work, we improve existing algorithms (primarily GCG and BEAST) to develop powerful and fluent attacks on safety-tuned models like Llama-2 and Phi-3. Our technique centers around a new distillation-based approach that encourages the victim model to emulate a toxified finetune, either in terms of output probabilities or internal activations. To encourage human-fluent attacks, we add a multi-model perplexity penalty and a repetition penalty to the objective. We also enhance optimizer strength by allowing token insertions, token swaps, and token deletions and by using longer attack sequences. The resulting process is able to reliably jailbreak the most difficult target models with prompts that appear similar to human-written prompts. On Advbench we achieve attack success rates $>93$% for Llama-2-7B, Llama-3-8B, and Vicuna-7B, while maintaining model-measured perplexity $<33$; we achieve $95$% attack success for Phi-3, though with higher perplexity. We also find a universally-optimized single fluent prompt that induces $>88$% compliance on previously unseen tasks across Llama-2-7B, Phi-3-mini and Vicuna-7B and transfers to other black-box models.

📄 PDF Abstract BibTeX arXiv:2407.17447

Code (1)

Confirm-Solutions/flrt 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Montessori-Instruct: Generate Influential Training Data Tailored for Student Learning

2024-10-18 · Xiaochuan Li, Zichun Yu, Chenyan Xiong

Synthetic data has been widely used to train large language models, but their generative nature inevitably introduces noisy, non-informative, and misleading learning signals. In this paper, we propose Montessori-Instruct…

Language ModelingLanguage Modelling

Data-augmented cross-lingual synthesis in a teacher-student framework

2022-03-31 · Marcel de Korte, Jaebok Kim, Aki Kunikoshi, Adaeze Adigwe 외

Cross-lingual synthesis can be defined as the task of letting a speaker generate fluent synthetic speech in another language. This is a challenging task, and resulting speech can suffer from reduced naturalness, accented…

ScholarSum: Student-Teacher Abstractive Summarization via Knowledge Graph Reasoning and Reflective Refinement

2026-06-17 · Bohou Zhang, Xiaoyu Tao, Mingyue Cheng, Huijie Liu 외 arxiv

Abstractive summarization plays a crucial role in enabling efficient understanding of scientific literature, yet it inherently demands both linguistic fluency and factual faithfulness. Existing approaches often fail to r…

Residual-as-Teacher: Mitigating Bias Propagation in Student--Teacher Estimation

2026-03-26 · Kakei Yamamoto, Martin J. Wainwright arxiv

We study statistical estimation in a student--teacher setting, where predictions from a pre-trained teacher are used to guide a student model. A standard approach is to train the student to directly match the teacher's o…

Teacher-Guided Student Self-Knowledge Distillation Using Diffusion Model

2026-02-02 · Yu Wang, Chuanguang Yang, Zhulin An, Weilun Feng 외 arxiv

Existing Knowledge Distillation (KD) methods often align feature information between teacher and student by exploring meaningful feature processing and loss functions. However, due to the difference in feature distributi…

Knowledge Distillation