评测大模型在真实场景下的隐私意识,发现顶级模型仍会泄露敏感信息。
PrivacyLens: Evaluating Privacy Norm Awareness of Language Models in Action
- 构建多层级隐私评估框架,将隐私种子扩展为情境化行为轨迹。
- GPT-4和Llama-3-70B在隐私提示下仍分别有25.68%和38.69%泄露敏感信息。
- 适合关注AI隐私风险、安全评估与可信AI的研究者与开发者。
随着语言模型(LMs)广泛应用于个性化沟通场景(如发送邮件、撰写社交媒体内容)并具备一定自主性,确保其行为符合上下文隐私规范日益重要。然而,由于隐私敏感案例具有上下文依赖性和长尾分布特性,且缺乏能捕捉真实应用场景的评估方法,量化语言模型的隐私意识及由此产生的隐私风险极具挑战。为此,我们提出PrivacyLens——一个新颖框架,可将隐私敏感种子扩展为丰富的情境片段,并进一步生成代理行为轨迹,实现对语言模型代理行为中隐私泄露的多层级评估。我们基于隐私文献与众包数据构建了隐私规范集合。实验发现,尽管模型在回答隐私探测问题上表现良好,但在执行用户指令时却存在明显差距:GPT-4和Llama-3-70B在隐私增强提示下,仍分别在25.68%和38.69%的案例中泄露敏感信息。此外,通过将每个种子扩展为多条行为轨迹,我们验证了PrivacyLens的动态评估能力,实现对模型隐私风险的红队测试。数据集与代码已开源:https://github.com/SALT-NLP/PrivacyLens。
原文摘要 · Abstract (English)
As language models (LMs) are widely utilized in personalized communication scenarios (e.g., sending emails, writing social media posts) and endowed with a certain level of agency, ensuring they act in accordance with the contextual privacy norms becomes increasingly critical. However, quantifying the privacy norm awareness of LMs and the emerging privacy risk in LM-mediated communication is challenging due to (1) the contextual and long-tailed nature of privacy-sensitive cases, and (2) the lack of evaluation approaches that capture realistic application scenarios. To address these challenges, we propose PrivacyLens, a novel framework designed to extend privacy-sensitive seeds into expressive vignettes and further into agent trajectories, enabling multi-level evaluation of privacy leakage in LM agents' actions. We instantiate PrivacyLens with a collection of privacy norms grounded in privacy literature and crowdsourced seeds. Using this dataset, we reveal a discrepancy between LM performance in answering probing questions and their actual behavior when executing user instructions in an agent setup. State-of-the-art LMs, like GPT-4 and Llama-3-70B, leak sensitive information in 25.68% and 38.69% of cases, even when prompted with privacy-enhancing instructions. We also demonstrate the dynamic nature of PrivacyLens by extending each seed into multiple trajectories to red-team LM privacy leakage risk. Dataset and code are available at https://github.com/SALT-NLP/PrivacyLens.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。