Mining your own secrets: Diffusion Classifier Scores for Continual Personalization of Text-to-Image Diffusion Models

Saurav Jha, Shiqi Yang, Masato Ishii, Mengjie Zhao, christian simon, Muhammad Jehanzeb Mirza, Dong Gong, Lina Yao, Shusuke Takahashi, Yuki Mitsufuji

TL;DR

Researchers have developed a way to personalize text-to-image models on a sequence of new concepts without forgetting the old ones—all without needing to store any previous training data. By "mining" the model’s own internal density estimates (Diffusion Classifier scores), the proposed method regularizes the model's parameters and outputs, significantly outperforming current state-of-the-art techniques like C-LoRA.

What Problem Does This Paper Address?

Personalizing a model like Stable Diffusion to recognize your specific pet or a unique art style usually involves fine-tuning it on a few images. This works great for one concept. But what happens when you want to learn a sequence of concepts—first your cat, then your favorite coffee mug, then a specific landmark—one after the other?

In a "continual learning" setup, models suffer from catastrophic forgetting: as they learn the new concept, they overwrite the weights that represented the old ones. The standard fix is "replay" (keeping a bit of old data around), but in the real world, storage limits and privacy concerns often make saving user data impossible. This paper tackles Replay-Free Continual Personalization (CP), aiming to find the "Goldilocks" zone where a model stays plastic enough to learn new things but stable enough to remember the past.

Methods

The authors introduce a framework that uses Diffusion Classifier (DC) scores as a regularization tool. A DC score essentially asks the model: "Given this noisy image, how likely is it to be Concept A vs. Concept B?"

Computation of Diffusion Classifier (DC) scores used to regularize the model.

They apply these scores in two distinct ways:

  1. Parameter-Space Regularization (EWC DC): They adapt Elastic Weight Consolidation (EWC), a classic algorithm that penalizes changes to "important" weights. Usually, importance is calculated using a Fisher Information Matrix (FIM). The authors use DC scores to make this importance estimate much more precise, ensuring the model knows exactly which weights are critical for distinguishing between concepts.
  2. Function-Space Regularization (DSC): They propose Diffusion Scores Consolidation (DSC), a double-distillation framework. When learning a new task, the model acts as a "student" that tries to match the noise predictions and the DC score distributions of "teacher" models (the versions of the model that already mastered previous tasks).

To keep this computationally efficient, they don't check every single previous concept every time. Instead, they use a subset ($k$) of concepts, including a "prior" concept (like "a photo of a person") to maintain general knowledge.

Datasets

The researchers evaluated their approach on four diverse datasets to ensure robustness:

  • Custom Concept: 6 tasks involving plushies, toys, and wearables.
  • Google Landmarks v2: 10 tasks featuring geographically diverse waterfalls.
  • Textual Inversion Dataset: 9 tasks involving household objects.
  • Celeb-A: 10 tasks focused on celebrity faces.
  • Long-Sequence Test: A challenging 50-concept sequence to test scalability.

Key Insights and Ideas

  • The C-LoRA Flaw: The authors discovered that the current state-of-the-art, C-LoRA, has a "degeneracy" issue. Its self-regularization penalty eventually pushes all weight values toward zero, causing the model to lose "plasticity" (the ability to learn) over long sequences.
Evolution of C-LoRA weights showing the degeneracy issue over multiple tasks.
  • Generative vs. Discriminative: Standard diffusion training is generative—it learns to create. By using DC scores, the authors inject a discriminative signal. This helps the model "understand" the boundaries between concepts, which is vital for preventing interference between similar-looking tasks.
  • Mining "Secrets": The title refers to the fact that the model already contains the information needed to regularize itself; we just need to "mine" it using the Diffusion Classifier objective rather than the standard denoising objective.

Key Results

The proposed methods (specifically the combination of EWC and DSC with DC scores) consistently outperformed baselines across multiple metrics:

  • Lower Forgetting: On the Landmarks dataset, their best variant achieved a Backward Transfer (BwT) score of -3.85, compared to C-LoRA’s -16.47 (higher is better, indicating less forgetting).
  • Better Image Quality: Qualitative results show that while C-LoRA starts generating "muddied" or incorrect concepts (like sunglasses with three lenses) after many tasks, the DC-based method maintains high fidelity.
  • Scalability: In the 50-concept test, the DC-based approach maintained steady performance, while C-LoRA’s performance saturated and declined after about 35 concepts.
  • Efficiency: The method operates on Low-Rank Adapters (LoRA), meaning it adds virtually no parameter overhead and requires zero extra storage compared to C-LoRA.

Limitations and Future Work

The primary drawback is training time complexity. Calculating DC scores requires multiple conditional forward passes per iteration. While the authors introduced tricks to mitigate this (like sampling a subset of concepts), it is still slower than naive fine-tuning.

The authors also noted occasional visual artifacts in complex scenes (e.g., incomplete rainbows or distorted teapot handles). Future work could involve finding even more efficient ways to derive DC scores or exploring how this "internal secret mining" could be applied to other generative architectures beyond diffusion.

Summary updated

BibTeX
@inproceedings{jha2025mining,
  author = {Saurav Jha and Shiqi Yang and Masato Ishii and Mengjie Zhao and christian simon and Muhammad Jehanzeb Mirza and Dong Gong and Lina Yao and Shusuke Takahashi and Yuki Mitsufuji},
  title = {{Mining your own secrets: Diffusion Classifier Scores for Continual Personalization of Text-to-Image Diffusion Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=hUdLs6TqZL},
}
Figure