Learning Multimodal Representations for Unseen Activities

Aj Piergiovanni, Michael S. Ryoo · DOI

Abstract

We present a method to learn a joint multimodal representation space that enables recognition of unseen activities in videos. We first compare the effect of placing various constraints on the embedding space using paired text and video data. We also propose a method to improve the joint embedding space using an adversarial formulation, allowing it to benefit from unpaired text and video data. By using unpaired text data, we show the ability to learn a representation that better captures unseen activities. In addition to testing on publicly available datasets, we introduce a new, large-scale text/video dataset. We experimentally confirm that using paired and unpaired data to learn a shared embedding space benefits three difficult tasks (i) zero-shot activity classification, (ii) unsupervised activity discovery, and (iii) unseen activity captioning, outperforming the state-of-the-arts.

Introduction

Traditional activity recognition models are "closed-world": they can only identify actions they were explicitly trained on using labeled video clips. However, the world of human activity is vast, and collecting labeled videos for every possible action is prohibitively expensive.

This paper introduces a method to recognize and describe video activities that the model has never seen during training (zero-shot learning). By using an adversarial framework to align video and text into a shared embedding space, the authors demonstrate that models can learn effectively from both paired data and vast amounts of unpaired video and text, significantly improving generalization to unseen actions.

Methodology

The authors propose a deep autoencoder architecture consisting of four neural networks: a Video Encoder/Decoder and a Text Encoder/Decoder. The encoders map variable-length video frames and text sequences into a fixed-size latent vector ($z$). To handle variable lengths, they use Temporal Attention Filters (Gaussian-based) which outperform standard max-pooling or RNNs.

The proposed architecture uses temporal attention to map video segments and word embeddings into a joint embedding space.

The model is trained using a combination of reconstruction loss, joint loss (minimizing $L_2$ distance between paired embeddings), cross-domain mapping, and cycle-consistency loss. To leverage data where no video-text pair exists, they introduce three discriminators in an adversarial framework. These discriminators force the latent representations of different modalities to come from the same distribution and ensure that "hallucinated" modalities (e.g., text generated from a random video) look realistic.

The Shared Representation Space

The core of the approach is the shared embedding space. By using pre-trained word embeddings (GloVe), the model inherits a "semantic map" of the world. If the model learns what "throwing" looks like in a baseball context, the linguistic proximity of "tossing" in the embedding space helps it recognize a "toss" in an unseen activity. This bidirectionality ensures the shared space preserves the essential features of both modalities.

Visualization of the shared representation space where semantically similar activities (e.g., swimming, basketball) are clustered together.

Datasets and Evaluation

The study utilizes several benchmarks, including ActivityNet Captions, HMDB51, and UCF101. It also introduces MLB-YouTube, a large-scale dataset of baseball videos with ~50 hours of dense announcer commentary. The proposed method consistently outperformed state-of-the-art baselines across three tasks:

  1. Zero-Shot Classification: On ActivityNet with 50 unseen classes, the full model achieved 30.1% accuracy, compared to just 15.6% for fixed text representations.
  2. Unsupervised Discovery: On the new MLB-YouTube dataset, the model achieved 49.1% accuracy in clustering activities, nearly doubling the performance of standard I3D feature baselines.
  3. Unseen Captioning: The model successfully generated semantically accurate captions (e.g., "Several men are playing basketball") for videos of activities it never saw during training.

Conclusion

While the model shows significant promise, limitations remain regarding the domain specificity of unpaired data and the computational complexity of the seven-network architecture. Future work may involve more sophisticated attention mechanisms to filter out irrelevant text in noisy commentary datasets like MLB-YouTube, where announcers often discuss past events rather than describing the immediate frame.

Summary updated

BibTeX
@misc{piergiovanni2020learning,
  author = {AJ Piergiovanni and Michael S. Ryoo},
  title = {{Learning Multimodal Representations for Unseen Activities}},
  year = {2020},
  eprint = {1806.08251},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.08251},
}
Figure