Pith. sign in

REVIEW 1 cited by

Fight Back Against Jailbreaking via Prompt Adversarial Tuning

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2402.06255 v4 pith:IWAO2GTC submitted 2024-02-09 cs.LG cs.AIcs.CLcs.CR

classification cs.LGcs.AIcs.CLcs.CR
keywords promptadversarialattacksdefenseachievebenigncontroljailbreaking
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

While Large Language Models (LLMs) have achieved tremendous success in various applications, they are also susceptible to jailbreaking attacks. Several primary defense strategies have been proposed to protect LLMs from producing harmful information, mostly focusing on model fine-tuning or heuristical defense designs. However, how to achieve intrinsic robustness through prompt optimization remains an open problem. In this paper, motivated by adversarial training paradigms for achieving reliable robustness, we propose an approach named Prompt Adversarial Tuning (PAT) that trains a prompt control attached to the user prompt as a guard prefix. To achieve our defense goal whilst maintaining natural performance, we optimize the control prompt with both adversarial and benign prompts. Comprehensive experiments show that our method is effective against both grey-box and black-box attacks, reducing the success rate of advanced attacks to nearly 0%, while maintaining the model's utility on the benign task and incurring only negligible computational overhead, charting a new perspective for future explorations in LLM security. Our code is available at https://github.com/PKU-ML/PAT.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. MetaSC: Test-Time Safety Specification Optimization for Language Models

    cs.CL 2025-02 conditional novelty 6.0 of 10

    MetaSC improves language model safety by using a meta-critic to iteratively rewrite the safety specification that guides self-critique at inference time.

Pith tools