Abstract
Data-Free Knowledge Distillation (DFKD) aims to train a compact student model using a pre-trained teacher model without access to the original training data. Traditional DFKD methods often rely on static generation targets, which can lead to training instability or poor convergence. This paper proposes CuDFKD, a novel framework that introduces a dynamic "easy-to-hard" curriculum. By adaptively adjusting the difficulty of synthetic samples—moving from data priors to adversarial boundaries—CuDFKD enables faster convergence and superior model fidelity to the teacher model.
The Challenge of Data-Free Distillation
Knowledge Distillation (KD) is a powerful technique for model compression, but its reliance on original training data poses a significant hurdle in privacy-restricted or proprietary environments. Data-Free Knowledge Distillation (DFKD) circumvents this by using a generator to synthesize pseudo-data from the teacher's internal weights.
However, existing DFKD strategies often struggle with the "difficulty" of these synthetic samples. Prior-based methods generate "easy" samples that may lack the nuance of decision boundaries, while boundary-based methods generate "hard" adversarial samples that can overwhelm a student model early in training. This mismatch often results in unstable training and "catastrophic forgetting."
CuDFKD: A Curriculum-Based Approach
The core philosophy of CuDFKD is to mimic human learning by starting with simple concepts and gradually introducing complexity. This is achieved through two main components:
1. Dynamic Generation with Adversarial Scheduling
Instead of targeting a fixed distribution, the generator's objective evolves. Early in the process, it focuses on generating samples that align with the teacher's internal priors (easy samples). As the student model's performance improves, an Adversarial Scheduler shifts the generator's focus toward adversarial samples that challenge the student's current understanding of class boundaries (hard samples).
2. Dynamic Training via Self-Paced Learning
To further refine the curriculum, CuDFKD employs Self-Paced Learning (SPL). The system assigns a difficulty score to each generated sample based on the divergence between the teacher and student outputs. Samples that are currently "too hard" for the student's level are down-weighted, ensuring the student focuses on learnable information.
To maintain stability, the authors utilize an Alternative Updating Strategy (AOS), where the generator and student are updated in turns. They also provide a theoretical proof of convergence using Majorization-Minimization (MM) theory.
Key Results and Insights
The effectiveness of CuDFKD was validated on CIFAR-10, CIFAR-100, and Tiny ImageNet benchmarks:
- Rapid Convergence: CuDFKD achieves 90% Top-1 accuracy on CIFAR-10 in just 0.71 hours, compared to nearly 4 hours for standard static methods.
- High Fidelity: The method excels in Average Probability Loyalty ($L_p$) and Top-1 Agreement, proving that the student model isn't just guessing correctly but is actually mimicking the teacher's decision logic.
- Stability and Robustness: By starting with easy samples, the student avoids overfitting to the noise or "hallucinations" often found in purely adversarial synthetic data, making it more resilient to noisy teacher models.
Conclusion
CuDFKD demonstrates that a structured curriculum is vital for efficient data-free distillation. By treating the generator as a dynamic tutor that adapts to the student's progress, the framework achieves state-of-the-art performance with significantly reduced training time. Future research will look into automating the scheduler and integrating more advanced generative models like diffusion-based synthesizers.
Summary updated