Abstract
Indoor semantic segmentation using RGB-D data is often hampered by unreliable depth sensor readings caused by reflective surfaces or dark materials. We present UCTNet, an encoder-decoder framework that explicitly accounts for depth uncertainty. By introducing Uncertainty-Aware Self-Attention (UASA) and an asymmetric Window Cross-Attentive Fusion (WCAF) module, UCTNet effectively mitigates the impact of noisy depth data while leveraging its spatial context. The model achieves state-of-the-art performance on the NYUv2 and SUN RGB-D benchmarks, demonstrating significant improvements over previous depth-aware methods.
Introduction
Semantic segmentation—the task of assigning a category label to every pixel in an image—is a cornerstone of indoor scene understanding. While depth data (RGB-D) provides critical geometric cues, standard sensors frequently produce "void" or inaccurate readings for challenging surfaces like glass or distant objects. Most existing methods treat depth as a reliable fourth channel or use computationally expensive depth-aware convolutions, failing to address the inherent noise in the sensor data. UCTNet addresses this by incorporating a reliability-driven mechanism into a Transformer-based architecture.
Methodology
Architecture Overview
UCTNet utilizes a dual-encoder setup based on the Swin Transformer (Swin-S) to extract features from both RGB and depth modalities. These features are processed through a series of stages and fused using specialized modules before being passed to a semantic decoder for final prediction.
Uncertainty-Aware Self-Attention (UASA)
The core innovation of UCTNet is the UASA mechanism, which utilizes a depth uncertainty map to modulate information flow. Standard self-attention treats all pixels equally, allowing noisy depth readings to corrupt the feature space. UASA offers two strategies:
- Cut-off: Completely blocks information flow from uncertain pixels to certain ones.
- Suppression: A temperature-based scaling approach that reduces the weight of uncertain pixels. This allows noisy regions to receive information from reliable neighbors to "fix" their features without propagating their own noise to the rest of the map.
Window Cross-Attentive Fusion (WCAF)
To combine RGB and depth features efficiently, the authors developed WCAF. This module uses a window-based cross-attention approach to maintain linear complexity. Crucially, the fusion is asymmetric; the mechanism for injecting depth information into the RGB branch differs from the reverse process, acknowledging the distinct roles each modality plays in scene understanding.
Experimental Results
UCTNet was evaluated on two major indoor benchmarks, setting new records for mean Intersection over Union (mIoU):
- NYUv2: Achieved 57.6% mIoU, representing a 7.1% absolute improvement over the previous state-of-the-art (SA-Gate) without requiring multi-scale testing.
- SUN RGB-D: Achieved 51.2% mIoU, outperforming existing models by approximately 3%.
Qualitative analysis shows that UCTNet excels at identifying objects on reflective or dark surfaces, such as glass doors and shiny sinks, where traditional models typically fail due to depth sensor noise.
Discussion and Conclusion
The success of the "Suppression" strategy over "Cut-off" suggests that even noisy depth pixels provide valuable spatial context if their influence is properly dampened. Transformers are uniquely suited for this task because their attention mechanisms are inherently input-specific, making it straightforward to weight pixels by reliability.
While UCTNet achieves superior results, it faces hardware constraints due to the memory intensity of Transformers, requiring small training batch sizes. Future work may explore generalizing the UASA mechanism to other multi-modal domains, such as LiDAR-camera fusion for autonomous driving, where sensor reliability is equally critical.
Summary updated