arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2302.02551cs.CVcs.LG
收藏

CHiLS:基于分层标签集的零样本图像分类

CHiLS: Zero-Shot Image Classification with Hierarchical Label Sets

University of California - San Diego(加州大学圣地亚哥分校);Carnegie Mellon University(卡内基梅隆大学)

Zachary Novack, Julian McAuley, Zachary C. Lipton, Saurabh Garg

AI总结:

本文提出 CHiLS 方法,通过为每个类别生成子类并利用 CLIP 进行零样本分类后将预测映射回父类,在具有隐式语义层次的数据集上无需额外训练即可提升分类准确性。

摘要:

开放词汇模型(如 CLIP)通过基于类别(自然语言)名称生成每个类别的嵌入,在零样本分类中表现出强大性能。先前的工作主要集中于通过提示工程或引入少量带标签的下游数据(通过微调)来提高这些模型的准确性。然而,关于改进类别名称本身丰富性的研究很少,而当类别标签定义粗糙且缺乏信息量时,这可能会带来问题。我们提出基于分层标签集的分类(Classification with Hierarchical Label Sets,简称 CHiLS),这是一种专门为具有隐式语义层次结构的数据集设计的零样本分类替代策略。CHiLS 分三步进行:(i)为每个类别生成一组子类,使用现有的标签层次结构或通过查询 GPT-3;(ii)将这些子类视为目标标签,执行标准的零样本 CLIP 过程;(iii)将预测的子类映射回其父类以产生最终预测。在众多具有底层层次结构的数据集上,CHiLS 在有和没有真实层次信息的情况下均提高了准确性。CHiLS 易于在现有零样本流程中实现,且不需要额外的训练成本。代码可在以下地址获取:https://github.com/acmi-lab/CHILS。

英文摘要:

Open vocabulary models (e.g. CLIP) have shown strong performance on zero-shot classification through their ability generate embeddings for each class based on their (natural language) names. Prior work has focused on improving the accuracy of these models through prompt engineering or by incorporating a small amount of labeled downstream data (via finetuning). However, there has been little focus on improving the richness of the class names themselves, which can pose issues when class labels are coarsely-defined and are uninformative. We propose Classification with Hierarchical Label Sets (or CHiLS), an alternative strategy for zero-shot classification specifically designed for datasets with implicit semantic hierarchies. CHiLS proceeds in three steps: (i) for each class, produce a set of subclasses, using either existing label hierarchies or by querying GPT-3; (ii) perform the standard zero-shot CLIP procedure as though these subclasses were the labels of interest; (iii) map the predicted subclass back to its parent to produce the final prediction. Across numerous datasets with underlying hierarchical structure, CHiLS leads to improved accuracy in situations both with and without ground-truth hierarchical information. CHiLS is simple to implement within existing zero-shot pipelines and requires no additional training cost. Code is available at: https://github.com/acmi-lab/CHILS.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑