NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Novel Class Discovery Without Forgetting

K. J. Joseph, Sujoy Paul, Gaurav Aggarwal, Soma Biswas, Piyush Rai, Kai Han, Vineeth N. Balasubramanian

Introduction

Standard Novel Class Discovery (NCD) focuses on identifying new categories in unlabeled data using knowledge from a previously learned labeled set. However, traditional NCD methods often assume simultaneous access to both datasets and task awareness during inference. In real-world scenarios, privacy regulations (like GDPR) or storage limits often necessitate the deletion of old data, leading to "catastrophic forgetting" where the model loses its ability to recognize original classes while learning new ones. This paper, presented at ECCV 2022, introduces NCDwF (Novel Class Discovery without Forgetting) to address these limitations.

The NCDwF Problem Setting

The authors redefine NCD by removing two key assumptions: data access and task awareness. The model must discover novel categories incrementally without revisiting the original labeled images. This requires a balance between discovering new groups and retaining prior knowledge.

The NCDwF framework involves a base learning phase on labeled data followed by a class discovery phase on unlabeled data, aiming to remember base classes without re-accessing their data.

Methodology

To enable discovery without forgetting, the NCDwF framework employs three main strategies:

1. Pseudo-latent Generation and Replay

Since original images are unavailable, the model "inverts" its frozen classifier head. By starting with random noise and applying gradient ascent, it generates "pseudo-latent" features that activate known class neurons. These are combined with stored class means via Latent Mixup to create a synthetic proxy dataset for the missing labeled data.

2. Mutual Information (MI) Regularization

The authors leverage the model's "overconfidence" — its tendency to classify novel objects into similar known categories — as a semantic anchor. By maximizing Mutual Information between the old head's predictions and the new discovery head's outputs, the model transfers structural knowledge from known classes to the unknown ones.

3. Known Class Identifier (KCI)

For task-agnostic inference, a two-layer MLP acts as a gatekeeper. It determines whether an input feature more closely resembles the generated pseudo-latents of known classes or the real latents of the new unlabeled data, allowing the model to classify images without being told if they belong to a "seen" or "novel" group.

Experimental Results

The method was evaluated on CIFAR-10, CIFAR-100, and ImageNet-1000.

  • Retention: On CIFAR-10, NCDwF maintained 92.72% accuracy on seen classes, whereas the state-of-the-art baseline (UNO) dropped to 33.16% in the incremental setting.
  • Discovery: The model achieved 90.32% clustering accuracy on novel CIFAR-10 classes, nearly matching models with full data access.
  • Task-Agnostic Performance: In the most challenging "All-class" setting, NCDwF reached 76.67% accuracy on CIFAR-10, significantly outperforming the baseline's 35.68%.

Conclusion

NCDwF provides a robust framework for autonomous category discovery in dynamic environments. By replacing raw image storage with latent replay and using MI regularization to bridge the gap between known and unknown semantics, it effectively mitigates catastrophic forgetting. Future work aims to address the "KCI bottleneck" and extend the framework to continuous, multi-step discovery phases.

Summary updated

BibTeX
@inproceedings{joseph2022novel,
  author = {K. J. Joseph and Sujoy Paul and Gaurav Aggarwal and Soma Biswas and Piyush Rai and Kai Han and Vineeth N. Balasubramanian},
  title = {{Novel Class Discovery Without Forgetting}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-20053-3\_33},
}
Figure