Efficient Dense Modules of Asymmetric Convolution for Real-Time Semantic Segmentation

Shao-Yuan Lo, Hsueh-Ming Hang, Sheng-Wei Chan, Jing-Jhih Lin

This paper introduces EDANet (Efficient Dense modules with Asymmetric convolution), a convolutional neural network designed specifically for real-time semantic segmentation. By cleverly combining asymmetric convolutions, dilated convolutions, and dense connectivity, the authors achieve a high-performance balance: a model that is significantly faster than existing "fast" networks like ICNet while maintaining competitive accuracy on standard benchmarks.

TL;DR

EDANet is a lightweight semantic segmentation network that achieves over 100 FPS on a GTX 1080Ti while maintaining high accuracy (67.3% mIoU on Cityscapes). It achieves this by factorizing standard convolutions into asymmetric pairs and using a dense, decoder-free architecture to maximize feature reuse and minimize computational overhead.

What Problem Does This Paper Address?

Semantic segmentation—the task of assigning a class label to every pixel in an image—is computationally expensive. Traditionally, researchers have faced a stark trade-off:

  1. High-Accuracy Models: Networks like PSPNet or DeepLab produce excellent results but are far too slow for real-time use in autonomous driving or robotics.
  2. High-Speed Models: Networks like ENet or ESPNet are fast but often suffer from a significant drop in segmentation quality.

The authors aim to fill this gap by creating a "balanced" architecture that sits in the high-accuracy, high-speed quadrant of the performance spectrum. They specifically target the overhead caused by large kernel convolutions and heavy decoder structures.

Methods

The core innovation is the EDA Module, which integrates three key design principles:

  • Asymmetric Convolution: Instead of a standard $n \times n$ convolution, the authors factorize it into a sequence of $n \times 1$ and $1 \times n$ convolutions. For a $3 \times 3$ kernel, this reduces the number of parameters and the computational cost by approximately 33% with negligible loss in accuracy.
  • Dilated (Atrous) Convolution: To capture a wider context without losing spatial resolution through downsampling, the authors use dilated convolutions. This allows the network to have a large "receptive field" (the area of the input image the model "sees" at once) while keeping the feature maps relatively large ($1/8$ of the original resolution).
  • Dense Connectivity: Inspired by DenseNet, each EDA module concatenates its input with its newly learned features. This encourages feature reuse and allows the network to naturally aggregate multi-scale information from different layers.

Crucially, EDANet is decoder-free. While many models use a complex "decoder" to upsample feature maps back to the original image size, EDANet uses a simple $1 \times 1$ projection layer followed by basic bilinear interpolation. This design choice saves a massive amount of computation.

Datasets

The authors evaluated EDANet on two primary benchmarks for urban scene understanding:

  • Cityscapes: A large-scale dataset containing high-resolution images of urban street scenes with 19 object classes.
  • CamVid: A dataset focused on vehicle applications, featuring 11 classes at a lower resolution ($360 \times 480$).

Key Insights and Ideas

  • Asymmetric Convolutions are "Free" Efficiency: The ablation study shows that replacing standard $3 \times 3$ convolutions with asymmetric ones (EDA-non-asym vs. EDANet) reduces computational cost by 27% while the accuracy remains virtually identical (65.11% vs 65.10% mIoU).
  • Dense is Better than Residual for Segmentation: The authors found that the dense connectivity (concatenating features) was more effective than the standard residual connections (adding features) used in networks like ERFNet. Dense connections are better at gathering multi-scale information, which is vital for identifying objects of different sizes.
  • The "1/8 Resolution" Sweet Spot: By limiting downsampling to a factor of 8 (most networks go to 1/32), the model retains enough spatial detail that a heavy, expensive decoder becomes unnecessary.

Key Results

  • Speed: EDANet runs at 108.7 FPS on a GTX 1080Ti and 81.3 FPS on a Titan X for high-resolution Cityscapes inputs.
  • Efficiency: It is 2.7 times faster than ICNet, a well-known real-time competitor, while achieving a similar mIoU score.
  • Accuracy: On the Cityscapes test set, it achieved 67.3% mIoU. On CamVid, it reached 66.4% mIoU, outperforming several much larger and slower models like Dilation8 and DeepLab-LFOV.
  • Compactness: The model is extremely lightweight, with only 0.68 million parameters.

Limitations and Future Work

While EDANet is highly efficient, the authors acknowledge a few trade-offs:

  • Upsampling Trade-off: Using simple bilinear interpolation instead of a learned decoder reduces accuracy slightly (by about 0.46% mIoU, according to their ablation study). While they argue the speed gain is worth it, some applications might require that extra sliver of precision.
  • Pre-training: Unlike many top-tier models, EDANet was trained from scratch without ImageNet pre-training. While this proves the architecture's strength, it's possible that pre-training could push its accuracy even higher.
  • Future Directions: The authors suggest that the "balanced structure" could be further refined, potentially exploring different dilation rate sequences or even more aggressive channel reduction.

Summary updated

BibTeX
@inproceedings{lo2019efficient,
  author = {Shao-Yuan Lo and Hsueh-Ming Hang and Sheng-Wei Chan and Jing-Jhih Lin},
  title = {{Efficient Dense Modules of Asymmetric Convolution for Real-Time Semantic Segmentation}},
  booktitle = {MMAsia},
  year = {2019},
  doi = {10.1145/3338533.3366558},
}
Figure