Abstract
Standard video classification architectures often treat static appearance (RGB) and motion (Optical Flow) as independent streams, merging them only at the final prediction stage. This "late fusion" approach fails to exploit the rich, hierarchical interactions between these two modalities. We present the Cross-Modality Attention (CMA) block, a plug-and-play module that enables bidirectional communication between streams throughout the network. By adapting the Query-Key-Value attention mechanism, CMA allows one modality to spatially attend to the other, effectively using motion as a cue to highlight salient appearance features. Our approach achieves state-of-the-art performance on Kinetics-400 and UCF101 while maintaining high parameter efficiency.
Introduction
In the domain of video understanding, information is typically bifurcated into static appearance (identifying objects) and dynamic motion (tracking how objects move). For years, the "Two-Stream" architecture has been the standard, employing separate networks for RGB frames and Optical Flow. However, most implementations rely on late fusion, which creates a significant information gap: the RGB branch lacks awareness of which image regions are in motion, and the Flow branch lacks the semantic context of the objects it tracks.
Existing attention mechanisms, such as Non-Local blocks, generally focus on self-attention within a single modality. To address this, we introduce the CMA block, which bridges the gap by allowing modalities to attend to one another hierarchically.
The Cross-Modality Attention (CMA) Block
The core innovation of this work is the CMA block, which repurposes the attention mechanism popularized by Transformers for cross-modal fusion.
As illustrated in Figure 1, the block generates a "Query" from one modality (e.g., RGB) and "Key" and "Value" pairs from the other (e.g., Flow). This structure allows the RGB branch to "query" the Flow branch for regions of high motion relevance. The resulting attention map is used to weight the spatial features of the auxiliary modality before they are fused back into the primary stream. Designed as a residual wrapper, the CMA block can be seamlessly integrated into standard architectures like ResNet-50.
Training and Integration
To manage the computational complexity of training two interdependent branches, we utilize an iterative training strategy. We freeze one branch (e.g., Flow) while training the other (RGB) to integrate cross-modal information via the CMA blocks, then alternate. This allows the model to progressively refine its cross-modal representations without requiring the massive memory overhead of simultaneous end-to-end training.
Experimental Results
The CMA model was evaluated on two major benchmarks: Kinetics-400 and UCF101.
Quantitative Performance
On the Kinetics-400 dataset, the CMA-enhanced model achieved a 72.62% top-1 accuracy, significantly outperforming the standard two-stream baseline (71.21%) and models using only standard Non-Local blocks (71.67%). Furthermore, the CMA-iter1-R model—the RGB branch after just one iteration of cross-modal training—outperformed the full two-stream baseline while using only 1.8x the parameters of a single ResNet-50, compared to the 2x required for a traditional two-stream setup.
Qualitative Analysis
Visualization of the attention maps demonstrates the model's ability to focus on critical motion-driven cues.
As shown in Figure 2, the model successfully ignores "distractor" motions, such as background crowds, to focus on the primary actor's movements—for instance, a gymnast's limbs or a swimmer's stroke. This confirms that the CMA block effectively leverages motion as a powerful attention cue to filter out irrelevant static information.
Conclusion
The Cross-Modality Attention block represents a significant step forward in multi-modal video understanding. By enabling hierarchical interaction between appearance and motion, CMA overcomes the limitations of late fusion. While the iterative training regime adds some complexity, the gains in accuracy and parameter efficiency make it a compelling choice for modern video classification tasks. Future research will explore extending CMA to other modalities, such as audio and pose data.
Summary updated