Probing the safety response boundaries of large language models by generating unsafe decoding pathsProbing the Safety Response Boundary of Large Language Models via Unsafe Decoding Path Generation
AI summary
The researchers propose a decoding strategy named Jailbreak Value Decoding (JVD), which uses a cost value model to guide an originally safe large language model to output harmful content during decoding. The model is trained on external or self-generated harmful datasets and can serve as both detector and attacker. Without attaching any harmful suffix, LLaMA-2-chat 7B outputs 39.18% specific toxic content, with a refusal rate of only 22.16%. The authors state that these hidden weaknesses can also be exploited through prompt optimization methods such as image soft prompts, and that seemingly safe models may be used to collect harmful data or launch covert attacks.