Skip to main content
QUICK REVIEW

[Paper Review] Spatially Adaptive Computation Time for Residual Networks

Michael Figurnov, Maxwell D. Collins|arXiv (Cornell University)|Dec 7, 2016
Visual Attention and Saliency DetectionComputer Science39 references25 citations
TL;DR

This paper proposes Spatially Adaptive Computation Time (SACT), a method that dynamically adjusts the number of residual blocks processed per spatial location in Residual Networks, enabling end-to-end, deterministic, and problem-agnostic computation adaptation. SACT improves FLOPs-mAP efficiency on ImageNet and COCO, and its computed ponder cost maps correlate strongly with human eye fixations without explicit saliency supervision.

ABSTRACT

This paper proposes a deep learning architecture based on Residual Network that dynamically adjusts the number of executed layers for the regions of the image. This architecture is end-to-end trainable, deterministic and problem-agnostic. It is therefore applicable without any modifications to a wide range of computer vision problems such as image classification, object detection and image segmentation. We present experimental results showing that this model improves the computational efficiency of Residual Networks on the challenging ImageNet classification and COCO object detection datasets. Additionally, we evaluate the computation time maps on the visual saliency dataset cat2000 and find that they correlate surprisingly well with human eye fixation positions.

Motivation & Objective

  • To develop a method that enables dynamic, spatially varying computation in deep residual networks for improved efficiency.
  • To create an end-to-end trainable, deterministic mechanism that adapts computation per spatial location without architectural modifications.
  • To evaluate the model on diverse vision tasks, including image classification and object detection, without task-specific retraining.
  • To assess whether the computed computation time maps reflect human visual attention, even without explicit supervision.
  • To demonstrate that adaptive computation improves the FLOPs-accuracy trade-off in state-of-the-art models.

Proposed method

  • SACT extends Adaptive Computation Time (ACT) to operate at the spatial position level in Residual Networks, allowing per-location computation stopping decisions.
  • For each spatial location, a learnable gate network determines when the feature representation is 'good enough' to stop processing, based on a residual unit's output.
  • The gate network uses a temperature-controlled sigmoid to produce a stop probability, and the number of residual units processed per location is determined by a differentiable sampling mechanism.
  • The model is trained end-to-end using backpropagation, with the total computation time (ponder cost) weighted by a hyperparameter τ to balance accuracy and efficiency.
  • The method maintains feature map alignment, making it suitable for per-pixel and multi-output tasks like segmentation and object detection.
  • Ponder cost maps are generated during inference and used as saliency maps without additional training.

Experimental results

Research questions

  • RQ1Can adaptive computation be applied spatially in Residual Networks to improve computational efficiency?
  • RQ2Does the spatially adaptive computation mechanism correlate with human visual attention, even without explicit supervision?
  • RQ3Can SACT improve the FLOPs-accuracy trade-off in image classification and object detection tasks?
  • RQ4How does SACT perform compared to non-adaptive ResNet and ACT in terms of mAP and FLOPs?
  • RQ5Can the computed ponder cost maps serve as effective visual saliency predictors on out-of-domain images?

Key findings

  • SACT with τ=0.005 achieves 27.61 mAP on COCO val set with 56.0% of the FLOPs of ResNet-101, outperforming the original ResNet-101 (27.2 mAP) at higher efficiency.
  • SACT with τ=0.001 achieves 29.04 mAP at 72.4% FLOPs, significantly outperforming non-adaptive ResNet-50 (25.56 mAP at 46.6% FLOPs).
  • The SACT model trained on ImageNet and COCO generalizes well to saliency prediction, achieving 84.6% AUC-Judd on cat2000, outperforming the center-baseline (83.4%) and matching state-of-the-art DeepFix (87% on test).
  • Ponder cost maps from SACT show strong correlation with human eye fixation patterns, suggesting the model learns a biologically plausible attention mechanism.
  • The method maintains full feature map alignment, enabling direct use in dense prediction tasks like object detection and segmentation.
  • The model is fully differentiable and end-to-end trainable, with no need for heuristic or auxiliary networks to guide computation.

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.