TL;DR
Standard sparse concept recovery methods often generate logically inconsistent explanations, such as classifying an image as a "cat" while simultaneously identifying features of a "vehicle." This paper introduces Hierarchical Concept Embedding & Pursuit (HCEP), a framework that respects semantic hierarchies in latent spaces and uses a top-down hierarchical beam search to ensure image explanations follow a valid, structured path from general to specific concepts.
What Problem Does This Paper Address?
Interpretable-by-design computer vision models aim to explain their decisions by identifying human-understandable concepts (e.g., "furry," "has wings") before making a final classification. Modern sparse concept recovery methods do this by representing an image embedding as a sparse combination of text-based concept embeddings from vision-language models like CLIP.
However, these methods treat all concepts as independent, completely ignoring their inherent hierarchical relationships (such as hypernyms and hyponyms). As a result, a model might correctly classify an image as a "cat" but output a chaotic, self-contradictory explanation that includes "vehicle" simply because of accidental alignment in the high-dimensional latent space. This paper addresses the lack of structural faithfulness in concept-based explanations.
Methods
The authors propose Hierarchical Concept Embedding & Pursuit (HCEP), which consists of two core components:
- Hierarchical Concept Embedding: A geometric framework that structures the latent space. It enforces two main properties: well-clustered synset embeddings (sibling concepts cluster tightly around their parent but remain distinct) and hierarchical orthogonality (the vector difference between a child and its parent is orthogonal to the parent vector). This ensures that refining a concept to be more specific does not interfere with the coarser, higher-level concept.
- Hierarchical Concept Pursuit: Instead of using raw concept embeddings in the dictionary, HCEP constructs a dictionary out of synset difference embeddings (child minus parent). To find the correct path, they introduce Hierarchical Beam OMP (HB-OMP). Unlike standard Orthogonal Matching Pursuit (OMP), which searches globally, HB-OMP performs a coarse-to-fine top-down search, restricting its choices at each step to the children of the currently explored node and maintaining a "beam" of top hypotheses to avoid error accumulation.
Datasets
The authors evaluated their approach on both synthetic and real-world benchmarks:
- Synthetic Data: Generated mathematically to strictly satisfy the proposed hierarchical geometric model.
- ImageNette and ImageNet: Evaluated using the well-curated WordNet hierarchy, which spans up to 14 levels deep.
- CIFAR-100: Since CIFAR-100 lacks a predefined hierarchy, the authors used taxonomy induction methods (via LLM prompting) to automatically generate a semantic hierarchy over the 100 classes.
Key Insights and Ideas
- The Power of Differences: Representing the dictionary as differences between parents and children (e.g.,
polar bearminusbearequalswhite fur) avoids trivial sparse coding solutions and gives the dictionary atoms explicit, grounded semantic meanings. - Inherent Orthogonality in Pre-trained Models: Surprisingly, the authors empirically verified that pre-trained vision-language models like CLIP already naturally exhibit hierarchical orthogonality to a high degree. This means the proposed geometric assumptions match real-world latent spaces without needing expensive fine-tuning.
- Inductive Bias for Few-Shot Learning: Enforcing a tree-structured search space acts as a powerful regularizer. When training data is scarce, restricting the model to hierarchically valid paths prevents it from picking spurious, unrelated concepts.
Key Results
- Superior Concept Accuracy: On real-world datasets (ImageNet, ImageNette, CIFAR-100), HCEP significantly improved concept precision and recall compared to flat sparse coding baselines (OMP) and Concept Bottleneck Models (CBMs).
- Few-Shot Excellence: The benefits were most dramatic in few-shot settings (e.g., 12-shot ImageNet). HCEP achieved superior classification accuracy and concept recovery because it only requires averaging pre-trained embeddings rather than training complex concept classifiers from scratch.
- Robustness of Beam Search: As the beam width ($B$) increased from 1 to 32, support precision improved with only a modest runtime overhead, thanks to GPU parallelization.
Limitations and Future Work
- Embedding Constraints: The geometric framework requires the ambient dimension $d$ to scale with the depth and branching ratio ($d \ge L + b - 1$). For extremely deep or wide hierarchies, standard fixed-dimensional embeddings (like CLIP's $d=768$) might become restrictive, suggesting a need for alternative geometries like hyperbolic spaces.
- Hierarchy Dependence: HCEP relies heavily on the quality of the provided hierarchy. If the hierarchy is noisy or incorrect (as can happen with automated taxonomy induction), the model may output incorrect explanation paths.
- Computational Complexity: The beam search mechanism introduces a complexity overhead of $O(T B b |D_{active}|)$, making it more computationally expensive than standard flat OMP for very large branching ratios.
Summary updated