Journal of System Simulation ›› 2024, Vol. 36 ›› Issue (1): 67-82.doi: 10.16182/j.issn1004731x.joss.22-0937

• Papers • Previous Articles     Next Articles

Action Recognition Model of Directed Attention Based on Cosine Similarity

Li Chen1(), He Ming1(), Dong Chen2, Li Wei1   

  1. 1.Command & Control Engineering College, Army Engineering University of PLA, Nanjing 210007, China
    2.Military Human Resource Support Center, Political Work Department of the Army, Beijing 100072, China
  • Received:2022-08-09 Revised:2022-10-18 Online:2024-01-20 Published:2024-01-19
  • Contact: He Ming E-mail:651220007@qq.com;paper_review@126.com

Abstract:

Aiming at the lack of directionality of traditional dot product attention, this paper proposes a directed attention model (DAM) based on cosine similarity. To effectively represent the direction relationship between the spatial and temporal features of video frames, the paper defines the relationship function in the attention mechanism using the cosine similarity theory, which can remove the absolute value of the relationship between features. To reduce the computational burden of the attention mechanism, the operation is decomposed from two dimensions of time and space. The computational complexity is further optimized by combining linear attention operation.The experiment is divided into two stages : Four ablation experiments are carried out on each module of directed attention to show the best performance of DAM in accuracy and efficiency; the accuracy of the model is 7.3% higher than that of I3D-NL on the Sth-Sth V1(something something V1) dataset and 95.7% on the UCF101(101 human action classes from videos in the wild) dataset. The research results have a wide application prospect in safety monitoring, automatic driving, and so on.

Key words: action recognition, deep learning, attentional mechanism, cosine similarity, time-space decomposition

CLC Number: