TL;DR
This paper introduces DP-LoDA, a parameter-efficient fine-tuning method for diffusion models that enables the generation of differentially private synthetic data. This approach significantly reduces computational costs compared to full fine-tuning, making it more accessible while maintaining strong privacy guarantees and utility for downstream tasks.
What Problem Does This Paper Address?
Diffusion models (DMs) are powerful tools for generating high-quality synthetic data. A promising application is using these synthetic samples to train downstream classifiers, thereby protecting the privacy of the original sensitive training data. However, fine-tuning large diffusion models with differential privacy (DP) using methods like DP-SGD is computationally expensive and memory-intensive. This creates a barrier to entry for researchers and practitioners. The paper addresses this by exploring parameter-efficient fine-tuning (PEFT) techniques, specifically Low-Dimensional Adaptation (LoDA), in the context of differentially private diffusion model training.
Methods
The core contribution is the application of Low-Dimensional Adaptation (LoDA) for parameter-efficient fine-tuning of diffusion models under differential privacy. LoDA, originally proposed for large language models, is adapted here for convolutional layers common in diffusion models. Instead of fine-tuning all parameters of the diffusion model, LoDA attaches small, low-rank adapter modules.
Here's how it works:
- Pre-training: A diffusion model is first pre-trained on a large, public dataset (e.g., ImageNet32, SVHN).
- DP-LoDA Fine-tuning: The pre-trained diffusion model's original parameters are frozen. Small LoDA adapters are introduced and fine-tuned on a smaller, private dataset using Differentially Private Stochastic Gradient Descent (DP-SGD). These adapters learn low-rank updates to the convolutional layers.
- Synthetic Data Generation: The DP-LoDA fine-tuned diffusion model is then used to generate synthetic samples.
- Downstream Classifier Training: These privacy-preserving synthetic samples are used to train a downstream classifier.
The paper highlights that LoDA is particularly suitable for convolutional layers by reshaping the weight matrices and applying low-rank constraints.
Datasets
- Public Datasets for Pre-training:
- SVHN (Street View House Numbers)
- ImageNet32
- Private Datasets for Fine-tuning:
- MNIST (Modified National Institute of Standards and Technology database)
- CIFAR-10 (Canadian Institute for Advanced Research - 10 classes)
The paper also considers a scenario with a very small private dataset (1% of CIFAR-10) to simulate real-world constraints.
Key Insights and Ideas
- PEFT is Viable for DP Diffusion Models: The paper demonstrates that parameter-efficient fine-tuning (PEFT) techniques like LoDA can be effectively applied to diffusion models for differentially private fine-tuning, offering a significant reduction in computational cost.
- LoDA Adapts Well to Convolutions: The adaptation of LoDA to convolutional layers, a key component of diffusion models, is crucial. This allows for efficient learning of privacy-preserving updates without modifying the entire model.
- Privacy-Utility Trade-off Maintained: DP-LoDA successfully generates synthetic data that can train downstream classifiers with good utility, while strictly adhering to differential privacy guarantees for the fine-tuning data.
- Efficiency Gains are Significant, Especially with Limited Data: The benefits of DP-LoDA become more pronounced when the private fine-tuning dataset is small, where it performs comparably to or even better than full fine-tuning methods.
Key Results
- Competitive Accuracy: On CIFAR-10 and MNIST, DP-LoDA achieves competitive downstream classifier accuracies, often outperforming DP-SGD and other parameter-efficient methods like DP-LDM, especially at lower privacy costs.
- Outperforms DP-SGD: DP-LoDA consistently shows significantly better accuracy than standard DP-SGD when training classifiers directly on private data.
- Strong Performance on Small Datasets: When fine-tuning with only 1% of CIFAR-10 data, DP-LoDA maintains good utility and privacy, with the gap to full fine-tuning methods narrowing considerably.
- Qualitative Results: The generated synthetic images (shown in the appendix) appear visually coherent and representative of the training data, even after DP fine-tuning.
Limitations and Future Work
- Gap with Full Fine-tuning: While DP-LoDA is efficient, there is still a slight gap in accuracy compared to fully fine-tuned diffusion models in some settings.
- Future Work: The authors suggest exploring DP-LoDA with Latent Diffusion Models (LDMs) as a promising direction for further improving parameter-efficiency. They also note that the high-level idea of combining DP with PEFT for LLMs was previously proposed, but this work specifically focuses on diffusion models for synthetic data generation.
Summary updated