Skip to main content
QUICK REVIEW

[Paper Review] DCANet: Learning Connected Attentions for Convolutional Neural Networks

Xu Ma, Jingda Guo|arXiv (Cornell University)|Jul 9, 2020
Advanced Neural Network ApplicationsComputer Science39 references7 citations
TL;DR

DCANet introduces a novel attention mechanism that connects adjacent attention blocks in convolutional neural networks to enable information flow between them, significantly improving attention learning without modifying the network architecture. By jointly training attention blocks via cross-attention connections, DCANet achieves state-of-the-art performance on ImageNet and MS COCO with minimal computational overhead, outperforming existing attention modules consistently.

ABSTRACT

While self-attention mechanism has shown promising results for many vision tasks, it only considers the current features at a time. We show that such a manner cannot take full advantage of the attention mechanism. In this paper, we present Deep Connected Attention Network (DCANet), a novel design that boosts attention modules in a CNN model without any modification of the internal structure. To achieve this, we interconnect adjacent attention blocks, making information flow among attention blocks possible. With DCANet, all attention blocks in a CNN model are trained jointly, which improves the ability of attention learning. Our DCANet is generic. It is not limited to a specific attention module or base network architecture. Experimental results on ImageNet and MS COCO benchmarks show that DCANet consistently outperforms the state-of-the-art attention modules with a minimal additional computational overhead in all test cases. All code and models are made publicly available.

Motivation & Objective

  • To address the limitation of existing self-attention mechanisms that treat each attention block independently, ignoring inter-block cooperation.
  • To improve attention learning capacity by enabling information flow between adjacent attention blocks through dedicated connections.
  • To develop a generic, architecture-agnostic method that enhances various attention modules (e.g., SENet, CBAM, GCNet) without modifying their internal structure.
  • To demonstrate consistent performance gains across multiple benchmarks, including ImageNet classification and MS COCO object detection.
  • To validate that attention connections, unlike residual shortcuts, actively guide attention learning and improve discrimination.

Proposed method

  • Introduces a chain of connections between adjacent attention blocks, allowing each block to attend to both the current feature map and the previous attention map.
  • Proposes a differentiable attention connection mechanism that fuses the current feature map with the previous attention map via learnable weights.
  • Employs a residual-like connection for attention blocks, but unlike ResNet shortcuts, it transmits attention guidance rather than feature maps.
  • Uses a learnable gate mechanism to control the contribution ratio of previous attention, defined as β/(α+β), enabling adaptive fusion.
  • Applies the method universally to various attention modules (SENet, CBAM, GCNet, SKNet) and base networks (ResNet, MobileNet, DenseNet) without architectural changes.
  • Trains all attention blocks jointly through end-to-end backpropagation, enabling cooperative learning across the network.

Experimental results

Research questions

  • RQ1Can inter-attention block communication improve the representational capacity of self-attention mechanisms in CNNs?
  • RQ2Does connecting attention blocks lead to better feature discrimination and attention focusing compared to independent attention modules?
  • RQ3Can a generic, plug-and-play module enhance diverse attention mechanisms and base architectures without architectural modification?
  • RQ4How does the contribution of previous attention maps influence current attention learning across different layers and modules?
  • RQ5Does the proposed attention connection mechanism generalize across different vision tasks such as image classification and object detection?

Key findings

  • DCANet improves SE-MobileNetV2 by 1.19% on ImageNet top-1 accuracy with negligible increase in parameters and FLOPs.
  • On MS COCO detection, DCA-SE-ResNet50 achieves +0.3% AP 50:95 over SE-ResNet50 in RetinaNet, and DCA-GC-ResNet50 improves Cascade R-CNN by +0.3% AP 50:95.
  • The attention map distribution in DCANet becomes more uniform and less clustered around 0.5, indicating improved attention discrimination compared to vanilla SE-ResNet50.
  • The contribution ratio of previous attention maps is consistently above 0 across all connections, confirming that prior attention always guides current attention learning.
  • In Stage 3 of ResNet50, the contribution ratios stabilize, indicating that DCANet most significantly enhances feature learning in deeper layers.
  • Visualizations show that DCA-enhanced models progressively focus on target objects, unlike vanilla models that shift focus erratically across stages.

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.