Self-Cooperation Knowledge Distillation for Novel Class Discovery

Yuzheng Wang, Zhaoyu Chen, Dingkang Yang, Yunquan Sun, Lizhe Qi · DOI

Abstract

Novel Class Discovery (NCD) presents a significant challenge in machine learning: leveraging labeled data from known categories to identify and cluster unlabeled samples from novel categories. Traditional approaches often suffer from performance degradation due to data imbalance between known and novel classes when using a shared representation space. This paper introduces Self-Cooperation Knowledge Distillation (SCKD), a framework that maintains two disjoint representation spaces and utilizes a mutual teaching mechanism. By facilitating information exchange through pseudo-label synthesis, SCKD ensures that known and novel samples reinforce each other's learning. Experimental results across generic, fine-grained, and cross-domain benchmarks demonstrate that SCKD achieves state-of-the-art performance and exhibits high robustness to class imbalance.

1. Introduction

In the real-world application of machine learning, datasets frequently contain a mix of labeled "known" classes and unlabeled "novel" classes. The goal of Novel Class Discovery (NCD) is to transfer knowledge from the known domain to effectively cluster the novel domain. However, a primary hurdle in NCD is the inherent imbalance between these groups. When models utilize a single shared representation space, they often become biased toward the dominant group—either ignoring the nuances of novel classes or "forgetting" the features of known ones. This research addresses this trade-off by proposing a self-cooperative framework that treats known and novel data as complementary sources of information.

2. Methodology

The Self-Cooperation Knowledge Distillation (SCKD) framework is designed to break the dependency on a shared feature space, instead establishing two disjoint representation spaces: one for known classes and one for novel ones.

2.1 Dual Encoder Architecture

To maintain the integrity of learned features, the system employs two encoders:

  • Target Encoder: A trainable module that learns to represent both known and novel data.
  • Replica Encoder: A frozen deep copy of the model pre-trained on known data. This acts as a reference point to ensure the model retains its original "pure" knowledge of known classes during the discovery phase.

2.2 Cross-Pollination via Pseudo-Label Synthesis

The core of SCKD is the information bridge established by a Similarity Score Matrix. This matrix calculates the relationships between labeled and unlabeled samples, enabling two distinct types of knowledge distillation:

  • Known to Novel ($L_{k \to n}$): Knowledge from labeled samples is mapped into the novel space to guide the clustering of new categories.
  • Novel to Known ($L_{n \to k}$): Unlabeled novel samples are used to "review" and reinforce the model's understanding of known classes, preventing catastrophic forgetting.

2.3 Self-Distillation

The model ensures consistency by requiring its current predictions to align with the synthesized cooperative labels. This self-teaching loop allows the model to refine its internal representations without requiring manual intervention or additional labeled data.

3. Experimental Evaluation

The researchers evaluated SCKD across six diverse datasets to test its versatility in various contexts:

  • Generic Recognition: CIFAR10, CIFAR100 (using 20/80 and 50/50 splits), and ImageNet-100.
  • Fine-Grained Recognition: Stanford Cars, CUB (birds), and FGVC-Aircraft.
  • Cross-Domain: Office-31, which evaluates knowledge transfer across different environments (e.g., from professional photography to webcam images).

4. Key Insights and Results

4.1 State-of-the-Art Performance

SCKD consistently outperformed existing methods across benchmarks. On the CUB (birds) dataset, it achieved a clustering accuracy of 73.1%, surpassing the previous state-of-the-art (IIC) by nearly 2%. In task-agnostic evaluations on CIFAR100-80, SCKD reached 76.8% accuracy, significantly outperforming the popular UNO framework (73.2%).

4.2 Robustness to Imbalance and Uncertainty

A critical finding was the model's stability under extreme imbalance. When the number of novel classes on CIFAR100 was increased from 20 to 80, SCKD’s accuracy for known classes dropped by only ~1.4%, whereas competing methods like UNO experienced drops exceeding 10%. Furthermore, SCKD demonstrated superior performance when the actual number of novel classes was unknown, maintaining high accuracy even when the initial class count estimate was incorrect.

4.3 Novel Data as a Review Tool

Counter-intuitively, the study found that unlabeled novel data can serve as an effective tool for reviewing known classes. By using novel samples to reinforce known category boundaries, the model avoids the dilution of features that typically occurs in shared representation spaces.

5. Conclusion and Future Work

SCKD provides a robust solution to the imbalance problem in Novel Class Discovery by leveraging disjoint representation spaces and self-cooperative distillation. While the method currently requires the simultaneous presence of both known and novel samples, it sets a new standard for NCD performance. Future research may explore applying this self-cooperation logic to Large Foundation Models to mitigate catastrophic forgetting during the continuous learning of new tasks.

Summary updated

BibTeX
@inproceedings{wang2024self,
  author = {Yuzheng Wang and Zhaoyu Chen and Dingkang Yang and Yunquan Sun and Lizhe Qi},
  title = {{Self-Cooperation Knowledge Distillation for Novel Class Discovery}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72897-6\_26},
}
Figure