Permit:面向受控生成的权限感知表示干预
Permit: Permission-Aware Representation Intervention for Controlled Generation in Large Language Models
AI总结:
Permit通过在大语言模型隐藏状态上实施细粒度控制,实现对生成内容的精确控制,减少信息泄露,实验显示其在多个权限设置中优于现有方法。
摘要:
大型语言模型(LLMs)越来越多地部署在企业环境中,处理敏感文档和用户上下文,引发对安全性和可控性的紧迫关注。传统访问控制仅决定信息是否对模型可见,但未限制模型在生成时如何使用该信息:一旦敏感内容进入上下文,输出仍可能超出用户授权范围。我们提出Permit,一种新型的权限感知表示干预框架,通过在模型隐藏状态上施加细粒度控制来弥合这一差距。通过探索性分析,我们发现权限条件会诱导隐藏状态的偏移,这些偏移(i)在不同权限之间可分离,(ii)集中在少量主导方向上。Permit利用这一几何特性分两阶段操作:首先从不同权限条件下的激活差异中识别出权限敏感的子空间,然后在该子空间内进行轻量级干预以引导生成,具体实现包括基于偏移和门控的两种方法。两者均基于冻结的主干网络,仅使用少量权限特定的参数,实现精确控制且开销极低。实验结果表明,Permit在多个权限设置中优于现有方法,同时将信息泄露降至接近零,实现超过18%的F1分数提升,使用超过98%更少的可训练参数。
英文摘要:
Large language models (LLMs) are increasingly deployed in enterprise settings where they handle sensitive documents and user context, raising acute concerns over security and controllability. Conventional access control regulates whether information is accessible to the model, yet leaves how the model uses that information at generation time largely unconstrained: once sensitive content enters the context, outputs may still drift beyond a user's authorized scope. We present Permit, a novel permission-aware representation intervention framework that closes this gap by enforcing fine-grained control directly on the model's hidden states. Through exploratory analysis, we find that permission conditions induce hidden-state shifts that are (i) separable across permissions and (ii) concentrated in a small set of dominant directions. Permit exploits this geometry in two stages: it first identifies a permission-sensitive subspace from activation differences across permission conditions, and then performs lightweight interventions within this subspace to steer generation, with two concrete instantiations (offset-based and gated). Both operate atop a frozen backbone with only a handful of permission-specific parameters, achieving precise control with minimal overhead. Experimental results demonstrate that Permit performs better than the state-of-the-art method across multiple permission settings while driving information leakage to near zero, achieving over 18% F1-score improvement with >98% fewer trainable parameters.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。