[Paper Review] Exploring Continual Learning of Diffusion Models
This paper pioneers the study of continual learning (CL) in diffusion models, demonstrating that experience replay with reduced rehearsal coefficient effectively mitigates catastrophic forgetting. It reveals that standard bits-per-dimension (BPD) metrics poorly capture forgetting, while timestep-dependent overfitting—especially in early denoising steps—undermines performance, necessitating careful hyperparameter tuning for CL in diffusion models.
Diffusion models have achieved remarkable success in generating high-quality images thanks to their novel training procedures applied to unprecedented amounts of data. However, training a diffusion model from scratch is computationally expensive. This highlights the need to investigate the possibility of training these models iteratively, reusing computation while the data distribution changes. In this study, we take the first step in this direction and evaluate the continual learning (CL) properties of diffusion models. We begin by benchmarking the most common CL methods applied to Denoising Diffusion Probabilistic Models (DDPMs), where we note the strong performance of the experience replay with the reduced rehearsal coefficient. Furthermore, we provide insights into the dynamics of forgetting, which exhibit diverse behavior across diffusion timesteps. We also uncover certain pitfalls of using the bits-per-dimension metric for evaluating CL.
Motivation & Objective
- To investigate the feasibility and challenges of continual learning in diffusion models, which are computationally expensive to train from scratch.
- To benchmark existing continual learning methods, particularly experience replay, on denoising diffusion probabilistic models (DDPMs).
- To analyze forgetting dynamics across diffusion timesteps and identify limitations of standard evaluation metrics like bits-per-dimension (BPD).
- To uncover structural issues in experience replay, such as timestep-dependent overfitting, and propose mitigation strategies.
- To lay the foundation for future research on continual learning in diffusion models, especially for text-to-image and pretrained architectures.
Proposed method
- Benchmarked common continual learning methods, including fine-tuning and experience replay, on MNIST and Fashion-MNIST datasets using DDPMs.
- Applied experience replay with varying rehearsal coefficients to control the influence of stored buffer samples during training.
- Used the simplified DDPM training loss (Equation 3), which minimizes the mean squared error between predicted and true noise at each timestep.
- Trained models with stochastic gradient descent using random sampling of data, noise, and timesteps to optimize the variational lower bound on log-likelihood.
- Analyzed forgetting dynamics by measuring performance degradation on previous tasks after continual training and visualizing sample quality over time.
- Investigated the impact of diffusion timestep on overfitting by evaluating loss and generation quality at early (e.g., t=50) and late (e.g., t=700) timesteps.
Experimental results
Research questions
- RQ1Can experience replay effectively prevent catastrophic forgetting in diffusion models during continual learning?
- RQ2How does forgetting manifest across different diffusion timesteps, and does it vary in severity?
- RQ3Why does the bits-per-dimension (BPD) metric fail to reflect actual generative performance degradation in continual learning?
- RQ4What causes timestep-dependent overfitting in experience replay for diffusion models, and how can it be mitigated?
- RQ5How do structural properties of DDPMs, such as the denoising and generative phases, influence continual learning dynamics?
Key findings
- Experience replay with a reduced rehearsal coefficient (e.g., 0.01) significantly outperforms standard fine-tuning and prevents catastrophic forgetting in DDPMs.
- The bits-per-dimension (BPD) metric showed minimal deterioration despite complete loss of generative capability, indicating it is a poor proxy for evaluating continual learning performance in diffusion models.
- Overfitting to the rehearsal buffer occurred predominantly at early diffusion timesteps (e.g., t=50), where loss on buffer data dropped sharply, while late timesteps (e.g., t=700) showed no overfitting due to higher noise levels acting as a regularizer.
- The early timesteps, which contribute most to log-likelihood and model quality, are most vulnerable to forgetting, explaining why BPD remains stable even when sample quality degrades.
- Timestep-dependent overfitting is driven by the larger scale of loss components in early timesteps and the absence of noise regularization in late timesteps, which prevents overfitting.
- Reducing the rehearsal coefficient effectively mitigates overfitting and improves overall generative performance, highlighting the importance of hyperparameter tuning in continual learning for diffusion models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.