Provably Confidential Language Modelling

Xuandong Zhao, Lei Li, Yu-Xiang Wang
5/4/2022
cs.CLcs.CRcs.LG

Official code: XuandongZhao/CRT (4 stars, Jupyter Notebook, last commit 2023-02-14).

Abstract

Large language models are shown to memorize privacy information such as social security numbers in training data. Given the sheer scale of the training corpus, it is challenging to screen and filter these privacy data, either manually or automatically.

Show full abstract

In this paper, we propose Confidentially Redacted Training (CRT), a method to train language generation models while protecting the confidential segments. We borrow ideas from differential privacy (which solves a related but distinct problem) and show that our method is able to provably prevent unintended memorization by randomizing parts of the training process. Moreover, we show that redaction with an approximately correct screening policy amplifies the confidentiality guarantee. We implement the method for both LSTM and GPT language models. Our experimental results show that the models trained by CRT obtain almost the same perplexity while preserving strong confidentiality.

View on arXivView PDF

Code Implementations(1)

XuandongZhao/CRTOfficial100%

[NAACL 2022] Confidentially Redacted Training (CRT)

40Jupyter NotebookApr 21, 20223 years ago

Similar Papers

Cite this paper

@article{zhao2022provably,
  title  = {Provably Confidential Language Modelling},
  author = {Xuandong Zhao and Lei Li and Yu-Xiang Wang},
  year   = {2022},
  eprint = {2205.01863},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.01863}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.01863.svg)](https://codeofpaper.com/paper/2205.01863)

Discussion