Differential Privacy for Text Analytics via Natural Text Sanitization
About
Texts convey sophisticated knowledge. However, texts also convey sensitive information. Despite the success of general-purpose language models and domain-specific mechanisms with differential privacy (DP), existing text sanitization mechanisms still provide low utility, as cursed by the high-dimensional text representation. The companion issue of utilizing sanitized texts for downstream analytics is also under-explored. This paper takes a direct approach to text sanitization. Our insight is to consider both sensitivity and similarity via our new local DP notion. The sanitized texts also contribute to our sanitization-aware pretraining and fine-tuning, enabling privacy-preserving natural language processing over the BERT language model with promising utility. Surprisingly, the high utility does not boost up the success rate of inference attacks.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Instruction Following | IFEval | -- | 854 | |
| Language Understanding | MMLU | Accuracy51.07 | 844 | |
| Sentiment Classification | SST2 (test) | Accuracy79.58 | 233 | |
| Text Classification | SST-2 | Accuracy74.46 | 136 | |
| Common Sense Reasoning | PIQA | Accuracy49.72 | 100 | |
| Natural Language Inference | QNLI | Accuracy76.36 | 93 | |
| Text Classification | SST2 | Accuracy81.31 | 71 | |
| Medical Question Answering | MedicalMeadow WikiDoc PatientInfo Med | MP14.9 | 24 | |
| Finance Question Answering | Financial-qa-10k | MP43.1 | 24 | |
| General Question Answering & Instruction Following | Dolly | MP Score12.8 | 24 |