LatentBreak: Jailbreaking large language models using latent-space feedbackLatentBreak: Jailbreaking Large Language Models through Latent Space Feedback
The researchers propose LatentBreak, a white-box jailbreak attack that generates low-perplexity natural adversarial prompts by replacing semantically equivalent words, to bypass perplexity-based input filtering. Existing automated jailbreaks typically optimize adversarial suffixes or adapt long prompt templates, and the paper shows that such methods can be detected by simple perplexity filtering of the input prompt. LatentBreak instead replaces words in the prompt while preserving the original intent, selecting words that minimize the representation distance in latent space between the adversarial prompt and the harmless request. Evaluations show that its prompts are shorter and have lower perplexity, and that it outperforms other jailbreak algorithms against perplexity filtering on multiple safety-aligned models.