Variational Context-Deformable ConvNets for Indoor Scene Parsing
Introduction
Indoor scene parsing, a critical task in semantic segmentation, faces a significant challenge: extreme variation in object scales. In a typical indoor environment, objects like chairs or beds may appear very large when close to the camera, while background items like lamps or wall decorations occupy only a few pixels. Standard Convolutional Neural Networks (CNNs) generally employ fixed-size receptive fields, which often fail to capture the appropriate context for objects at varying distances.
To address this, the Variational Context-Deformable (VCD) module is proposed. This approach moves beyond simple feature fusion by using depth information to dynamically adjust the network's receptive field, effectively allowing the model to "zoom in or out" based on the local geometric scale of the scene.
Methodology: The VCD Module
The core innovation is the structured adaptive context provided by the VCD module. Unlike standard convolutions, the VCD module modifies convolution weights using a learnable Gaussian kernel. By adjusting the variance ($\sigma$) of this Gaussian, the network can expand or shrink its receptive field for every pixel.
Variational Bayesian Modeling
Predicting a single deterministic scale value can lead to instability during training. To mitigate this, the VCD module treats the scale parameter as a latent random variable. Using variational inference and the "reparameterization trick," the model samples scales from a learned distribution. This probabilistic approach ensures a smoother transition of receptive fields across the image and improves overall robustness.
Multi-modal Guidance and Optimization
The system utilizes a "Perspective-aware Guidance" block that integrates both RGB and depth features. While depth provides direct geometric cues about physical distance, RGB features offer necessary semantic context. To manage the computational cost of sampling, a two-stage training strategy is employed: the model first learns deterministic scales before refining them through the full variational framework.
Experimental Results
The VCD module was evaluated across three major benchmarks, demonstrating consistent improvements over state-of-the-art baselines.
- NYUv2: Integrating VCD into the RedNet baseline resulted in a significant increase in mean Intersection over Union (mIoU), rising from 47.2% to 50.7%.
- SUN RGB-D: The model achieved a new state-of-the-art performance of 51.2% mIoU.
- Cityscapes: To test versatility, the module was applied to the outdoor Cityscapes dataset. Even without depth data, the VCD module improved the HRNet baseline to 82.3% mIoU, indicating its effectiveness for general image parsing tasks.
Qualitative analysis confirms that the network successfully adapts its receptive field: it utilizes larger fields for expansive surfaces like walls and more concentrated fields for smaller, cluttered objects.
Conclusion
The Variational Context-Deformable module provides a principled way to handle scale variation in indoor scene parsing. By treating depth as a geometric guide and modeling scale variation probabilistically, the VCD module achieves superior segmentation performance. Future work may involve integrating this approach with deformable convolutions or extending it to 3D point cloud analysis.
Summary updated