DSNet: A Novel Way to Use Atrous Convolutions in Semantic Segmentation

Zilu Guo, Liuyang Bian, Hu Wei, Jingyu Li, Huasheng Ni, Xuan Huang

TL;DR

DSNet introduces a dual-branch CNN architecture that successfully integrates atrous (dilated) convolutions into the shallow layers of a model—a region where they typically underperform. By following three new design guidelines to avoid "Atrous Disasters," the authors achieve a new state-of-the-art trade-off between accuracy and inference speed on major benchmarks like Cityscapes and ADE20K.

What Problem Does This Paper Address?

Semantic segmentation—the task of assigning a category to every pixel in an image—requires a delicate balance: the model needs a large receptive field to understand global context (e.g., "this is a road") but must also preserve fine-grained details (e.g., the exact edge of a pedestrian).

While Vision Transformers (ViTs) have recently dominated this field due to their massive receptive fields, they are often computationally expensive. Convolutional Neural Networks (CNNs) usually use atrous convolutions (convolutions with gaps between kernel elements) to expand their receptive field without increasing parameter counts. However, researchers traditionally only use these in the deep, "bottleneck" layers of a network. When placed in shallow layers, atrous convolutions often suffer from the "gridding effect" (losing local information) and fail to benefit from ImageNet pretraining—a phenomenon the authors call the "Atrous Disaster."

Methods

The authors propose DSNet (Dual-branch with Same-resolution Network), built on three empirical guidelines:

  1. Don’t go "all-in" on atrous: Mix atrous convolutions with dense ones to maintain local detail.
  2. Avoid the "Atrous Disaster": Keep atrous rates small in shallow layers. Large rates (e.g., >12) on small ImageNet input sizes ($224 \times 224$) cause the kernel to "skip" over the feature map entirely, ruining pretraining.
  3. Use smart fusion: Simple addition or concatenation isn't enough to merge spatial and contextual information.

Key Components:

  • MFACB (Multi-scale Fusion Atrous Convolutional Block): The core building block of the context branch. It stacks atrous convolutions with different rates and fuses them to learn features at multiple scales simultaneously.
  • MSAF (Multi-Scale Attention Fusion): A module that connects the spatial and context branches. It uses two types of attention: Region Attention (to understand the importance of different areas) and Pixel Attention (to refine specific pixel boundaries).
  • SPASPP (Serial-Parallel Atrous Spatial Pyramid Pooling): An improvement over the standard ASPP module. It stacks atrous convolutions in a hybrid serial-parallel way to rapidly expand the receptive field at the end of the backbone.

Datasets

The model was evaluated on three standard semantic segmentation benchmarks:

  • Cityscapes: High-resolution urban street scenes.
  • ADE20K: A challenging dataset with 150 object categories.
  • BDD100K: A diverse driving dataset featuring various weather conditions and times of day.

Key Insights and Ideas

  • The "Atrous Disaster" Explained: The authors discovered that if the dilation rate is too high relative to the feature map size during pretraining, the kernel effectively "falls off" the data. This explains why previous attempts to use atrous convolutions in early layers failed—they weren't "learning" anything useful from ImageNet.
  • Dilation as a Lightweight Alternative to Large Kernels: Inspired by recent "Large Kernel" CNNs (like RepLKNet), the authors show that atrous convolutions can achieve similar receptive field benefits with significantly fewer parameters and higher speeds.
  • Resolution Consistency: Unlike many models that downsample heavily and then upsample, DSNet maintains a consistent resolution across its branches, which helps preserve spatial accuracy for real-time applications.

Key Results

DSNet achieves a superior balance of speed and accuracy compared to both Transformer-based and CNN-based competitors:

  • Cityscapes: Achieved 80.4% mIoU at 81.9 FPS (on an RTX 4090). This outperforms popular models like PIDNet and DDRNet in the high-accuracy regime.
  • ADE20K: The "head256" version reached 40.0% mIoU at a blistering 179.2 FPS, while the "Base" version reached 43.4% mIoU.
  • BDD100K: Set a new state-of-the-art for real-time models with 62.8% mIoU.
  • Efficiency: The model achieves these results with relatively few parameters (e.g., 6.8M for the head128 version), making it highly efficient for deployment.

Limitations and Future Work

While DSNet performs exceptionally well, the authors note that there is still room to explore even larger atrous kernels (e.g., $5 \times 5$ or $7 \times 7$ instead of $3 \times 3$) in the context branch to further push the boundaries of the receptive field. Additionally, while the "Atrous Disaster" is mitigated by smaller rates, the model still relies heavily on ImageNet pretraining; exploring how to train these architectures from scratch effectively remains an open question.

Summary updated

BibTeX
@article{guo2025dsnet,
  author = {Zilu Guo and Liuyang Bian and Hu Wei and Jingyu Li and Huasheng Ni and Xuan Huang},
  title = {{DSNet: A Novel Way to Use Atrous Convolutions in Semantic Segmentation}},
  journal = {IEEE Transactions on Circuits and Systems for Video Technology},
  year = {2025},
  url = {https://openreview.net/forum?id=SUYYk6jm4N},
}
Figure