Non-textual objective attack NTA: a gradient jailbreak method for LLMsNonTextual Target Attack
The authors propose a non-textual objective attack, NTA, which uses a non-textual constrained objective to maximize the probability that LLM outputs are unsafe, and no longer requires the model to output a preset response. The attack decomposes the objective into two constrained sub-objectives and approximates them with two differentiable unconstrained losses, iteratively optimizing the response and the adversarial prompt near the original prompt; the paper provides a theoretical analysis supporting this decomposition. The authors claim this is the first gradient-based non-textual objective prompt optimization attack. On AdvBench, using only 100 optimization iterations, NTA achieves an average attack success rate of 96.8% against recently safety-aligned LLMs, more than 40% higher than the strongest existing gradient attack.