arXiv:2601.23157cs.CRcs.LG2026-01被引 1

提出最小权限语言模型,实现运行时精细控制能力暴露。

No More, No Less: Least-Privilege Language Models

  • 以内部计算可达性定义权限,运行时动态控制模型能力
  • 通过可逆干预实现能力调节,降低副作用并保持性能
  • 适合需要安全可控的部署场景,如企业级AI服务

最小权限是核心安全原则:仅授予完成目标所需的最少访问权限。当前语言模型部署几乎不遵循此原则,通常通过单一API端点服务所有用户与请求。这一差距并非因最小权限无益,而是因为缺乏明确定义与机制支持:语言模型中的“访问”指什么?如何在不重新训练或部署多模型的前提下实现控制?本文借鉴计算机系统的最小权限思想,提出一类称为最小权限语言模型的新范式,其中权限由前向传播中可访问的内部计算决定。降低权限实质上缩小了模型可实现的功能集合,而非依赖学习策略进行拒绝。我们形式化了部署时的监控-分配-执行三层架构,分离请求时信号、决策规则和推理时权限选择机制。进而提出嵌套最小权限网络,一种保持形状、基于秩索引的可逆干预方法,提供平滑且可逆的控制调节。实验表明该调节器生成可用的权限-效用前沿,并能选择性抑制特定能力,同时对其他能力影响极小。最重要的是,我们主张一种新部署范式,挑战了语言模型只能在输出层控制的固有前提。

原文摘要 · Abstract (English)

Least privilege is a core security principle: grant each request only the minimum access needed to achieve its goal. Deployed language models almost never follow it, instead being exposed through a single API endpoint that serves all users and requests. This gap exists not because least privilege would be unhelpful; deployments would benefit greatly from reducing unnecessary capability exposure. The real obstacle is definitional and mechanistic: what does "access" mean inside a language model, and how can we enforce it without retraining or deploying multiple models? We take inspiration from least privilege in computer systems and define a class of models called least-privilege language models, where privilege is reachable internal computation during the forward pass. In this view, lowering privilege literally shrinks the model's accessible function class, as opposed to denying access via learned policies. We formalize deployment-time control as a monitor-allocator-enforcer stack, separating (i) request-time signals, (ii) a decision rule that allocates privilege, and (iii) an inference-time mechanism that selects privilege. We then propose Nested Least-Privilege Networks, a shape-preserving, rank-indexed intervention that provides a smooth, reversible control knob. We show that this knob yields policy-usable privilege-utility frontiers and enables selective suppression of targeted capabilities with limited collateral degradation across various policies. Most importantly, we argue for a new deployment paradigm that challenges the premise that language models can only be controlled at the output level.

最小权限模型控制安全部署

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