arXiv:2409.07489cs.CRcs.AI2024-09被引 14

用大模型自动生成更可靠的访问控制策略,减少人工出错。

RAGent: Retrieval-based Access Control Policy Generation

  • 基于检索增强生成,从文档中提取访问需求
  • 生成策略的F1达77.9%,验证后提升至80.6%
  • 支持复杂策略组件,适合安全系统开发者

手动从组织的高层需求规范中生成访问控制策略面临巨大挑战,需大量人力梳理多份文档并转化需求,且规范的复杂性与模糊性常导致管理员误操作,引发数据泄露。现有自动化框架因缺乏领域适配性而不可靠。为此,本文提出RAGent,一种基于语言模型的检索式访问控制策略生成框架。RAGent以87.9%的平均F1分数识别高层需求中的访问要求;通过检索增强生成,将需求转化为策略,达到77.9%的F1分数。与现有方法不同,RAGent能生成含目的、条件等复杂组件的策略。此外,其引入新型验证-优化机制,自动验证并迭代优化策略,使可靠性提升3%,最终达80.6%的F1分数。本文还构建了三个标注数据集,缓解该领域数据稀缺问题。

原文摘要 · Abstract (English)

Manually generating access control policies from an organization's high-level requirement specifications poses significant challenges. It requires laborious efforts to sift through multiple documents containing such specifications and translate their access requirements into access control policies. Also, the complexities and ambiguities of these specifications often result in errors by system administrators during the translation process, leading to data breaches. However, the automated policy generation frameworks designed to help administrators in this process are unreliable due to limitations, such as the lack of domain adaptation. Therefore, to improve the reliability of access control policy generation, we propose RAGent, a novel retrieval-based access control policy generation framework based on language models. RAGent identifies access requirements from high-level requirement specifications with an average state-of-the-art F1 score of 87.9%. Through retrieval augmented generation, RAGent then translates the identified access requirements into access control policies with an F1 score of 77.9%. Unlike existing frameworks, RAGent generates policies with complex components like purposes and conditions, in addition to subjects, actions, and resources. Moreover, RAGent automatically verifies the generated policies and iteratively refines them through a novel verification-refinement mechanism, further improving the reliability of the process by 3%, reaching the F1 score of 80.6%. We also introduce three annotated datasets for developing access control policy generation frameworks in the future, addressing the data scarcity of the domain.

访问控制大模型应用安全自动化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。