Lune

NeurIPS2024Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

10 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • DAA: Amplifying Unknown Discrepancy for Test-Time Discovery cites Generalized Category Discovery
  • DAA: Amplifying Unknown Discrepancy for Test-Time Discovery cites Learning to Discover Novel Visual Categories via Deep Transfer Clustering
  • Emerging Properties in Self-Supervised Vision Transformers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Generalized Category Discovery cites Emerging Properties in Self-Supervised Vision Transformers
  • Generalized Category Discovery cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Generalized Category Discovery cites A Unified Objective for Novel Class Discovery
  • Generalized Category Discovery cites Learning to Discover Novel Visual Categories via Deep Transfer Clustering
  • Generate, Refine, and Encode: Leveraging Synthesized Novel Samples for On-the-Fly Fine-Grained Category Discovery cites Emerging Properties in Self-Supervised Vision Transformers
  • Generate, Refine, and Encode: Leveraging Synthesized Novel Samples for On-the-Fly Fine-Grained Category Discovery cites Generalized Category Discovery
  • Generate, Refine, and Encode: Leveraging Synthesized Novel Samples for On-the-Fly Fine-Grained Category Discovery cites A Unified Objective for Novel Class Discovery
  • Generate, Refine, and Encode: Leveraging Synthesized Novel Samples for On-the-Fly Fine-Grained Category Discovery cites Learning to Discover Novel Visual Categories via Deep Transfer Clustering
  • TALON: Test-time Adaptive Learning for On-the-Fly Category Discovery cites Emerging Properties in Self-Supervised Vision Transformers
  • TALON: Test-time Adaptive Learning for On-the-Fly Category Discovery cites Generalized Category Discovery
  • TALON: Test-time Adaptive Learning for On-the-Fly Category Discovery cites Generate, Refine, and Encode: Leveraging Synthesized Novel Samples for On-the-Fly Fine-Grained Category Discovery
  • TALON: Test-time Adaptive Learning for On-the-Fly Category Discovery cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • TALON: Test-time Adaptive Learning for On-the-Fly Category Discovery cites A Unified Objective for Novel Class Discovery
  • TALON: Test-time Adaptive Learning for On-the-Fly Category Discovery cites Learning to Discover Novel Visual Categories via Deep Transfer Clustering
  • A Unified Objective for Novel Class Discovery cites Learning to Discover Novel Visual Categories via Deep Transfer Clustering
  • Open-World Deepfake Attribution via Confidence-Aware Asymmetric Learning cites DAA: Amplifying Unknown Discrepancy for Test-Time Discovery
  • Open-World Deepfake Attribution via Confidence-Aware Asymmetric Learning cites Emerging Properties in Self-Supervised Vision Transformers
  • Open-World Deepfake Attribution via Confidence-Aware Asymmetric Learning cites Generalized Category Discovery
  • Open-World Deepfake Attribution via Confidence-Aware Asymmetric Learning cites Generate, Refine, and Encode: Leveraging Synthesized Novel Samples for On-the-Fly Fine-Grained Category Discovery
  • Open-World Deepfake Attribution via Confidence-Aware Asymmetric Learning cites A Unified Objective for Novel Class Discovery
  • Open-World Deepfake Attribution via Confidence-Aware Asymmetric Learning cites Learning to Discover Novel Visual Categories via Deep Transfer Clustering
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. Open-World Deepfake Attribution via Confidence-Aware Asymmetric LearningHaiyang Zheng, Nan Pu, Wenjing Li, Teng Long et al.AAAI 2026 · 5 citations
  2. 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
  3. Open-Vocabulary Domain Generalization in Urban-Scene SegmentationDong Zhao, Qi Zang, Nan Pu, Wenjing Li et al.CVPR 2026 · 3 citations
  4. TALON: Test-time Adaptive Learning for On-the-Fly Category DiscoveryYanan Wu, Yuhan Yan, Tailai Chen, Zhixiang Chi et al.CVPR 2026 · 3 citations
  5. DAA: Amplifying Unknown Discrepancy for Test-Time DiscoveryTianle Liu, Fan Lyu, Chenggong Ni, Zhang Zhang et al.NeurIPS 2025 · 1 citation

Builds on21

  1. 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
  2. Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou et al.ICCV 2021 · 8,921 citations
  3. Learning to Discover Novel Visual Categories via Deep Transfer ClusteringKai Han, Andrea Vedaldi, Andrew ZissermanICCV 2019 · 378 citations
  4. A Unified Objective for Novel Class DiscoveryEnrico Fini, Enver Sangineto, Stéphane Lathuilière, Zhun Zhong et al.ICCV 2021 · 248 citations
  5. Generalized Category DiscoverySagar Vaze, Kai Han, Andrea Vedaldi, Andrew ZissermanCVPR 2022 · 194 citations

Related papers

  1. Assignment-Driven Hash Learning in a Hyper-Semantic Space for On-the-Fly Category DiscoveryKaibing Yang, Yucheng Wang, Tingzhang LuoCVPR 2026
  2. Adaptive Gaussian Expansion for On-the-fly Category DiscoveryChunming Li, Shidong Wang, Haofeng ZhangICLR 2026
  3. On-the-Fly Category DiscoveryRuoyi Du, Dongliang Chang, Kongming Liang, Timothy M. Hospedales et al.CVPR 2023
  4. Learning through Creation: A Hash-Free Framework for On-the-Fly Category DiscoveryBohan Zhang, Weidong Tang, Zhixiang Chi, Yi Jin, Zhenbo Li, Yang Wang, Yanan WuCVPR Findings 2026
  5. PEOCH: Online Cross-Modal Hashing with Semi-Supervised Streaming Data Driving Prototype EvolutionXiao Kang, Xingbo Liu, Shuo Pan, Xuening Zhang et al.AAAI 2026
Dusk over the sea between two cliffs drawn in fine vertical lines