让大模型遵守企业权限规则,防止越权访问敏感数据。
Permissioned LLMs: Enforcing Access Control in Large Language Models
- 在微调时嵌入权限控制机制,使模型响应符合组织访问规则。
- 提出新指标衡量权限控制效果,实验验证在5个数据集上有效。
- 适合需数据安全的企业级AI应用,如医疗、金融领域部署。
在企业环境中,组织数据通常分隔存储并受复杂访问控制保护。若对隔离数据微调的大语言模型向不同权限用户返回下游任务结果,访问控制体系将失效。本文提出权限化大模型(PermLLM),在生成响应时叠加组织数据访问控制结构。我们形式化了判断权限控制是否正确执行的抽象机制,并引入‘相关响应’概念用于验证机制正确性。同时提出新评估指标‘访问优势’,并通过两种方式实现:基于成员推理攻击的领域可区分指数(DDI)和基于模型效用评估的效用差距指数(UGI)。我们设计三种基于参数高效微调的新型PermLLM机制,并在五个公开数据集(GPQA、RCV1、SimpleQA、WMDP、PubMedQA)上进行大量实验,验证了机制有效性及指标可靠性。
原文摘要 · Abstract (English)
In enterprise settings, organizational data is segregated, siloed and carefully protected by elaborate access control frameworks. These access control structures can completely break down if an LLM fine-tuned on the siloed data serves requests, for downstream tasks, from individuals with disparate access privileges. We propose Permissioned LLMs (PermLLM), a new class of LLMs that superimpose the organizational data access control structures on query responses they generate. We formalize abstractions underpinning the means to determine whether access control enforcement happens correctly over LLM query responses. Our formalism introduces the notion of a relevant response that can be used to prove whether a PermLLM mechanism has been implemented correctly. We also introduce a novel metric, called access advantage, to empirically evaluate the efficacy of a PermLLM mechanism. We introduce three novel PermLLM mechanisms that build on Parameter Efficient Fine-Tuning to achieve the desired access control. We furthermore present two instantiations of access advantage--(i) Domain Distinguishability Index (DDI) based on Membership Inference Attacks, and (ii) Utility Gap Index (UGI) based on LLM utility evaluation. We demonstrate the efficacy of our PermLLM mechanisms through extensive experiments on five public datasets (GPQA, RCV1, SimpleQA, WMDP, and PubMedQA), in addition to evaluating the validity of DDI and UGI metrics themselves for quantifying access control in LLMs.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。