EdgeSegNet: A Compact Network for Semantic Segmentation

Zhong Qiu Lin, Brendan Chwyl, Alexander WongarXiv 2019

Abstract

EdgeSegNet is a compact, high-performance deep neural network designed specifically for semantic segmentation on resource-constrained edge devices. By combining human-driven design principles with machine-driven "generative synthesis," the researchers created a model that is over 20× smaller than state-of-the-art architectures like RefineNet while maintaining comparable accuracy and achieving real-time inference speeds (38.5 FPS) on embedded hardware.

Introduction

Semantic segmentation—the task of assigning a category label to every single pixel in an image—is computationally expensive. While models like DeepLab and RefineNet achieve incredible accuracy, they are "heavyweight" in terms of memory, power consumption, and latency. This creates a massive barrier for real-world deployment on "edge" hardware, such as the processors found in drones, mobile phones, and autonomous vehicles. These devices have strict limits on computational power and thermal envelopes. EdgeSegNet aims to bridge this gap by designing a network that thrives on the edge without sacrificing the precision needed for safety-critical tasks.

Methods: Human-Machine Collaborative Design

The authors employ a two-stage human-machine collaborative design strategy to optimize the network architecture:

  1. Principled Prototyping (Human): A human designer creates an initial "skeleton" based on proven principles, such as multi-path refinement and long-range shortcut connections.
  2. Machine-Driven Exploration (Machine): A technique called Generative Synthesis is used where a generator learns to produce network architectures that maximize performance (accuracy) while strictly adhering to hardware constraints (size and memory).
EdgeSegNet architecture and its constituent modules: (b) Residual Bottleneck, (c) Bottleneck Reduction, and (d) Refine Module.

Architectural Innovations

  • Macroarchitecture Heterogeneity: EdgeSegNet uses a diverse mix of residual and non-residual bottleneck modules tailored to different stages of the network, rather than repeating a single block type.
  • Selective Shortcuts: The machine-driven process identified a subset of long-range shortcuts that provide the most accuracy gain relative to complexity.
  • Aggressive Reduction: The network employs $8 \times 8$ strided convolutions in its reduction modules to rapidly downsample spatial dimensions, significantly cutting operations in deeper layers.

Experimental Results

The model was evaluated using the Cambridge-driving Labeled Video Database (CamVid), a benchmark for road-scene segmentation featuring 32 semantic classes. The primary goal was to remain within 3% accuracy of the much larger ResNet-101 RefineNet.

Performance comparison between RefineNet and EdgeSegNet on the CamVid dataset.

As shown in the table above, EdgeSegNet achieved 89.7% accuracy, trailing the massive RefineNet (90.3%) by only 0.6%. Crucially, EdgeSegNet is only 16.7 MB, making it over 20× smaller than RefineNet (343 MB). On an NVIDIA Jetson AGX Xavier embedded module, EdgeSegNet reached an inference speed of 38.5 FPS. Notably, RefineNet was unable to run on the Jetson hardware due to insufficient memory, highlighting the necessity of compact models for edge deployment.

Key Insights

  • Redundancy Reduction: Machine-driven exploration revealed that many standard connections in large models are redundant for edge use-cases. Selective shortcuts maintain high-resolution refinement without memory overhead.
  • Efficiency of Aggressive Downsampling: The use of $8 \times 8$ strides suggests that rapidly reducing spatial resolution in specific paths is a key strategy for edge efficiency.
  • Hybrid Design Speed: Starting with a human-designed prototype constrains the search space for the machine, making the optimization process more efficient than pure Neural Architecture Search (NAS).

Limitations and Future Work

While promising, the current evaluation is primarily focused on the CamVid dataset. Future work should involve testing on larger, more diverse datasets like Cityscapes to further validate robustness. Additionally, the computational cost of the "Generative Synthesis" phase remains to be detailed. Finally, exploring how this collaborative pipeline translates to other tasks like instance segmentation or depth estimation is a key area for future research.

Summary updated

BibTeX
@misc{lin2019edgesegnet,
  author = {Zhong Qiu Lin and Brendan Chwyl and Alexander Wong},
  title = {{EdgeSegNet: A Compact Network for Semantic Segmentation}},
  year = {2019},
  eprint = {1905.04222},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.04222},
}
Figure