正在加载视频...

视频加载失败

Language models today are (1) widely used in personalized contexts and (2) to build systems that interface with tools. Do they respect privacy when helping with daily tasks like emailing? Introducing PrivacyLens to evaluate if LMs know privacy norms in action at inference time!

52,502 次观看 • 1 年前 •via X (Twitter)

10 条评论

Yijia Shao 的头像
Yijia Shao1 年前

Why is this important? While many studies have investigated LMs memorizing training data, a lot of private data or sensitive information is actually exposed to LMs at inference time.

Yijia Shao 的头像
Yijia Shao1 年前

Humans protect privacy not by always avoiding sharing sensitive data, but by adhering to these norms during data use and communication with others. A well-established framework for privacy norms is the Contextual Integrity theory which expresses data transmission with a 5-tuple.

Yijia Shao 的头像
Yijia Shao1 年前

Once we collect these privacy norms, a direct way for evaluation is by using a template to turn the tuple into a multi-choice question. However, how LMs perform when answering probing questions may not be consistent with how they act in agentic applications.

Yijia Shao 的头像
Yijia Shao1 年前

Evaluating LMs’ actions in applications is more contextualized. But how to create test cases? PrivacyLens offers a data construction pipeline that procedurally converts the norms into a vignette and then to an agent trajectory via template-based generation and sandbox simulation

Yijia Shao 的头像
Yijia Shao1 年前

With negative privacy norms, vignettes, trajectories, PrivacyLens conducts a multi-level evaluation by (1) assessing LMs on their ability to identify sensitive data transmission through QA probing, (2) evaluating whether LM agents’ final actions leak the sensitive information.

Yijia Shao 的头像
Yijia Shao1 年前

We collected 493 negative privacy norms to seed PrivacyLens. Our results reveal a discrepancy between QA probing results and LMs’ actions in task execution. GPT-4 and Claude-3-Sonnet answer nearly all questions correctly, but they leak information in 26% and 38% of cases!

Yijia Shao 的头像
Yijia Shao1 年前

In our paper, we explore the impact of prompting. Unfortunately, simple prompt engineering does little to mitigate privacy leakage of LM agents’ actions. We also examine the safety-helpfulness trade-off and conduct qualitative analysis to uncover more insights.

Yijia Shao 的头像
Yijia Shao1 年前

Check out our paper, code, data to learn more! Paper: Website:

Yijia Shao 的头像
Yijia Shao1 年前

This work was ideated when I was developing an LM-empowered system that uses LMs to make retrieval decisions. The idea was then greatly shaped by @niloofar_mire’s ConfAIde paper and many good resources on her website. Worth checking out if you haven’t!

Yijia Shao 的头像
Yijia Shao1 年前

Finally, thanks @tianshi_li @shi_weiyan @_yanchenliu @Diyi_Yang for bringing in different expertise - I learned so many new things during the collaboration! The work is partially supported by grants from ONR, @Meta, and research credits from @OpenAI.

相关视频