Indoor Depth Completion with Boundary Consistency and Self-Attention

Yu-Kai Huang, Tsung-Han Wu, Yueh-Cheng Liu, Winston H. Hsu

Abstract

This paper introduces a novel end-to-end deep learning framework for indoor depth completion designed to eliminate the "blurry edge" artifacts prevalent in existing methods. By integrating a self-attention mechanism through gated convolutions and a dedicated boundary consistency network, the proposed approach achieves state-of-the-art results on the Matterport3D dataset. The framework produces depth maps that are structurally sharper, more accurate, and geometrically realistic, facilitating better performance for robotics and augmented reality applications.

Introduction

Depth-sensing technologies, such as the Microsoft Kinect, are fundamental to modern spatial computing. However, these sensors frequently fail to capture data on specular, transparent, or distant surfaces, resulting in significant "holes" in the raw depth maps. Depth completion is the task of filling these missing regions.

Existing deep learning models, particularly standard Fully Convolutional Networks (FCNs), often struggle with this task because they tend to interpolate depth values from surrounding pixels. This leads to a "smearing" effect where object boundaries become blurred, causing geometric structures to lose their definition. This research addresses the challenge of maintaining crisp, clear edges while accurately filling depth gaps.

Methodology

The authors propose a two-pronged architectural strategy to enhance structural clarity:

  1. Self-Attention via Gated Convolution: Standard convolutions treat all pixels equally, which can lead to artifacts when filling holes. By adopting gated convolutions—originally developed for image inpainting—the model implements a self-attention mechanism. This allows the network to intelligently determine which features are relevant for filling a specific gap, preventing the "average value" trap that causes blurring.
  2. Boundary Consistency Network: To enforce sharp transitions, the framework includes a secondary encoder-decoder sub-network (based on U-Net). This component takes the completed depth map and predicts occlusion boundaries. By comparing these predictions to ground-truth edges extracted via Sobel filters, the model is penalized for producing blurry or geometrically inconsistent results.
The proposed end-to-end architecture featuring depth representation networks, self-attention blocks, and a boundary consistency loss module.

Experiments and Results

The model was evaluated using the Matterport3D dataset, which provides 10.8k panoramic views of diverse indoor scenes. This dataset is particularly challenging as approximately 15% of the raw depth data is typically missing. Ground truth was established through multi-view reconstruction.

Quantitative Performance

The proposed model outperformed previous state-of-the-art methods, such as Zhang et al., across all key metrics:

  • Accuracy: The Root Mean Square Error (RMSE) was reduced from 1.316 to 1.092.
  • Structural Quality: Significant improvements were noted in the Structural Similarity Index (SSIM), confirming better preservation of scene geometry.

Qualitative Analysis

Visual comparisons demonstrate that while baseline models often "smear" depth across corridors and pillars, the proposed method maintains distinct gaps and sharp corners. This is particularly evident in complex indoor environments where precise boundary definition is critical for navigation.

Qualitative comparison of depth completion results across multiple scenes. The proposed method ("Ours") consistently maintains sharp boundaries and structural details (highlighted in red) that are blurred in competing methods like FCN and Zhang et al.

Discussion and Conclusion

A key insight of this work is the treatment of depth completion as a geometric reconstruction problem rather than a simple numerical inpainting task. By borrowing techniques from the inpainting field and adding explicit boundary constraints, the model breaks the performance ceiling of traditional interpolation-based FCNs.

While the addition of self-attention layers and a secondary consistency network increases computational complexity, the end-to-end nature of the network remains more efficient than complex optimization-based algorithms. Future work will focus on integrating these boundary-aware techniques into real-time SLAM systems to enhance robotic safety in complex indoor environments.

Summary updated

BibTeX
@inproceedings{huang2019indoor,
  author = {Yu-Kai Huang and Tsung-Han Wu and Yueh-Cheng Liu and Winston H. Hsu},
  title = {{Indoor Depth Completion with Boundary Consistency and Self-Attention}},
  booktitle = {Workshops @ ICCV},
  year = {2019},
  doi = {10.1109/iccvw.2019.00137},
}
Figure