HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

TS2-Net: Token Shift and Selection Transformer for Text-Video Retrieval

Yuqi Liu Pengfei Xiong Luhui Xu Shengming Cao Qin Jin

TS2-Net: Token Shift and Selection Transformer for Text-Video Retrieval

Abstract

Text-Video retrieval is a task of great practical value and has received increasing attention, among which learning spatial-temporal video representation is one of the research hotspots. The video encoders in the state-of-the-art video retrieval models usually directly adopt the pre-trained vision backbones with the network structure fixed, they therefore can not be further improved to produce the fine-grained spatial-temporal video representation. In this paper, we propose Token Shift and Selection Network (TS2-Net), a novel token shift and selection transformer architecture, which dynamically adjusts the token sequence and selects informative tokens in both temporal and spatial dimensions from input video samples. The token shift module temporally shifts the whole token features back-and-forth across adjacent frames, to preserve the complete token representation and capture subtle movements. Then the token selection module selects tokens that contribute most to local spatial semantics. Based on thorough experiments, the proposed TS2-Net achieves state-of-the-art performance on major text-video retrieval benchmarks, including new records on MSRVTT, VATEX, LSMDC, ActivityNet, and DiDeMo.

Code Repositories

yuqi657/ts2_net
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
video-retrieval-on-msr-vtt-1kaTS2-Net
text-to-video R@1: 54.0
text-to-video R@10: 87.4
text-to-video R@5: 79.3
video-retrieval-on-vatexTS2-Net
text-to-video R@1: 59.1
text-to-video R@10: 95.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
TS2-Net: Token Shift and Selection Transformer for Text-Video Retrieval | Papers | HyperAI