Skip to main content
QUICK REVIEW

[Paper Review] $A^2$-Nets: Double Attention Networks

Yunpeng Chen, Yannis Kalantidis|arXiv (Cornell University)|Oct 27, 2018
Human Pose and Action RecognitionComputer Science15 references14 citations
TL;DR

This paper proposes $A^2$-Nets, a double attention block that enhances CNNs by capturing long-range spatial and temporal dependencies through two-stage attention: first pooling global features via second-order statistics, then adaptively distributing them to each location. The method achieves state-of-the-art performance on ImageNet-1k, Kinetics, and UCF-101 with significantly fewer parameters and FLOPs than deeper models like ResNet-152.

ABSTRACT

Learning to capture long-range relations is fundamental to image/video recognition. Existing CNN models generally rely on increasing depth to model such relations which is highly inefficient. In this work, we propose the "double attention block", a novel component that aggregates and propagates informative global features from the entire spatio-temporal space of input images/videos, enabling subsequent convolution layers to access features from the entire space efficiently. The component is designed with a double attention mechanism in two steps, where the first step gathers features from the entire space into a compact set through second-order attention pooling and the second step adaptively selects and distributes features to each location via another attention. The proposed double attention block is easy to adopt and can be plugged into existing deep neural networks conveniently. We conduct extensive ablation studies and experiments on both image and video recognition tasks for evaluating its performance. On the image recognition task, a ResNet-50 equipped with our double attention blocks outperforms a much larger ResNet-152 architecture on ImageNet-1k dataset with over 40% less the number of parameters and less FLOPs. On the action recognition task, our proposed model achieves the state-of-the-art results on the Kinetics and UCF-101 datasets with significantly higher efficiency than recent works.

Motivation & Objective

  • To address the inefficiency of standard CNNs in modeling long-range dependencies due to local receptive fields.
  • To design a lightweight, plug-in module that enables convolutional layers to access global context without increasing depth or computational cost.
  • To improve performance on image and video recognition tasks while reducing model size and FLOPs compared to deeper architectures.
  • To enable efficient global feature aggregation and adaptive distribution through a two-stage attention mechanism.

Proposed method

  • The double attention block uses a two-step attention mechanism: first, second-order attention pooling aggregates key features from the entire spatial or spatio-temporal feature map into a compact representation.
  • Second, a second attention mechanism adaptively selects and distributes the pooled features to each spatial or temporal location based on relevance.
  • The first attention operation implicitly computes second-order statistics of features, capturing complex appearance and motion correlations beyond global average pooling.
  • The second attention mechanism performs adaptive feature assignment, allowing selective enhancement of features at each location with low computational overhead.
  • The block is designed as a plug-in module compatible with existing CNNs, such as ResNet, and can be inserted into any stage without architectural overhaul.
  • The method avoids the quadratic complexity of non-local networks by operating on a compact set of pooled features rather than all feature locations.

Experimental results

Research questions

  • RQ1Can a lightweight, learnable attention mechanism effectively model long-range dependencies in CNNs without increasing model depth?
  • RQ2How does second-order feature pooling compare to global average pooling in capturing complex spatial and motion correlations?
  • RQ3Can a two-stage attention mechanism outperform existing attention modules like SENet and Non-local Networks in both accuracy and efficiency?
  • RQ4To what extent can the double attention block improve performance on image and video recognition benchmarks with reduced FLOPs and parameters?

Key findings

  • On ImageNet-1k, a ResNet-50 with $A^2$-blocks achieves 77.0% top-1 accuracy, outperforming ResNet-152 (77.0%) while using 40% fewer parameters and less than half the FLOPs.
  • The $A^2$-Net achieves 74.6% top-1 accuracy on Kinetics with only 8 input frames and 40.8 GFLOPs, surpassing I3D (71.1%) and R(2+1)D (72.0%) despite lower FLOPs and fewer frames.
  • On UCF-101, the $A^2$-Net achieves 96.4% top-1 accuracy with 41.6 GFLOPs, outperforming I3D-RGB (95.6%) and R(2+1)D-RGB (96.8%) in accuracy while using a smaller backbone and less computation.
  • Ablation studies confirm that the double attention mechanism significantly improves performance over baseline ResNet-50 and SENet, demonstrating the effectiveness of second-order pooling and adaptive distribution.
  • The model shows strong transferability, achieving state-of-the-art results on UCF-101 with features pre-trained on Kinetics, indicating robust and generalizable feature learning.

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.