Self-cooperation Knowledge Distillation for Novel Class Discovery

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

Introduction

In real-world machine learning applications, models frequently encounter categories beyond their initial training labels. Novel Class Discovery (NCD) aims to leverage knowledge from labeled "known" classes to automatically categorize unlabeled "novel" classes. A significant challenge in NCD is the imbalance between known and novel data, which often leads to biased feature representations or catastrophic forgetting of known categories.

Researchers from Fudan University address these issues in their paper, Self-Cooperation Knowledge Distillation for Novel Class Discovery, by introducing a framework that treats known and novel class discovery as separate but mutually beneficial tasks.

Problem Statement: The Dominant Class Issue

Most existing NCD frameworks utilize a single, shared representation space for both known and novel classes. This approach often results in a "dominant class" problem:

  1. Bias toward Known Classes: Large amounts of labeled data can cause the model to ignore subtle features necessary to distinguish novel classes.
  2. Catastrophic Forgetting: Conversely, an abundance of unlabeled data might lead the model to lose its discriminative power for known categories.

Methodology: Self-Cooperation Knowledge Distillation (SCKD)

The proposed SCKD framework moves away from shared spaces, instead maintaining two disjoint representation spaces: one for known classes and one for novel classes.

Overview of the SCKD architecture and the pseudo-label synthesis process.

Dual-Head Architecture and Replica Encoder

The model employs a shared encoder with two distinct classification heads. To maintain stability, a "deepcopy" of the encoder is made after supervised pre-training. This frozen Replica Encoder ($E^r$) serves as a stable reference for known-class features, preventing representation drift during the discovery phase.

Cooperation via Pseudo-Label Synthesis

The "self-cooperation" occurs through a cross-space distillation process:

  • Similarity Score Matrix: The model computes cosine similarity between labeled and unlabeled sample features.
  • Bidirectional Knowledge Transfer: Information from known samples is mapped into the novel space to guide cluster discovery, while information from novel samples is mapped back into the known space to reinforce existing category boundaries. This ensures every sample contributes to both "reviewing" known classes and "discovering" new ones.

Experimental Results

The SCKD method was evaluated on six benchmarks, including general datasets (CIFAR10, CIFAR100, ImageNet-100) and fine-grained datasets (Stanford Cars, CUB, FGVC-Aircraft).

Performance comparison of SCKD against state-of-the-art methods on known and novel classes.

Key Findings

  • State-of-the-Art Performance: SCKD consistently outperformed previous methods. For instance, on the CUB (birds) dataset, it achieved a clustering accuracy of 73.1%, surpassing the previous best of 71.3%.
  • Robustness to Task Difficulty: As the number of novel classes increased, SCKD maintained stable performance on known classes, whereas competing methods like UNO and rKD showed significant degradation.
  • Superior Clustering: Qualitative analysis via t-SNE visualizations indicated that SCKD produces tighter and more distinct clusters for novel categories compared to baseline approaches.

Conclusion and Future Work

SCKD demonstrates that maintaining disjoint representation spaces and fostering cooperation between them effectively mitigates the biases inherent in shared-space NCD methods. While the current framework assumes the number of novel classes is known—a common constraint in NCD research—future iterations could explore Generalized Category Discovery (GCD) settings where the unlabeled set contains an unknown mixture of both known and novel categories.

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