Just Fine-tune Twice: Selective Differential Privacy for Large Language ModelsJust Fine-tune Twice: Selective Differential Privacy for Large Language Models
The researchers propose the Just Fine-tune Twice (JFT) framework, enabling Transformer-based large language models to achieve selective differential privacy (SDP) as well, to address model privacy leakage. The method first fine-tunes the model on sanitized in-domain data, then fine-tunes a second time on the original in-domain data with a private training mechanism. SDP was proposed by Shi et al. (2021) and protects only the sensitive tokens defined by a policy function, but the original algorithm applies only to RNN models. The paper also provides a systematic treatment for the imperfect case where the policy function misses sensitive tokens; experiments show that JFT achieves strong utility compared with prior baselines, and empirically analyzes the SDP privacy guarantee through canary insertion attacks.