arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.00138cs.CLcs.AIcs.CR
收藏

PrivacyLens:评估语言模型在行动中的隐私规范意识

PrivacyLens: Evaluating Privacy Norm Awareness of Language Models in Action

Stanford University(斯坦福大学);Northeastern University(东北大学);Harvard University(哈佛大学)

Yijia Shao, Tianshi Li, Weiyan Shi, Yanchen Liu, Diyi Yang

AI总结:

提出 PrivacyLens 框架,将隐私敏感种子扩展为情景与智能体轨迹,多层次评估 LM 行动中的隐私泄露,并发现 GPT-4 与 Llama-3-70B 仍存在显著泄露。

摘要:

随着语言模型(LM)被广泛用于个性化通信场景(例如发送电子邮件、撰写社交媒体帖子),并被赋予一定程度的能动性,确保其按照情境化隐私规范行事正变得愈发关键。然而,量化 LM 的隐私规范意识以及 LM 介导通信中新出现的隐私风险具有挑战性,原因在于:(1)隐私敏感案例具有情境性和长尾性质;(2)缺乏能够捕捉现实应用场景的评估方法。为应对这些挑战,我们提出 PrivacyLens,这是一个新颖框架,旨在将隐私敏感种子扩展为富有表现力的情景短文,并进一步扩展为智能体轨迹,从而对 LM 智能体行动中的隐私泄露进行多层次评估。我们基于隐私文献中的隐私规范和众包种子实例化 PrivacyLens。利用该数据集,我们揭示了 LM 在回答探测性问题时的表现与其在智能体设置中执行用户指令时的实际行为之间存在差异。即使在提示中加入隐私增强指令,最先进的 LM(如 GPT-4 和 Llama-3-70B)仍分别在 25.68% 和 38.69% 的案例中泄露敏感信息。我们还通过将每个种子扩展为多条轨迹以对 LM 隐私泄露风险进行红队测试,展示了 PrivacyLens 的动态特性。数据集和代码可在 https://github.com/SALT-NLP/PrivacyLens 获取。

英文摘要:

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.

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

↑