自然语言访问控制(NLAC):从帮助台请求到结构化策略
Natural Language Access Control (NLAC): From Help Desk Requests to Structured Policies
AI总结:
提出基于LLM的自然语言访问控制架构NLAC,通过嵌入相似度提取子图将策略翻译准确率提升至98.7%,并降低推理成本。
摘要:
在大型复杂网络中配置网络访问控制策略容易出错,且需要大量专家努力。LLM为用自然语言表达此类策略提供了有前景的接口,但它们将用户请求翻译为访问策略的能力以及最适合利用LLM的系统架构仍未被充分探索。我们提出了一种用于自然语言访问控制(NLAC)的架构,该架构使用LLM将用户请求翻译为访问策略,并引入了NLACBench,一个用于评估大规模网络中基于LLM的意图翻译系统的基准。我们在多个最先进模型上的评估表明,性能最佳的LLM在小网络设置中准确率高达96.9%,但随着网络规模增大,性能显著下降(某些模型低于20%)。为解决这一限制,我们通过嵌入相似度识别相关网络组件,并构建传递给LLM的紧凑子图。这种方法使得能够扩展到更大的网络,准确率高达98.7%,同时将推理时间、硬件需求和运营成本降低到恒定的资源预算。最后,一项案例研究表明,性能最佳的模型表现出很大程度上互补的错误模式,表明通过多LLM架构可以进一步提高意图翻译的准确性。
英文摘要:
Configuring network access control policies in large, complex networks is error-prone and requires significant expert effort. LLMs offer a promising interface for expressing such policies in natural language, but their capability for translating user requests into access policies, and the system architectures best suited to leverage LLMs, remain underexplored. We present an architecture for natural-language access control (NLAC) that uses LLMs to translate user requests into access policies, and introduce NLACBench, a benchmark for evaluating LLM-based intent translation systems in large-scale networks. Our evaluation across multiple state-of-the-art models shows that top-performing LLMs achieve up to 96.9% accuracy in small-network settings, but performance degrades substantially (below 20% for some models) as network size increases. To address this limitation, we identify relevant network components via embedding similarity and construct compact subgraphs that are passed to the LLM. This approach enables scaling to larger networks with up to 98.7% accuracy, while simultaneously reducing inference time, hardware requirements, and operating costs to a constant resource budget. Finally, a case study indicates that top-performing models exhibit largely complementary error patterns, suggesting that intent translation accuracy may be further improved through multi-LLM architectures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。