Transferable-guided Attention Is All You Need for Video Domain Adaptation

André Sacilotti, Samuel Felipe dos Santos, Nicu Sebe, Jurandy Almeida
7/1/2024
cs.CV

Official code: Andre-Sacilotti/transferattn-project-code (3 stars, last commit 2026-02-15).

Abstract

Unsupervised domain adaptation (UDA) in videos is a challenging task that remains not well explored compared to image-based UDA techniques. Although vision transformers (ViT) achieve state-of-the-art performance in many computer vision tasks, their use in video UDA has been little explored. Our key idea is to use transformer layers as a feature encoder and incorporate spatial and temporal transferability relationships into the attention mechanism. A Transferable-guided Attention (TransferAttn) framework is then developed to exploit the capacity of the transformer to adapt cross-domain knowledge across different backbones. To improve the transferability of ViT, we introduce a novel and effective module, named Domain Transferable-guided Attention Block (DTAB). DTAB compels ViT to focus on the spatio-temporal transferability relationship among video frames by changing the self-attention mechanism to a transferability attention mechanism. Extensive experiments were conducted on UCF-HMDB, Kinetics-Gameplay, and Kinetics-NEC Drone datasets, with different backbones, like ResNet101, I3D, and STAM, to verify the effectiveness of TransferAttn compared with state-of-the-art approaches. Also, we demonstrate that DTAB yields performance gains when applied to other state-of-the-art transformer-based UDA methods from both video and image domains. Our code is available at https://github.com/Andre-Sacilotti/transferattn-project-code.

View on arXivView PDF

Code Implementations(1)

Official implementation of the paper Transferable-guided Attention Is All You Need for Video Domain Adaptation

31Shell, PythonSep 4, 20248 months ago

Similar Papers

Cite this paper

@article{sacilotti2024transferableguided,
  title  = {Transferable-guided Attention Is All You Need for Video Domain Adaptation},
  author = {André Sacilotti and Samuel Felipe dos Santos and Nicu Sebe and Jurandy Almeida},
  year   = {2024},
  eprint = {2407.01375},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.01375v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.01375.svg)](https://codeofpaper.com/paper/2407.01375)

Discussion