NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CompletionFormer: Depth Completion with Convolutions and Vision Transformers

Youmin Zhang, Xianda Guo, Matteo Poggi, Zheng Zhu, Guan Huang, Stefano Mattoccia

Introduction

Depth completion is a fundamental task in computer vision, aiming to generate a dense depth map from sparse measurements—typically obtained from LiDAR or structured light sensors—and a corresponding RGB image. This capability is vital for autonomous navigation, robotics, and augmented reality.

Historically, the field has been divided between two paradigms. Convolutional Neural Networks (CNNs) are highly effective at capturing local textures and fine-grained structural details but struggle with long-range dependencies due to their limited receptive fields. Conversely, Vision Transformers (ViTs) excel at global scene reasoning but often sacrifice local precision and incur significant computational costs. CompletionFormer introduces a hybrid architecture that deeply integrates these two approaches to achieve state-of-the-art performance with high efficiency.

The Joint Convolutional Attention and Transformer (JCAT) Block

The core innovation of CompletionFormer is the Joint Convolutional Attention and Transformer (JCAT) block. Rather than simply stacking CNN and Transformer layers or running them in isolated branches, the JCAT block couples them in parallel to exploit their complementary strengths simultaneously.

  • Local Path: Utilizes a Convolutional Attention Layer that incorporates both spatial and channel attention to preserve high-frequency details and sharp object boundaries.
  • Global Path: Employs a Transformer Layer with Spatial-Reduction Attention to capture long-range context while remaining computationally lightweight.
  • Integration: The model uses a pyramidal U-Net-style structure. It employs early fusion to correlate RGB and depth features immediately and concludes with a Non-Local Spatial Propagation Network (NLSPN) to refine the final depth map.

Experimental Results

CompletionFormer was evaluated on the industry-standard KITTI Depth Completion (outdoor) and NYUv2 (indoor) benchmarks.

  • KITTI: At the time of publication, the model ranked 1st on the RMSE metric among published methods, achieving a score of 708.87 mm.
  • NYUv2: The model set a new benchmark for indoor accuracy with an RMSE of 0.090 m and demonstrated remarkable robustness even when input depth was extremely sparse (e.g., only 50 samples).
  • Efficiency: Despite its hybrid nature, CompletionFormer is significantly more efficient than pure Transformer-based models like GuideFormer, requiring only about 1/3 of the FLOPs.

Visualizing the Hybrid Advantage

The primary advantage of this hybrid approach is best understood by examining the model's attention maps. While a standard CNN focuses narrowly on local features and a pure Transformer may overlook specific object shapes in favor of global layout, CompletionFormer successfully balances both.

Comparison of attention maps: The hybrid CompletionFormer (right) captures both the specific object geometry and the broader scene context, unlike pure CNN or Transformer baselines.

As shown in the visualization above, the JCAT block allows the network to attend to the specific geometry of an object (like a fire extinguisher) while maintaining an understanding of the surrounding hallway's global structure. This dual-focus capability is what drives the model's superior RMSE performance.

Conclusion and Future Work

CompletionFormer demonstrates that the "local vs. global" trade-off in depth completion can be resolved through deep architectural coupling. By integrating CNNs and Transformers into a single pyramidal unit, the model achieves state-of-the-art accuracy and improved efficiency. While currently operating at approximately 10 FPS, future research will focus on further optimizing the architecture to reach the 30+ FPS threshold required for real-time autonomous driving applications.

Summary updated

BibTeX
@inproceedings{zhang2023completionformer,
  author = {Youmin Zhang and Xianda Guo and Matteo Poggi and Zheng Zhu and Guan Huang and Stefano Mattoccia},
  title = {{CompletionFormer: Depth Completion with Convolutions and Vision Transformers}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  url = {https://openreview.net/forum?id=CgzWGeSXma},
}
Figure