Language models (LMs) rely on their parametric knowledge augmented with relevant contextual knowledge for certain tasks, such as question answering. However, the contextual knowledge can contain private information that may be leaked when answering queries, and estimating this privacy leakage is not well understood. A straightforward approach of directly comparing an LM's output to the contexts can overestimate the privacy risk, since the LM's parametric knowledge might already contain the augmented contextual knowledge. To this end, we introduce *context influence*, a metric that builds on differential privacy, a widely-adopted privacy notion, to estimate the privacy leakage of contextual knowledge during decoding. Our approach effectively measures how each subset of the context influences an LM's response while separating the specific parametric knowledge of the LM. Using our context influence metric, we demonstrate that context privacy leakage occurs when contextual knowledge is out of distribution with respect to parametric knowledge. Moreover, we experimentally demonstrate how context influence properly attributes the privacy leakage to augmented contexts, and we evaluate how factors -- such as model size, context size, generation position, etc. -- affect context privacy leakage. The practical implications of our results will inform practitioners of the privacy risk associated with augmented contextual knowledge.
Privacy-Preserving RAG via Multi-Agent Semantic Rewriting: Achieving Confidentiality Without Compromising Contextual Fidelity
School of Control and Computer Engineering, North China Electric Power University(华北电力大学控制与计算机工程学院);Department of Computer & Information Science & Engineering, University of Florida(佛罗里达大学计算机与信息科学与工程系);NLP2CT Lab, Department of Computer and Information Science, University of Macau(澳门大学计算机与信息科学系NLP2CT实验室);Institute of International Language Services Studies, Macau Millennium College(澳门千禧学院国际语言服务研究所)
Loose Lips: Understanding Privacy Leakage in Agentic Dialogue
Mila – Quebec AI Institute(米拉-魁北克人工智能研究所);McGill University(麦吉尔大学);Simon Fraser University(西蒙菲莎大学);ÉTS(ÉTS(魁北克大学工程与技术学院));ServiceNow AI Research(ServiceNow人工智能研究部);Université de Montréal(蒙特利尔大学)
KART: Parameterization of Privacy Leakage Scenarios from Pre-trained Language Models
The University of Tokyo(东京大学);The University of Tokyo Hospital(东京大学医院);Chiba University(千叶大学);Nara Institute of Science and Technology(奈良先端科学技术大学院大学)
对于安全共享预训练的语言模型,由于难以估计隐私泄露风险的上限,目前没有指导方针。一个问题是,之前的研究评估了不同真实世界隐私泄露场景和攻击方法的风险,这降低了研究结果的可移植性。为了解决这个问题,我们在通用参数化\textit{Knowledge, Anonymization, Resource, and Target}(KART)下表示复杂的现实世界隐私泄露场景。KART参数化有两个优点:(i)它澄清了每个实验中隐私泄露的定义;(ii)它提高了风险评估结果的可比性。我们表明,以前的研究可以简单地通过参数化的情况下与KART审查。我们还展示了隐私风险评估在不同的情况下,在相同的攻击方法,这表明KART有助于近似的风险上限下的特定攻击或场景。我们相信KART有助于整合过去和未来关于隐私风险的研究结果,并将为共享语言模型的标准做出贡献。
PrivacyMind: Large Language Models Can Be Contextual Privacy Protection Learners
University of California, Los Angeles(加州大学洛杉矶分校);Georgia Institute of Technology(佐治亚理工学院);Tsinghua University(清华大学);University of California, Santa Barbara(加州大学圣巴巴拉分校);NEC Laboratories America(美国NEC实验室)
Can LLMs Keep a Secret? Testing Privacy Implications of Language Models via Contextual Integrity Theory
University of Washington(华盛顿大学);Allen Institute for Artificial Intelligence(艾伦人工智能研究所);Carnegie Mellon University(卡内基梅隆大学);National University of Singapore(新加坡国立大学)