Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

End-to-end Temporal Action Detection with Transformer

About

Temporal action detection (TAD) aims to determine the semantic label and the temporal interval of every action instance in an untrimmed video. It is a fundamental and challenging task in video understanding. Previous methods tackle this task with complicated pipelines. They often need to train multiple networks and involve hand-designed operations, such as non-maximal suppression and anchor generation, which limit the flexibility and prevent end-to-end learning. In this paper, we propose an end-to-end Transformer-based method for TAD, termed TadTR. Given a small set of learnable embeddings called action queries, TadTR adaptively extracts temporal context information from the video for each query and directly predicts action instances with the context. To adapt Transformer to TAD, we propose three improvements to enhance its locality awareness. The core is a temporal deformable attention module that selectively attends to a sparse set of key snippets in a video. A segment refinement mechanism and an actionness regression head are designed to refine the boundaries and confidence of the predicted instances, respectively. With such a simple pipeline, TadTR requires lower computation cost than previous detectors, while preserving remarkable performance. As a self-contained detector, it achieves state-of-the-art performance on THUMOS14 (56.7% mAP) and HACS Segments (32.09% mAP). Combined with an extra action classifier, it obtains 36.75% mAP on ActivityNet-1.3. Code is available at https://github.com/xlliu7/TadTR.

Xiaolong Liu, Qimeng Wang, Yao Hu, Xu Tang, Shiwei Zhang, Song Bai, Xiang Bai• 2021

Related benchmarks

TaskDatasetResultRank
Temporal Action DetectionTHUMOS-14 (test)
mAP@tIoU=0.549.2
330
Temporal Action LocalizationTHUMOS14 (test)
AP @ IoU=0.560.1
319
Temporal Action LocalizationTHUMOS-14 (test)
mAP@0.374.8
308
Temporal Action LocalizationActivityNet 1.3 (val)
AP@0.553.6
257
Temporal Action DetectionActivityNet v1.3 (val)
mAP@0.549.1
185
Temporal Action LocalizationTHUMOS 2014
mAP@0.3076.7
93
Temporal Action DetectionActivityNet 1.3
mAP@0.560.2
93
Temporal Action DetectionActivityNet 1.3 (test)
Average mAP34.6
80
Temporal Action DetectionTHUMOS 14
mAP@0.374.8
71
Temporal Action LocalizationTHUMOS-14 (test)
mAP@0.362.4
36
Showing 10 of 19 rows

Other info

Code

Follow for update