面向实时细粒度类别发现的原型哈希编码
Prototypical Hash Encoding for On-the-Fly Fine-Grained Category Discovery
AI总结:
针对实时类别发现中哈希编码区分能力弱、对细粒度类别敏感度高的问题,提出包含类别感知原型生成和判别式类别编码的原型哈希编码框架,显著提升了分类准确率。
摘要:
本文研究了一项实用且具有挑战性的任务——实时类别发现(On-the-fly Category Discovery, OCD),该任务旨在仅利用标记数据中包含的已知类别知识,在线发现属于已知类和未知类的新增流数据。以往的OCD方法采用基于哈希的技术,通过哈希码表示旧/新类别以进行逐实例推理。然而,直接将特征映射到低维哈希空间不仅不可避免地会损害类别区分能力,还会引发“高敏感度”问题,在细粒度类别中尤为突出,最终导致性能不佳。为解决这些问题,我们提出了一种新颖的原型哈希编码(Prototypical Hash Encoding, PHE)框架,该框架包含类别感知原型生成(Category-aware Prototype Generation, CPG)和判别式类别编码(Discriminative Category Encoding, DCE)两个模块,通过两阶段投影的方式,在保留高维特征空间中丰富判别信息的同时,降低哈希码的敏感度。CPG通过为每个类别生成多个原型,使模型能够充分捕捉类别内部的多样性。DCE在生成的类别原型的引导以及最小间隔距离的约束下,提升哈希码的判别能力。通过联合优化CPG和DCE,我们证明这两个组件能够相互促进,共同实现有效的OCD任务。大量实验表明,我们提出的PHE相比以往方法具有显著优势,例如在所有数据集上的平均全准确率(ALL ACC)提升了+5.3%。此外,得益于原型的可解释性特性,我们可视化分析了PHE将特定样本划分为已知类别或未知类别的内在机制。代码可在https://github.com/HaiyangZheng/PHE获取。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。