Skip to main content
QUICK REVIEW

[Paper Review] Learning Dynamic Routing for Semantic Segmentation

Yanwei Li, Lin Song|arXiv (Cornell University)|Mar 23, 2020
Advanced Neural Network ApplicationsComputer Science57 references13 citations
TL;DR

This paper proposes dynamic routing for semantic segmentation, enabling data-dependent, adaptive network architectures that select optimal scale transformation paths based on input image characteristics. Using a differentiable soft conditional gate, the method achieves state-of-the-art performance with significantly reduced FLOPs by dynamically pruning low-contributing paths under computational budgets, outperforming fixed architectures on Cityscapes and PASCAL VOC 2012.

ABSTRACT

Recently, numerous handcrafted and searched networks have been applied for semantic segmentation. However, previous works intend to handle inputs with various scales in pre-defined static architectures, such as FCN, U-Net, and DeepLab series. This paper studies a conceptually new method to alleviate the scale variance in semantic representation, named dynamic routing. The proposed framework generates data-dependent routes, adapting to the scale distribution of each image. To this end, a differentiable gating function, called soft conditional gate, is proposed to select scale transform paths on the fly. In addition, the computational cost can be further reduced in an end-to-end manner by giving budget constraints to the gating function. We further relax the network level routing space to support multi-path propagations and skip-connections in each forward, bringing substantial network capacity. To demonstrate the superiority of the dynamic property, we compare with several static architectures, which can be modeled as special cases in the routing space. Extensive experiments are conducted on Cityscapes and PASCAL VOC 2012 to illustrate the effectiveness of the dynamic framework. Code is available at https://github.com/yanwei-li/DynamicRouting.

Motivation & Objective

  • To address scale variance in semantic segmentation by enabling network architectures that adapt to input-specific scale distributions.
  • To design a differentiable, end-to-end trainable routing mechanism that selects optimal feature transformation paths per input.
  • To improve efficiency by dynamically dropping low-contribution operations under computational budget constraints.
  • To support multi-path and skip-connection propagations within each forward pass to enhance representational capacity.
  • To demonstrate superiority over static architectures in both accuracy and efficiency on standard benchmarks.

Proposed method

  • Proposes a dynamic routing framework that generates data-dependent forward paths during inference, adapting to the scale distribution of each input image.
  • Introduces a differentiable soft conditional gate to select scale transformation paths based on input features, enabling end-to-end optimization.
  • Enables multi-path and skip-connection propagations within each forward pass by relaxing the routing space beyond single-path pipelines.
  • Implements budget constraints via learnable coefficients (λ₂, μ) to dynamically prune low-utility cells and paths, reducing FLOPs.
  • Uses simple scale transformation modules without bells-and-whistles to maintain efficiency while achieving strong performance.
  • Supports various static architectures (e.g., FCN, U-Net, DeepLab) as special cases within the routing space for ablation and comparison.

Experimental results

Research questions

  • RQ1Can a dynamic routing mechanism improve semantic segmentation performance by adapting network architecture to input-specific scale distributions?
  • RQ2How does the proposed soft conditional gate enable differentiable, end-to-end learning of data-dependent routing decisions?
  • RQ3To what extent can computational efficiency be improved through dynamic pruning of low-contributing paths under budget constraints?
  • RQ4Does the inclusion of multi-path and skip-connection mechanisms in each forward pass enhance representation capacity compared to single-path routing?
  • RQ5How does the dynamic routing framework compare in accuracy and efficiency to fixed-architecture models and NAS-based methods?

Key findings

  • On Cityscapes, the dynamic network achieves 78.6% mIoU on the validation set, a 3.8% absolute gain over BiSeNet, with similar FLOP cost.
  • With the PSP block, the dynamic model reaches 80.7% mIoU on the Cityscapes test set, matching state-of-the-art performance while using fewer resources.
  • On PASCAL VOC 2012, the dynamic network achieves 84.0% mIoU (val set) with 30.8 GFLOPs, outperforming Auto-DeepLab and MobileNet-based DeepLabV3 under comparable FLOP budgets.
  • Under a 55.7% FLOP budget, Dynamic-C reduces computational cost by 44.3% with only a 0.4% drop in mIoU compared to the raw dynamic model.
  • The dynamic routing framework reduces FLOPs to 37.6% of the original cost (Dynamic-A) while maintaining strong performance, demonstrating effective efficiency control.
  • Ablation studies confirm that the dynamic routing mechanism consistently outperforms static architectures, which are special cases within the proposed routing space.

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.