Wise-SrNet: A Novel Architecture for Enhancing Image Classification by Learning Spatial Resolution of Feature Maps

Mohammad Rahimzadeh, AmirAli Askari, Soroush Parvin, Elnaz Safi, Mohammad Reza Mohammadi
4/26/2021
16 citations
cs.CVcs.AI

Official code: mr7495/image-classification-spatial (5 stars, Jupyter Notebook, MIT, last commit 2021-05-01).

Abstract

One of the main challenges since the advancement of convolutional neural networks is how to connect the extracted feature map to the final classification layer. VGG models used two sets of fully connected layers for the classification part of their architectures, which significantly increased the number of models' weights.

Show full abstract

ResNet and the next deep convolutional models used the Global Average Pooling (GAP) layer to compress the feature map and feed it to the classification layer. Although using the GAP layer reduces the computational cost, but also causes losing spatial resolution of the feature map, which results in decreasing learning efficiency. In this paper, we aim to tackle this problem by replacing the GAP layer with a new architecture called Wise-SrNet. It is inspired by the depthwise convolutional idea and is designed for processing spatial resolution while not increasing computational cost. We have evaluated our method using three different datasets: Intel Image Classification Challenge, MIT Indoors Scenes, and a part of the ImageNet dataset. We investigated the implementation of our architecture on several models of the Inception, ResNet, and DenseNet families. Applying our architecture has revealed a significant effect on increasing convergence speed and accuracy. Our Experiments on images with 224*224 resolution increased the Top-1 accuracy between 2% to 8% on different datasets and models. Running our models on 512*512 resolution images of the MIT Indoors Scenes dataset showed a notable result of improving the Top-1 accuracy within 3% to 26%. We will also demonstrate the GAP layer's disadvantage when the input images are large and the number of classes is not few. In this circumstance, our proposed architecture can do a great help in enhancing classification results. The code is shared at https://github.com/mr7495/image-classification-spatial.

View on arXivView PDF

Code Implementations(1)

MIT

A novel architecture for enhancing image classification. Reference paper: https://arxiv.org/abs/2104.12294

55Jupyter NotebookApr 16, 20215 years agoMIT
depthwise-convolutionsdepthwise-separable-convolutionsfeature-extractionfeature-selectionglobal-average-pooling+3 more

Similar Papers

Cite this paper

@article{rahimzadeh2021wisesrnet,
  title  = {Wise-SrNet: A Novel Architecture for Enhancing Image Classification by Learning Spatial Resolution of Feature Maps},
  author = {Mohammad Rahimzadeh and AmirAli Askari and Soroush Parvin and Elnaz Safi and Mohammad Reza Mohammadi},
  year   = {2021},
  eprint = {2104.12294},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.12294}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.12294.svg)](https://codeofpaper.com/paper/2104.12294)

Discussion