ReAct: Temporal Action Detection with Relational Queries
About
This work aims at advancing temporal action detection (TAD) using an encoder-decoder framework with action queries, similar to DETR, which has shown great success in object detection. However, the framework suffers from several problems if directly applied to TAD: the insufficient exploration of inter-query relation in the decoder, the inadequate classification training due to a limited number of training samples, and the unreliable classification scores at inference. To this end, we first propose a relational attention mechanism in the decoder, which guides the attention among queries based on their relations. Moreover, we propose two losses to facilitate and stabilize the training of action classification. Lastly, we propose to predict the localization quality of each action query at inference in order to distinguish high-quality queries. The proposed method, named ReAct, achieves the state-of-the-art performance on THUMOS14, with much lower computational costs than previous methods. Besides, extensive ablation studies are conducted to verify the effectiveness of each proposed component. The code is available at https://github.com/sssste/React.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Temporal Action Detection | THUMOS-14 (test) | mAP@tIoU=0.557.1 | 330 | |
| Temporal Action Localization | THUMOS14 (test) | AP @ IoU=0.557.1 | 319 | |
| Temporal Action Localization | ActivityNet 1.3 (val) | AP@0.549.6 | 257 | |
| Temporal Action Detection | ActivityNet v1.3 (val) | mAP@0.549.6 | 185 | |
| Temporal Action Detection | ActivityNet 1.3 | mAP@0.549.6 | 93 | |
| Temporal Action Detection | ActivityNet 1.3 (test) | Average mAP32.6 | 80 | |
| Temporal Action Detection | THUMOS 14 | mAP@0.369.2 | 71 | |
| Temporal Action Localization | THUMOS-14 (test) | mAP@0.369.2 | 36 | |
| Temporal Activity Localization | ActivityNet 1.3 (test) | mAP@0.549.6 | 21 | |
| Temporal Action Localization | ActivityNet 1.3 (val test) | mAP@0.549.6 | 19 |