arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2604.00209cs.CL
收藏

大语言模型是否了解内部隐私?在大型语言模型表示中探测和引导上下文隐私规范

Do LLMs Know What Is Private Internally? Probing and Steering Contextual Privacy Norms in Large Language Model Representations

Haoran Wang, Li Xiong, Kai Shu

AI总结:

本文研究了大语言模型中上下文隐私规范的编码结构,通过探测和引导上下文隐私参数,揭示了模型在隐私保护上的不足,并展示了如何通过结构化控制减少隐私泄露。

摘要:

大型语言模型(LLMs)越来越多地应用于高风险领域,但它们经常通过披露私有信息违反上下文隐私,尤其是在人类会行使判断力的情况下。这提出了一个根本性问题:LLMs是否内部编码上下文隐私规范?如果有的话,为什么违规行为仍然存在?本文首次系统研究了上下文隐私作为LLMs中结构化潜在表示的理论基础,基于上下文完整性(CI)理论。通过探测多个模型,我们发现决定三个规范的CI参数(信息类型、接收者和传输原则)在激活空间中被编码为线性可分离且功能独立的方向。尽管存在这种内部结构,模型在实践中仍会泄露私人信息,揭示了概念表示与模型行为之间的明显差距。为弥合这一差距,我们引入了CI参数引导,可以独立地在每个CI维度上进行干预。这种结构化控制比单一引导更有效地减少隐私泄露。我们的结果表明,上下文隐私失败源于表示与行为之间的不一致,而非缺失意识,利用CI的组合结构可以实现更可靠的上下文隐私控制,为改进LLMs中的上下文隐私理解提供了新的视角。

英文摘要:

Large language models (LLMs) are increasingly deployed in high-stakes settings, yet they frequently violate contextual privacy by disclosing private information in situations where humans would exercise discretion. This raises a fundamental question: do LLMs internally encode contextual privacy norms, and if so, why do violations persist? We present the first systematic study of contextual privacy as a structured latent representation in LLMs, grounded in contextual integrity (CI) theory. Probing multiple models, we find that the three norm-determining CI parameters (information type, recipient, and transmission principle) are encoded as linearly separable and functionally independent directions in activation space. Despite this internal structure, models still leak private information in practice, revealing a clear gap between concept representation and model behavior. To bridge this gap, we introduce CI-parametric steering, which independently intervenes along each CI dimension. This structured control reduces privacy violations more effectively and predictably than monolithic steering. Our results demonstrate that contextual privacy failures arise from misalignment between representation and behavior rather than missing awareness, and that leveraging the compositional structure of CI enables more reliable contextual privacy control, shedding light on potential improvement of contextual privacy understanding in LLMs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑