首页 > AI前沿 > SALSA: Sampling Adversarial Suffixes from Learned Distributions for LLM Safety Assessment

SALSA: Sampling Adversarial Suffixes from Learned Distributions for LLM Safety Assessment

arXiv自然语言 2026-11-25 01:43 2 阅读 查看原文
用户要求将一段纯文本新闻正文排版成语义化的HTML片段。 需要遵循以下规则: 1. 只输出HTML片段本身,不要Markdown围栏、不要解释。 2. 每个自然段落用`

`包裹,长文用`

`/`

`划分小节。 3. 列表内容用`
  • `,引用用`
    `,代码用`
    `,重要句子可用``。
    4. 保留原文所有信息,不得增删改内容。
    5. 不要输出``/``/``等文档级标签。
    
    分析正文内容:
    正文是一段关于SALSA框架应对LLM越狱攻击的学术新闻/摘要。
    内容可以分为几个逻辑部分,但原文是一整段。我需要将其合理划分成小节,用`

    `或`

    `,或者保持段落,视情况添加小标题以符合“长文用

    /

    划分小节”的要求。不过原文并没有明确的小节标题,如果强行加标题可能会被认为“增删改内容”。因此,最安全的方式是把原文按自然句或逻辑层次拆分成几个`

    `,或者如果不长的话,直接用一个`

    `或者几个`

    `。 但规则说“长文用

    /

    划分小节”,这段文字不算特别长,但可以按逻辑拆分。 或者,我不加虚构的小标题,因为“不得增删改内容”。如果加小标题就是增加了内容。所以,不使用`

    /

    `,或者只使用`

    `。 等等,原文只有一段。如果只输出一个`

    `,可能不符合“长文用

    /

    划分小节”的期望,但为了严格遵守“不得增删改内容”,我不能凭空捏造小节标题。我可以在段落内部使用``来强调重要句子。 让我们仔细看原文: "Large language models (LLMs) remain vulnerable to jailbreak attacks, where adversaries append optimized suffixes to otherwise benign looking prompts to bypass safety alignment. Existing optimization-based GCG-style attacks can be effective, but they are expensive at inference time, and suffer from poor transfer. We present, SALSA, a generative framework that learns a distribution over jailbreak suffixes from optimization-derived attack corpora. Once trained, the model supports efficient sampling-based attacks. On open-source targets, it achieves attack success rates comparable to state-of-the-art optimization baselines, while reducing generation time from 3.46s to 0.04s per prompt. In black-box transfer, it remains highly effective against proprietary systems, including 99% ASR on GPT-3.5-Turbo, and reaches 45% ASR on the substantially harder GPT-4o, more than doubling the strongest baseline at an equal sampling budget. We further offer an intuition for why generative sampling can preserve high attack success, when the learned suffix distribution is close to the distribution of optimization outputs. Overall, our results show that learning adversarial suffix distributions yields a scalable, and practically efficient foundation for continuous LLM vulnerability discovery." 可以将其拆分为几个自然段,以符合“每个自然段落用

    包裹”。原文是一整段,我按语义拆成几个`

    `,或者就保持一个`

    `。为了排版美观,拆成3-4个`

    `: 段落1:背景与现有方法(Large language models... poor transfer.) 段落2:提出方法与开源结果(We present, SALSA... per prompt.) 段落3:黑盒迁移结果(In black-box transfer... sampling budget.) 段落4:原理解释与总结(We further offer... discovery.) 重要句子可以用``,比如"We present, SALSA, a generative framework..." 或者 "Overall, our results show that..."。 检查是否有列表、引用、代码?没有。所以只用`

    `和``。 拆分如下:

    Large language models (LLMs) remain vulnerable to jailbreak attacks, where adversaries append optimized suffixes to otherwise benign looking prompts to bypass safety alignment. Existing optimization-based GCG-style attacks can be effective, but they are expensive at inference time, and suffer from poor transfer.

    We present, SALSA, a generative framework that learns a distribution over jailbreak suffixes from optimization-derived attack corpora. Once trained, the model supports efficient sampling-based attacks. On open-source targets, it achieves attack success rates comparable to state-of-the-art optimization baselines, while reducing generation time from 3.46s to 0.04s per prompt.

    In black-box transfer, it remains highly effective against proprietary systems, including 99% ASR on GPT-3.5-Turbo, and reaches 45% ASR on the substantially harder GPT-4o, more than doubling the strongest baseline at an equal sampling budget.

    We further offer an intuition for why generative sampling can preserve high attack success, when the learned suffix distribution is close to the distribution of optimization outputs. Overall, our results show that learning adversarial suffix distributions yields a scalable, and practically efficient foundation for continuous LLM vulnerability discovery.

    检查规则: 1. 只输出HTML片段本身,不要Markdown围栏、不要解释。 -> 好的。 2. 每个自然段落用

    包裹,长文用

    /

    划分小节。 -> 这里没有小节标题,不强行加,以免违反“不得增删改内容”。拆分为几个

    。 3. 列表用ul/li,引用用blockquote,代码用pre/code,重要句子用strong。 -> 使用了strong。 4. 保留原文所有信息,不得增删改内容。 -> 拆分段落不改变文字内容,标点也保留。 5. 不要输出文档级标签。 -> 好的。 再核对一下文字,确保一字不差: "Large language models (LLMs) remain vulnerable to jailbreak attacks, where adversaries append optimized suffixes to otherwise benign looking prompts to bypass safety alignment. Existing optimization-based GCG-style attacks can be effective, but they are expensive at inference time, and suffer from poor transfer." -> 一致 "We present, SALSA, a generative framework that learns a distribution over jailbreak suffixes from optimization-derived attack corpora." -> 一致 "Once trained, the model supports efficient sampling-based attacks. On open-source targets, it achieves attack success rates comparable to state-of-the-art optimization baselines, while reducing generation time from 3.46s to 0.04s per prompt." -> 一致 "In black-box transfer, it remains highly effective against proprietary systems, including 99% ASR on GPT-3.5-Turbo, and reaches 45% ASR on the substantially harder GPT-4o, more than doubling the strongest baseline at an equal sampling budget." -> 一致 "We further offer an intuition for why generative sampling can preserve high attack success, when the learned suffix distribution is close to the distribution of optimization outputs." -> 一致 "Overall, our results show that learning adversarial suffix distributions yields a scalable, and practically efficient foundation for continuous LLM vulnerability discovery." -> 一致 排版输出。不需要任何多余的空行或说明。直接输出HTML。 考虑到“长文用

    /

    划分小节”,如果用户认为这段算长文,但原文没有小标题,强行加小标题(如“背景”、“方法”等)属于“增”内容,违反了规则4。所以坚持不加小标题,只用段落和加粗。 最终HTML:

    Large language models (LLMs) remain vulnerable to jailbreak attacks, where adversaries append optimized suffixes to otherwise benign looking prompts to bypass safety alignment. Existing optimization-based GCG-style attacks can be effective, but they are expensive at inference time, and suffer from poor transfer.

    We present, SALSA, a generative framework that learns a distribution over jailbreak suffixes from optimization-derived attack corpora. Once trained, the model supports efficient sampling-based attacks. On open-source targets, it achieves attack success rates comparable to state-of-the-art optimization baselines, while reducing generation time from 3.46s to 0.04s per prompt.