arXiv:2511.18098cs.CRcs.LG2025-11被引 1

用大模型自动提炼访问控制策略,小规模有效但规模大时效果下降。

Towards Harnessing the Power of LLMs for ABAC Policy Mining

  • 用大模型生成属性化访问控制策略,通过对比基线评估性能。
  • 小规模下策略准确且紧凑,但主体/对象增多时精度下降、策略变大。
  • 适合研究访问控制自动化的人,尤其关注大模型在安全领域的应用。

本文针对大语言模型(LLMs)在自动化属性基访问控制(ABAC)策略挖掘中的能力进行实证研究。尽管ABAC能实现细粒度、上下文感知的访问管理,但策略数量和复杂度上升使制定与评估愈发困难。为合成简洁且准确的策略,我们评估了谷歌Gemini(Flash与Pro版)及OpenAI ChatGPT等先进模型作为策略挖掘引擎的性能。基于Python构建实验框架,生成参数化随机访问数据,涵盖不同数量的主体、对象及初始策略集。以基线策略为真实标签,使用标准指标对比各模型生成策略。结果表明,大模型在小规模场景下可有效推导出紧凑且有效的ABAC策略;然而当系统规模扩大(主体与对象数量增加),模型输出准确率与精确率下降,策略规模显著膨胀,超出最优范围。该发现揭示了当前大模型在可扩展策略挖掘中的潜力与局限。未来工作将探索结合提示优化与经典规则挖掘算法的混合方法,以提升复杂ABAC环境下的可扩展性与可解释性。

原文摘要 · Abstract (English)

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.

大模型访问控制策略挖掘

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