PromptCAL: Contrastive Affinity Learning via Auxiliary Prompts for Generalized Novel Category Discovery
Authors:
- 1 June 2023
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 3479-3488
Abstract
Although existing semi-supervised learning models achieve remarkable success in learning with unannotated in-distribution data, they mostly fail to learn on unlabeled data sampled from novel semantic classes due to their closed-set assumption. In this work, we target a pragmatic but under-explored Generalized Novel Category Discovery (GNCD) setting. The GNCD setting aims to categorize unlabeled training data coming from known and novel classes by leveraging the information of partially labeled known classes. We propose a two-stage Contrastive Affinity Learning method with auxiliary visual Prompts, dubbed PromptCAL, to address this challenging problem. Our approach discovers reliable pairwise sample affinities to learn better semantic clustering of both known and novel classes for the class token and visual prompts. First, we propose a discriminative prompt regularization loss to reinforce semantic discriminativeness of prompt-adapted pre-trained vision transformer for refined affinity relationships. Besides, we propose contrastive affinity learning to calibrate semantic representations based on our iterative semi-supervised affinity graph generation method for semantically-enhanced supervision. Extensive experimental evaluation demonstrates that our PromptCAL method is more effective in discovering novel classes even with limited annotations and surpasses the current state-of-the-art on generic and fine-grained benchmarks (e.g., with nearly 11% gain on CUB-200, and 9% on ImageNet-100) on overall accuracy. Our code is available at https://github.com/sheng-eatamath/PromptCAL.Keywords
This publication has 36 references indexed in Scilit:
- A survey on semi-supervised learningMachine Learning, 2019
- Efficient Parameter-Free Clustering Using First Neighbor Relations2019
- Learning a Discriminative Filter Bank Within a CNN for Fine-Grained Recognition2018
- ImageNet classification with deep convolutional neural networksCommunications of the ACM, 2017
- 3D Object Representations for Fine-Grained Categorization2013
- Affinity Learning with Diffusion on Tensor Product GraphIEEE Transactions on Pattern Analysis and Machine Intelligence, 2012
- The Sinkhorn–Knopp Algorithm: Convergence and ApplicationsSIAM Journal on Matrix Analysis and Applications, 2008
- Sampling from large graphs2006
- Object recognition from local scale-invariant features1999
- Speeding up the hungarian algorithmComputers & Operations Research, 1990