Unsupervised Discriminative Embedding For Sub-Action Learning in Complex Activities

Sirnam Swetha, Hilde Kuehne, Yogesh S. Rawat, Mubarak Shah · DOI

TL;DR

This paper introduces a novel end-to-end approach for learning sub-actions within complex activities without requiring manual annotations. By jointly learning a visual-temporal embedding and a discriminative latent concept module, the method effectively groups and orders sub-actions, outperforming existing unsupervised methods on benchmark datasets.

What Problem Does This Paper Address?

Action recognition and detection in videos are crucial for understanding human behavior. While recognizing short, atomic actions is relatively straightforward, analyzing long, untrimmed videos of complex activities presents a significant challenge. Manually annotating every sub-action within these complex activities is time-consuming and expensive. This paper tackles the problem of unsupervised sub-action learning, aiming to automatically discover and segment these sub-actions from video data without relying on explicit labels. The core challenge lies in both identifying semantically meaningful sub-actions and understanding their temporal relationships within the larger activity.

Methods

The proposed method, called Unsupervised Discriminative Embedding for Sub-Action Learning in Complex Activities, introduces a novel end-to-end framework. Key components include:

  • Joint Visual and Temporal Latent Embedding: The approach first learns a latent representation that simultaneously captures both visual features and temporal ordering. This is achieved using an encoder-decoder architecture with skip connections to preserve information. Positional encodings are incorporated to explicitly model temporal relationships.
  • Discriminative Latent Concept Learning (DLCL): This novel module learns sub-actions as "latent concepts" directly within the embedding space. Instead of performing explicit clustering after embedding, DLCL uses a contrastive loss to push these latent concepts (representing sub-actions) apart. This ensures that the learned representations are discriminative and can be interpreted as cluster centers.
  • End-to-End Learning: The embedding and latent concept learning are trained jointly, allowing the embedding to be guided by the clustering objective and vice-versa. This eliminates the need for separate, potentially suboptimal, clustering steps.
  • Viterbi Decoding: At test time, initial sub-action predictions are refined using Viterbi decoding. This step leverages learned transition probabilities between sub-actions to produce smoother and more coherent temporal segmentations.

Datasets

The proposed method was evaluated on three benchmark datasets:

  • Breakfast Dataset: Contains 10 complex activities with around 1,712 videos, featuring variations in sub-action orderings.
  • 50Salads Dataset: Focuses on a single complex activity ("making mixed salad") and is known for its longer videos and multimodal data (though only RGB frames were used).
  • YouTube Instructions Dataset: Includes 5 activities and 150 videos with 47 sub-actions, often featuring background segments.

Key Insights and Ideas

  • End-to-end learning for unsupervised sub-action discovery is more effective: By jointly optimizing the embedding and latent concept learning, the model can learn more robust and discriminative representations compared to traditional two-stage approaches (embedding followed by clustering).
  • Contrastive loss for discriminative latent concepts is key: Directly learning latent concepts that are pushed apart in the embedding space eliminates the need for explicit clustering and leads to better separation of sub-actions.
  • Jointly learning visual and temporal information is crucial: Incorporating both visual features and positional encodings into a unified latent space allows the model to capture the nuances of complex activities, including temporal ordering.
  • Viterbi decoding smooths out transitions: While the learned embedding provides initial sub-action assignments, Viterbi decoding effectively refines these predictions by modeling sub-action transitions, leading to more coherent temporal segments.

Key Results

The paper reports significant improvements over state-of-the-art unsupervised methods on the evaluated datasets.

  • On the Breakfast dataset, the proposed method achieved a 47.4% MoF (Mean over Frames) and 31.9% F1-score, representing a 2% gain over previous methods.
  • For the 50Salads dataset, the approach achieved 34.4% F1-score and 42.2% MoF, outperforming prior work by 6.67% and 11.6% respectively.
  • On the YouTube Instructions dataset, the method achieved 42% MoC (Mean over Class) and 43.8% MoF, a 4.8% gain in MoF.
  • Qualitative results demonstrated that the model effectively groups sub-actions and learns their orderings, with Viterbi decoding smoothing out intermittent jitters in predictions.

Limitations and Future Work

  • Background Handling: While the paper addresses background segments by assigning them low confidence, it notes that their varying appearance and lack of temporal ordering can still pose challenges. Future work could explore more robust background modeling.
  • Sub-action Cluster Size (K): The paper investigates the impact of varying the number of sub-action clusters (K). While the proposed method performs best when K matches the ground truth, future work could explore methods for automatically determining the optimal number of sub-actions.
  • Computational Cost: Although end-to-end, the joint learning and Viterbi decoding might still be computationally intensive for very long videos.

The authors suggest that their approach provides a strong foundation for unsupervised sub-action learning and can be extended to other related tasks.

Summary updated

BibTeX
@inproceedings{swetha2021unsupervised,
  author = {Sirnam Swetha and Hilde Kuehne and Yogesh S. Rawat and Mubarak Shah},
  title = {{Unsupervised Discriminative Embedding For Sub-Action Learning in Complex Activities}},
  booktitle = {ICIP},
  year = {2021},
  doi = {10.1109/icip42928.2021.9506759},
}
Figure