Abstract
3D spatial information is known to be beneficial to the semantic segmentation task. Most existing methods take 3D spatial data as an additional input, leading to a two-stream segmentation network that processes RGB and 3D spatial information separately. This solution greatly increases the inference time and severely limits its scope for real-time applications. To solve this problem, we propose Spatial information guided Convolution (S-Conv), which allows efficient RGB feature and 3D spatial information integration. S-Conv is competent to infer the sampling offset of the convolution kernel guided by the 3D spatial information, helping the convolutional layer adjust the receptive field and adapt to geometric transformations. S-Conv also incorporates geometric information into the feature learning process by generating spatially adaptive convolutional weights. The capability of perceiving geometry is largely enhanced without much affecting the amount of parameters and computational cost. We further embed S-Conv into a semantic segmentation network, called Spatial information Guided convolutional Network (SGNet), resulting in real-time inference and state-of-the-art performance on NYUDv2 and SUNRGBD datasets.
Introduction
Semantic segmentation in indoor environments is significantly enhanced by depth information (RGBD). However, traditional RGBD segmentation models typically rely on "two-stream" architectures where separate networks process RGB and depth maps before fusing their features. This approach is computationally expensive, nearly doubling parameters and inference time, which hinders real-time applications in robotics and augmented reality. Furthermore, standard 2D convolutions use fixed grids that fail to account for geometric variations caused by distance or orientation. While deformable convolutions exist, they typically learn offsets from 2D features rather than leveraging explicit 3D geometry.
Methodology
The authors propose Spatial information guided Convolution (S-Conv) to integrate geometric awareness directly into the convolutional operation. S-Conv replaces standard convolutions with a mechanism that utilizes 3D spatial data to dynamically adjust sampling offsets and weights.
S-Conv Components
- Spatial Projector: Maps raw spatial data (e.g., depth maps) into a high-dimensional feature space.
- Offset Generator: Calculates learned offsets based on projected spatial data, allowing the kernel to adapt its receptive field to the scene's 3D structure.
- Weight Generator: Produces spatially adaptive convolutional weights, ensuring that pixel relationships are informed by geometric proximity and discontinuities.
By embedding S-Conv into a ResNet backbone, the authors create SGNet. Unlike two-stream models, SGNet processes spatial information as a guide within a single stream, significantly reducing the computational overhead while maintaining high geometric sensitivity.
Experimental Results
SGNet was evaluated on major indoor benchmarks, including NYUDv2 (1,449 images, 40 classes) and SUNRGBD (10,335 images, 37 classes).
Performance and Efficiency
SGNet achieves state-of-the-art accuracy while maintaining real-time speeds. On NYUDv2, SGNet reached a 49.6% mIoU, outperforming much heavier models like RDFNet. In terms of efficiency, SGNet with a ResNet101 backbone runs at 26 FPS, while a ResNet50 version reaches 39 FPS with a competitive 47.7% mIoU.
The model is also highly parameter-efficient. SGNet (ResNet101) utilizes approximately 58.3M parameters, a significant reduction compared to the 200M+ parameters required by competing high-accuracy models. Qualitative analysis reveals that S-Conv kernels naturally align with object boundaries and planes, demonstrating superior sampling compared to fixed-grid convolutions.
Conclusion
The S-Conv operator effectively bridges the gap between 2D feature learning and 3D geometric perception within a single-stream network. By using depth as a primary cue for sampling and weighting, SGNet achieves an optimal balance between accuracy and real-time performance. Future work may extend S-Conv to other 3D-aware tasks such as object detection or pose estimation, further exploring robust fusion methods for multi-modal data.
Summary updated