[Paper Review] Spatial As Deep: Spatial CNN for Traffic Scene Understanding
This paper introduces Spatial CNN (SCNN), a layer-wise spatial message-passing approach that propagates information across rows and columns within feature maps to better capture long-shaped structures like traffic lanes and poles, improving lane detection and semantic segmentation over traditional CNNs and RNN/CRF-based methods.
Convolutional neural networks (CNNs) are usually built by stacking convolutional operations layer-by-layer. Although CNN has shown strong capability to extract semantics from raw pixels, its capacity to capture spatial relationships of pixels across rows and columns of an image is not fully explored. These relationships are important to learn semantic objects with strong shape priors but weak appearance coherences, such as traffic lanes, which are often occluded or not even painted on the road surface as shown in Fig. 1 (a). In this paper, we propose Spatial CNN (SCNN), which generalizes traditional deep layer-by-layer convolutions to slice-byslice convolutions within feature maps, thus enabling message passings between pixels across rows and columns in a layer. Such SCNN is particular suitable for long continuous shape structure or large objects, with strong spatial relationship but less appearance clues, such as traffic lanes, poles, and wall. We apply SCNN on a newly released very challenging traffic lane detection dataset and Cityscapse dataset. The results show that SCNN could learn the spatial relationship for structure output and significantly improves the performance. We show that SCNN outperforms the recurrent neural network (RNN) based ReNet and MRF+CNN (MRFNet) in the lane detection dataset by 8.7% and 4.6% respectively. Moreover, our SCNN won the 1st place on the TuSimple Benchmark Lane Detection Challenge, with an accuracy of 96.53%.
Motivation & Objective
- Motivate improved modeling of spatial relationships for traffic scenes where long, continuous structures have strong shape priors but weak appearance clues.
- Propose a spatially oriented extension to CNNs that enables slice-by-slice message passing within feature maps.
- Show that SCNN improves lane detection and semantic segmentation on challenging traffic datasets compared to CNNs, ReNet, MRF/CRF baselines, and deep residual networks.
Proposed method
- Generalize deep CNNs to perform slice-by-slice convolutions within feature maps, enabling directional, sequential spatial message passing.
- Define SCNN forward computation with per-slice convolutions that share kernel weights across slices and propagate residual messages across the layer (equation provided in the paper).
- Implement four directional SCNN modules (Down, Up, Right, Left) added after the top hidden layer of a backbone network.
- Train end-to-end with SGD on Lane Detection and Cityscapes semantic segmentation tasks using modified LargeFOV/ResNet backbones.
- Evaluate lane existence prediction via probmaps followed by cubic-spline lane reconstruction from high-response rows.
- Compare SCNN to ReNet, DenseCRF, MRFNet, and ResNet baselines, and demonstrate efficiency advantages over dense MRF/CRF.
Experimental results
Research questions
- RQ1Does Spatial CNN enable effective propagation of spatial information along rows and columns to recover occluded or weakly-appearing lane markings and structured objects?
- RQ2Can SCNN outperform RNN-based, MRF/CRF-based, and deeper CNN baselines on lane detection and urban scene semantic segmentation?
- RQ3Is applying SCNN to the top hidden layer more beneficial than at the output layer for structured objects in traffic scenes?
- RQ4What is the impact of kernel width, directional configurations, and sequential vs parallel message passing on SCNN performance?
Key findings
- SCNN with multi-directional propagation substantially improves lane detection F1 scores over baseline, ReNet, and MRFNet across IoU thresholds.
- Larger SCNN kernel widths (up to w=9) yield higher F1, with notable gains over baseline at IoU thresholds 0.3 and 0.5.
- Applying SCNN to the top hidden layer yields better results than applying to the output layer.
- Sequential (rather than parallel) message passing in SCNN provides clear accuracy gains, indicating information diffusion across multiple steps improves structure estimation.
- SCNN-equipped models surpass DenseCRF, ReNet, and in many cases ResNet-50/101 baselines on lane detection metrics; on Cityscapes, SCNN improves several classes and overall mIoU when added to LargeFOV or ResNet-101 backbones.
- SCNN demonstrates computational efficiency advantages over dense CRF and LSTM baselines, while enabling diffusion effects beneficial for long/thin structures and large objects.
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.