[Paper Review] Relational Self-Attention: What's Missing in Attention for Video Understanding
This paper proposes Relational Self-Attention (RSA), a novel dynamic feature transform that enhances video understanding by explicitly modeling spatio-temporal relational patterns through dynamically generated relational kernels and context aggregation. RSA outperforms convolution and standard self-attention, achieving state-of-the-art accuracy on motion-centric video action recognition benchmarks such as Something-Something-V1&V2, Diving48, and FineGym.
Convolution has been arguably the most important feature transform for modern neural networks, leading to the advance of deep learning. Recent emergence of Transformer networks, which replace convolution layers with self-attention blocks, has revealed the limitation of stationary convolution kernels and opened the door to the era of dynamic feature transforms. The existing dynamic transforms, including self-attention, however, are all limited for video understanding where correspondence relations in space and time, i.e., motion information, are crucial for effective representation. In this work, we introduce a relational feature transform, dubbed the relational self-attention (RSA), that leverages rich structures of spatio-temporal relations in videos by dynamically generating relational kernels and aggregating relational contexts. Our experiments and ablation studies show that the RSA network substantially outperforms convolution and self-attention counterparts, achieving the state of the art on the standard motion-centric benchmarks for video action recognition, such as Something-Something-V1 & V2, Diving48, and FineGym.
Motivation & Objective
- Address the limitation of existing dynamic feature transforms—like convolution and self-attention—in capturing motion dynamics in videos.
- Identify that standard self-attention fails to learn motion representations effectively without positional embeddings, especially on motion-centric datasets.
- Develop a new dynamic feature transform that explicitly models rich spatio-temporal relational structures to improve video representation learning.
- Achieve state-of-the-art performance on standard video action recognition benchmarks by integrating relational and appearance-based features.
Proposed method
- Propose a unified re-interpretation of dynamic feature transforms, distinguishing between appearance-based and relational-based feature learning.
- Design RSA to dynamically generate relational kernels using query-key correlations across spatio-temporal contexts, enabling motion-aware feature transforms.
- Introduce a group-wise correlation mechanism that computes G-dimensional correlation vectors, enhancing semantic richness compared to scalar dot-product attention.
- Decompose the feature transformation matrix using a latent dimension D to reduce FLOPs and memory usage while preserving performance.
- Combine relational kernels with standard self-attention and appearance-based features via element-wise addition, enabling joint modeling of appearance and motion.
- Use a learnable query-key correlation module to generate relational kernels that adaptively respond to motion patterns, such as object movement direction.
Experimental results
Research questions
- RQ1Why do standard self-attention mechanisms fail to capture motion dynamics effectively in video action recognition tasks?
- RQ2How can dynamic feature transforms be enhanced to explicitly model spatio-temporal relational structures for improved video representation?
- RQ3What is the impact of combining relational kernels with standard self-attention and appearance features on video recognition accuracy?
- RQ4How does the design of the correlation mechanism (e.g., group-wise vs. dot-product) affect relational feature learning in videos?
- RQ5To what extent does the kernel size and latent dimension decomposition influence the trade-off between accuracy and computational efficiency?
Key findings
- RSA achieves 47.0% top-1 accuracy on Something-Something-V1, outperforming both convolutional and standard self-attention baselines.
- The ablation study confirms that combining relational context with appearance features yields consistent improvements across different context types.
- The group-wise correlation mechanism with full element-wise (Hadamard) correlation (G = C^Q) achieves the best performance, demonstrating richer semantic modeling.
- Kernel size M = 5×7×7 provides the best balance between accuracy and computational cost, with larger kernels (e.g., 5×9×9) showing performance degradation.
- Latent dimension decomposition (D = C^Q) reduces FLOPs and memory usage significantly, enabling training on large-scale video models without out-of-memory errors.
- Kernel visualization shows that RSA kernels dynamically adapt to motion direction (e.g., upward vs. downward motion), while self-attention kernels remain invariant to temporal order, confirming RSA’s motion sensitivity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.