paper-with-me

Papers

PrivacyMind: Large Language Models Can Be Contextual Privacy Protection Learners

2023-10-03 · Yijia Xiao, Yiqiao Jin, Yushi Bai, Yue Wu, Xianjun Yang, Xiao Luo, Wenchao Yu, Xujiang Zhao, Yanchi Liu, Quanquan Gu, Haifeng Chen, Wei Wang, Wei Cheng

The proliferation of Large Language Models (LLMs) has driven considerable interest in fine-tuning them with domain-specific data to create specialized language models. Nevertheless, such domain-specific fine-tuning data often contains contextually sensitive personally identifiable information (PII). Direct fine-tuning of LLMs on this data without privacy protection poses a risk of data leakage of sensitive PII during inference time. To address this challenge, we introduce Contextual Privacy Protection Language Models (PrivacyMind), a novel paradigm for fine-tuning LLMs that effectively injects domain-specific knowledge while safeguarding inference-time data privacy. Our work offers a theoretical analysis for model design and benchmarks various techniques such as corpus curation, penalty-based unlikelihood in training loss, instruction-based tuning, etc. Extensive experiments across diverse datasets and scenarios demonstrate the effectiveness of our approaches. In particular, instruction tuning with both positive and negative examples stands out as a promising method, effectively protecting private data while enhancing the model's knowledge. Our work underscores the potential for Large Language Models as robust contextual privacy protection learners. The complete code and data for the work can be found at https://github.com/Yijia-Xiao/PrivacyMind.

📄 PDF Abstract BibTeX arXiv:2310.02469

Code (2)

yijia-xiao/pplm 공식 구현 pytorch
yijia-xiao/privacymind 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Seeing Without Exposing: Adaptive Privacy Control for Open-World, Context-Hungry MLLMs

2026-06-05 · Siyuan Xu, Yibing Liu, Peilin Chen, Yung-Hui Li 외 arxiv

Multimodal large language models (MLLMs) have raised new privacy challenges. On the data side, user-provided inputs often include unpredictable sensitive information; while on the downstream task side, model reasoning de…

The Double-edged Sword of LLM-based Data Reconstruction: Understanding and Mitigating Contextual Vulnerability in Word-level Differential Privacy Text Sanitization

2025-08-26 · Stephen Meisenbacher, Alexandra Klymenko, Andreea-Elena Bodea, Florian Matthes arxiv

Differentially private text sanitization refers to the process of privatizing texts under the framework of Differential Privacy (DP), providing provable privacy guarantees while also empirically defending against adversa…

DePrompt: Desensitization and Evaluation of Personal Identifiable Information in Large Language Model Prompts

2024-08-16 · Xiongtao Sun, Gan Liu, Zhipeng He, Hui Li 외

Prompt serves as a crucial link in interacting with large language models (LLMs), widely impacting the accuracy and interpretability of model outputs. However, acquiring accurate and high-quality responses necessitates p…

Language ModelingLanguage ModellingLarge Language Model

The Fire Thief Is Also the Keeper: Balancing Usability and Privacy in Prompts

2024-06-20 · Zhili Shen, Zihang Xi, Ying He, Wei Tong 외

The rapid adoption of online chatbots represents a significant advancement in artificial intelligence. However, this convenience brings considerable privacy concerns, as prompts can inadvertently contain sensitive inform…

Code GenerationQuestion AnsweringText Summarization

User Behavior Analysis in Privacy Protection with Large Language Models: A Study on Privacy Preferences with Limited Data

2025-05-08 · Haowei Yang, Qingyi Lu, Yang Wang, Sibei Liu 외

With the widespread application of large language models (LLMs), user privacy protection has become a significant research topic. Existing privacy preference modeling methods often rely on large-scale user data, making e…

Federated LearningFew-Shot Learning