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

TALLFormer: Temporal Action Localization with a Long-memory Transformer

About

Most modern approaches in temporal action localization divide this problem into two parts: (i) short-term feature extraction and (ii) long-range temporal boundary localization. Due to the high GPU memory cost caused by processing long untrimmed videos, many methods sacrifice the representational power of the short-term feature extractor by either freezing the backbone or using a small spatial video resolution. This issue becomes even worse with the recent video transformer models, many of which have quadratic memory complexity. To address these issues, we propose TALLFormer, a memory-efficient and end-to-end trainable Temporal Action Localization Transformer with Long-term memory. Our long-term memory mechanism eliminates the need for processing hundreds of redundant video frames during each training iteration, thus, significantly reducing the GPU memory consumption and training time. These efficiency savings allow us (i) to use a powerful video transformer feature extractor without freezing the backbone or reducing the spatial video resolution, while (ii) also maintaining long-range temporal boundary localization capability. With only RGB frames as input and no external action recognition classifier, TALLFormer outperforms previous state-of-the-arts by a large margin, achieving an average mAP of 59.1% on THUMOS14 and 35.6% on ActivityNet-1.3. The code is public available: https://github.com/klauscc/TALLFormer.

Feng Cheng, Gedas Bertasius• 2022

Related benchmarks

TaskDatasetResultRank
Temporal Action DetectionTHUMOS-14 (test)
mAP@tIoU=0.563.2
330
Temporal Action LocalizationTHUMOS14 (test)
AP @ IoU=0.563.2
319
Temporal Action DetectionActivityNet v1.3 (val)
mAP@0.554.1
185
Temporal Action DetectionActivityNet 1.3
mAP@0.554.1
93
Temporal Action DetectionActivityNet 1.3 (test)
Average mAP35.6
80
Temporal Action LocalizationTHUMOS 14
mAP@0.376
44
Temporal Action LocalizationActivityNet 1.3
Average mAP35.6
32
Temporal Action DetectionHACS segment (test)
mAP@0.555
30
Temporal Action DetectionTHUMOS14 (test)
mAP59.2
25
Temporal Activity LocalizationActivityNet 1.3 (test)
mAP@0.554.1
21
Showing 10 of 11 rows

Other info

Follow for update