Hierarchical Explanations for Video Action Recognition

Sadaf Gulshad, Teng Long, Nanne van Noord

TL;DR

The paper introduces HIPE (Hierarchical Prototype Explainer), a built-in explainability framework for video action recognition that provides human-like "this looks like that" explanations across multiple levels of granularity. By leveraging hyperbolic embedding spaces, HIPE naturally captures hierarchical relationships (e.g., mapping a specific action up to its parent and grandparent categories), providing robust explanations even during misclassifications while significantly mitigating the typical accuracy-explainability trade-off.

What Problem Does This Paper Address?

Deep learning models for video action recognition are notoriously black-box. While prototype-based models (like ProtoPNet) offer interpretability by finding representative visual patches ("this video clip looks like that training patch"), they suffer from major limitations: they are typically restricted to 2D images, offer only a single level of explanation, and introduce a harsh trade-off between model accuracy and explainability.

Crucially, existing models ignore the hierarchical nature of human cognition. If a model is uncertain whether a person in a video is doing the front crawl or the breaststroke, a standard prototype model might output an arbitrary or confusing explanation. In contrast, a human would gracefully fall back to a broader category, identifying the action generally as "swimming" or "water sports." This paper addresses the lack of multi-level, hierarchical reasoning in video interpretability.

Methods

The authors propose HIPE, which integrates hierarchical prior knowledge directly into the network architecture:

  • Spatio-Temporal Backbone: A 3D-ResNet extracts features from video segments, capturing both spatial and temporal dynamics.
  • Hierarchical Prototype Layer: Instead of learning prototypes only for final classes, HIPE learns prototypes for three levels of granularity: child (specific action), parent, and grandparent classes.
  • Hyperbolic Embedding Space: To naturally represent tree-like hierarchical structures, Euclidean embeddings from the network are mapped into a shared hyperbolic space ($\mathbb{D}^n$) using an exponential map. Hyperbolic space is mathematically ideal for hierarchies because its volume expands exponentially from the center, mimicking tree branching.
  • Joint Optimization: The model is trained end-to-end using a combination of three losses: Hierarchical Cross-Entropy (penalizing misclassification), Hierarchical Clustering (forcing patches to cluster near correct ancestor prototypes), and Hierarchical Separation (pushing patches away from incorrect prototypes).
Figure 3. Overview of the Hierarchical Prototype Explainer. The Resnet-3D backbone extracts video features and the prototype layer learns prototypes for children and parents, these prototypes are then converted to a single similarity score through max pooling. Finally, scores are converted from Rn to Dn through a fully connected layer followed by an exponential map, to the shared hyperbolic space for hierarchical learning. Actions are mapped onto the shared hyperbolic space by learning a discriminative embedding on Dn.

Datasets

The authors evaluate HIPE on two major video action recognition benchmarks, augmented with hierarchical labels:

  • Hierarchical UCF-101: Contains 13,320 videos across 101 original action categories. The authors defined two additional ancestral layers, resulting in a 3-level hierarchy (5 grandparent classes, 20 parent classes, and 101 child classes).
  • Hierarchical ActivityNet (v1.3): Comprises 14,950 untrimmed videos across 200 action classes. Using the dataset's inherent metadata, they structured a hierarchy containing 6 grandparent classes, 38 parent classes, and 200 child classes.

Key Insights and Ideas

  • Cognitive Fallback (Graceful Failure): When a specific action is obscured or ambiguous, HIPE doesn't just fail randomly. Its multi-level prototypes ensure that even if the final class prediction is wrong, the parent or grandparent explanations are often correct, preserving semantic utility.
  • Hyperbolic Geometry Synergy: Using hyperbolic space allows the model to remain single-label during training while implicitly capturing complex taxonomic relationships. This geometric alignment prevents the model from treating all misclassifications equally; a mistake within the same "sibling" category is penalized less severely in the embedding space.
  • Explainability Without Annotation Overload: Unlike concept bottleneck models that require dense, manual annotations of attributes (e.g., "red beak", "webbed feet"), HIPE leverages easily defined class taxonomies to generate rich visual explanations.
Figure 2. Significance of Hierarchical Explanations. Hierarchi- cal explanations generated for an input video of playing daf. Even if someone does not know what is “playing daf”, its parent expla- nation shows that it involves “percussion” and grandparent shows that it is a musical “instrument”.

Key Results

  • Mitigating the Trade-off: On UCF-101, a standard video-adapted ProtoPNet drops clip-level accuracy to 78.30%. HIPE (with 10 prototypes) recovers this drop significantly, achieving 80.40% clip-level accuracy and 86.22% video-level accuracy, closing the gap to non-interpretable baselines (3D-ResNet at 87.92%).
  • Hierarchical Proximity: HIPE significantly improves sibling accuracy (accuracy within 2 hops of the ground truth) and cousin accuracy (within 4 hops). On UCF-101, HIPE hit 89.30% sibling accuracy, proving that its errors are semantically close to the truth.
  • Qualitative Faithfulness: Visualizations demonstrate that grandparent prototypes focus on abstract concepts (e.g., tracking a human-object interaction), while child prototypes focus on fine-grained details (e.g., a specific tool or body part).

Limitations and Future Work

  • Untrimmed Video Challenges: While HIPE performed well on the trimmed clips of UCF-101, ActivityNet's untrimmed and complex nature meant that specific child-class accuracy remained challenging, though sibling and cousin metrics still saw notable improvements.
  • Dependence on Predefined Taxonomies: HIPE relies on an explicit, clean hierarchical tree structure. The authors suggest that future work could explore automatically discovering or learning these hierarchies directly from data when explicit taxonomies are unavailable.

Summary updated

BibTeX
@inproceedings{gulshad2023hierarchical,
  author = {Sadaf Gulshad and Teng Long and Nanne van Noord},
  title = {{Hierarchical Explanations for Video Action Recognition}},
  booktitle = {XAI4CV},
  year = {2023},
}
Figure