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

OadTR: Online Action Detection with Transformers

About

Most recent approaches for online action detection tend to apply Recurrent Neural Network (RNN) to capture long-range temporal structure. However, RNN suffers from non-parallelism and gradient vanishing, hence it is hard to be optimized. In this paper, we propose a new encoder-decoder framework based on Transformers, named OadTR, to tackle these problems. The encoder attached with a task token aims to capture the relationships and global interactions between historical observations. The decoder extracts auxiliary information by aggregating anticipated future clip representations. Therefore, OadTR can recognize current actions by encoding historical information and predicting future context simultaneously. We extensively evaluate the proposed OadTR on three challenging datasets: HDD, TVSeries, and THUMOS14. The experimental results show that OadTR achieves higher training and inference speeds than current RNN based approaches, and significantly outperforms the state-of-the-art methods in terms of both mAP and mcAP. Code is available at https://github.com/wangxiang1230/OadTR.

Xiang Wang, Shiwei Zhang, Zhiwu Qing, Yuanjie Shao, Zhengrong Zuo, Changxin Gao, Nong Sang• 2021

Related benchmarks

TaskDatasetResultRank
Online Action DetectionTHUMOS14 (test)
mAP65.5
86
Online Action DetectionTVSeries
mcAP87.2
57
Online Action DetectionTVSeries (test)
mcAP87.2
41
Online Action DetectionTHUMOS 14
Mean F-AP58.3
37
Online Action DetectionHDD
Overall mAP29.8
29
Action AnticipationTVSeries (test)
mcAP77.8
22
Action AnticipationTHUMOS-14 (test)
mAP45.9
14
Action AnticipationTHUMOS 2014
mAP (Avg)53.5
14
Action AnticipationTHUMOS 14
Accuracy @ 0.25s59.8
8
Procedural mistake detectionAssembly101-O
Precision24.3
8
Showing 10 of 17 rows

Other info

Code

Follow for update