[论文解读] CHiLS: Zero-Shot Image Classification with Hierarchical Label Sets
CHiLS 通过预测来自分层标签结构的子类集合并再映射回原始父类来提高零-shot CLIP 的准确性,使用再权重化步骤结合子类证据与父类证据。
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.
研究动机与目标
- 解释为何丰富的类名层级可以提升开放词汇的零-shot 分类性能。
- 提出一种基于层级的方法(CHiLS),将每个类别转换为一个子类集合以用于零-shot 推断。
- 证明 CHiLS 在有和没有真值层级的数据集上均能带来一致的增益。
- 展示在没有额外训练的情况下,GPT-3 也能生成有效的子类层级(当没有可用层级时)。
提出的方法
- 对于每个父类 c_i,通过现有层级或 GPT-3 提示生成子类集合 S_c_i = {s_c_i,1, ..., s_c_i,m_i}。
- 对所有子类标签的并集(C_sub = ⋃_i S_c_i)运行标准的 CLIP 零-shot 预测以获得子类概率。
- 使用原始类别集 C 计算父类概率,并通过将子类分数与其对应的父类分数相乘来将两者结合。
- 使用逆映射 G^{-1} 将最高的子类映射回其父类以产生最终预测。
- 可选地应用一种再权重化步骤,利用父类置信度来调制子类概率,在层级不完美时提高鲁棒性。
- 在存在真实层级时和 GPT-3 生成的层级下进行实验,并比较有无再权重化步骤的性能。

实验结果
研究问题
- RQ1在标签层次结构粗略或定义不清晰的数据集上,利用层级标签结构是否能提升零-shot CLIP 的性能?
- RQ2当可获得真实层级时,CHiLS 与需要生成层级(如通过 GPT-3)的情形相比如何?再权重化步骤有多重要?
- RQ3不同子类集合规模和层级信息中的噪声对 CHiLS 的性能有何影响?
- RQ4CHiLS 的收益是否在不同的骨干网络和语义粒度各异的数据集上具有普遍性?
主要发现
- CHiLS 在使用现有层级或 GPT-3 生成的层级时,在16个数据集上始终优于基线的父类方法。
- 在能够访问真实层级时,CHiLS 在若干数据集上相对于基线能带来大约 15–30 个百分点的提升。
- 当真实层级不可用时,GPT-3 生成的子类映射仍能提供相对于基线的稳健增益。
- 再权重化步骤在层级未知或信息噪声较大时对性能至关重要,然而在提供完美真实层级时其必要性会降低。
- CHiLS 在多种 CLIP 骨干网络上表现稳定,对子类标签集合大小的中等变化相对不敏感。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。