Skip to main content
QUICK REVIEW

[Paper Review] IamNN: Iterative and Adaptive Mobile Neural Network for Efficient Image Classification

Sam Leroux, Pavlo Molchanov|arXiv (Cornell University)|Apr 26, 2018
Advanced Neural Network ApplicationsComputer Science10 references23 citations
TL;DR

IamNN proposes a lightweight, adaptive deep neural network for image classification by combining parameter sharing across residual blocks and adaptive computation time (ACT), enabling significant reductions in model size and computational cost while maintaining competitive accuracy. The architecture uses iterative refinement with shared weights and dynamically adjusts inference complexity per input, reducing parameters by 90% and FLOPs by up to 65% on ImageNet with only a minor drop in top-5 accuracy.

ABSTRACT

Deep residual networks (ResNets) made a recent breakthrough in deep learning. The core idea of ResNets is to have shortcut connections between layers that allow the network to be much deeper while still being easy to optimize avoiding vanishing gradients. These shortcut connections have interesting side-effects that make ResNets behave differently from other typical network architectures. In this work we use these properties to design a network based on a ResNet but with parameter sharing and with adaptive computation time. The resulting network is much smaller than the original network and can adapt the computational cost to the complexity of the input image.

Motivation & Objective

  • To reduce model size and computational cost in deep neural networks for mobile and edge deployment.
  • To exploit the iterative refinement behavior of ResNets to enable parameter sharing across layers.
  • To dynamically adjust computation per input using Adaptive Computation Time (ACT), reducing FLOPs for easy images.
  • To maintain high accuracy despite drastic model compression and variable computation.
  • To explore the feasibility of replacing multiple residual units with a single shared block that iteratively refines features.

Proposed method

  • Replace each ResNet block with a single shared processing block that iteratively refines features using the same weights across iterations.
  • Use a state buffer to accumulate feature refinements, initialized to zero, where each iteration adds the output of the processing block to the state.
  • Concatenate the original block input with the current state before each iteration to preserve input context.
  • Introduce an Adaptive Computation Time (ACT) mechanism that determines how many iterations are needed per input based on input complexity.
  • Formulate the ACT component as a learnable gate that controls the number of iterations, ensuring the sum of weights across iterations equals one.
  • Use bottleneck-style 1x1 and 3x3 convolutions in the processing block, with batch normalization and ReLU activations.

Experimental results

Research questions

  • RQ1Can parameter sharing across residual blocks in a ResNet-like architecture maintain or improve accuracy while drastically reducing model size?
  • RQ2Can adaptive computation time be effectively applied to feedforward convolutional networks for image classification to reduce average FLOPs?
  • RQ3Does iterative refinement with shared weights lead to a robust and generalizable feature representation across diverse image complexities?
  • RQ4How does the performance of a parameter-shared, adaptive network compare to standard ResNets and other efficient architectures like MobileNet and ShuffleNet?
  • RQ5To what extent does the network's ability to dynamically adjust computation per sample correlate with input image difficulty?

Key findings

  • IamNN reduces the number of parameters by 90% compared to ResNet101 on CIFAR10 and CIFAR100, achieving 4.5M and 4.6M parameters respectively.
  • On CIFAR10, IamNN achieves 94.6% top-1 accuracy, slightly outperforming ResNet101 (93.8%), likely due to regularization from weight sharing.
  • On CIFAR100, IamNN achieves 77.8% top-1 accuracy, a 1.5% drop from ResNet101’s 79.3%, indicating a trade-off in larger datasets.
  • On ImageNet, IamNN reduces parameters by 90% (from 60M to 5M) and FLOPs by 65% (from 11.5G to 4B on average), with a top-5 accuracy of 89.0% compared to ResNet152’s 93.3%.
  • The network adapts computation per image: on CIFAR10, FLOPs range from 0.7G to 2G, and on ImageNet, from 2.5G to 9G, depending on input complexity.
  • When restricted to a single iteration per block, IamNN’s top-5 accuracy drops to 83.2%, confirming that iterative refinement is essential for performance.

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.