SlotGCG leverages prompt position vulnerabilities to improve LLM jailbreak attack success ratesSlotGCG: Exploiting the Positional Vulnerability in LLMs for Jailbreak Attacks
Translation in progress — untranslated text is omitted.
The researchers propose SlotGCG, which improves jailbreak attack effectiveness by searching for insertion positions of adversarial tokens across the entire prompt. The authors first empirically examine candidate insertion positions (slots) in the prompt, finding that jailbreak vulnerability is highly correlated with position choice. Based on this, they propose the Vulnerable Slot Score (VSS) to quantify the attackability of each position, then select the most vulnerable position for targeted optimization attacks. This method is attack-agnostic and can be inserted into any optimization-based attack, adding only 200ms of preprocessing time. Experiments on multiple models show that its attack success rate is 14% higher than GCG-based attacks, converges faster, and is 42% higher than baselines against defense methods. The implementation code is publicly available, and the paper has been accepted by ICLR 2026.
- GCG-type jailbreaking fixes adversarial tokens at the prompt suffix. The authors want to determine whether other insertion positions make it easier for the model to give harmful responses, and to choose the attack location accordingly.
- Place probe tokens at each insertion slot, compute VSS using attention from upper layers to after-chat template tokens, allocate adversarial tokens by softmax, then do GCG-style optimization. The authors say this search is decoupled from the specific attack, and preprocessing adds 200ms.
- On AdvBench 50 items and six open-source models, most cells in Table 1 rise, while Vicuna's AttnGCG and others decrease. In Table 3, under perplexity filtering, ASR is 0.0%; the model is not written. For GPT-3.5-turbo transfer, ASRGPT goes from 3.09% to 50.77%.
- The paper does not specifically discuss limitations. The main experiments are on 6 open-source models and 50 AdvBench items; Table 3 does not specify the target model; transfer is reported only as ASRGPT on 388 items. The paper does not report cost in terms of number of queries.
Related papers
- Safety Alignment Should Be Made More Than Just a Few Tokens DeepAnalysis / interpretabilityICLR 2025