Skip to main content
QUICK REVIEW

[Paper Review] TACo: Token-aware Cascade Contrastive Learning for Video-Text Alignment

Jianwei Yang, Yonatan Bisk|arXiv (Cornell University)|Aug 23, 2021
Multimodal Machine Learning ApplicationsComputer Science53 references4 citations
TL;DR

TACo proposes a token-aware cascade contrastive learning method that improves video-text alignment by focusing on content words (nouns, verbs) via a syntactic-aware contrastive loss and using a cascade sampling strategy to efficiently select hard negative examples. The approach achieves state-of-the-art performance on three text-video retrieval benchmarks—YouCook2, MSR-VTT, and ActivityNet—without adding parameters.

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.

Motivation & Objective

  • To address the lack of fine-grained alignment in contrastive learning for video-text tasks, where function words are treated equally with content words.
  • To improve the efficiency and effectiveness of contrastive loss estimation during multi-modal fusion by selecting hard negative examples in a structured way.
  • To enhance video-text alignment through a two-stage contrastive learning pipeline that leverages syntactic class information.
  • To demonstrate that the proposed method generalizes well across downstream tasks such as retrieval, action step localization, and action segmentation.
  • To achieve state-of-the-art performance with a simpler, parameter-efficient contrastive learning framework compared to prior methods.

Proposed method

  • Introduces a token-aware contrastive loss that computes similarity only over content words (e.g., nouns, verbs), based on their syntactic classes, to improve fine-grained grounding.
  • Applies a cascade sampling method that uses alignment scores from early-stage losses (L1 and L2) to select a small set of hard negative examples for the final contrastive loss.
  • Uses three contrastive losses in sequence: sentence-level loss (L1), token-level loss (L2) on content words, and a final sentence-level loss (L3) over hard negatives.
  • Employs a multi-stage training pipeline where alignment scores from L1 and L2 are used online to guide the selection of hard negatives for L3, reducing computational cost.
  • Maintains a standard transformer-based video-language model architecture but enhances the contrastive learning objective with syntactic-awareness and structured sampling.
  • Trains on Howto100M and fine-tunes on downstream datasets using standard evaluation protocols for retrieval, localization, and segmentation.

Experimental results

Research questions

  • RQ1Can focusing on content words (nouns, verbs) in the contrastive learning objective improve video-text alignment compared to treating all words equally?
  • RQ2Does cascade sampling of hard negatives based on early alignment scores improve the learning of multi-modal fusion layers more efficiently than random sampling?
  • RQ3Can a simpler contrastive learning pipeline with no additional parameters outperform complex multi-loss frameworks in video-text retrieval?
  • RQ4To what extent can the learned representations from TACo be transferred to downstream tasks like action step localization and action segmentation?
  • RQ5How does the performance of TACo compare to state-of-the-art methods across diverse benchmarks with varying domain gaps?

Key findings

  • TACo achieves state-of-the-art performance on three text-video retrieval benchmarks: YouCook2 (R1@1: 86.3%), MSR-VTT (R1@1: 55.7%), and ActivityNet (R1@1: 72.4%), outperforming prior methods.
  • On YouCook2, TACo achieves a 2.1% absolute improvement in Recall@1 over the previous SOTA method, demonstrating strong zero-shot generalization.
  • After fine-tuning, TACo achieves 58.2% Recall@1 on MSR-VTT and 73.1% on ActivityNet, showing strong performance even with domain shift.
  • TACo outperforms UniVL on CrossTask for action step localization, achieving a 1.2% higher average recall, indicating better cross-modal alignment.
  • On the COIN dataset for action segmentation, TACo achieves a mean F1-score of 78.9%, surpassing MIL-NCE and matching UniVL, showing strong video representation learning.
  • The ablation study confirms that combining both token-aware loss and cascade sampling yields the best performance, with each component contributing significantly to the final gain.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.