Abstract
PEEB (Part-based Explainable and Editable Bottleneck) is a novel fine-grained image classification framework that addresses the "black-box" nature of traditional deep learning models. By replacing monolithic class labels with a "language bottleneck" composed of natural language part descriptors, PEEB achieves state-of-the-art accuracy on fine-grained benchmarks. Crucially, the model allows for human-in-the-loop "reprogramming" via simple text edits, enabling users to correct misclassifications or define new classes without retraining.
Introduction
Current vision-language models, such as CLIP, demonstrate impressive zero-shot capabilities but remain fundamentally brittle. Their performance often hinges on the presence of specific class names in the training data. For instance, when scientific names are used instead of common names, CLIP's accuracy on the CUB-200 dataset drops precipitously from 53% to 6%. Furthermore, existing "explainable" models often rely on "prototypes"—mathematical vectors that are neither interpretable nor editable by humans.
PEEB overcomes these limitations by decomposing classification into part-based visual-textual matching. Instead of predicting a single label, the model identifies specific anatomical parts (e.g., beak, wings, throat) and matches them against textual descriptions generated by large language models (LLMs). This approach ensures that the model's reasoning is grounded in visible features and remains robust even when class names are unfamiliar.
Methodology
The PEEB architecture is built upon the OWL-ViT open-vocabulary object detector. It introduces several key components to facilitate its explainable bottleneck:
- Language Bottleneck: The model matches detected visual parts to 12 specific descriptors (e.g., "beak: conical, silver-gray"). These descriptors provide a human-readable intermediate representation.
- Part and Box MLPs: Specialized networks map visual part embeddings into a shared multi-modal space with text descriptors and predict bounding boxes for spatial grounding.
- Two-Stage Training: The system undergoes contrastive pre-training to align visual parts with text, followed by teacher-student distillation from a larger OWL-ViT model to ensure independent operation.
A defining feature of PEEB is its editability. Since the class definitions are stored as text strings rather than fixed weights, users can modify descriptors in real-time to fix errors or refine the model's understanding of a specific species.
Datasets and Evaluation
To support large-scale training, the authors introduced two extensive datasets:
- Bird-11K: Comprising ~294,528 images across 10,811 species, covering nearly all known birds.
- Dog-140: Containing 206,000 images of 140 dog breeds.
Evaluation was conducted on standard benchmarks including CUB-200, NABirds, iNaturalist-1486, and Stanford Dogs-120.
Key Results
PEEB demonstrates significant improvements in both performance and transparency:
- Zero-Shot Performance: In scenarios where class names are unavailable, PEEB achieves a 10-fold increase in top-1 accuracy over CLIP.
- State-of-the-Art Accuracy: The model sets new records for explainable supervised models, reaching 88.80% on CUB-200 and 92.20% on Stanford Dogs-120.
- Transparency: By providing logit scores for each part, PEEB allows users to inspect which specific visual features and text descriptors drove a classification decision.
Discussion and Limitations
While PEEB represents a major step toward interpretable AI, some challenges remain. The model inherits weaknesses from the CLIP text encoder, such as difficulties with attribute binding (e.g., correctly associating a color with a specific part) and logical negation. Additionally, the model's performance can degrade under heavy occlusion. Finally, while GPT-4-generated descriptors are useful, they occasionally contain factual errors, highlighting the importance of PEEB's human-editable interface for refining model knowledge.
Summary updated