ConceptHash:通过概念发现实现可解释的细粒度哈希
ConceptHash: Interpretable Fine-Grained Hashing via Concept Discovery
AI总结:
提出 ConceptHash,通过 Vision Transformer 的概念 token 自动发现无标注视觉概念,并结合语言引导生成可解释且具区分性的细粒度哈希码,在四个基准上显著优于现有方法。
摘要:
现有的细粒度哈希方法通常缺乏码的可解释性,因为它们同时使用全局和局部特征来整体计算哈希码位。为解决这一局限,我们提出 ConceptHash,这是一种实现子码级可解释性的新方法。在 ConceptHash 中,每个子码对应一个人类可理解的概念,例如物体部件,并且这些概念无需人工标注即可自动发现。具体而言,我们利用 Vision Transformer 架构,引入概念 token 作为视觉提示,并与图像 patch token 一起作为模型输入。随后,每个概念在模型输出处被映射到特定子码,从而提供自然的子码可解释性。为捕捉高度相似子类别(例如鸟类物种)之间细微的视觉差异,我们引入语言引导,以确保学习到的哈希码在细粒度物体类别内具有可区分性,同时保持语义对齐。该方法使我们能够构建这样的哈希码:它们在同一物种科内表现出相似性,同时又与其他科的物种保持区分。在四个细粒度图像检索基准上的大量实验表明,ConceptHash 以显著优势优于以往方法,并额外提供独特的子码可解释性。代码位于:https://github.com/kamwoh/concepthash。
英文摘要:
Existing fine-grained hashing methods typically lack code interpretability as they compute hash code bits holistically using both global and local features. To address this limitation, we propose ConceptHash, a novel method that achieves sub-code level interpretability. In ConceptHash, each sub-code corresponds to a human-understandable concept, such as an object part, and these concepts are automatically discovered without human annotations. Specifically, we leverage a Vision Transformer architecture and introduce concept tokens as visual prompts, along with image patch tokens as model inputs. Each concept is then mapped to a specific sub-code at the model output, providing natural sub-code interpretability. To capture subtle visual differences among highly similar sub-categories (e.g., bird species), we incorporate language guidance to ensure that the learned hash codes are distinguishable within fine-grained object classes while maintaining semantic alignment. This approach allows us to develop hash codes that exhibit similarity within families of species while remaining distinct from species in other families. Extensive experiments on four fine-grained image retrieval benchmarks demonstrate that ConceptHash outperforms previous methods by a significant margin, offering unique sub-code interpretability as an additional benefit. Code at: https://github.com/kamwoh/concepthash.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。