journal article·2023-06-15Open access

DANet: Temporal Action Localization with Double Attention

Jianing Sun, Xuan Wu, Yubin Xiao, Chunguo Wu, Yanchun Liang, Yi Liang, Liupu Wang, You Zhou

Applied Sciences· Volume 13· Issue 12

Abstract

Temporal action localization (TAL) aims to predict action instance categories in videos and identify their start and end times. However, existing Transformer-based backbones focus only on global or local features, resulting in the loss of information. In addition, both global and local self-attention mechanisms tend to average embeddings, thereby reducing the preservation of critical features. To solve these two problems better, we propose two kinds of attention mechanisms, namely multi-headed local self-attention (MLSA) and max-average pooling attention (MA) to extract simultaneously local and global features. In MA, max-pooling is used to select the most critical information from local clip embeddings instead of averaging embeddings, and average-pooling is used to aggregate global features. We use MLSA for modeling local temporal context. In addition, to enhance collaboration between MA and MLSA, we propose the double attention block (DABlock), comprising MA and MLSA. Finally, we propose the final network double attention network (DANet), composed of DABlocks and other advanced blocks. To evaluate DANet’s performance, we conduct extensive experiments for the TAL task. Experimental results demonstrate that DANet outperforms the other state-of-the-art models on all datasets. Finally, ablation studies demonstrate the effectiveness of the proposed MLSA and MA. Compared with structures using backbone with convolution and global Transformer, DABlock consisting of MLSA and MA has a superior performance, achieving an 8% and 0.5% improvement on overall average mAP, respectively.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Human Pose and Action Recognition · Anomaly Detection Techniques and Applications · Gait Recognition and Analysis

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Laboratory of Symbolic Computation and Knowledge Engineering of Ministry of Education, College of Computer Science and Technology, Jilin University, Changchun 130012, China

School of Computer Science, Zhuhai College of Science and Technology, Zhuhai 519041, China

College of Business and Administration, Jilin University, Changchun 130012, China

Funding

National Key Research and Development Program of China · Jilin Provincial Department of Science and Technology Project · National Natural Science Foundation of China · Guangdong Universities’ Innovation Team Project · Key Disciplines

References (56)

Show source-provided references
1. Huang, D.A., Ramanathan, V., Mahajan, D., Torresani, L., Paluri, M., Fei-Fei, L., and Niebles, J.C. (2018, January 18–23). What makes a video a video: Analyzing temporal information in video understanding models and datasets. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00769 ↗
2. Wu, C.Y., Feichtenhofer, C., Fan, H., He, K., Krahenbuhl, P., and Girshick, R. (2019, January 15–20). Long-term feature banks for detailed video understanding. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.10.1109/CVPR.2019.00037 ↗
3. Lin, J., Gan, C., and Han, S. (November, January 27). Tsm: Temporal shift module for efficient video understanding. Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, South of Korea.
4. Lin, T., Zhao, X., Su, H., Wang, C., and Yang, M. (2018, January 8–14). Bsn: Boundary sensitive network for temporal action proposal generation. Proceedings of the European Conference on Computer Vision, Munich, Germany.10.1007/978-3-030-01225-0_1 ↗
5. Lin, C., Xu, C., Luo, D., Wang, Y., Tai, Y., Wang, C., Li, J., Huang, F., and Fu, Y. (2021, January 19–25). Learning salient boundary feature for anchor-free temporal action localization. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.10.1109/CVPR46437.2021.00333 ↗
6. Liu, X., Hu, Y., Bai, S., Ding, F., Bai, X., and Torr, P.H. (2021, January 19–25). Multi-shot temporal event localization: A benchmark. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.10.1109/CVPR46437.2021.01241 ↗
7. Lin, T., Liu, X., Li, X., Ding, E., and Wen, S. (November, January 27). Bmn: Boundary-matching network for temporal action proposal generation. Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, South of Korea.
8. Long, F., Yao, T., Qiu, Z., Tian, X., Luo, J., and Mei, T. (2019, January 15–20). Gaussian temporal awareness networks for action localization. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.10.1109/CVPR.2019.00043 ↗
9. End-to-end temporal action detection with transformer10.1109/TIP.2022.3195321 ↗
10. Zhang, C.L., Wu, J., and Li, Y. (2022, January 23–24). Actionformer: Localizing moments of actions with transformers. Proceedings of the European Conference on Computer Vision, Glasgow, UK.10.1007/978-3-031-19772-7_29 ↗
11. Incorporating Surprisingly Popular Algorithm and Euclidean distance-based adaptive topology into PSO10.1016/j.swevo.2022.101222 ↗
12. IIRWR: Internal inclined random walk with restart for lncRNA-Disease association prediction10.1109/ACCESS.2019.2912945 ↗
13. A novel computational model for predicting potential LncRNA-disease associations based on both direct and indirect features of LncRNA-disease pairs10.1186/s12859-020-03906-7 ↗
14. Weakly supervised temporal action localization with proxy metric modeling10.1007/s11704-022-1154-1 ↗
15. Ju, C., Zheng, K., Liu, J., Zhao, P., Zhang, Y., Chang, J., Tian, Q., and Wang, Y. (2023, January 24–31). Distilling Vision-Language Pre-training to Collaborate with Weakly-Supervised Temporal Action Localization. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada.10.1109/CVPR52729.2023.01417 ↗
16. Xing, Z., Dai, Q., Hu, H., Chen, J., Wu, Z., and Jiang, Y.G. (2023, January 24–31). Svformer: Semi-supervised video transformer for action recognition. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada.10.1109/CVPR52729.2023.01804 ↗
17. Qing, Z., Su, H., Gan, W., Wang, D., Wu, W., Wang, X., Qiao, Y., Yan, J., Gao, C., and Sang, N. (2021, January 20–25). Temporal context aggregation network for temporal action proposal refinement. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.10.1109/CVPR46437.2021.00055 ↗
18. Lin, T., Zhao, X., and Shou, Z. (2017, January 23–27). Single shot temporal action detection. Proceedings of the ACM International Conference on Multimedia, Silicon Valley, CA, USA.10.1145/3123266.3123343 ↗
19. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, Ł., and Polosukhin, I. (2017, January 4–9). Attention is all you need. Proceedings of the Advances in Neural Information Processing Systems, Long Beach, CA, USA.
20. Xu, H., Ma, J., Yuan, J., Le, Z., and Liu, W. (2022, January 18–24). Rfnet: Unsupervised network for mutually reinforcing multi-modal image registration and fusion. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA.10.1109/CVPR52688.2022.01906 ↗
21. Boureau, Y.L., Ponce, J., and LeCun, Y. (2010, January 21–24). A theoretical analysis of feature pooling in visual recognition. Proceedings of the International Conference on Machine Learning, Haifa, Israel.
22. The thumos challenge on action recognition for videos “in the wild”10.1016/j.cviu.2016.10.018 ↗
23. Heilbron, F.C., Escorcia, V., Ghanem, B., and Niebles, J.C. (2015, January 7–12). Activitynet: A large-scale video benchmark for human activity understanding. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Boston, MA, USA.10.1109/CVPR.2015.7298698 ↗
24. Liu, Q., and Wang, Z. (2020, January 7–12). Progressive boundary refinement network for temporal action detection. Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA.
25. Tan, J., Tang, J., Wang, L., and Wu, G. (2021, January 10–17). Relaxed transformer decoders for direct action proposal generation. Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, BC, Canada.10.1109/ICCV48922.2021.01327 ↗
26. Zhu, Z., Tang, W., Wang, L., Zheng, N., and Hua, G. (2021, January 10–17). Enriching local and global contexts for temporal action localization. Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, BC, Canada.10.1109/ICCV48922.2021.01326 ↗
27. Sridhar, D., Quader, N., Muralidharan, S., Li, Y., Dai, P., and Lu, J. (2021, January 10–17). Class semantics-based attention for action detection. Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, BC, Canada.10.1109/ICCV48922.2021.01348 ↗
28. A survey on temporal action localization10.1109/ACCESS.2020.2986861 ↗
29. Kenton, J.D.M.W.C., and Toutanova, L.K. (2019, January 2–7). Bert: Pre-training of deep bidirectional transformers for language understanding. Proceedings of the Annual Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Minneapolis, MN, USA.
30. Yang, Z., Dai, Z., Yang, Y., Carbonell, J., Salakhutdinov, R.R., and Le, Q.V. (2019, January 8–14). Xlnet: Generalized autoregressive pretraining for language understanding. Proceedings of the Advances in Neural Information Processing Systems, Vancouver, BC, Canada.
31. Clark, K., Luong, M.T., Le, Q.V., and Manning, C.D. (2020, January 26–30). ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators. Proceedings of the International Conference on Learning Representations, Addis Ababa, Ethiopia.
32. Zhang, J., Zhao, Y., Saleh, M., and Liu, P. (2020, January 13–18). Pegasus: Pre-training with extracted gap-sentences for abstractive summarization. Proceedings of the International Conference on Machine Learning, Virtual Event.
33. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., and Gelly, S. (2021, January 3–7). An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. Proceedings of the International Conference on Learning Representations, Virtual Event.
34. Liu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., Lin, S., and Guo, B. (2021, January 10–17). Swin transformer: Hierarchical vision transformer using shifted windows. Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, BC, Canada.10.1109/ICCV48922.2021.00986 ↗
35. Wu, J., Jiang, Y., Zhang, W., Bai, X., and Bai, S. (2022, January 23–24). SeqFormer: Sequential Transformer for Video Instance Segmentation. Proceedings of the European Conference on Computer Vision, Glasgow, UK.10.1007/978-3-031-19815-1_32 ↗
36. Sun, C., Myers, A., Vondrick, C., Murphy, K., and Schmid, C. (November, January 27). Videobert: A joint model for video and language representation learning. Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, South of Korea.
37. Carreira, J., and Zisserman, A. (2017, January 22–25). Quo vadis, action recognition? A new model and the kinetics dataset. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.10.1109/CVPR.2017.502 ↗
38. Lin, T.Y., Goyal, P., Girshick, R., He, K., and Dollár, P. (2017, January 22–29). Focal loss for dense object detection. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.10.1109/ICCV.2017.324 ↗
39. Liu, D., Jiang, T., and Wang, Y. (2019, January 15–20). Completeness modeling and context separation for weakly supervised temporal action localization. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.10.1109/CVPR.2019.00139 ↗
40. Xu, M., Zhao, C., Rojas, D.S., Thabet, A., and Ghanem, B. (2020, January 14–19). G-tad: Sub-graph localization for temporal action detection. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR42600.2020.01017 ↗
41. Zhao, C., Thabet, A.K., and Ghanem, B. (2021, January 10–17). Video self-stitching graph network for temporal action localization. Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, BC, Canada.10.1109/ICCV48922.2021.01340 ↗
42. Wang, L., Xiong, Y., Wang, Z., Qiao, Y., Lin, D., Tang, X., and Van Gool, L. (2016, January 11–14). Temporal segment networks: Towards good practices for deep action recognition. Proceedings of the European Conference on Computer Vision, Amsterdam, The Netherlands.10.1007/978-3-319-46484-8_2 ↗
43. Zeng, R., Huang, W., Tan, M., Rong, Y., Zhao, P., Huang, J., and Gan, C. (November, January 27). Graph convolutional networks for temporal action localization. Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, South of Korea.
44. Lin, C., Li, J., Wang, Y., Tai, Y., Luo, D., Cui, Z., Wang, C., Li, J., Huang, F., and Ji, R. (2020, January 7–12). Fast learning of temporal action proposal via dense boundary generator. Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA.10.1609/aaai.v34i07.6815 ↗
45. Bai, Y., Wang, Y., Tong, Y., Yang, Y., Liu, Q., and Liu, J. (2020, January 23–28). Boundary content graph neural network for temporal action proposal generation. Proceedings of the European Conference on Computer Vision, Glasgow, UK.10.1007/978-3-030-58604-1_8 ↗
46. Zhao, P., Xie, L., Ju, C., Zhang, Y., Wang, Y., and Tian, Q. (2020, January 23–28). Bottom-up temporal action localization with mutual regularization. Proceedings of the European conference on Computer Vision, Glasgow, UK.10.1007/978-3-030-58598-3_32 ↗
47. Gong, G., Zheng, L., and Mu, Y. (2020, January 6–10). Scale matters: Temporal scale aggregation network for precise action localization in untrimmed videos. Proceedings of the IEEE International Conference on Multimedia and Expo, London, UK.10.1109/ICME46284.2020.9102850 ↗
48. Qiu, Z., Yao, T., and Mei, T. (2017, January 22–29). Learning spatio-temporal representation with pseudo-3d residual networks. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.10.1109/ICCV.2017.590 ↗
49. Revisiting anchor mechanisms for temporal action localization10.1109/TIP.2020.3016486 ↗
50. Xiong, R., Yang, Y., He, D., Zheng, K., Zheng, S., Xing, C., Zhang, H., Lan, Y., Wang, L., and Liu, T. (2020, January 13–18). On layer normalization in the transformer architecture. Proceedings of the International Conference on Machine Learning, Virtual.
51. Wang, H., Ma, S., Dong, L., Huang, S., Zhang, D., and Wei, F. (2022). DeepNet: Scaling Transformers to 1000 Layers. arXiv.
52. Lin, T.Y., Dollár, P., Girshick, R., He, K., Hariharan, B., and Belongie, S. (2017, January 21–26). Feature pyramid networks for object detection. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.10.1109/CVPR.2017.106 ↗
53. Yu, J., Jiang, Y., Wang, Z., Cao, Z., and Huang, T. (2016, January 15–19). Unitbox: An advanced object detection network. Proceedings of the ACM International Conference on Multimedia, Amsterdam, The Netherlands.10.1145/2964284.2967274 ↗
54. Rezatofighi, H., Tsoi, N., Gwak, J., Sadeghian, A., Reid, I., and Savarese, S. (2019, January 15–20). Generalized intersection over union: A metric and a loss for bounding box regression. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.10.1109/CVPR.2019.00075 ↗
55. Zheng, Z., Wang, P., Liu, W., Li, J., Ye, R., and Ren, D. (2020, January 7–12). Distance-IoU loss: Faster and better learning for bounding box regression. Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA.10.1609/aaai.v34i07.6999 ↗
56. Control Distance IoU and Control Distance IoU Loss for Better Bounding Box Regression10.1016/j.patcog.2022.109256 ↗