Abstract
With the advancement of deep neural networks in computer vision, artificial intelligence (AI) is widely employed in real-world applications. However, AI still faces limitations in mimicking high-level human capabilities, such as novel category discovery, for practical use. While some methods utilizing offline continual learning have been proposed for novel category discovery, they neglect the continuity of data streams in real-world settings. In this work, we introduce Online Continuous Generalized Category Discovery (OCGCD), which considers the dynamic nature of data streams where data can be created and deleted in real time. Additionally, we propose a novel method, DEAN, Discovery via Energy guidance and feature AugmentatioN, which can discover novel categories in an online manner through energy-guided discovery and facilitate discriminative learning via energy-based contrastive loss. Furthermore, DEAN effectively pseudo-labels unlabeled data through variance-based feature augmentation. Experimental results demonstrate that our proposed DEAN achieves outstanding performance in proposed OCGCD scenario.
Introduction: Bridging the Gap to Real-World Data Streams
In practical applications, data does not arrive in static, pre-labeled datasets; it flows in a continuous, dynamic stream. While Generalized Category Discovery (GCD) has enabled models to recognize known classes and group unknown ones, existing methods are predominantly offline. They assume the model can access the entire dataset simultaneously, an assumption that fails in real-time environments where data is processed in small batches and subsequently deleted.
When offline methods are forced into an online stream, they suffer from two critical issues: catastrophic forgetting (the loss of previously acquired knowledge) and noisy pseudo-labeling (inaccurate categorization due to limited exposure to new examples). The proposed Online Continuous Generalized Category Discovery (OCGCD) framework addresses these challenges by modeling a scenario where data is processed batch-wise and discarded after use.
Methodology: The DEAN Framework
To solve the OCGCD problem, the researchers developed DEAN (Discovery via Energy guidance and feature AugmentatioN). The method relies on three core pillars:
- Energy-Guided Discovery: Rather than training complex sub-networks to identify new categories, DEAN utilizes energy scores. By measuring the energy of a sample relative to the model's current knowledge, it categorizes incoming data into three distinct groups: Known (from initial training), Seen (discovered in previous stream batches), and Unseen (entirely new).
- Variance-based Feature Augmentation (VFA): Clustering is inherently difficult when only a few images are available in a single batch. VFA "stretches" the feature space by generating augmented feature vectors based on the variance of the current batch. This provides the model with richer variational information, facilitating clearer boundaries between new clusters.
- Energy-based Contrastive Loss ($L_{ec}$): This loss function amplifies energy for known classes while reducing it for novel ones, forcing the model to learn more discriminative features during the online process.
To maintain stability, DEAN employs Low-Rank Adaptation (LoRA), keeping core weights frozen while adapting small, specialized layers to prevent the forgetting of original training data.
Experimental Results
DEAN was evaluated on standard benchmarks adapted for OCGCD: CUB200 (birds), FGVC-Aircraft, and CIFAR-100. The model demonstrated significant improvements over existing state-of-the-art methods like FRoST and CGCD.
- Superior Discovery: On CIFAR-100, DEAN achieved an overall clustering accuracy ($M_{all}$) of 62.34%, a massive leap from the 2.64% achieved by the previous best method (CGCD).
- Reduced Forgetting: On the CUB200 dataset, DEAN maintained a forgetting rate of only 16.26%, whereas standard fine-tuning methods lost over 80% of their accuracy.
- Pseudo-label Quality: The VFA technique improved internal labeling accuracy from approximately 46% to 65%, proving that hallucinating extra feature vectors significantly aids category discovery in data-scarce online environments.
Conclusion
DEAN establishes a new benchmark for online category discovery by leveraging energy scores and variance-based augmentation. While the model excels at the end of training sessions, future work will focus on improving "fast adaptation" to ensure high inference performance at every point during the online stream, even midway through batch processing.
Summary updated