Reproduce “SALSA: Sampling Adversarial Suffixes from Learned Distributions for LLM Safety Assessment” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Shivank Rajput, Himanshu Singh, A. V. Subramanyam

SALSA generates query-agnostic adversarial suffixes by learning from 1,686 previously successful GCG-derived suffixes and sampling new candidates, rather than optimizing for each query. On 100 AdvBench prompts with 100 samples per prompt, it reaches a 45% attack success rate on GPT-4o, versus 22% for multi-model-trained AmpleGCG-Plus. Direct corpus sampling reaches 32%; overlapping confidence intervals limit this comparison.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.