CHiLS: Zero-Shot Image Classification with Hierarchical Label Sets

Zachary Novack, S. Garg, Julian McAuley, Zachary Chase Lipton
2/12/2026

No official code found. Best implementation: acmi-lab/CHILS (60 stars, MIT, last commit 2023-06-04). 1 more below.

Abstract

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.

View on arXivView PDF

Code Implementations(2)

acmi-lab/CHILSCommunity100%
MIT

Code and results accompanying our paper titled CHiLS: Zero-Shot Image Classification with Hierarchical Label Sets

605PythonFeb 6, 20233 years agoMIT
hierarchical-classificationmachine-learning

Repository for ICML 2023 Submissions: CHiLS: Zero-shot Image Classification with Hierarchical Label Sets

70PythonOct 2, 20223 years ago

Similar Papers

Cite this paper

@article{novack2026chils,
  title  = {CHiLS: Zero-Shot Image Classification with Hierarchical Label Sets},
  author = {Zachary Novack and S. Garg and Julian McAuley and Zachary Chase Lipton},
  year   = {2026},
  eprint = {2302.02551},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2302.02551},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.02551.svg)](https://codeofpaper.com/paper/2302.02551)

Discussion