TL;DR
Traditional interpretable image classifiers extract human concepts independently, often leading to logically inconsistent explanations (e.g., predicting a "cat" while identifying "vehicle" features). This paper introduces Hierarchical Concept Embedding & Pursuit (HCEP), a framework that leverages the geometric structure of vision-language models to ensure concept explanations follow a valid, rooted path in a semantic hierarchy. By utilizing a novel Hierarchical Beam Orthogonal Matching Pursuit algorithm, HCEP drastically improves concept precision and recall, particularly in data-scarce, few-shot scenarios.
What Problem Does This Paper Address?
"Interpretable-by-design" models aim to make computer vision trustworthy by first extracting human-understandable concepts from an image (like furry, wings, or wheels) and then using only those concepts to make a final classification. Recent methods use sparse coding over vision-language models (like CLIP) to find a sparse combination of concepts that explain an image embedding.
However, these methods treat all concepts as independent entities and completely ignore their inherent hierarchical relationships (hypernyms and hyponyms). As a result, a model might correctly classify an image as a "cat" but provide a nonsensical, structurally flawed explanation that includes mutually exclusive concepts like "vehicle". HCEP addresses this gap by forcing explanations to respect known semantic structures.
Methods
The HCEP framework operates via two main components:
- Hierarchical Concept Embedding: The authors define ideal geometric properties for concept hierarchies in vector space. Specifically, descendant concepts should cluster tightly around their parents, sibling concepts should be well-separated, and child-parent difference vectors should be orthogonal to the parent embedding to preserve semantic meaning across different levels of the hierarchy.
- Hierarchical Concept Dictionary & Pursuit: Instead of using raw concept embeddings, HCEP constructs a dictionary where each column represents the difference between a child concept and its parent (e.g., $a^{(\text{cat})} - a^{(\text{mammal})}$). To recover the correct path, they propose Hierarchical Beam Orthogonal Matching Pursuit (HB-OMP). Unlike standard OMP, which searches globally and greedily, HB-OMP performs a top-down, coarse-to-fine search restricted to valid hierarchical paths. It uses a beam search mechanism to maintain the top-$B$ hypotheses at each level, preventing early errors from ruining the entire explanation path.
Datasets
The method was evaluated on both synthetic and real-world datasets:
- Synthetic Dataset: Generated to strictly satisfy the proposed geometric hierarchy conditions (branching ratio $b=3$, depth $L=7$).
- ImageNette & ImageNet: Real-world image classification benchmarks evaluated using the WordNet hierarchy (up to 14 levels deep with branching ratios up to 25).
- CIFAR-100: Evaluated by automatically inducing a semantic hierarchy over the 100 classes using taxonomy induction methods, demonstrating applicability even when a clean hierarchy isn't predefined.
Key Insights and Ideas
- CLIP is Naturally Hierarchical: The authors empirically verified that pre-trained vision-language models like CLIP already implicitly preserve hierarchical geometry—their child-parent difference vectors are remarkably close to orthogonal to their parent embeddings.
- Structure as a Regularizer: Restricting the sparse coding search space to valid hierarchical paths acts as a powerful inductive bias. Standard OMP gets lost in overcomplete dictionaries, whereas HB-OMP's path restriction drastically reduces spurious concept activations.
- The Power of Differences: Encoding the dictionary as differences ($a^{(\text{child})} - a^{(\text{parent})}$) rather than absolute embeddings prevents the sparse coding algorithm from taking a trivial shortcut (e.g., just picking the leaf node "cat" without activating its ancestors "mammal" and "animal").
Key Results
- Superior Concept Accuracy: On CIFAR-100 and ImageNette, HCEP achieved state-of-the-art support precision and recall while maintaining classification accuracy competitive with non-hierarchical baselines.
- Few-Shot Champion: The benefits of HCEP are most pronounced in low-data regimes. In a 12-shot setting on ImageNet, HCEP significantly outperformed standard OMP, Concept Bottleneck Models (CBMs), and Hierarchical Nearest Neighbor baselines in both classification accuracy and concept recovery metrics.
- Robust to Induced Taxonomies: Even on CIFAR-100, where the hierarchy had to be automatically generated rather than using a gold-standard database like WordNet, HCEP still provided superior concept recovery.
Limitations and Future Work
- Dependence on Hierarchy Quality: HCEP relies heavily on having a structured hierarchy. If the underlying hierarchy is noisy or incorrect, the path-restricted search could force the model into wrong explanations.
- Computational Overhead: Using a beam search (HB-OMP) increases the runtime per sample compared to standard greedy OMP, though the authors note this is mitigated by parallelizing hypotheses on the GPU.
- Fixed Dictionary: The dictionary is constructed using static averages of embeddings, meaning it doesn't dynamically adapt or learn fine-grained context-specific concept variations during training.
Summary updated