Introduction
Action recognition in video sequences is a fundamental task in computer vision, typically addressed using two-stream networks that process spatial (appearance) and temporal (motion) information separately. However, this decoupled approach often fails to capture the intrinsic dependencies between what is moving and how it moves. Furthermore, joint training of these streams frequently encounters the "one-stream-dominating" problem, where the faster-converging spatial stream overshadows the temporal stream, leading to suboptimal motion feature learning.
The proposed Joint Network based Attention (JNA) model overcomes these limitations by enabling spatial and temporal streams to share information through "sharing gates," identifying the most salient frames in a video sequence to boost accuracy.
Methodology: Joint Network based Attention (JNA)
The JNA framework addresses the challenges of two-stream networks by enabling cross-stream information sharing during training. Unlike traditional late-fusion methods that simply average scores at the end, JNA utilizes sharing gates to facilitate interaction between the spatial and temporal branches.
Architecture and Sharing Gates
The JNA architecture employs GoogLeNet for feature extraction followed by Gated Recurrent Units (GRUs) to model temporal dynamics. The core innovation lies in the sharing gates, which are constrained by a softmax function. These gates act as filters, allowing only the most crucial information from one branch to influence the attention mechanism of the other. This joint learning process prevents the spatial stream from dominating the network and ensures that both appearance and motion cues are effectively utilized.
Temporal Attention Mechanism
JNA incorporates a temporal attention mechanism that learns to assign weights to individual frames based on their relevance to the action being performed. This allows the model to focus on discriminative segments of the video while ignoring redundant or uninformative frames. Interestingly, the authors found that temporal attention is significantly more effective than spatial attention for action recognition tasks, as spatial attention often failed to improve upon baseline performance.
Experimental Results
The JNA model was evaluated on the UCF101 and HMDB51 benchmarks. UCF101 consists of 13,320 clips across 101 categories, while HMDB51 contains 6,766 clips from 51 classes, offering more complex real-world scenarios. As shown in the performance comparison below, JNA achieves state-of-the-art results on both datasets.
On UCF101, JNA reached 91.2% accuracy, outperforming other attention-based methods like Soft Attention and Multi-branch Attention. On HMDB51, it reached 66.9% accuracy, representing a significant 8.5% improvement over the two-stream baseline. When augmented with warped optical flow to compensate for camera motion, JNA's accuracy further improved to 91.5% on UCF101 and 68.8% on HMDB51.
Conclusion
The JNA model successfully mitigates the "one-stream-dominating" problem in two-stream networks through its novel sharing gate architecture and joint temporal attention. By focusing on salient frames and enabling inter-stream communication, JNA sets a new standard for action recognition on benchmark datasets. Future research may investigate more effective spatial attention strategies or hybrid models that further refine the integration of appearance and motion.
Summary updated