Introduction
Fine-grained image classification involves distinguishing between highly similar categories, such as specific breeds of dogs or models of aircraft. While modern deep learning models achieve high accuracy in these tasks, they often operate as "black boxes," making it difficult to understand the visual cues driving their decisions. This research presents a framework that leverages Large Language Models (LLMs) to decompose image categories into structured, human-readable hierarchies, bridging the gap between performance and interpretability.
The Interpretability Challenge
Existing interpretable models often utilize LLMs to generate descriptive text clues. However, these clues are typically unstructured and stochastic, leading to inconsistent performance and limited debuggability. There has historically been a trade-off: high-performing black-box models versus lower-performing interpretable ones. This work aims to eliminate this trade-off by introducing a systematic "Visual Concept Tree."
Proposed Methodology
The authors introduce a two-stage approach to classification:
- Hierarchical Concept Decomposition: Using GPT-4, the system systematically constructs a Visual Concept Tree. A domain (e.g., "Dog") is decomposed into physical segments (parts like head, tail, fur), which are then assigned specific attributes (size, shape, color). Finally, specific values are assigned to these attributes for each subclass (e.g., "long" ears for a Beagle). A self-critique prompting mechanism ensures logical consistency and proper formatting for the CLIP text encoder.
- Concept Classification Ensemble: Instead of a single monolithic classifier, the framework employs an ensemble of Linear Probes (LPs). Each LP is trained on CLIP features corresponding to a specific visual part (e.g., an "eye classifier"). The final classification is determined by a "top-probability vote" across these part-specific models.
Experimental Setup
The model was evaluated on six standard fine-grained datasets: FGVC-Aircraft, CUB-200-2011 (birds), Stanford Cars, Stanford Dogs, Flower-102, and Food-101. Due to GPT-4 API costs, the study focused on 20 subclasses per dataset, utilizing all available images for those categories.
Key Insights
- Structure over Randomness: Moving beyond "bag of words" approaches to a hierarchical structure significantly improves both model readability and classification accuracy.
- The "Sweet Spot" of Depth: Ablation studies revealed that decomposing down to the Attribute level (e.g., "Eye Color") yielded the best results. Decomposing further into specific values or staying at the broader "part" level resulted in lower performance.
- Robustness to Prompting: The ensemble approach proved more stable than standard linear probes, showing less sensitivity to the specific wording of text prompts.
- Uniform Feature Importance: Analysis showed that most visual parts contributed nearly equally to final decisions, confirming that fine-grained tasks require a holistic "checklist" of features.
Results
The proposed "Concept Classifier" achieved state-of-the-art results among interpretable methods. Notably, it outperformed standard "image-only" CLIP benchmarks on the Stanford Dogs (92.7% vs 90.6%) and Food-101 (96.6% vs 95.3%) datasets.
Beyond accuracy, the model provides a "scorecard" for every prediction. If a misclassification occurs, users can inspect the ensemble to identify which specific part-classifier (e.g., the "Petal classifier") failed, facilitating straightforward error analysis.
Conclusion and Future Work
This research demonstrates that LLM-guided hierarchical decomposition can produce models that are both highly accurate and transparent. Future work includes reducing the computational cost of tree generation, fine-tuning the vision-language backbone for hierarchical parts, and conducting human-in-the-loop studies to validate the utility of these trees for domain experts.
This summary is based on a Master's Thesis by Renyi Qu, supervised by Mark Yatskar at the University of Pennsylvania.
Summary updated