Skip to main content
QUICK REVIEW

[Paper Review] Convolutional Networks with Adaptive Computation Graphs.

Andreas Veit, Serge Belongie|arXiv (Cornell University)|Nov 30, 2017
Adversarial Robustness in Machine LearningComputer Science25 references21 citations
TL;DR

This paper proposes Adanets, a family of convolutional networks with adaptive computation graphs that dynamically skip layers via learnable gating functions, enabling efficient computation and specialization in high-level feature extraction. On ImageNet, Adanet 50 achieves 7.94% top-5 error with 30% fewer FLOPs than ResNet 34, while showing improved robustness to adversarial examples.

ABSTRACT

Do convolutional networks really need a fixed feed-forward structure? Often, a neural network is already confident after a few layers about the high-level concept shown in the image. However, due to the fixed network structure, all remaining layers still need to be evaluated. What if the network could jump right to a layer that is specialized in fine-grained differences of the image's content? In this work, we propose Adanets, a family of convolutional networks with adaptive computation graphs. Following a high-level structure similar to residual networks (Resnets), the key difference is that for each layer a gating function determines whether to execute the layer or move on to the next one. In experiments on CIFAR-10 and ImageNet we demonstrate that Adanets efficiently allocate computational budget among layers and learn distinct layers specializing in similar categories. Adanet 50 achieves a top 5 error rate of 7.94% on ImageNet using 30% fewer computations than Resnet 34, which only achieves 8.58%. Lastly, we study the effect of adaptive computation graphs on the susceptibility towards adversarial examples. We observe that Adanets show a higher robustness towards adversarial attacks, complementing other defenses such as JPEG compression.

Motivation & Objective

  • To address the inefficiency of fixed-depth convolutional networks that process all layers regardless of confidence.
  • To enable dynamic computation by allowing networks to skip layers based on input-specific confidence.
  • To explore whether adaptive computation graphs improve model efficiency and robustness.
  • To investigate whether specialized layers emerge for similar image categories under adaptive routing.
  • To evaluate the impact of adaptive computation on adversarial example susceptibility.

Proposed method

  • Adanets adopt a residual-like architecture where each layer is followed by a differentiable gating function.
  • The gating function computes a probability of skipping the current layer based on the input feature map.
  • During inference, if the gate output exceeds a threshold, the layer is skipped, and the network proceeds to the next layer.
  • The network is trained end-to-end using standard backpropagation with differentiable gates.
  • Each layer is designed to specialize in distinguishing fine-grained differences among similar image categories.
  • Adaptive routing allows the network to allocate computational resources more efficiently based on input complexity.

Experimental results

Research questions

  • RQ1Can adaptive computation graphs reduce FLOPs without sacrificing accuracy in image classification?
  • RQ2Do adaptive networks learn specialized layers for similar image categories?
  • RQ3How does adaptive computation affect robustness to adversarial examples?
  • RQ4Can gating mechanisms enable early exit for confident predictions, improving inference efficiency?
  • RQ5Does dynamic routing lead to more efficient and robust models compared to fixed-structure networks?

Key findings

  • Adanet 50 achieves a top-5 error rate of 7.94% on ImageNet, outperforming ResNet 34, which achieves 8.58% with higher computational cost.
  • Adanet 50 uses 30% fewer FLOPs than ResNet 34 while achieving better accuracy.
  • The network learns distinct layers that specialize in fine-grained distinctions among similar image categories.
  • Adaptive computation graphs improve robustness to adversarial attacks, showing higher resilience than standard networks.
  • The adaptive mechanism enables early exits for confident predictions, reducing computation for easy samples.
  • Adanets complement existing defenses such as JPEG compression, further enhancing adversarial robustness.

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.