Skip to main content
QUICK REVIEW

[Paper Review] Hierarchical Multi-scale Attention Networks for Action Recognition

Shiyang Yan, Jeremy S. Smith|arXiv (Cornell University)|Aug 25, 2017
Human Pose and Action RecognitionComputer Science19 references5 citations
TL;DR

This paper proposes Hierarchical Multi-scale Attention Networks (HM-AN), which combine hierarchical multi-scale RNNs with attention mechanisms to improve video action recognition. By using Gumbel-softmax for differentiable hard attention and adaptive temperature scheduling, HM-AN outperforms LSTM with attention, achieving 44.2% accuracy on HMDB51, while visualizations confirm learned temporal boundaries and dynamic attention regions.

ABSTRACT

Recurrent Neural Networks (RNNs) have been widely used in natural language processing and computer vision. Among them, the Hierarchical Multi-scale RNN (HM-RNN), a kind of multi-scale hierarchical RNN proposed recently, can learn the hierarchical temporal structure from data automatically. In this paper, we extend the work to solve the computer vision task of action recognition. However, in sequence-to-sequence models like RNN, it is normally very hard to discover the relationships between inputs and outputs given static inputs. As a solution, attention mechanism could be applied to extract the relevant information from input thus facilitating the modeling of input-output relationships. Based on these considerations, we propose a novel attention network, namely Hierarchical Multi-scale Attention Network (HM-AN), by combining the HM-RNN and the attention mechanism and apply it to action recognition. A newly proposed gradient estimation method for stochastic neurons, namely Gumbel-softmax, is exploited to implement the temporal boundary detectors and the stochastic hard attention mechanism. To amealiate the negative effect of sensitive temperature of the Gumbel-softmax, an adaptive temperature training method is applied to better the system performance. The experimental results demonstrate the improved effect of HM-AN over LSTM with attention on the vision task. Through visualization of what have been learnt by the networks, it can be observed that both the attention regions of images and the hierarchical temporal structure can be captured by HM-AN.

Motivation & Objective

  • To address the challenge of modeling complex, hierarchical temporal structures in video action recognition using RNNs.
  • To overcome the limitations of fixed attention and vanishing gradients in standard RNNs and LSTMs for video tasks.
  • To implement stochastic hard attention in vision tasks using differentiable Gumbel-softmax instead of REINFORCE, improving training stability.
  • To reduce sensitivity to temperature hyperparameter in Gumbel-softmax via an adaptive training scheme.
  • To validate the effectiveness of the proposed model on standard action recognition benchmarks with visual interpretability.

Proposed method

  • Integrates Hierarchical Multi-scale RNN (HM-RNN) with attention mechanisms to model multi-scale temporal dependencies in video sequences.
  • Uses Gumbel-softmax to differentially train stochastic hard attention units, enabling end-to-end backpropagation through discrete attention decisions.
  • Applies an adaptive temperature scheduling strategy to reduce sensitivity to the temperature hyperparameter in Gumbel-softmax.
  • Employs boundary detectors at multiple hierarchical levels to learn temporal segment boundaries automatically.
  • Implements both soft attention (weighted fusion of features) and hard attention (selective focus on single regions) for ablation and comparison.
  • Trains the model end-to-end using spatial CNN features as input, with attention and boundary detection learned jointly.
Figure 1: Network Structure: After the networks discover the implicit boundary relations of the multi-scale property, boundary detectors can set the networks into an explicit multi-scale architecture.
Figure 1: Network Structure: After the networks discover the implicit boundary relations of the multi-scale property, boundary detectors can set the networks into an explicit multi-scale architecture.

Experimental results

Research questions

  • RQ1Can a hierarchical multi-scale RNN with attention improve action recognition performance over standard LSTMs?
  • RQ2Does Gumbel-softmax enable effective and stable training of hard attention in video recognition compared to REINFORCE?
  • RQ3How does adaptive temperature scheduling affect the performance and convergence of Gumbel-softmax in hard attention?
  • RQ4Can the model learn meaningful temporal boundaries and spatial attention regions that align with human perception of actions?
  • RQ5Does the combination of hierarchical temporal modeling and attention lead to better generalization on benchmark datasets like HMDB51 and UCF Sports?

Key findings

  • The Adaptive-Gumbel-Hard Attention variant achieved 44.2% accuracy on the HMDB51 dataset, outperforming all other RNN-based methods tested, including CHAM (43.4%) and baseline LSTMs.
  • On the UCF Sports dataset, Adaptive-Gumbel-Hard Attention and REINFORCE-Hard Attention both outperformed soft attention, indicating improved performance with differentiable hard attention.
  • On larger datasets like HMDB51 and Olympic Sports, REINFORCE-Hard Attention underperformed soft attention, while Gumbel-softmax-based hard attention maintained superior performance due to lower gradient variance.
  • Visualization results show that HM-AN learns dynamic attention regions across time, with distinct spatial focus shifting per time step.
  • The model successfully detects hierarchical temporal boundaries across multiple layers, with $z_1$, $z_2$, and $z_3$ indicating boundaries at different temporal scales.
  • The adaptive temperature scheme effectively mitigates the sensitivity of Gumbel-softmax to hyperparameter tuning, reducing the need for manual search.
Figure 2: The attention mechanism: The soft attention assign weights on different locations of features using softmax whilst the values of hard attention map are either 1 or 0 which means only one important location is selected.
Figure 2: The attention mechanism: The soft attention assign weights on different locations of features using softmax whilst the values of hard attention map are either 1 or 0 which means only one important location is selected.

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.