Skip to main content
QUICK REVIEW

[Paper Review] Where and When to Look? Spatio-temporal Attention for Action Recognition in Videos

Lili Meng, Bo Zhao|arXiv (Cornell University)|Sep 27, 2018
Human Pose and Action RecognitionComputer Science31 references8 citations
TL;DR

This paper proposes a separable spatio-temporal attention mechanism that dynamically focuses on salient spatial regions and critical temporal frames in videos for action recognition. By learning spatial saliency masks and soft temporal attention with coherence regularizers, the model achieves state-of-the-art performance on three benchmark datasets—including Moments in Time—using only video-level labels.

ABSTRACT

Inspired by the observation that humans are able to process videos efficiently by only paying attention when and where it is needed, we propose a novel spatial-temporal attention mechanism for video-based action recognition. For spatial attention, we learn a saliency mask to allow the model to focus on the most salient parts of the feature maps. For temporal attention, we employ a soft temporal attention mechanism to identify the most relevant frames from an input video. Further, we propose a set of regularizers that ensure that our attention mechanism attends to coherent regions in space and time. Our model is efficient, as it proposes a separable spatio-temporal mechanism for video attention, while being able to identify important parts of the video both spatially and temporally. We demonstrate the efficacy of our approach on three public video action recognition datasets. The proposed approach leads to state-of-the-art performance on all of them, including the new large-scale Moments in Time dataset. Furthermore, we quantitatively and qualitatively evaluate our model's ability to accurately localize discriminative regions spatially and critical frames temporally. This is despite our model only being trained with per video classification labels.

Motivation & Objective

  • To develop an efficient, end-to-end trainable attention mechanism that identifies both spatially salient regions and temporally critical frames in videos for action recognition.
  • To address the challenge of video-level supervision by enabling the model to localize discriminative spatio-temporal regions without bounding box or frame-level annotations.
  • To ensure attention coherence across space and time through novel regularizers that prevent fragmented or inconsistent attention maps.
  • To improve recognition accuracy by focusing computational resources on the most informative parts of the video, mimicking human visual attention.

Proposed method

  • The model employs a spatial attention mechanism that generates a learnable saliency mask over feature maps to highlight the most relevant spatial regions.
  • A soft temporal attention mechanism is applied to select the most informative frames from the input video sequence based on their contribution to action classification.
  • The attention mechanisms are designed to be separable—spatial and temporal attention are computed independently but jointly optimized.
  • Coherence regularizers are introduced to enforce spatial and temporal consistency in attention maps, preventing sparse or disconnected attention regions.
  • The entire architecture is trained end-to-end using only video-level classification labels, without requiring frame-level or bounding box annotations.
  • The method is applied to video features extracted by a backbone CNN, with attention applied before the final classification layer.

Experimental results

Research questions

  • RQ1Can a unified, efficient attention mechanism effectively localize both spatially salient regions and temporally critical frames in videos using only video-level labels?
  • RQ2How does the proposed spatio-temporal attention mechanism compare to existing attention mechanisms in terms of accuracy and localization fidelity on standard benchmarks?
  • RQ3To what extent do the proposed regularizers improve attention coherence and generalization in the absence of strong supervision?
  • RQ4Does the model achieve state-of-the-art performance on large-scale, diverse datasets like Moments in Time under weak supervision?
  • RQ5Can the model accurately localize discriminative regions and frames even without explicit localization annotations?

Key findings

  • The proposed method achieves state-of-the-art performance on three public video action recognition datasets, including the large-scale Moments in Time dataset.
  • The model localizes discriminative spatial regions and critical temporal frames with high accuracy, despite being trained only with video-level labels.
  • The attention mechanism successfully identifies coherent and meaningful spatio-temporal regions, as validated both quantitatively and qualitatively.
  • The use of coherence regularizers significantly improves attention map quality, reducing fragmented or noisy attention patterns.
  • The separable spatio-temporal attention mechanism maintains high efficiency while outperforming models with more complex attention designs.
  • The model demonstrates strong generalization across diverse action classes and video distributions, even under weak supervision.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.