Skip to main content
QUICK REVIEW

[Paper Review] Deciding How to Decide: Dynamic Routing in Artificial Neural Networks

Mason McGill, Pietro Perona|arXiv (Cornell University)|Mar 17, 2017
Neural Networks and ApplicationsComputer Science25 references51 citations
TL;DR

The paper proposes three training strategies for dynamically routed neural networks with cascaded evaluation, demonstrates that inputs may be routed along specialized paths, and shows dynamic routing can outperform statically routed networks under fixed compute budgets.

ABSTRACT

We propose and systematically evaluate three strategies for training dynamically-routed artificial neural networks: graphs of learned transformations through which different input signals may take different paths. Though some approaches have advantages over others, the resulting networks are often qualitatively similar. We find that, in dynamically-routed networks trained to classify images, layers and branches become specialized to process distinct categories of images. Additionally, given a fixed computational budget, dynamically-routed networks tend to perform better than comparable statically-routed networks.

Motivation & Objective

  • Motivate dynamic routing where decisions are easier on some inputs and harder on others, inspired by human and prior cascaded approaches.
  • Develop and test three training strategies for networks with multiple sinks at junctions to route inputs based on content.
  • Quantify accuracy/efficiency trade-offs under fixed computational budgets.
  • Assess regularization and optimization techniques compatible with dynamically routed networks.

Proposed method

  • Define inference routing policy at each junction as the argmax over a learned score vector, enabling multi-sink paths.
  • Propose a multiscale (pyramidal) CNN architecture where routing decisions depend on global descriptors.
  • Formalize cost of inference combining error and computation, c_inf = c_err + c_cpt.
  • Introduce three training strategies: Actor Learning, Pragmatic Critic Learning, and Optimistic Critic Learning.
  • Regularize subnetworks activated by routing decisions to balance frequent vs. infrequent path usage.
  • Adjust learning rates per layer to stabilize training under varying throughput.
  • Allow dynamic adaptation to changing computation costs by incorporating k_cpt into routing policy inputs.

Experimental results

Research questions

  • RQ1Do dynamically routed networks with learned routing policies improve accuracy under constrained computation compared to statically routed networks?
  • RQ2How do different training strategies (actor vs critic approaches) affect learning stability and performance for dynamic routing?
  • RQ3What regularization and optimization techniques best support dynamic routing architectures?
  • RQ4Can dynamic routing yield specialized submodels where branches specialize to different input categories?
  • RQ5How does task difficulty distribution impact the benefits of dynamic routing?

Key findings

  • Dynamically routed networks tend to outperform architecture-matched statically routed baselines at a fixed computational budget.
  • Actor-based routing strategies generally achieve higher peak accuracy than comparable statically routed networks.
  • Routing paths specialize: branches tend to process distinct image categories, with early layers handling easier decisions and later branches handling harder ones.
  • Dynamic routing is beneficial across architectures and datasets, and benefits persist with higher model capacity.
  • Optimistic critic variants provide less stable performance, while pragmatic/actor approaches offer favorable trade-offs in training complexity and memory.
  • Adjusting learning rates to account for throughput variations improves performance in high-accuracy regimes.

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.