PrivacyMind: Large Language Models Can Be Contextual Privacy Protection LearnersPrivacyMind: Large Language Models Can Be Contextual Privacy Protection Learners
The researchers propose the PrivacyMind fine-tuning paradigm, which injects domain-specific knowledge into large language models while protecting data privacy at inference time and preventing leakage of sensitive personally identifiable information (PII) in the fine-tuning data. The paper provides a theoretical analysis of the model design and benchmarks various techniques such as corpus filtering, penalty-based unlikelihood in the training loss, and instruction fine-tuning; experiments across multiple datasets and scenarios show the method is effective, with instruction fine-tuning using both positive and negative examples standing out, enhancing model knowledge while protecting privacy. The complete code and data are released at https://github.com/Yijia-Xiao/PrivacyMind。