ROSE Doesn't Do That: Boosting the Safety of Instruction-Tuned Large Language Models with Reverse Prompt Contrastive Decoding
Not on the map. Why?
Abstract (arXiv)
With the development of instruction-tuned large language models (LLMs), improving the safety of LLMs has become more critical. However, the current approaches for aligning the LLMs output with expected safety usually require substantial training efforts, e.g., high-quality safety data and expensive computational resources, which are costly and inefficient. To this end, we present reverse prompt contrastive decoding (ROSE), a simple-yet-effective method to directly boost the safety of existing instruction-tuned LLMs without any additional training. The principle of ROSE is to improve the probability of desired safe output via suppressing the undesired output induced by the carefully-designed reverse prompts. Experiments on 6 safety and 2 general-purpose tasks show that, our ROSE not only brings consistent and significant safety improvements (up to +13.8% safety score) upon 5 types of instruction-tuned LLMs, but also benefits the general-purpose ability of LLMs. In-depth analyses explore the underlying mechanism of ROSE, and reveal when and where to use it.
Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). Builds on 31 of its 49 references that are in the map. First posted on arXiv 19 Feb 2024.
Builds on
31 of 49 references.
References · 31
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
- 2023Qwen Technical Reportcited by 3,273
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2018Hierarchical Neural Story Generationcited by 1,182
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
- 2023AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedbackcited by 738
19 more
- 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 630
- 2024TinyLlama: An Open-Source Small Language Modelcited by 604
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
- 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 478
- 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generationcited by 439
- 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 434
- 2023Trusting Your Evidence: Hallucinate Less with Context-aware Decodingcited by 319
- 2023Principle-Driven Self-Alignment of Language Models from Scratch with Minimal Human Supervisioncited by 318
- 2023Efficient and Effective Text Encoding for Chinese LLaMA and Alpacacited by 302
- 2023Exploiting Programmatic Behavior of LLMs: Dual-Use Through Standard Security Attackscited by 268
- 2023Secrets of RLHF in Large Language Models Part I: PPOcited by 226
- 2023Red-Teaming Large Language Models using Chain of Utterances for Safety-Alignmentcited by 213
- 2022On Second Thought, Let's Not Think Step by Step! Bias and Toxicity in Zero-Shot Reasoningcited by 191
- 2023The Capacity for Moral Self-Correction in Large Language Modelscited by 171
- 2023Can ChatGPT Understand Too? A Comparative Study on ChatGPT and Fine-tuned BERTcited by 155
- 2023Towards Making the Most of ChatGPT for Machine Translationcited by 138
- 2023Error Analysis Prompting Enables Human-Like Translation Evaluation in Large Language Modelscited by 87
- 2023CValues: Measuring the Values of Chinese Large Language Models from Safety to Responsibilitycited by 80
- 2023Mitigating Hallucinations and Off-target Machine Translation with Source-Contrastive and Language-Contrastive Decodingcited by 42
Built on by
Citing papers per year: 2024: 13; 2025: 14; 2026: 5.
32 papers.
Sort:
By area:
- 2025From System 1 to System 2: A Survey of Reasoning Large Language Modelscited by 319
- 2024The Art of Saying No: Contextual Noncompliance in Language Modelscited by 100
- 2025AdaSteer: Your Aligned LLM is Inherently an Adaptive Jailbreak Defendercited by 37
- 2024No Two Devils Alike: Unveiling Distinct Mechanisms of Fine-tuning Attackscited by 28
- 2025Beware of Your Po! Measuring and Mitigating AI Safety Risks in Role-Play Fine-Tuning of LLMscited by 22
- 2024Towards Comprehensive Post Safety Alignment of Large Language Models via Safety Patchingcited by 16
- 2025On Almost Surely Safe Alignment of Large Language Models at Inference-Timecited by 13
- 2024Unlocking Decoding-time Controllability: Gradient-Free Multi-Objective Alignment with Contrastive Promptscited by 9
- 2024Diversity Helps Jailbreak Large Language Modelscited by 9
- 2024Safety Alignment of Large Language Models via Contrasting Safe and Harmful Distributionscited by 8
- 2025Privacy-Aware Decoding: Mitigating Privacy Leakage of Large Language Models in Retrieval-Augmented Generationcited by 8
- 2024mathbbUSCD: Improving Code Generation of LLMs by Uncertainty-Aware Selective Contrastive Decodingcited by 6
20 more
- 2024ReflectDiffu:Reflect between Emotion-intent Contagion and Mimicry for Empathetic Response Generation via a RL-Diffusion Frameworkcited by 6
- 2024Evaluating Implicit Bias in Large Language Models by Attacking From a Psychometric Perspectivecited by 5
- 2024Recent Advances in Attack and Defense Approaches of Large Language Modelscited by 5
- 2025CARE: Decoding Time Safety Alignment via Rollback and Introspection Interventioncited by 5
- 2025Enhancing Input-Label Mapping in In-Context Learning with Contrastive Decodingcited by 4
- 2024Building Accurate Translation-Tailored LLMs with Language Aware Instruction Tuningcited by 3
- 2025Evolutionary Guided Decoding: Iterative Value Refinement for LLMscited by 3
- 2025DP-GTR: Differentially Private Prompt Protection via Group Text Rewritingcited by 2
- 2025Chinese Toxic Language Mitigation via Sentiment Polarity Consistent Rewritescited by 2
- 2024On the Transformations across Reward Model, Parameter Update, and In-Context Promptcited by 1
- 2024What's New in My Data? Novelty Exploration via Contrastive Generationcited by 1
- 2025FALCON: Fine-grained Activation Manipulation by Contrastive Orthogonal Unalignment for Large Language Modelcited by 1
- 2025LaPA2: Length-Aware Prefix and Prompt Attention Augmentation for Long-Form Controllable Text Generationcited by 1
- 2025Exploring and Mitigating Fawning Hallucinations in Large Language Modelscited by 1
- 2026The Geometry of Refusal: Linear Instability in Safety-Aligned LLMscited by 1
- 2025Reasoning-Aware Multimodal Fusion for Hateful Video Detectioncited by 0
- 2026A Systematic Study of Training-Free Methods for Trustworthy Large Language Modelscited by 0
- 2026Please refuse to answer me! Mitigating Over-Refusal in Large Language Models via Adaptive Contrastive Decodingcited by 0
- 2026Efficient Low-Resource Language Adaptation via Multi-Source Dynamic Logit Fusioncited by 0
- 2026Beyond Tokens: A Survey on Decoding Methods for Large Language and Vision-Language Modelscited by 0
- 2026Beyond Tokens: A Survey on Decoding Methods for Large Language and Vision-Language Models14 Aug 2026
- 2026The Geometry of Refusal: Linear Instability in Safety-Aligned LLMs21 Jun 2026
- 2026Efficient Low-Resource Language Adaptation via Multi-Source Dynamic Logit Fusion20 Apr 2026
- 2026Please refuse to answer me! Mitigating Over-Refusal in Large Language Models via Adaptive Contrastive Decoding18 Apr 2026
- 2026A Systematic Study of Training-Free Methods for Trustworthy Large Language Models17 Apr 2026
- 2025Reasoning-Aware Multimodal Fusion for Hateful Video Detection2 Dec 2025
- 2025CARE: Decoding Time Safety Alignment via Rollback and Introspection Intervention1 Sep 2025
- 2025Exploring and Mitigating Fawning Hallucinations in Large Language Models31 Aug 2025
- 2025LaPA2: Length-Aware Prefix and Prompt Attention Augmentation for Long-Form Controllable Text Generation6 Aug 2025
- 2025Privacy-Aware Decoding: Mitigating Privacy Leakage of Large Language Models in Retrieval-Augmented Generation5 Aug 2025
- 2025Chinese Toxic Language Mitigation via Sentiment Polarity Consistent Rewrites21 May 2025
- 2025AdaSteer: Your Aligned LLM is Inherently an Adaptive Jailbreak Defender13 Apr 2025
20 more
- 2025DP-GTR: Differentially Private Prompt Protection via Group Text Rewriting6 Mar 2025
- 2025Evolutionary Guided Decoding: Iterative Value Refinement for LLMs4 Mar 2025
- 2025Beware of Your Po! Measuring and Mitigating AI Safety Risks in Role-Play Fine-Tuning of LLMs28 Feb 2025
- 2025From System 1 to System 2: A Survey of Reasoning Large Language Models24 Feb 2025
- 2025Enhancing Input-Label Mapping in In-Context Learning with Contrastive Decoding19 Feb 2025
- 2025FALCON: Fine-grained Activation Manipulation by Contrastive Orthogonal Unalignment for Large Language Model3 Feb 2025
- 2025On Almost Surely Safe Alignment of Large Language Models at Inference-Time3 Feb 2025
- 2024Diversity Helps Jailbreak Large Language Models6 Nov 2024
- 2024What's New in My Data? Novelty Exploration via Contrastive Generation18 Oct 2024
- 2024ReflectDiffu:Reflect between Emotion-intent Contagion and Mimicry for Empathetic Response Generation via a RL-Diffusion Framework16 Sep 2024
- 2024mathbbUSCD: Improving Code Generation of LLMs by Uncertainty-Aware Selective Contrastive Decoding9 Sep 2024
- 2024Recent Advances in Attack and Defense Approaches of Large Language Models5 Sep 2024
- 2024Unlocking Decoding-time Controllability: Gradient-Free Multi-Objective Alignment with Contrastive Prompts9 Aug 2024
- 2024The Art of Saying No: Contextual Noncompliance in Language Models2 Jul 2024
- 2024Safety Alignment of Large Language Models via Contrasting Safe and Harmful Distributions24 Jun 2024
- 2024On the Transformations across Reward Model, Parameter Update, and In-Context Prompt24 Jun 2024
- 2024Evaluating Implicit Bias in Large Language Models by Attacking From a Psychometric Perspective20 Jun 2024
- 2024No Two Devils Alike: Unveiling Distinct Mechanisms of Fine-tuning Attacks25 May 2024
- 2024Towards Comprehensive Post Safety Alignment of Large Language Models via Safety Patching22 May 2024
- 2024Building Accurate Translation-Tailored LLMs with Language Aware Instruction Tuning21 Mar 2024
- 2025AdaSteer: Your Aligned LLM is Inherently an Adaptive Jailbreak Defendercited by 37
- 2024No Two Devils Alike: Unveiling Distinct Mechanisms of Fine-tuning Attackscited by 28
- 2024Towards Comprehensive Post Safety Alignment of Large Language Models via Safety Patchingcited by 16
- 2025On Almost Surely Safe Alignment of Large Language Models at Inference-Timecited by 13
- 2024Unlocking Decoding-time Controllability: Gradient-Free Multi-Objective Alignment with Contrastive Promptscited by 9
- 2024Safety Alignment of Large Language Models via Contrasting Safe and Harmful Distributionscited by 8
- 2025CARE: Decoding Time Safety Alignment via Rollback and Introspection Interventioncited by 5
- 2024On the Transformations across Reward Model, Parameter Update, and In-Context Promptcited by 1
- 2025FALCON: Fine-grained Activation Manipulation by Contrastive Orthogonal Unalignment for Large Language Modelcited by 1
- 2026The Geometry of Refusal: Linear Instability in Safety-Aligned LLMscited by 1
- 2026Please refuse to answer me! Mitigating Over-Refusal in Large Language Models via Adaptive Contrastive Decodingcited by 0
- 2026The Geometry of Refusal: Linear Instability in Safety-Aligned LLMs21 Jun 2026
- 2026Please refuse to answer me! Mitigating Over-Refusal in Large Language Models via Adaptive Contrastive Decoding18 Apr 2026
- 2025CARE: Decoding Time Safety Alignment via Rollback and Introspection Intervention1 Sep 2025
- 2025AdaSteer: Your Aligned LLM is Inherently an Adaptive Jailbreak Defender13 Apr 2025
- 2025FALCON: Fine-grained Activation Manipulation by Contrastive Orthogonal Unalignment for Large Language Model3 Feb 2025
- 2025On Almost Surely Safe Alignment of Large Language Models at Inference-Time3 Feb 2025
- 2024Unlocking Decoding-time Controllability: Gradient-Free Multi-Objective Alignment with Contrastive Prompts9 Aug 2024
- 2024Safety Alignment of Large Language Models via Contrasting Safe and Harmful Distributions24 Jun 2024
- 2024On the Transformations across Reward Model, Parameter Update, and In-Context Prompt24 Jun 2024
- 2024No Two Devils Alike: Unveiling Distinct Mechanisms of Fine-tuning Attacks25 May 2024
- 2024Towards Comprehensive Post Safety Alignment of Large Language Models via Safety Patching22 May 2024
- 2024Diversity Helps Jailbreak Large Language Modelscited by 9
- 2024Diversity Helps Jailbreak Large Language Models6 Nov 2024
- 2024The Art of Saying No: Contextual Noncompliance in Language Modelscited by 100
- 2025Beware of Your Po! Measuring and Mitigating AI Safety Risks in Role-Play Fine-Tuning of LLMscited by 22
- 2024mathbbUSCD: Improving Code Generation of LLMs by Uncertainty-Aware Selective Contrastive Decodingcited by 6
- 2024ReflectDiffu:Reflect between Emotion-intent Contagion and Mimicry for Empathetic Response Generation via a RL-Diffusion Frameworkcited by 6
- 2024Evaluating Implicit Bias in Large Language Models by Attacking From a Psychometric Perspectivecited by 5
- 2024Recent Advances in Attack and Defense Approaches of Large Language Modelscited by 5
- 2025Enhancing Input-Label Mapping in In-Context Learning with Contrastive Decodingcited by 4
- 2024Building Accurate Translation-Tailored LLMs with Language Aware Instruction Tuningcited by 3
- 2025Evolutionary Guided Decoding: Iterative Value Refinement for LLMscited by 3
- 2025DP-GTR: Differentially Private Prompt Protection via Group Text Rewritingcited by 2
- 2025Chinese Toxic Language Mitigation via Sentiment Polarity Consistent Rewritescited by 2
- 2024What's New in My Data? Novelty Exploration via Contrastive Generationcited by 1
12 most cited of 16 All 16 (JSON)
- 2026Efficient Low-Resource Language Adaptation via Multi-Source Dynamic Logit Fusion20 Apr 2026
- 2026A Systematic Study of Training-Free Methods for Trustworthy Large Language Models17 Apr 2026
- 2025Exploring and Mitigating Fawning Hallucinations in Large Language Models31 Aug 2025
- 2025LaPA2: Length-Aware Prefix and Prompt Attention Augmentation for Long-Form Controllable Text Generation6 Aug 2025
- 2025Chinese Toxic Language Mitigation via Sentiment Polarity Consistent Rewrites21 May 2025
- 2025DP-GTR: Differentially Private Prompt Protection via Group Text Rewriting6 Mar 2025
- 2025Evolutionary Guided Decoding: Iterative Value Refinement for LLMs4 Mar 2025
- 2025Beware of Your Po! Measuring and Mitigating AI Safety Risks in Role-Play Fine-Tuning of LLMs28 Feb 2025
- 2025Enhancing Input-Label Mapping in In-Context Learning with Contrastive Decoding19 Feb 2025
- 2024What's New in My Data? Novelty Exploration via Contrastive Generation18 Oct 2024
- 2024ReflectDiffu:Reflect between Emotion-intent Contagion and Mimicry for Empathetic Response Generation via a RL-Diffusion Framework16 Sep 2024
- 2024mathbbUSCD: Improving Code Generation of LLMs by Uncertainty-Aware Selective Contrastive Decoding9 Sep 2024
12 newest of 16 All 16 (JSON)