TAO-Attack: Toward Advanced Optimization-Based Jailbreak Attacks for Large Language Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Xu, Zhi, Li, Jiaqi, Zhang, Xiaotong, Yu, Hong, Liu, Han
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915831571546112
author Xu, Zhi
Li, Jiaqi
Zhang, Xiaotong
Yu, Hong
Liu, Han
author_facet Xu, Zhi
Li, Jiaqi
Zhang, Xiaotong
Yu, Hong
Liu, Han
contents Large language models (LLMs) have achieved remarkable success across diverse applications but remain vulnerable to jailbreak attacks, where attackers craft prompts that bypass safety alignment and elicit unsafe responses. Among existing approaches, optimization-based attacks have shown strong effectiveness, yet current methods often suffer from frequent refusals, pseudo-harmful outputs, and inefficient token-level updates. In this work, we propose TAO-Attack, a new optimization-based jailbreak method. TAO-Attack employs a two-stage loss function: the first stage suppresses refusals to ensure the model continues harmful prefixes, while the second stage penalizes pseudo-harmful outputs and encourages the model toward more harmful completions. In addition, we design a direction-priority token optimization (DPTO) strategy that improves efficiency by aligning candidates with the gradient direction before considering update magnitude. Extensive experiments on multiple LLMs demonstrate that TAO-Attack consistently outperforms state-of-the-art methods, achieving higher attack success rates and even reaching 100\% in certain scenarios.
format Preprint
id arxiv_https___arxiv_org_abs_2603_03081
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle TAO-Attack: Toward Advanced Optimization-Based Jailbreak Attacks for Large Language Models
Xu, Zhi
Li, Jiaqi
Zhang, Xiaotong
Yu, Hong
Liu, Han
Computation and Language
Large language models (LLMs) have achieved remarkable success across diverse applications but remain vulnerable to jailbreak attacks, where attackers craft prompts that bypass safety alignment and elicit unsafe responses. Among existing approaches, optimization-based attacks have shown strong effectiveness, yet current methods often suffer from frequent refusals, pseudo-harmful outputs, and inefficient token-level updates. In this work, we propose TAO-Attack, a new optimization-based jailbreak method. TAO-Attack employs a two-stage loss function: the first stage suppresses refusals to ensure the model continues harmful prefixes, while the second stage penalizes pseudo-harmful outputs and encourages the model toward more harmful completions. In addition, we design a direction-priority token optimization (DPTO) strategy that improves efficiency by aligning candidates with the gradient direction before considering update magnitude. Extensive experiments on multiple LLMs demonstrate that TAO-Attack consistently outperforms state-of-the-art methods, achieving higher attack success rates and even reaching 100\% in certain scenarios.
title TAO-Attack: Toward Advanced Optimization-Based Jailbreak Attacks for Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2603.03081