Skip to main content
QUICK REVIEW

[Paper Review] DropMAE: Learning Representations via Masked Autoencoders with Spatial-Attention Dropout for Temporal Matching Tasks

Qiangqiang Wu, Tianyu Yang|arXiv (Cornell University)|Apr 2, 2023
Video Surveillance and Tracking MethodsComputer Science6 citations
TL;DR

DropMAE proposes a masked autoencoder with adaptive spatial-attention dropout to improve temporal correspondence learning in video representation pre-training for visual object tracking (VOT) and video object segmentation (VOS). By disrupting co-adaptation of spatial cues during reconstruction, it enhances temporal feature learning, achieving state-of-the-art performance on 8 out of 9 benchmarks with 2× faster pre-training than ImageNet-based MAE.

ABSTRACT

This paper studies masked autoencoder (MAE) video pre-training for various temporal matching-based downstream tasks, i.e., object-level tracking tasks including video object tracking (VOT) and video object segmentation (VOS), self-supervised visual correspondence learning, dense tracking tasks including optical flow estimation and long-term point tracking, and 3D point cloud tracking. Specifically, our work explores to provide a general representation to boost the temporal matching ability in various downstream tracking tasks. To achieve this, we firstly find that a simple extension of MAE, which randomly masks out frame patches in videos and reconstruct the frame pixels, heavily relies on spatial cues while ignoring temporal relations for frame reconstruction, thus leading to sub-optimal temporal matching representations. To alleviate this, we propose DropMAE, which adaptively performs spatial-attention dropout in the frame reconstruction to facilitate temporal correspondence learning in videos. We obtain several important findings with DropMAE: 1) DropMAE is a strong and efficient temporal matching learner, which achieves better fine-tuning results on matching-based tasks than the ImageNet-based MAE with 2x faster pre-training speed. 2) DropMAE is effective for different tracking tasks, i.e., object-level matching tasks including VOT and VOS, dense tracking tasks including optical flow estimation and tracking any point (TAP), and even 3D tracking in the different modality of point cloud data. Since none exists, we build ViT-based trackers for different downstream tracking tasks, and our pre-trained DropMAE model can be directly loaded in these ViT-based trackers for fine-tuning without further modifications. Experiments on 6 downstream tracking tasks demonstrate the effectiveness of DropMAE as a general pre-trained representation for diverse tracking tasks.

Motivation & Objective

  • To address the sub-optimal temporal representation learning in standard masked autoencoders (MAE) when pre-training on videos for matching-based tasks like VOT and VOS.
  • To reduce reliance on spatial cues during frame reconstruction by mitigating co-adaptation between within-frame tokens.
  • To enhance temporal correspondence learning through adaptive spatial-attention dropout in the reconstruction process.
  • To investigate the impact of motion diversity versus scene diversity in pre-training video data for downstream tracking and segmentation tasks.
  • To develop a plug-and-play pre-trained model that improves ViT-based trackers without architectural modifications.

Proposed method

  • Proposes DropMAE, a masked autoencoder that applies adaptive spatial-attention dropout (ASAD) during frame reconstruction to disrupt spatial co-adaptation.
  • ASAD selectively drops attention weights between spatially close patches within the same frame during reconstruction, encouraging reliance on inter-frame temporal cues.
  • Uses a two-stage pre-training pipeline: first initializing with ImageNet-based MAE, then fine-tuning on Kinetics-400 (K400) for temporal correspondence.
  • Employs a standard Vision Transformer (ViT) encoder and decoder, with dropout applied only in the decoder’s multi-head attention layers during pre-training.
  • Adopts a reconstruction objective that minimizes pixel-wise L2 loss between predicted and ground-truth masked patches.
  • Introduces a variant, RandDrop-MAE, to ablate the effect of random dropout, showing its inferiority to adaptive attention dropout.

Experimental results

Research questions

  • RQ1Can adaptive spatial-attention dropout in masked autoencoders improve temporal correspondence learning for video matching tasks?
  • RQ2Does reducing reliance on spatial cues during reconstruction lead to better performance on VOT and VOS benchmarks?
  • RQ3How does motion diversity in pre-training data compare to scene diversity in influencing downstream tracking and segmentation performance?
  • RQ4Can DropMAE be used as a plug-in pre-trained backbone for existing ViT-based trackers without architectural changes?
  • RQ5Is the performance gain from DropMAE due to better temporal modeling or improved feature generalization?

Key findings

  • DropMAE achieves state-of-the-art performance on 8 out of 9 video tracking and segmentation benchmarks, including 75.9% AO on GOT-10k and 92.1% J&F on DAVIS-17.
  • DropMAE pre-training is 2× faster than ImageNet-based MAE while achieving better downstream fine-tuning performance on matching-based tasks.
  • Motion diversity in pre-training videos is more critical than scene diversity for improving performance on VOT and VOS.
  • The use of a pre-trained ImageNet-based MAE as initialization improves DropMAE performance, indicating benefits from diverse object classes.
  • DropSeg, a tracker using DropMAE, achieves competitive results on DAVIS-17 and YouTube-VOS without online memory mechanisms, outperforming methods with such components.
  • Ablation shows that random dropout (RandDrop-MAE) underperforms ASAD, confirming the importance of adaptive, context-aware attention dropping.

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.