cs.CVMar 14, 2026

Learning through Creation: A Hash-Free Framework for On-the-Fly Category Discovery

Authors: Bohan Zhang, Weidong Tang, Zhixiang Chi, Yi Jin, Zhenbo Li, Yang Wang, Yanan Wu

Organizations: College of Information and Electrical Engineering, China Agricultural University, China · Department of Electrical and Computer Engineering, University of Toronto, Canada · School of Computer and Information Technology, Beijing Jiaotong University, China · Department of Computer Science and Software Engineering, Concordia University, Canada

Abstract

On-the-Fly Category Discovery (OCD) aims to recognize known classes while simultaneously discovering emerging novel categories during inference, using supervision only from known classes during offline training. Existing approaches rely either on fixed label supervision or on diffusion-based augmentations to enhance the backbone, yet none of them explicitly train the model to perform the discovery task required at test time. It is fundamentally unreasonable to expect a model optimized on limited labeled data to carry out a qualitatively different discovery objective during inference. This mismatch creates a clear optimization misalignment between the offline learning stage and the online discovery stage. In addition, prior methods often depend on hash-based encodings or severe feature compression, which further limits representational capacity. To address these issues, we propose Learning through Creation (LTC), a fully feature-based and hash-free framework that injects novel-category awareness directly into offline learning. At its core is a lightweight, online pseudo-unknown generator driven by kernel-energy minimization and entropy maximization (MKEE). Unlike previous methods that generate synthetic samples once before training, our generator evolves jointly with the model dynamics and synthesizes pseudo-novel instances on the fly at negligible cost. These samples are incorporated through a dual max-margin objective with adaptive thresholding, strengthening the model's ability to delineate and detect unknown regions through explicit creation. Extensive experiments across seven benchmarks show that LTC consistently outperforms prior work, achieving improvements ranging from 1.5 percent to 13.1 percent in all-class accuracy. The code is available at https://github.com/brandinzhang/LTC

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. TALON: Test-time Adaptive Learning for On-the-Fly Category Discovery

    Mar 9, 2026Yanan Wu, Yuhan Yan, Tailai Chen +5Test-Time AdaptationPrototype-Based Classification

  2. PACO: Proxy-Task Alignment and Online Calibration for On-the-Fly Category Discovery

    Apr 13, 2026Weidong Tang, Bohan Zhang, Zhixiang Chi +3Generalized Category DiscoveryModel Calibration

  3. DP-BOA: Dirichlet-Process Birth-or-Assign for On-the-Fly Category Discovery

    Jul 15, 2026Peiyan Gu, Zixin Teng, Xuming HeDirichlet Process Mixture ModelsBayesian Mixture Models