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 typically "closed-set," restricted to identifying actions explicitly presented during training. Scaling these models to new activities often requires thousands of manually labeled video clips, a process that is both expensive and time-consuming. Zero-shot learning (ZSL) offers a solution by leveraging auxiliary information, such as text descriptions, to help models generalize to unseen categories.
However, most existing ZSL methods rely heavily on "paired" data—specific videos matched with corresponding captions or attribute lists. This paper addresses the challenge of utilizing the vast amount of unpaired video and text available online to learn a joint embedding space. The goal is to create a representation where semantically similar activities, whether in video or text form, are mapped to nearby points in a shared latent space.
Methodology
The proposed framework utilizes a deep autoencoder architecture designed to align disparate data distributions into a shared latent representation ($z$).
Architecture
The model consists of four primary components:
- Video and Text Encoders ($E_V, E_T$): These networks map input video frames and text sentences into the shared latent space.
- Video and Text Decoders ($G_V, G_T$): These components attempt to reconstruct the original inputs from the latent representation, ensuring the embedding preserves essential information.
Loss Functions and Adversarial Training
To effectively align the video and language domains, the authors employ a combination of loss functions:
- Reconstruction and Joint Loss: Ensures the latent space can rebuild inputs and that paired embeddings are close in $L_2$ distance.
- Cross-Domain and Cycle Loss: Forces the model to translate between modalities (e.g., video to text and back to video).
- Adversarial Training: This core innovation enables the use of unpaired data. Three discriminators are used: $D_z$ ensures latent text and video distributions match, while $D_V$ and $D_T$ distinguish between real and reconstructed data.
Due to the inherent instability of GAN training, a specific training regime (Algorithm 1) is implemented, "warming up" the model on paired data before introducing unpaired adversarial samples.
Experiments and Results
The model was evaluated on several benchmarks, including ActivityNet Captions, HMDB51, UCF101, and a new fine-grained dataset, MLB-YouTube, which features dense annotations from baseball announcer commentary. Unpaired data sources included Wikipedia sentences, dictionary definitions of verbs, and random YouTube clips.
Key Findings
- Zero-Shot Performance: On ActivityNet with 10 unseen classes, the model achieved 82.5% accuracy, a significant improvement over the fixed text representation baseline of 41.9%.
- Impact of Unpaired Data: Integrating unpaired data (specifically verb definitions) improved performance from 76.7% to 82.5%, suggesting that unpaired text acts as a semantic bridge.
- Generalization and Captioning: The model outperformed state-of-the-art methods on HMDB51 and UCF101 and successfully generated captions for unseen activities, nearly doubling METEOR scores compared to baselines.
Conclusion
This work demonstrates that learning a shared multimodal embedding space can be significantly enhanced by incorporating unpaired data through an adversarial framework. By aligning the distributions of video and language, the model gains a deeper semantic understanding of activities, enabling robust zero-shot recognition and captioning. Future work will focus on improving training stability and generating more complex, natural language descriptions.
Summary updated