Prototypical Hash Encoding for On-the-Fly Fine-Grained Category Discovery
Haiyang Zheng, Nan Pu, Wenjing Li, Nicu Sebe, Zhun Zhong
Abstract
In this paper, we study a practical yet challenging task, On-the-fly Category Discovery (OCD), aiming to online discover the newly-coming stream data that belong to both known and unknown classes, by leveraging only known category knowledge contained in labeled data. Previous OCD methods employ the hash-based technique to represent old/new categories by hash codes for instance-wise inference. However, directly mapping features into low-dimensional hash space not only inevitably damages the ability to distinguish classes and but also causes"high sensitivity"issue, especially for fine-grained classes, leading to inferior performance. To address these issues, we propose a novel Prototypical Hash Encoding (PHE) framework consisting of Category-aware Prototype Generation (CPG) and Discriminative Category Encoding (DCE) to mitigate the sensitivity of hash code while preserving rich discriminative information contained in high-dimension feature space, in a two-stage projection fashion. CPG enables the model to fully capture the intra-category diversity by representing each category with multiple prototypes. DCE boosts the discrimination ability of hash code with the guidance of the generated category prototypes and the constraint of minimum separation distance. By jointly optimizing CPG and DCE, we demonstrate that these two components are mutually beneficial towards an effective OCD. Extensive experiments show the significant superiority of our PHE over previous methods, e.g., obtaining an improvement of +5.3% in ALL ACC averaged on all datasets. Moreover, due to the nature of the interpretable prototypes, we visually analyze the underlying mechanism of how PHE helps group certain samples into either known or unknown categories. Code is available at https://github.com/HaiyangZheng/PHE.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 7701b31c-4f37-4d9f-adcb-38dcbbc9bbe5Cited by top-tier papers10
- Open-World Deepfake Attribution via Confidence-Aware Asymmetric LearningHaiyang Zheng, Nan Pu, Wenjing Li, Teng Long et al.AAAI 2026 · 5 citations
- Generate, Refine, and Encode: Leveraging Synthesized Novel Samples for On-the-Fly Fine-Grained Category DiscoveryXiao Liu, Nan Pu, Haiyang Zheng, Wenjing Li et al.ICCV 2025 · 3 citations
- Open-Vocabulary Domain Generalization in Urban-Scene SegmentationDong Zhao, Qi Zang, Nan Pu, Wenjing Li et al.CVPR 2026 · 3 citations
- TALON: Test-time Adaptive Learning for On-the-Fly Category DiscoveryYanan Wu, Yuhan Yan, Tailai Chen, Zhixiang Chi et al.CVPR 2026 · 3 citations
- DAA: Amplifying Unknown Discrepancy for Test-Time DiscoveryTianle Liu, Fan Lyu, Chenggong Ni, Zhang Zhang et al.NeurIPS 2025 · 1 citation
Builds on21
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou et al.ICCV 2021 · 8,921 citations
- Learning to Discover Novel Visual Categories via Deep Transfer ClusteringKai Han, Andrea Vedaldi, Andrew ZissermanICCV 2019 · 378 citations
- A Unified Objective for Novel Class DiscoveryEnrico Fini, Enver Sangineto, Stéphane Lathuilière, Zhun Zhong et al.ICCV 2021 · 248 citations
- Generalized Category DiscoverySagar Vaze, Kai Han, Andrea Vedaldi, Andrew ZissermanCVPR 2022 · 194 citations
Related papers
- Assignment-Driven Hash Learning in a Hyper-Semantic Space for On-the-Fly Category DiscoveryKaibing Yang, Yucheng Wang, Tingzhang LuoCVPR 2026
- Adaptive Gaussian Expansion for On-the-fly Category DiscoveryChunming Li, Shidong Wang, Haofeng ZhangICLR 2026
- On-the-Fly Category DiscoveryRuoyi Du, Dongliang Chang, Kongming Liang, Timothy M. Hospedales et al.CVPR 2023
- PEOCH: Online Cross-Modal Hashing with Semi-Supervised Streaming Data Driving Prototype EvolutionXiao Kang, Xingbo Liu, Shuo Pan, Xuening Zhang et al.AAAI 2026
- Probabilistic Hash Embeddings for Online Learning of Categorical FeaturesAodong Li, Abishek Sankararaman, Balakrishnan NarayanaswamyAAAI 2026
