Abstract
Indoor scene semantic parsing from RGB images is very challenging due to occlusions, object distortion, and viewpoint variations. Going beyond prior works that leverage geometry information, typically paired depth maps, we present a new approach, a 3D-to-2D distillation framework, that enables us to leverage 3D features extracted from large-scale 3D data repository (e.g., ScanNet-v2) to enhance 2D features extracted from RGB images. Our work has three novel contributions. First, we distill 3D knowledge from a pretrained 3D network to supervise a 2D network to learn simulated 3D features from 2D features during the training, so the 2D network can infer without requiring 3D data. Second, we design a two-stage dimension normalization scheme to calibrate the 2D and 3D features for better integration. Third, we design a semantic-aware adversarial training model to extend our framework for training with unpaired 3D data. Extensive experiments on various datasets, ScanNet-V2, S3DIS, and NYU-v2, demonstrate the superiority of our approach. Also, experimental results show that our 3D-to-2D distillation improves the model generalization.
Introduction
Semantic parsing—assigning a category label (like "chair," "wall," or "table") to every pixel in an image—is notoriously difficult in indoor environments. Challenges like heavy occlusions, perspective distortion, and varying lighting conditions often confuse 2D-only models. While researchers have tried using depth maps to provide geometric context, this usually creates a "hardware tax": you need expensive depth sensors during both training and testing. Other methods try to predict depth from a single RGB image first, but if the depth prediction is slightly off, the final parsing suffers.
This work proposes a 3D-to-2D distillation framework that allows a standard 2D image-parsing network to "borrow" geometric wisdom from 3D point clouds during training. By learning to simulate 3D features from 2D inputs, the model achieves state-of-the-art semantic segmentation results on indoor scenes without requiring any 3D data or depth maps at inference time.
Methodology
The core of the approach is a teacher-student distillation scheme where a pretrained 3D network (the teacher) guides a 2D CNN (the student).
3D-to-2D Distillation
During training, 3D features are extracted from point clouds and projected onto the 2D image plane. The 2D network is then tasked with producing "simulated 3D features" that match these projections. At test time, the 3D branch is discarded, and the 2D network uses its learned ability to "imagine" geometric features to improve its parsing. 3D features are inherently more stable and viewpoint-invariant compared to 2D pixels, providing a strong geometric prior.
Dimension Normalization (DN)
2D and 3D features live in different numerical worlds. To bridge this modality gap, a two-stage DN module aligns the statistical distributions (mean and variance) of these features. This calibration makes it easier for the 2D network to integrate the 3D knowledge, reconciling the high-variance features of a CNN with the structured features of a 3D network.
Semantic-Aware Adversarial Loss (SAAL)
Usually, distillation requires "paired" data (an image and a 3D scan of the exact same room). The SAAL module allows the model to learn from unpaired data by using a GAN-like setup. It ensures that simulated 3D features for a specific category (e.g., "chair") in an image look like real 3D features of that category from a completely different 3D dataset.
Experimental Results
The framework was evaluated on three major indoor scene benchmarks: ScanNet-v2, S3DIS, and NYU-v2.
- Performance: On ScanNet-v2, the model reached 58.22% mIoU (mean Intersection over Union), significantly outperforming the PSPNet baseline (53.40%) and specialized depth-aware methods.
- Generalization: When trained on ScanNet and tested on the unseen NYU-v2 dataset, the model achieved 27.22% mIoU, a substantial improvement over the baseline's 19.08%. This suggests that 3D knowledge makes models much more robust to new environments.
- Unpaired Training: Even without perfectly matched 2D-3D data, the SAAL module improved performance on NYU-v2 from 49.50% to 51.70% mIoU.
Conclusion
The proposed 3D-to-2D distillation framework effectively leverages rich 3D structural information to enhance 2D semantic parsing without increasing the inference-time hardware requirements. While current supervision is sparse due to the nature of 3D-to-2D projection (covering approximately 10-16% of pixels), the results demonstrate significant gains in both accuracy and generalization. Future work could extend this cross-modality distillation to other tasks like object detection or incorporate additional sensor modalities.
Summary updated