arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.00451cs.CRcs.AIcs.LGcs.MA
收藏

面向“设计即安全”的生成式AI范式的行动倡议

A Call to Action for a Secure-by-Design Generative AI Paradigm

University of Arizona(亚利桑那大学)

Dalal Alharthi, Ivan Roberto Kawaminami Garcia

AI总结:

针对大语言模型易受提示注入等攻击的问题,提出本体驱动的PromptShield框架,通过语义验证标准化输入,在AWS云日志实验中实现约94%的精确率、召回率与F1值,兼顾安全与性能,可跨领域应用,推动生成式AI设计即安全范式发展。

摘要:

大语言模型已获得广泛关注,但其易受提示注入及其他对抗性攻击的问题仍是关键隐患。本文倡导一种“设计即安全”的AI范式,可在提升性能的同时主动缓解大语言模型(LLM)的漏洞。为实现这一目标,我们提出了PromptShield——一种本体驱动的框架,可确保确定性且安全的提示交互。它通过语义验证对用户输入进行标准化,消除歧义并抵御对抗性操纵。为评估PromptShield的安全性与性能表现,我们在一个基于智能体的系统上开展了实验,用于分析亚马逊云科技(AWS)内的云日志,这些日志包含493起与恶意活动和异常相关的不同事件。通过模拟提示注入攻击并评估部署PromptShield的效果,结果显示模型安全性与性能均得到显著提升,精确率、召回率和F1值均达到约94%。值得注意的是,这种基于本体的框架不仅能缓解对抗性威胁,还能提升系统的整体性能与可靠性。此外,PromptShield的模块化、可适配的设计确保其适用性不局限于云安全领域,可作为可靠方案保障各领域生成式AI应用的安全。通过为AI安全标准奠定基础并为未来政策制定提供参考,本研究推动了关于确定性提示工程与基于本体的验证在确保高风险环境中LLM安全、负责任部署方面关键作用的重要讨论。

英文摘要:

Large language models have gained widespread prominence, yet their vulnerability to prompt injection and other adversarial attacks remains a critical concern. This paper argues for a security-by-design AI paradigm that proactively mitigates LLM vulnerabilities while enhancing performance. To achieve this, we introduce PromptShield, an ontology-driven framework that ensures deterministic and secure prompt interactions. It standardizes user inputs through semantic validation, eliminating ambiguity and mitigating adversarial manipulation. To assess PromptShield's security and performance capabilities, we conducted an experiment on an agent-based system to analyze cloud logs within Amazon Web Services (AWS), containing 493 distinct events related to malicious activities and anomalies. By simulating prompt injection attacks and assessing the impact of deploying PromptShield, our results demonstrate a significant improvement in model security and performance, achieving precision, recall, and F1 scores of approximately 94%. Notably, the ontology-based framework not only mitigates adversarial threats but also enhances the overall performance and reliability of the system. Furthermore, PromptShield's modular and adaptable design ensures its applicability beyond cloud security, making it a robust solution for safeguarding generative AI applications across various domains. By laying the groundwork for AI safety standards and informing future policy development, this work stimulates a crucial dialogue on the pivotal role of deterministic prompt engineering and ontology-based validation in ensuring the safe and responsible deployment of LLMs in high-stakes environments.

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

↑