Abstract
Diffusion models have revolutionized image synthesis but remain limited by their inability to learn new tasks sequentially without forgetting previous ones—a phenomenon known as Generative Catastrophic Forgetting (GCF). We present Continual Consistency Diffusion (CCD), a framework that introduces a hierarchy of consistency constraints grounded in the mathematics of stochastic differential equations (SDEs). By preserving inter-task, unconditional, and prior knowledge, CCD maintains the integrity of denoising trajectories across evolving model states. Our results across multiple vision benchmarks demonstrate that CCD significantly reduces forgetting, maintaining high-fidelity generation where traditional experience replay methods collapse.
The Challenge of Continual Diffusion
While diffusion models are the current gold standard for image generation, they are inherently "static." Training a model on a new domain (e.g., learning to generate dogs after being trained on cats) typically results in Generative Catastrophic Forgetting (GCF). In this scenario, the updated weights for the new task overwrite the knowledge of the previous task, causing the model to produce noise or "collapsed" outputs when prompted for earlier concepts.
Traditional Continual Learning (CL) strategies designed for classification, such as Elastic Weight Consolidation (EWC), often prove ineffective for diffusion. These methods fail to account for the complex, time-dependent denoising trajectories that define diffusion models. Existing workarounds like "generative replay" are computationally prohibitive, creating a need for a more efficient, theoretically grounded approach to lifelong generative modeling.
The CCD Framework: Hierarchical Consistency
The authors propose the Continual Consistency Diffusion (CCD) framework to address these gaps. CCD moves beyond simple weight regularization by enforcing a hierarchy of consistency constraints derived from SDEs:
- Inter-task Knowledge Consistency ($L_{IKC}$): This constraint uses Bregman divergence with a Fisher Information-based preconditioner to regulate weight updates. It allows the model to adapt to new tasks while preserving the essential "curvature" of previously acquired knowledge.
- Unconditional Knowledge Consistency ($L_{UKC}$): This ensures that the reverse-time denoising trajectories—the "paths" taken to generate an image—remain stable. By aligning the mean functions of these trajectories between model iterations, the framework prevents path corruption.
- Prior Knowledge Consistency ($L_{PKC}$): Utilizing a label regressor, this constraint ensures that the semantic relationship between labels and generated features does not drift over time, anchoring the model's "prior" knowledge.
To complement these losses, the authors introduce a Hierarchical Diversity Buffer (HDB). Unlike standard first-in-first-out buffers, HDB uses similarity scoring to maintain a diverse set of "elite" samples for rehearsal, ensuring the model is exposed to a representative variety of past data.
Experimental Results
The CCD framework was evaluated on five diverse benchmarks, including MNIST-5T, OxfordPets-5T, and CUB200-10T. Performance was measured using Mean Fidelity (MF) and Incremental Mean Fidelity (IMF), metrics derived from the Fréchet Inception Distance (FID) where lower values indicate better performance.
Quantitatively, CCD consistently outperformed baselines like Experience Replay (ER) and A-GEM. For instance, on the MNIST-5T benchmark, CCD achieved a reduction in IMF of over 50% compared to standard ER. Qualitatively, the results are even more striking. As shown in Figure 2, while baseline models (ER) suffer from catastrophic collapse and generate noise for Task 0 after reaching Task 8, the full CCD-equipped model (IKC & UKC & PKC) continues to produce clear, identifiable images from the initial task.
Discussion and Future Work
The core insight of this work is that forgetting in diffusion models is a corruption of the SDE trajectory, not just weight drift. By focusing on trajectory consistency, CCD provides a scalable and effective solution for continual generation.
However, challenges remain. The framework's effectiveness is tied to the degree of semantic overlap between tasks; on highly diverse datasets like CIFAR100-10T, the benefits of shared consistency are less pronounced. Future research will focus on enhancing the discriminative quality of intermediate representations and automating hyperparameter tuning through meta-learning to make the framework more robust across varied data distributions.
Summary updated