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 typically operate under a "closed-world" assumption, meaning they can only identify a fixed set of labels encountered during training. To recognize "unseen" actions—Zero-Shot Learning (ZSL)—models must bridge the gap between visual pixels and semantic language. While previous methods attempted this using fixed text embeddings or one-way mappings, they often struggled with the highly non-linear relationship between modalities and required massive amounts of expensive, manually captioned video data. This paper introduces a multimodal framework that maps video and text into a shared, bi-directional embedding space, leveraging both paired (captioned) and unpaired (random) data to significantly improve recognition capabilities.
Methodology: The Multimodal Architecture
The proposed architecture consists of four primary neural networks: a Video Encoder ($E_V$) and Decoder ($G_V$), and a Text Encoder ($E_T$) and Decoder ($G_T$).
A key innovation is the use of Temporal Attention Filters. Instead of standard temporal pooling, which loses sequence information, the model uses a set of $N$ learnable Gaussian filters. This allows the system to map sequences of any length—whether video frames or words—into a fixed-size representation while maintaining essential temporal structure. The model is trained with a multi-part loss function that includes joint embedding loss, cross-domain reconstruction loss, and cycle-consistency loss to ensure that translating between modalities preserves the original semantic meaning.
Adversarial Learning for Unpaired Data
To enhance the joint embedding space without requiring exhaustive manual labeling, we employ an adversarial training strategy. This allows the model to learn from unpaired data (random videos and random sentences).
We introduce three discriminator networks ($D_z, D_V, D_T$) that challenge the encoders and decoders to make unpaired data representations indistinguishable from paired data. By aligning the distributions of video and text features, the model learns a broader "language of motion," helping it generalize to novel concepts like "volleyball" by understanding components (ball, jumping, court) seen in other contexts. To ensure stability, the model undergoes a "warm-up" phase on paired data before introducing adversarial training.
Experimental Evaluation
The framework was evaluated on standard benchmarks (ActivityNet, HMDB51, UCF101) and a new, large-scale dataset, MLB-YouTube, which contains 50 hours of baseball videos with noisy announcer commentary.
Key Results
- Zero-Shot Recognition: On ActivityNet, the full model achieved 82.4% accuracy on 5 unseen classes, compared to 42.0% for a baseline using fixed text representations.
- Unsupervised Discovery: On MLB-YouTube, the model achieved 49.1% accuracy in clustering activities without any labels, significantly outperforming the I3D visual baseline (23.4%).
- Unseen Captioning: The model successfully generated descriptions for activities it never saw during training, showing marked improvements in METEOR and CIDEr scores when unpaired data was included.
Discussion and Conclusion
Bi-directional alignment and the inclusion of unpaired data are crucial for robust multimodal learning. While unpaired data acts as a powerful regularizer, the model remains sensitive to domain shifts; for example, using household activity text to help recognize stadium-based sports videos can degrade performance. Future work will explore scaling this approach to additional modalities, such as audio, and leveraging more complex "noisy" text sources like social media metadata.
Summary updated