Reconstructing Humpty Dumpty: Multi-Feature Graph Autoencoder for Open Set Action Recognition

Dawei Du, Ameya Shringi, Anthony Hoogs, Christopher Funk

TL;DR

This paper introduces "Humpty Dumpty," a novel graph-based autoencoder for open-set action recognition. It tackles the challenge of identifying unknown actions in videos by modeling the relationships between video clips as a graph and using reconstruction error to detect novelty, achieving state-of-the-art results.

What Problem Does This Paper Address?

Traditional action recognition systems operate under a "closed-world" assumption, meaning they are trained on and can only recognize actions from a predefined set of classes. However, in real-world scenarios, such as surveillance or human-computer interaction, it's crucial to identify actions that were not seen during training – these are "unknown" or "novel" actions. Existing methods for open-set recognition often struggle to distinguish between unusual instances of known actions and entirely new ones. They typically adapt closed-set methods by analyzing classification scores or feature distances, but they fail to capture the rich contextual and semantic relationships between different parts of a video. This paper aims to bridge this gap by developing a method that explicitly models these inter-clip relationships to better detect novel actions.

Methods

The core of the "Humpty Dumpty" approach is a multi-feature graph autoencoder. Here's a breakdown of the key components:

  • Action Feature Extraction: Videos are first split into non-overlapping clips. For each clip, features are extracted using a 3D backbone. To capture diverse information, two types of pooling are applied: average pooling for contextual information and max pooling for salient features. This creates a "multi-feature" representation for each clip.
  • Video Graph Construction: These multi-features become the nodes of a graph. Edges are established between nodes (clips) based on both their appearance similarity and temporal proximity. This graph effectively represents the spatio-temporal relationships within a video.
  • Multi-Feature Graph Autoencoder: This is the heart of the system.
  • Encoder: A graph convolutional network (GCN) is used to learn a latent representation of the graph. Crucially, a self-attention mechanism is incorporated into the first GCN layer. This allows the model to dynamically weigh the importance of different nodes (clips) and their relationships, enhancing the discriminative power of the learned representation.
  • Decoder: Another GCN refines the latent representation, and an inner product similarity is used to reconstruct the adjacency matrix of the graph.
  • Open-Set Detection: During training, the autoencoder is trained to minimize two losses: a classification loss for known classes and a reconstruction loss for the graph. For inference (testing), the reconstruction error of the graph is the key indicator of novelty. Videos that are harder to reconstruct (i.e., have a higher reconstruction error) are more likely to contain unknown actions, as their underlying structure is less familiar to the model.

Datasets

The proposed method was evaluated on two widely used action recognition datasets:

  • HMDB-51: Contains 6,766 videos across 51 action classes.
  • UCF-101: A larger dataset with 13,320 clips across 101 action classes.

For open-set evaluation, the datasets were split, with a significant portion of action labels designated as "unknown" during testing. Specifically, HMDB-51 was split into 26 known/25 unknown classes, and UCF-101 into 51 known/50 unknown classes.

Key Insights and Ideas

  • Modeling Inter-Clip Relations is Crucial: The paper strongly advocates for moving beyond treating videos as single entities. Explicitly modeling the relationships between clips using graphs is shown to be highly effective for open-set action recognition.
  • Multi-Feature Representation Enhances Robustness: Combining both average and max pooling features for each clip provides a more comprehensive representation, leading to better performance than using either feature alone. This suggests that capturing both context and salient details is important.
  • Self-Attention for Focused Learning: The self-attention mechanism in the graph encoder helps the model focus on the most informative relationships within the video graph, leading to improved reconstruction and classification.
  • Reconstruction Error as a Novelty Detector: The core idea of using the reconstruction error of the graph as a direct measure of novelty is elegant and effective. The analogy to Humpty Dumpty's inability to be put back together when his structure is unknown is a fitting metaphor.

Key Results

The "Humpty Dumpty" method achieved state-of-the-art performance on both HMDB-51 and UCF-101 datasets for open-set action recognition.

  • ROC-AUC: Achieved approximately 2-3% improvement over existing methods.
  • mAP: Showed a 4% and 1% improvement on HMDB-51 and UCF-101, respectively.
  • Qualitative Results: Figure 5 demonstrates visually how the method correctly identifies known and unknown actions, with higher Normalized Reconstruction Scores (NRS) for unknown videos.

Limitations and Future Work

  • Threshold Selection: While the paper uses empirical thresholds for similarity and for determining novelty during inference, finding an optimal, generalizable threshold remains a challenge in open-set recognition.
  • Number of Self-Attention Heads: The study found that while self-attention is beneficial, there's an optimal number of heads (K=4), and increasing it further can lead to diminishing returns or even slightly worse performance.
  • Future Work: The authors suggest that their approach of modeling spatio-temporal relations could be extended to detect anomalies in videos, highlighting the fundamental differences and potential overlaps between anomaly detection and open-set recognition. They also mention that while their method outperforms existing ones, further research into more robust open-set recognition methods is always valuable.

Summary updated

BibTeX
@inproceedings{du2023reconstructing,
  author = {Dawei Du and Ameya Shringi and Anthony Hoogs and Christopher Funk},
  title = {{Reconstructing Humpty Dumpty: Multi-Feature Graph Autoencoder for Open Set Action Recognition}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2023},
}
Figure