面向利用大语言模型进行ABAC策略挖掘的探索
Towards Harnessing the Power of LLMs for ABAC Policy Mining
AI总结:
本文研究了大语言模型在ABAC策略挖掘中的应用,发现其在小规模场景有效,但随着规模扩大,准确性下降且策略规模增大。
摘要:
本文对大型语言模型(LLMs)在自动化基于属性的访问控制(ABAC)策略挖掘中的能力进行了实证研究。尽管ABAC提供细粒度、上下文感知的访问管理,但随着访问策略数量和复杂性的增加,其制定和评估变得相当具有挑战性。为了解决合成简洁且准确的策略的任务,我们评估了某些最先进的LLMs,特别是Google Gemini(Flash和Pro)和OpenAI ChatGPT,作为潜在的策略挖掘引擎。开发了一个用Python编写的实验框架,生成随机访问数据,参数化为不同数量的主体、客体和初始策略集。基线策略集, governing 主体和客体之间的权限决策,作为比较的基准。每个LLM生成的策略都使用标准性能指标与基线策略进行评估。结果表明,LLMs可以有效地推断出适用于小规模场景的紧凑且有效的ABAC策略。然而,随着系统规模的增加,以更高的主体和客体数量为特征,LLM输出的准确性、精确度下降,同时生成的策略大小显著增加,超过了最佳大小。这些发现突显了当前LLM架构在访问控制领域可扩展策略挖掘中的潜力和局限性。未来的工作将探索混合方法,结合提示优化与经典规则挖掘算法,以提高复杂ABAC环境中的可扩展性和可解释性。
英文摘要:
This paper presents an empirical investigation into the capabilities of Large Language Models (LLMs) to perform automated Attribute-based Access Control (ABAC) policy mining. While ABAC provides fine-grained, context-aware access management, the increasing number and complexity of access policies can make their formulation and evaluation rather challenging. To address the task of synthesizing concise yet accurate policies, we evaluate the performance of some of the state-of-the-art LLMs, specifically Google Gemini (Flash and Pro) and OpenAI ChatGPT, as potential policy mining engines. An experimental framework was developed in Python to generate randomized access data parameterized by varying numbers of subjects, objects, and initial policy sets. The baseline policy sets, which govern permission decisions between subjects and objects, serve as the ground truth for comparison. Each LLM-generated policy was evaluated against the baseline policy using standard performance metrics. The results indicate that LLMs can effectively infer compact and valid ABAC policies for small-scale scenarios. However, as the system size increases, characterized by higher numbers of subjects and objects, LLM outputs exhibit declining accuracy and precision, coupled with significant increase in the size of policy generated, which is beyond the optimal size. These findings highlight both the promise and limitations of current LLM architectures for scalable policy mining in access control domains. Future work will explore hybrid approaches that combine prompt optimization with classical rule mining algorithms to improve scalability and interpretability in complex ABAC environments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。