[Paper Review] Gated-SCNN: Gated Shape CNNs for Semantic Segmentation
GSCNN introduces a two-stream architecture that separate shape-boundary processing from the standard segmentation stream, using gating between streams and a dual-task loss to improve boundary quality and performance on thin objects, achieving state-of-the-art on Cityscapes without coarse data.
Current state-of-the-art methods for image segmentation form a dense image representation where the color, shape and texture information are all processed together inside a deep CNN. This however may not be ideal as they contain very different type of information relevant for recognition. Here, we propose a new two-stream CNN architecture for semantic segmentation that explicitly wires shape information as a separate processing branch, i.e. shape stream, that processes information in parallel to the classical stream. Key to this architecture is a new type of gates that connect the intermediate layers of the two streams. Specifically, we use the higher-level activations in the classical stream to gate the lower-level activations in the shape stream, effectively removing noise and helping the shape stream to only focus on processing the relevant boundary-related information. This enables us to use a very shallow architecture for the shape stream that operates on the image-level resolution. Our experiments show that this leads to a highly effective architecture that produces sharper predictions around object boundaries and significantly boosts performance on thinner and smaller objects. Our method achieves state-of-the-art performance on the Cityscapes benchmark, in terms of both mask (mIoU) and boundary (F-score) quality, improving by 2% and 4% over strong baselines.
Motivation & Objective
- Motivation to disentangle shape/boundary information from color/texture in semantic segmentation.
- Develop a two-stream CNN where the shape stream processes boundary-related information in parallel to the regular segmentation stream.
- Introduce gating mechanisms (Gated Convolutional Layers) to connect intermediate activations from the regular stream to denoise and guide the shape stream.
- Train end-to-end with a dual-task loss: segmentation with a boundary-aware auxiliary task to align predictions with ground-truth boundaries.
- Leverage a fusion module to combine shape and region features while preserving multi-scale context, improving boundary sharpness and small object recognition.
Proposed method
- Two-stream architecture: a regular segmentation stream (backbone like ResNet/WideResNet) and a shape stream focused on boundaries.
- Gated Convolutional Layer (GCL) that uses high-level information from the regular stream to gate/denoise early shape-stream activations via attention maps.
- Shape stream supervised by boundary ground truth using a binary cross-entropy loss.
- Fusion module that combines regular-stream features with shape-stream boundaries via an Atrous Spatial Pyramid Pooling (ASPP) to produce final segmentation.
- Dual-task regularizer that enforces consistency between boundaries and segmentation and encourages alignment of predicted boundaries with semantic labels.
- End-to-end joint optimization with losses: boundary BCE, segmentation CE, and regularizer terms; employs Gumbel-softmax for gradient flow through non-differentiable boundary-derived components.
Experimental results
Research questions
- RQ1Can separating shape/boundary information into a dedicated stream improve semantic segmentation, particularly at object boundaries and for thin objects?
- RQ2How can gates between a regular segmentation stream and a shape/boundary stream be designed to denoise and focus the shape stream on boundary-relevant features?
- RQ3Does joint training with a boundary-oriented auxiliary task and a dual-task regularizer improve boundary alignment and overall segmentation metrics?
- RQ4Is a shallow, high-resolution shape stream feasible and beneficial when guided by higher-level features from the main segmentation network?
- RQ5How does GSCNN perform on Cityscapes across different backbones and at varying distances from the camera (distance-based evaluation)?
Key findings
- GSCNN achieves improved mIoU and boundary quality on Cityscapes compared to strong baselines, with notable gains on thinner/smaller objects (e.g., poles, traffic signs/lights).
- The shape stream, gated by the regular stream, remains lightweight yet produces high-quality, class-agnostic boundaries that enhance fusion with region features.
- Gated Convolutional Layers effectively filter shape-stream activations to focus on boundary-relevant information, enabling high-resolution processing without heavy computation.
- A dual-task regularizer further improves boundary alignment and segmentation semantics by coupling boundary predictions with the final class predictions.
- Distance-based evaluation shows GSCNN maintains advantages for distant/smaller objects, with up to around 6% mIoU improvement at larger crop factors, and overall state-of-the-art performance on Cityscapes without coarse data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.