[논문 리뷰] Large Language Models Can Be Strong Differentially Private Learners
논문은 DP 최적화로 대형 사전학습 모델 미세조정이 modest privacy budgets에서 강력한 성능을 달성 가능함을 보여주며, 메모리 효율적 고스트 클리핑 기법과 작업-정렬 목표가 도움.
Differentially Private (DP) learning has seen limited success for building large deep learning models of text, and straightforward attempts at applying Differentially Private Stochastic Gradient Descent (DP-SGD) to NLP tasks have resulted in large performance drops and high computational overhead. We show that this performance drop can be mitigated with (1) the use of large pretrained language models; (2) non-standard hyperparameters that suit DP optimization; and (3) fine-tuning objectives which are aligned with the pretraining procedure. With the above, we obtain NLP models that outperform state-of-the-art DP-trained models under the same privacy budget and strong non-private baselines -- by directly fine-tuning pretrained models with DP optimization on moderately-sized corpora. To address the computational challenge of running DP-SGD with large Transformers, we propose a memory saving technique that allows clipping in DP-SGD to run without instantiating per-example gradients for any linear layer in the model. The technique enables privately training Transformers with almost the same memory cost as non-private training at a modest run-time overhead. Contrary to conventional wisdom that DP optimization fails at learning high-dimensional models (due to noise that scales with dimension) empirical results reveal that private learning with pretrained language models doesn't tend to suffer from dimension-dependent performance degradation. Code to reproduce results can be found at https://github.com/lxuechen/private-transformers.
연구 동기 및 목표
- Motivate differential privacy in NLP and address performance/compute bottlenecks for large models under DP.
- Demonstrate that large pretrained language models can be effectively fine-tuned with DP optimization within reasonable privacy budgets (epsilon in {3,8}).
- Identify hyperparameter choices and task objectives that align with DP optimization to maximize performance.
- Develop memory-efficient techniques to enable DP training of Transformers without per-example gradients (ghost clipping).
제안 방법
- Fine-tune pretrained models (BERT/RoBERTa family for classification; GPT-2 variants for generation) with DP-Adam under (epsilon, delta) privacy accounting.
- Systematically study hyperparameters (batch size, learning rate, training epochs) and their impact on DP performance across tasks.
- Use text-infilling style fine-tuning for classification to align with pretraining objectives.
- Develop ghost clipping to avoid instantiating per-example gradients in DP-SGD for Transformers and sequential data.
- Apply layer-by-layer clipping and sequential-friendly gradient-norm computations to reduce memory usage.
- Compare full fine-tuning with low-dimensional update methods and report privacy-bounded performance across tasks.
실험 결과
연구 질문
- RQ1Can large pretrained language models be effectively fine-tuned under differential privacy to achieve competitive NLP performance?
- RQ2How do hyperparameters and task-aligned objectives influence DP optimization performance on classification and generation tasks?
- RQ3Does the dimensionality of parameter updates limit DP performance, or can full fine-tuning outperform low-dimensional approaches under DP?
- RQ4Can memory-efficient techniques like ghost clipping enable private training of large Transformer models at practical memory and compute costs?
- RQ5What is the impact of model size on private fine-tuning performance under fixed privacy budgets?
주요 결과
- Pretrained models fine-tuned with DP-Adam achieve strong performance under privacy budgets ε in {3,8} across tasks.
- Larger pretrained models yield better private fine-tuning results.
- Full fine-tuning with DP-Adam matches or exceeds specialized low-dimensional DP methods on classification and generation.
- Ghost clipping reduces memory usage dramatically and enables privately training Transformers with near non-private memory costs, with modest runtime overhead.
- Task alignment, such as text-infilling for classification, improves private learning performance.
- On generation tasks, private models can surpass strong non-private baselines under DP.
더 나은 연구,지금 바로 시작하세요
논문 읽기부터 검토까지, 연구 시간을 획기적으로 줄여보세요.
카드 등록 없음 · 무료 플랜 제공
이 리뷰는 AI가 만들고, 인간 에디터가 검토했습니다.