paperbot · PL 论文追踪

全部论文 待读 收藏

P2 AdaptiveGuard: Towards Adaptive Runtime Safety for LLM-Powered Software

AdaptiveGuard:面向 LLM 驱动软件的自适应运行时安全
ASE 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE)2025匹配度 2/10 · 论文聚焦 LLM 部署后的越狱攻击防御与运行时护栏,属于 LLM 安全/持续学习方向,而非静态分析、形式化验证、浮点程序分析或贝叶斯程序分析,也未以 Agentic 程序或代码分析为核心对象。仅与“LLM 驱动软件安全”有边缘关联,与研究画像核心问题不匹配。引用 0 inbox
Rui Yang, Michael Fu, Chakkrit Tantithamthavorn, Chetan Arora, Gunel Gulmammadova, Joey Chua
crossref: 2026-09-12

AI 速览

一句话:提出自适应护栏 AdaptiveGuard,通过 OOD 检测与持续学习在部署后动态防御新型越狱攻击。

LLM 驱动软件依赖护栏过滤不安全提示,但已有护栏面对未见越狱攻击时性能会从 95% 骤降至 12%,部署后如何动态适应新威胁成为关键挑战。本文提出 AdaptiveGuard,将新型越狱攻击视为分布外(OOD)输入进行检测,并利用持续学习框架在少量更新步骤内学习防御策略。实验表明,AdaptiveGuard 达到 96% 的 OOD 检测准确率,仅需两步更新即可适应新攻击,且在适应后仍保持超过 85% 的分布内 F1 分数,优于其他基线。作者开源了系统与数据集。

问题
现有 LLM 护栏面对未见越狱攻击时泛化能力差,难以在部署后动态适应不断演化的威胁。
方法
将新型越狱攻击建模为 OOD 输入进行检测,并通过持续学习框架让护栏在少量更新步骤内学习防御新攻击。
评估
在越狱攻击数据集上评估 OOD 检测准确率、适应新攻击所需更新步数,以及适应后分布内数据的 F1 分数,并与基线方法对比。
原文摘要(Abstract)

Guardrails are critical for the safe deployment of Large Language Models (LLMs)-powered software. Unlike traditional rule-based systems with limited, predefined input-output spaces that inherently constrain unsafe behavior, LLMs enable open-ended, intelligent interactions—opening the door to jailbreak attacks through user inputs. Guardrails serve as a protective layer, filtering unsafe prompts before they reach the LLM. However, prior research shows that jailbreak attacks can still succeed over 70% of the time, even against advanced models like GPT-4o. While guardrails such as LlamaGuard report up to 95% accuracy, our preliminary analysis shows their performance can drop sharply—to as low as 12%—when confronted with unseen attacks. This highlights a growing software engineering challenge: how to build a post-deployment guardrail that adapts dynamically to emerging threats? To address this, we propose AdaptiveGuard, an adaptive guardrail that detects novel jailbreak attacks as out-of-distribution (OOD) inputs and learns to defend against them through a continual learning framework. Through empirical evaluation, AdaptiveGuard achieves 96% OOD detection accuracy, adapts to new attacks in just two update steps, and retains over 85% F1-score on in-distribution data post-adaptation, outperforming other baselines. These results demonstrate that AdaptiveGuard is a guardrail capable of evolving in response to emerging jailbreak strategies post deployment. We release our AdaptiveGuard and studied datasets at https://github.com/awsm-research/AdaptiveGuard to support further research.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot9267,
  title = {AdaptiveGuard: Towards Adaptive Runtime Safety for LLM-Powered Software},
  author = {Rui Yang and Michael Fu and Chakkrit Tantithamthavorn and Chetan Arora and Gunel Gulmammadova and Joey Chua},
  booktitle = {ASE},
  year = {2025},
  doi = {10.1109/ase63991.2025.00279}
}