HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

TACo: Token-aware Cascade Contrastive Learning for Video-Text Alignment

Jianwei Yang Yonatan Bisk Jianfeng Gao

TACo: Token-aware Cascade Contrastive Learning for Video-Text Alignment

Abstract

Contrastive learning has been widely used to train transformer-based vision-language models for video-text alignment and multi-modal representation learning. This paper presents a new algorithm called Token-Aware Cascade contrastive learning (TACo) that improves contrastive learning using two novel techniques. The first is the token-aware contrastive loss which is computed by taking into account the syntactic classes of words. This is motivated by the observation that for a video-text pair, the content words in the text, such as nouns and verbs, are more likely to be aligned with the visual contents in the video than the function words. Second, a cascade sampling method is applied to generate a small set of hard negative examples for efficient loss estimation for multi-modal fusion layers. To validate the effectiveness of TACo, in our experiments we finetune pretrained models for a set of downstream tasks including text-video retrieval (YouCook2, MSR-VTT and ActivityNet), video action step localization (CrossTask), video action segmentation (COIN). The results show that our models attain consistent improvements across different experimental settings over previous methods, setting new state-of-the-art on three public text-video retrieval benchmarks of YouCook2, MSR-VTT and ActivityNet.

Benchmarks

BenchmarkMethodologyMetrics
action-segmentation-on-coinTACo
Frame accuracy: 68.4
temporal-action-localization-on-crosstaskTACo
Recall: 42.5
video-retrieval-on-activitynetTACo
text-to-video Median Rank: 3.0
text-to-video R@1: 30.4
text-to-video R@5: 61.2
text-to-video R@50: 93.4
video-retrieval-on-msr-vttTACo
text-to-video Median Rank: 5
text-to-video R@1: 24.8
text-to-video R@10: 64.0
text-to-video R@5: 52.1
video-retrieval-on-msr-vtt-1kaTACo
text-to-video Median Rank: 4
text-to-video R@1: 28.4
text-to-video R@10: 71.2
text-to-video R@5: 57.8
video-retrieval-on-youcook2TACo
text-to-video Median Rank: 4
text-to-video R@1: 29.6
text-to-video R@10: 72.7
text-to-video R@5: 59.7
zero-shot-video-retrieval-on-msr-vttTACo
text-to-video R@1: 9.8
text-to-video R@10: 33.4
text-to-video R@5: 25.0
zero-shot-video-retrieval-on-youcook2TACo
text-to-video Mean Rank: 8
text-to-video R@1: 19.9
text-to-video R@10: 55.7
text-to-video R@5: 43.2

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp