arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2511.07645cs.SEcs.AIcs.CR
收藏

为大语言模型动态安全设计的自改进架构

A Self-Improving Architecture for Dynamic Safety in Large Language Models

Georgia Institute of Technology(佐治亚理工学院)

Tyler Slater

AI总结:

本文提出自改进安全框架SISF,通过反馈循环实现LLM系统在运行时自动检测安全故障并生成防御策略,实验显示其能有效降低攻击成功率,提升系统鲁棒性。

摘要:

上下文:大语言模型(LLMs)依赖静态的安全机制,无法适应发布后发现的对抗性威胁。目标:设计一种软件架构,使基于LLM的系统能够在运行时自主检测安全故障并生成防御策略,而无需重新训练或人工干预。方法:我们提出自改进安全框架(SISF),基于MAPE-K参考模型。该框架将目标LLM与反馈循环结合:Adjudicator检测违规行为,Policy Synthesis Module生成双机制防御策略(启发式和语义),Warden执行这些策略。我们进行了七次实验(10,061次评估)覆盖四个模型家族。结果:在五次可重复性试验中,SISF的平均攻击成功率(ASR)为0.27%(±0.15%),每试验自动生成240项策略。跨模型评估确认了部署的可移植性。一个保留测试显示,对未见过的攻击有68.5%的主动拦截率。在Llama Guard 4后,联合防御将残余ASR从7.88%降至0.00%。消融分析证实了启发式和语义策略类型在架构上的必要性。结论:自适应架构是LLM安全的一种可行方法。SISF通过同步输出监控实现亚1%的ASR,通过MAPE-K循环逐步将执行转移至快速本地Warden策略,提供了一种构建健壮AI系统的新模式。

英文摘要:

Context: Large Language Models (LLMs) rely on static, pre-deployment safety mechanisms that cannot adapt to adversarial threats discovered after release. Objective: To design a software architecture enabling LLM-based systems to autonomously detect safety failures and synthesize defense policies at runtime, without retraining or manual intervention. Method: We propose the Self-Improving Safety Framework (SISF), grounded in the MAPE-K reference model. The framework couples a target LLM with a feedback loop: an Adjudicator detects breaches, a Policy Synthesis Module generates dual-mechanism defense policies (heuristic and semantic), and a Warden enforces them. We conducted seven experiments (10,061 evaluations) across four model families. Results: Across five reproducibility trials, SISF achieved a mean Attack Success Rate (ASR) of 0.27% (+/-0.15%), autonomously generating 240 policies per trial. Cross-model evaluation confirmed deployment portability. A held-out test showed a 68.5% proactive interception rate on unseen attacks. Stacked behind Llama Guard 4, the combined defense reduced residual ASR from 7.88% to 0.00%. Ablation confirmed both heuristic and semantic policy types are architecturally required. Conclusion: Self-adaptive architecture is a viable approach to LLM safety. SISF achieves sub-1% ASR through synchronous output monitoring, progressively shifting enforcement to fast, local Warden policies via the MAPE-K loop, offering a new pattern for building resilient AI systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑