CNNtention: Can CNNs do better with Attention?

📅 2024-12-16
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
This study systematically investigates the impact of attention mechanisms on CNN-based image classification performance. We integrate two lightweight attention modules—SE and CBAM—into a ResNet backbone and conduct comparative experiments on CIFAR-10 and an ImageNet subset. For the first time, we quantitatively characterize the accuracy–efficiency trade-off introduced by attention: a 1.8% top-1 accuracy gain on CIFAR-10 incurs a 23% increase in inference latency, with gains scaling significantly with task complexity. We further propose a low-overhead attention embedding scheme that preserves module generality while alleviating computational bottlenecks. Results demonstrate that attention primarily enhances global contextual modeling to compensate for the limited local receptive fields inherent in standard CNNs. Consequently, its effectiveness is highly contingent upon both semantic complexity of the target task and real-time inference constraints.

Technology Category

Computer Vision: Adversarial Attacks & RobustnessMachine Learning: Hardware-aware MLNatural Language Processing: Sentence-level Semantics, Textual Inference, etc.

Application Category

Search and Retrieval-Augmented AI: Efficiency and scalability of Web search enginesSemantics and Knowledge: Methods to enhance, augment, integrate or synergize semantic models such as knowledge graphs and LLMsGraph Algorithms and Modeling for the Web: Algorithms and analysis for heterogeneous, signed, attributed, multi-relational, temporal, higher-order, and annotated Web-related graphs
📝 Abstract
Convolutional Neural Networks (CNNs) have been the standard for image classification tasks for a long time, but more recently attention-based mechanisms have gained traction. This project aims to compare traditional CNNs with attention-augmented CNNs across an image classification task. By evaluating and comparing their performance, accuracy and computational efficiency, the project will highlight benefits and trade-off of the localized feature extraction of traditional CNNs and the global context capture in attention-augmented CNNs. By doing this, we can reveal further insights into their respective strengths and weaknesses, guide the selection of models based on specific application needs and ultimately, enhance understanding of these architectures in the deep learning community. This was our final project for CS7643 Deep Learning course at Georgia Tech.
Problem

Research questions and friction points this paper is trying to address.

Attention Mechanism
Convolutional Neural Network (CNN)
Image Recognition
Innovation

Methods, ideas, or system contributions that make the work stand out.

Convolutional Neural Networks (CNNs)
Attention Mechanism
Image Recognition
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.
N
Nikhil Kapila
J
Julian Glattki
T
Tejas Rathi