atlas

Research map / Federated learning and privacy / Differential privacy

Differentially Private Bias-Term Fine-tuning of Foundation Models

ICML 2024 · Federated learning and privacy › Differential privacy · approach: Private training with public data · 5 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DP-BiTFiT, which applies differential privacy to fine-tuning only the bias terms of pre-trained models, matching DP full fine-tuning accuracy while being much faster and more memory-efficient.

Problem

Differentially private fine-tuning of large pre-trained models is accurate but computationally and memory expensive, and parameter-efficient DP methods like LoRA and Adapter are architecture-dependent and costly in activation memory.

Approach

Train only the bias terms under DP-SGD (model-agnostic, ~0.1% of parameters). Because bias gradients need no input activations, the forward hooks that cache activations can be dropped, making per-sample gradient norm computation independent of feature dimension T.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train bias terms rather than all parameters with DPRoBERTa-base · SST2accuracy: 92.1 -> 92.4Helped
Train bias terms rather than all parameters with DPRoBERTa-base · QNLIaccuracy: 87.9 -> 86.9Hurt
Train bias terms rather than all parameters with DPRoBERTa-large · MNLI-maccuracy: 87.0 -> 88.3Helped
Train bias terms rather than all parameters with DPGPT2-small · E2EBLEU: 63.60 -> 60.56Hurt
Train bias terms rather than all parameters with DPGPT2-large · E2EBLEU: 64.64 -> 65.21Helped
Train bias terms rather than all parameters with DPViT-large · CIFAR100, ε=2accuracy: 90.1 -> 91.2Helped
Add bias terms to layers before applying DP-BiTFiTResNet18 · CelebA [Multi-label]accuracy: 86.9% -> 87.3%Helped
Freeze all weights while retaining forward hooks (ablation)GhostClip on RoBERTa-large · QQPtraining time per epoch: 119 minutes -> 80 minutesHelped
Remove forward hooks after freezing weights (ablation)RoBERTa-large bias-only training · QQPtraining time per epoch: 80 minutes -> 63 minutesHelped
Use the maximum batch size enabled by DP-BiTFiT memory savings (ablation)RoBERTa-large DP-BiTFiT · QQPtraining time per epoch: 63 minutes -> 43 minutesHelped
Use one DP full fine-tuning epoch before BiTFiT instead of zero (ablation)ViT-large · CIFAR10, ε=2accuracy: 90.6 -> 98.8Helped
Use one DP full fine-tuning epoch before BiTFiT instead of zero (ablation)ViT-large · CIFAR100, ε=2accuracy: 19.4 -> 82.4Helped

Surprising findings

Limitations

Experimental setup

Datasets: MNLI QQP QNLI SST2 E2E CIFAR10 CIFAR100 CelebA ImageNet

Benchmarks: MNLI-m QQP QNLI SST2 E2E CIFAR10 CIFAR100 CelebA

Metrics: accuracy BLEU ROUGE-L NIST METEOR CIDEr perplexity training time memory throughput

Baselines: DP full fine-tuning (GhostClip) DP LoRA DP Adapter Compacter RGP prefix tuning DP last-layer training MixGhostClip DP full fine-tuning

Builds on: BiTFiT DP-SGD GhostClip MixGhostClip LoRA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy