Fast-SCNN: Fast Semantic Segmentation Network

Rudra P. K. Poudel, Stephan Liwicki, Roberto Cipolla

TL;DR

Fast-SCNN is a lightweight "above real-time" semantic segmentation model that achieves 68.0% mIoU at a blistering 123.5 FPS on high-resolution (1024x2048) images. By introducing a "learning to downsample" module that shares early computations between network branches, it delivers high-speed performance on low-memory embedded devices without the need for large-scale pre-training.

What Problem Does This Paper Address?

Semantic segmentation—the task of assigning a class label to every pixel in an image—is computationally expensive. While "offline" models achieve high accuracy, they are far too slow for autonomous systems (like self-driving cars) or augmented reality (AR) wearables that require immediate feedback.

Existing solutions usually fall into two camps:

  1. Encoder-Decoder models: Accurate but slow due to heavy processing at multiple scales.
  2. Two-branch models: Faster, using one deep branch for context and one shallow branch for spatial detail. However, these often perform redundant computations in the early layers of both branches.

The authors aim to bridge this gap, creating a model that handles high-resolution data on embedded hardware with minimal memory and power consumption.

Methods

The core innovation of Fast-SCNN is the Learning to Downsample module.

  • Shared Early Features: Instead of running two separate branches from the raw input, Fast-SCNN uses three initial convolutional layers to extract low-level features (like edges and corners) just once. These features are then shared.
  • Global Feature Extractor: One path takes these shared features down to 1/8th resolution to capture "global context" (the "what" of the image) using efficient inverted residual blocks and a Pyramid Pooling Module (PPM).
  • Feature Fusion: The model then merges the deep, low-resolution context with the shallow, high-resolution spatial details (the "where" of the image) to ensure object boundaries remain sharp.
  • Efficiency First: The architecture relies heavily on Depthwise Separable Convolutions, which significantly reduce the number of parameters and floating-point operations compared to standard convolutions.

Datasets

The primary benchmark used is Cityscapes, a massive dataset of urban street scenes. The authors utilized:

  • Fine Labels: 5,000 high-quality annotated images for training and validation.
  • Coarse Labels: 20,000 weakly annotated images to test the impact of additional data.
  • ImageNet: Used specifically to investigate whether large-scale pre-training is necessary for low-capacity networks.

Key Insights and Ideas

  • Computation Sharing is Key: By reinterpreting skip connections as a way to share early-stage "learning to downsample" computations, the authors eliminated the redundancy found in traditional two-branch architectures.
  • Pre-training is Overrated for Small Models: Surprisingly, the authors found that for a low-capacity network like Fast-SCNN, ImageNet pre-training only provided a marginal (0.5%) boost. Training for more epochs with aggressive data augmentation was just as effective, simplifying the training pipeline.
  • Spatial Detail vs. Context: The "aha moment" in their ablation study showed that zeroing out the skip connection (the spatial detail branch) caused a significant drop in accuracy (from ~69% to ~64% mIoU), particularly around object boundaries. This confirms that even for fast models, you cannot ignore high-resolution spatial features.

Key Results

  • Speed: Achieved 123.5 FPS on full-resolution Cityscapes images (1024x2048) on an Nvidia Titan Xp. On lower resolutions (256x512), it reached nearly 500 FPS.
  • Accuracy: Maintained a competitive 68.0% mIoU on the Cityscapes test set.
  • Efficiency: The model uses only 1.11 million parameters. For context, this is roughly five times smaller than BiSeNet (5.8M), one of its main real-time competitors, while being twice as fast.
  • Embedded Ready: The low memory footprint makes it uniquely suited for deployment on hardware without powerful, dedicated GPUs.

Limitations and Future Work

  • Accuracy Gap: While excellent for real-time use, Fast-SCNN still trails behind heavy "offline" models (like PSPNet or DeepLab) which hit 70-80% mIoU but run at a fraction of the speed.
  • Hardware Specifics: The current benchmarks are on desktop GPUs; further testing on specific embedded chips (like Jetson or mobile DSPs) would be the next logical step.
  • Orthogonal Optimizations: The authors note that techniques like Network Quantization (converting weights to 8-bit integers) and Pruning were not applied here but could be used in the future to make the model even faster and smaller.

Summary updated

BibTeX
@inproceedings{poudel2019fast,
  author = {Rudra P. K. Poudel and Stephan Liwicki and Roberto Cipolla},
  title = {{Fast-SCNN: Fast Semantic Segmentation Network}},
  booktitle = {BMVC},
  year = {2019},
  url = {https://openreview.net/forum?id=MyfiH2AagS},
}
Figure