Automatic Concept Extraction for Concept Bottleneck-based Video Classification

Jeya Vikranth Jeyakumar, Luke Dickens, Yu-Hsi Cheng, Joseph Noor, Luis Antonio Garcia, Diego Ramirez Echavarria, Alessandra Russo, Lance M. Kaplan, Mani SrivastavaICLR 2022

Abstract

Recent efforts in interpretable deep learning models have shown that concept-based explanation methods achieve competitive accuracy with standard end-to-end models and enable reasoning and intervention about extracted high-level visual concepts from images. However, these concept bottleneck models rely on a necessary and sufficient set of predefined concepts—which is intractable for complex tasks such as video classification. For complex tasks, the labels and the relationship between visual elements span many frames, necessitating concepts with various levels of abstraction. To this end, we present CoDEx, an automatic Concept Discovery and Extraction module that rigorously composes a necessary and sufficient set of concept abstractions for concept-based video classification. CoDEx identifies a rich set of complex concept abstractions from natural language explanations of videos, obviating the need to predefine the amorphous set of concepts. To demonstrate our method's viability, we construct two new public datasets that combine existing complex video classification datasets with short, crowd-sourced natural language explanations for their labels. Our method elicits inherent complex concept abstractions in natural language to generalize concept-bottleneck methods to complex tasks.

Introduction

Deep Neural Networks (DNNs) are highly effective at video classification but often operate as "black boxes," making it difficult to understand the reasoning behind a specific label, such as distinguishing a "foul ball" from a "strike" in baseball. Concept Bottleneck Models (CBMs) were introduced to address this by requiring models to predict human-understandable concepts before reaching a final classification. However, CBMs typically require experts to manually define all relevant concepts beforehand, a task that becomes impossible for complex video data where concepts are temporal and multifaceted. CoDEx addresses this by automatically discovering these concepts from human-provided natural language explanations.

The CoDEx Framework

CoDEx (Concept Discovery and Extraction) is a pipeline designed to distill raw text into a functional model layer. The architecture integrates an NLP framework with a standard video classification backbone.

Overview of the CoDEx framework, integrating an NLP-based concept extraction module with a Concept Bottleneck Model for video classification.

NLP Framework for Concept Extraction

The extraction process involves several critical stages to transform unstructured text into a concept matrix:

  1. Extraction: Using a natural language constituency parser and Part-of-Speech (POS) rules, CoDEx identifies meaningful fragments (e.g., "the batter swung") from human explanations.
  2. Grouping with Meta-Distance: To handle linguistic variations, CoDEx employs a "meta-distance" metric for clustering. This metric combines linguistic similarity with label similarity, ensuring that phrases like "ball inside strike zone" and "ball outside strike zone" are not grouped together despite their lexical overlap.
  3. Pruning via Mutual Information: To maintain efficiency, the system uses information theory to select the most informative subset of concepts for the final classification.
  4. Vectorization: The final concepts are converted into a matrix format suitable for the neural network bottleneck.
The CoDEx NLP framework transforms raw natural language explanations into a structured set of extracted concepts.

Bottleneck Architecture

The discovered concepts form a "bottleneck" layer within the video classification network. The model utilizes a feature extractor (e.g., InceptionV3) to generate latent features, which are then processed by Temporal Convolutional Networks (TCN) to handle the time dimension. An attention mechanism is applied to the concept predictions to highlight which specific concepts were most influential for a given prediction before passing the data to a fully connected layer for the final label.

Datasets and Benchmarks

The study introduces two new public benchmarks to facilitate video-to-explanation research:

  • MLB-V2E (Video to Explanations): Contains 2,000 baseball video clips (labels: strike, ball, foul, out, play) paired with crowd-sourced natural language justifications.
  • MSR-V2E: A derivative of the MSR-VTT dataset, covering ten general categories such as Cooking and Science, supplemented with human-provided explanations.

Key Results

  • Accuracy: On the MLB-V2E dataset, the CoDEx-based model achieved 68.38% accuracy, nearly matching the 68.42% of a standard black-box model, proving that interpretability does not require a significant sacrifice in performance.
  • Efficiency: Annotating with natural language was found to be 23% to 30% faster than selecting from a predefined list of concepts, making CoDEx highly scalable.
  • Interpretability: Human studies showed a significant preference for CoDEx-generated explanations over baseline methods, particularly when the attention module was utilized.

Conclusion

CoDEx demonstrates that natural language explanations can serve as a rich, scalable source for automatic concept discovery in video classification. By bridging the gap between raw video data and human-readable reasoning, CoDEx enables the creation of interpretable models that perform at near-state-of-the-art levels while remaining transparent in their decision-making process.

Summary updated

BibTeX
@inproceedings{jeyakumar2022automatic,
  author = {Jeya Vikranth Jeyakumar and Luke Dickens and Yu-Hsi Cheng and Joseph Noor and Luis Antonio Garcia and Diego Ramirez Echavarria and Alessandra Russo and Lance M. Kaplan and Mani Srivastava},
  title = {{Automatic Concept Extraction for Concept Bottleneck-based Video Classification}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=66kgCIYQW3},
}
Figure