PEEB: Part-based Image Classifiers with an Explainable and Editable Language Bottleneck
Thang M. Pham, Peijie Chen, Tin Nguyen, Seunghyun Yoon, Trung Bui, Anh Totti Nguyen
TL;DR
PEEB tackles fine-grained classification with an explainable, editable, part-based bottleneck that grounds textual part descriptors to detected image parts using OWL-ViT. By removing reliance on class names in prompts and enabling descriptor editing, it achieves strong generalized zero-shot performance and competitive supervised results, outperforming CLIP-based and descriptor-only approaches in GZSL and ZSL settings. The approach employs a two-stage contrastive pretraining on Bird-11K and subsequent finetuning on downstream tasks, with an open-vocabulary detector and a ground-truth-like part-to-descriptor matching that yields interpretable predictions. This work also provides large-scale Bird-11K and Dog-140 datasets and demonstrates transferability to dog identification, highlighting practical impact for scalable, interactive, fine-grained recognition across domains.
Abstract
CLIP-based classifiers rely on the prompt containing a {class name} that is known to the text encoder. Therefore, they perform poorly on new classes or the classes whose names rarely appear on the Internet (e.g., scientific names of birds). For fine-grained classification, we propose PEEB - an explainable and editable classifier to (1) express the class name into a set of text descriptors that describe the visual parts of that class; and (2) match the embeddings of the detected parts to their textual descriptors in each class to compute a logit score for classification. In a zero-shot setting where the class names are unknown, PEEB outperforms CLIP by a huge margin (~10x in top-1 accuracy). Compared to part-based classifiers, PEEB is not only the state-of-the-art (SOTA) on the supervised-learning setting (88.80% and 92.20% accuracy on CUB-200 and Dogs-120, respectively) but also the first to enable users to edit the text descriptors to form a new classifier without any re-training. Compared to concept bottleneck models, PEEB is also the SOTA in both zero-shot and supervised-learning settings.
