[Paper Review] X-Distill: Improving Self-Supervised Monocular Depth via Cross-Task Distillation
X-Distill proposes a cross-task knowledge distillation framework that improves self-supervised monocular depth estimation by transferring semantic knowledge from a pretrained segmentation teacher to a depth student network. Using a trainable depth-to-segmentation adapter network, it enables backpropagation of segmentation supervision to the depth network, achieving state-of-the-art performance on KITTI and Make3D without inference overhead.
In this paper, we propose a novel method, X-Distill, to improve the self-supervised training of monocular depth via cross-task knowledge distillation from semantic segmentation to depth estimation. More specifically, during training, we utilize a pretrained semantic segmentation teacher network and transfer its semantic knowledge to the depth network. In order to enable such knowledge distillation across two different visual tasks, we introduce a small, trainable network that translates the predicted depth map to a semantic segmentation map, which can then be supervised by the teacher network. In this way, this small network enables the backpropagation from the semantic segmentation teacher's supervision to the depth network during training. In addition, since the commonly used object classes in semantic segmentation are not directly transferable to depth, we study the visual and geometric characteristics of the objects and design a new way of grouping them that can be shared by both tasks. It is noteworthy that our approach only modifies the training process and does not incur additional computation during inference. We extensively evaluate the efficacy of our proposed approach on the standard KITTI benchmark and compare it with the latest state of the art. We further test the generalizability of our approach on Make3D. Overall, the results show that our approach significantly improves the depth estimation accuracy and outperforms the state of the art.
Motivation & Objective
- To improve self-supervised monocular depth estimation without requiring expensive ground-truth depth annotations.
- To transfer semantic knowledge from a pretrained segmentation network to a depth estimation network.
- To enable cross-task knowledge distillation between semantic segmentation and depth estimation, which are inherently different tasks.
- To design a lightweight, trainable adapter network that translates depth predictions into pseudo-segmentation maps for supervision.
- To develop a novel object grouping strategy based on visual and geometric characteristics to align semantic and depth representations.
Proposed method
- A small, trainable depth-to-segmentation adapter network is introduced to convert predicted depth maps into pseudo-segmentation maps.
- The adapter network's output is supervised by a pretrained semantic segmentation teacher network, enabling distillation of semantic knowledge into the depth network.
- A linearly scheduled weighting strategy combines the self-supervised depth loss with the segmentation distillation loss during training.
- A new object grouping scheme is designed based on visual and geometric properties to improve alignment between semantic classes and depth structures.
- The method operates solely during training and does not add inference computation, preserving efficiency.
Experimental results
Research questions
- RQ1Can semantic knowledge from a pretrained segmentation network improve self-supervised monocular depth estimation?
- RQ2How can knowledge be effectively transferred between two different visual tasks—semantic segmentation and depth estimation—when their outputs are not directly comparable?
- RQ3What is the optimal way to design a cross-task adapter network that enables backpropagation of segmentation supervision to a depth network?
- RQ4How can object classes be grouped to maximize transferability between semantic segmentation and depth estimation tasks?
- RQ5Does the proposed method generalize across different depth network architectures and datasets?
Key findings
- X-Distill improves Monodepth2 (ResNet-50) performance on KITTI, reducing Abs Rel from 0.110 to 0.106 and RMSE from 4.642 to 4.580.
- The method achieves state-of-the-art performance on the KITTI benchmark, outperforming existing self-supervised methods.
- On Make3D, X-Distill demonstrates strong generalization, confirming its robustness across domains.
- The ablation study shows that linearly scheduled loss weighting outperforms constant weighting, with optimal performance at a final distillation weight of 0.0045.
- The approach improves depth estimation accuracy across diverse architectures, including Monodepth2 with RN18, RN50, and DONNA backbones, as well as HR-Depth.
- The method is robust to hyperparameter variations, showing insensitivity to ±20% changes in the final distillation loss weight.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.