TL;DR
StraightDP introduces a geometry-aware approach to differentially private (DP) training for rectified-flow generative models. By recognizing that the early stages of the flow depend only on coarse data moments while later stages require fine-grained sample details, it splits the privacy budget to release global moments first and apply DP-SGD later. This drastically improves generation utility under strict privacy constraints, outperforming standard uniform DP-SGD by up to 3.5× on conditional generation tasks.
What Problem Does This Paper Address?
Generative models trained on private data (e.g., medical images with clinical reports or personal photos with descriptions) risk leaking sensitive training examples. Differential Privacy (DP), typically implemented via DP-SGD, protects privacy by clipping and adding noise to gradients during training.
However, applying DP-SGD uniformly across all training steps leads to a severe "utility cliff"—a massive drop in image quality and conditional accuracy under strong privacy guarantees (i.e., low $\varepsilon$). The authors identify that standard DP methods ignore the inherent time-varying geometry of rectified flows, wasting precious privacy budget by treating easy-to-learn global structures and hard-to-learn sample details identically.
Methods
StraightDP splits the training pipeline into two distinct stages based on flow time $t$:
- Moments First (Stage 1): A small fraction of the privacy budget (e.g., ~23%) is used to release whitened class-conditional (or text-conditional) moments once via a Gaussian mechanism. Because the velocity field of a rectified flow near the noise end ($t \to 0$) is mathematically dominated by these low-order moments, they can be used to analytically define the early flow path. This private analytic field is either distilled into the model weights or injected directly at sampling time to guide a frozen prior.
- Gradients Second (Stage 2): The remaining budget is spent via DP-SGD only on the later flow stages ($t \ge \tau$), where sample-specific details are learned. The authors also introduce a Time-Heterogeneous Allocation (THA) planner to dynamically adjust clipping norms and noise multipliers across different time buckets.
- Noise-Robust Backbone: To mitigate the impact of heavy DP noise, the authors modify a multimodal diffusion transformer (MM-DiT) by clamping per-token stream norms during public pretraining. This bounds activations and concentrates per-sample gradient norms, preventing extreme gradient clipping distortions during private fine-tuning.
Datasets
- KMNIST $\to$ MNIST: Kuzushiji-MNIST is used as the out-of-domain public dataset for pretraining and calibration; standard MNIST is used as the private target dataset. Evaluated in both pixel-space and a latent-space variant.
- Fashion-MNIST $\to$ MNIST: Used to replicate findings and ensure gains aren't public-domain specific.
- Flowers-102: Used as the private dataset to evaluate scaling behavior on a large, frozen 2B-parameter Stable Diffusion 3 (SD3-medium) model.
Key Insights and Ideas
- Flow Heterogeneity: The optimal velocity field along a straight rectified flow path is highly non-uniform. Near the noise end, it is distribution-free and moment-dominated; near the data end, it becomes highly sample-specific. Treating them uniformly is a waste of privacy budget.
- One Release, Two Injection Ports: The privately released moments are highly versatile. They can either be distilled directly into model weights during end-to-end training or used at inference time to "tilt" the sampling starting point of a completely frozen pretrained model.
- Label-Blind Metrics Can Deceive: Standard metrics like Fréchet Inception Distance (FID) can be misleading in DP settings. Uniform DP-SGD often achieves good label-blind FID scores simply because it fails to adapt to the private domain, generating clean but completely incorrect public-domain glyphs. Label-aware metrics (like downstream classifier accuracy) reveal the true utility cliff.
Key Results
- MNIST Performance: At a strict privacy budget of $\varepsilon=1$, standard uniform DP-SGD achieves a downstream classification accuracy of just 0.21. In contrast, StraightDP reaches 0.81 accuracy with an FID of 56.5 in latent space—a 3.5× utility improvement.
- Moments Alone Carry Massive Weight: Remarkably, just sampling directly from the Stage 1 released moments (without any gradient training steps) yields a downstream accuracy of 0.76, proving that global class structure is largely captured by these low-order statistics.
- Scaling to SD3: On the Flowers-102 dataset with a frozen SD3-medium model, injecting the released moments at sampling time achieved a CLIP probe accuracy of 0.625 at $\varepsilon=2$, outperforming budget-matched DP-LoRA fine-tuning (0.603) and zero-shot baselines (0.588).
Limitations and Future Work
- Pretraining Constraints: The noise-robust backbone modifications (stream-norm clamping) must be active during public pretraining. Applying them post-hoc to existing unconstrained models (like frozen foundation models) causes model collapse.
- Text-Conditional Gap: When moving from discrete class labels to continuous text captions via cross-moment matrices, a small utility gap emerges due to the noise introduced when inverting the text covariance matrix ($M_{cc}$). Although this gap narrows as the privacy budget increases, optimizing this text-conditional release at scale remains an open frontier.
Summary updated