Google’s VaultGemma (2025) was trained from scratch with sequence-level differential privacy at ε ≤ 2 and ended up roughly as capable as GPT-2 1.5B. Explain what ‘sequence-level’ protects and what it does not, why DP scaling laws favour smaller models with larger batches, and when you would use DP training rather than deduplication and PII filtering for a model fine-tuned on customer messages.
Answer
Model answer, written in a candidate's voice
In short
- Sequence-level DP (VaultGemma: ε ≤ 2, δ ≤ 1.1×10⁻¹⁰ per 1,024-token sequence) bounds one sequence’s influence, not a person whose data spans many sequences; user-level DP needs grouping and costs more.
- DP-SGD noise is added to summed clipped gradients, so larger batches dilute it; under a fixed budget a smaller model with much larger batches does better, and raising ε alone gives diminishing returns.
- State the utility cost honestly (VaultGemma 1B ≈ GPT-2 1.5B) and track ε with its unit, δ and accountant across releases and fine-tunes, which compose.
- Use DP fine-tuning or DP-trained adapters when the model will be shared or exposed to untrusted users; otherwise dedup, PII redaction, access control and retention are the cheaper baseline.
- Validate residual memorisation with extraction and membership-inference tests, not by assuming DP or filtering is sufficient.
In full
The core point is that sequence-level DP bounds the influence of one 1,024-token sequence, not of a customer whose data appears in many sequences: VaultGemma’s guarantee is ε ≤ 2 with δ ≤ 1.1×10⁻¹⁰ per sequence, and a fact repeated across many sequences can still be learned. Protecting a person requires user-level grouping, which costs more privacy budget or utility. DP scaling laws favour smaller models with much larger batches because DP-SGD adds noise to the sum of clipped per-example gradients, so averaging over a larger batch dilutes that noise; under a fixed budget a smaller model trained with much larger batches does better, while simply raising ε gives diminishing returns unless compute or data grows too, and a real utility gap remains (VaultGemma 1B performs roughly like GPT-2 1.5B). I would treat ε as a budget across the whole lifecycle, always stated with its unit of privacy, δ and accounting method, because releases and fine-tunes on the same data compose, so the total guarantee weakens with each additional release or adaptation. For customer messages, I would start with deduplication, PII redaction, access control and retention limits as the cheaper baseline for an internal, tightly controlled model, but use DP fine-tuning or DP-trained adapters when the model will be shared or exposed to untrusted users. I would not claim safety from the method alone; I would measure residual memorisation with extraction and membership-inference tests and report the utility cost alongside ε.
What a strong answer covers
- Sequence-level DP bounds the influence of any single 1,024-token sequence, not of a person whose data spans many sequences; user-level DP needs grouping and costs more
- Explains the noise-batch ratio: larger batches dilute per-step noise, so under a fixed budget a smaller model trained with much larger batches does better, and raising ε alone gives diminishing returns
- States the utility cost honestly and ties ε to composition across releases or fine-tunes
- Decision: DP fine-tuning (or DP-trained adapters) when the model will be shared or exposed to untrusted users; dedup, PII redaction and access control as the cheaper baseline
- Proposes measuring residual memorisation with extraction and membership-inference tests
Common mistakes
- Quoting an ε without the unit of privacy or the accounting method
Follow-ups
- How would you explain ε = 2 to a DPO?