ROSE Doesn't Do That: Reverse Prompt Contrastive Decoding Improves the Safety of Instruction-Tuned Large Language ModelsROSE Doesn't Do That: Boosting the Safety of Instruction-Tuned Large Language Models with Reverse Prompt Contrastive Decoding
AI summary
ROSE proposes a reverse-prompt contrastive decoding method that requires no additional training, delivering up to +13.8% improvement in safety scores across 5 types of instruction-tuned large language models. It raises the probability of desired safe outputs by suppressing undesired outputs induced by carefully designed reverse prompts. On 6 safety tasks and 2 general tasks, ROSE also improves general capabilities.