Breaking Forgetting: Training-Free Few-Shot Class-Incremental Learning via Conditional Diffusion

Haidong Kang, Ketong Qian, Yi LuarXiv 2025 · DOI

Introduction

Few-Shot Class-Incremental Learning (FSCIL) represents a significant hurdle in computer vision: models must learn to recognize new classes from extremely limited data (often just 5 images) without losing the ability to identify previously learned "base" classes. Conventional approaches rely on gradient-based fine-tuning or parameter-efficient adapters. However, these methods frequently suffer from catastrophic forgetting, where updates for new classes distort the representations of old ones, and weak plasticity, where noisy gradients from few-shot samples lead to poor generalization.

The proposed CD-FSCIL framework addresses these issues by fundamentally reimagining incremental learning. Instead of an optimization problem solved via backpropagation, it treats the task as a generative inference problem, effectively eliminating the need for weight updates during incremental sessions.

The CD-FSCIL Framework

The core innovation of CD-FSCIL is its training-free architecture. By keeping the model weights permanently frozen after an initial base training phase, the system structurally prevents catastrophic forgetting. The framework integrates three primary components: a Large Language Model (LLM), a Conditional Diffusion model, and a CLIP-based vision/text encoder.

The CD-FSCIL architecture illustrating the Generative Path (LLM and Diffusion) and the Real Path (Few-shot images) for prototype fusion.

1. Generative and Real Paths

To represent a new class, CD-FSCIL constructs a fused prototype from two distinct sources:

  • The Generative Path ("Imagination"): An LLM generates descriptive textual prompts for a new class (e.g., "a seagull with a red beak and gray feathers"). These prompts condition a frozen Diffusion Model (UNet) to synthesize high-fidelity visual exemplars. These synthetic images are then encoded by a frozen CLIP vision encoder to form a "generative prototype."
  • The Real Path ("Observation"): The few available real-world samples are processed through the same frozen CLIP encoder to create a "real prototype."

2. Prototype Fusion and Inference

The final class representation is a weighted combination of the generative and real prototypes. This fusion leverages the structural "blueprint" provided by the LLM/Diffusion path to compensate for the scarcity of real visual data. Classification is performed via simple cosine similarity between test image embeddings and the stored prototypes.

Key Insights

  • Stability via Freezing: By refusing to update weights, the model achieves 100% stability on base classes, bypassing the traditional stability-plasticity trade-off.
  • Multimodal Synergy: The use of LLMs provides a rich semantic prior that guides the diffusion model, allowing it to "imagine" class features that might not be fully captured in a 5-shot sample set.
  • Diffusion as Meta-Optimization: The authors demonstrate that generating a class distribution via diffusion can serve as a powerful alternative to learning that distribution through noisy gradients.

Experimental Results

CD-FSCIL was evaluated on standard benchmarks including miniImageNet, CIFAR-100, and the fine-grained CUB200 bird dataset.

Performance comparison between CLOSER and CD-FSCIL across ten incremental sessions, showing Total, Base, and New Class Accuracy.

As shown in the radar charts, CD-FSCIL consistently maintains a performance edge over state-of-the-art methods like CLOSER. On miniImageNet, it achieved a +1.91% improvement in average accuracy. Notably, its resilience to performance decay is most evident in later sessions; for instance, it outperformed the FACT method by 9.64% in the final session of miniImageNet. On the challenging CUB200 dataset, it maintained a +3.63% margin over CLOSER at the final incremental step.

Conclusion and Future Work

CD-FSCIL demonstrates that training-free, generative approaches can effectively solve the "final boss" challenge of FSCIL. By leveraging frozen, pre-trained multimodal models, it eliminates catastrophic forgetting while maintaining high plasticity. While the diffusion sampling process introduces some inference latency, the reduction in training overhead and the gains in robustness mark a significant step forward. Future research will likely focus on optimizing diffusion architectures for faster prototype generation and exploring broader base session data to enhance the model's "imagination" for diverse novel classes.

Summary updated

BibTeX
@misc{kang2025breaking,
  author = {Haidong Kang and Ketong Qian and Yi Lu},
  title = {{Breaking Forgetting: Training-Free Few-Shot Class-Incremental Learning via Conditional Diffusion}},
  year = {2025},
  eprint = {2511.18516},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.18516},
}
Figure