JointDistill: Adaptive Multi-Task Distillation for Joint Depth Estimation and Scene Segmentation
Tiancong Cheng, Ying Zhang, Yuxuan Liang, Roger Zimmermann, Zhiwen Yu, Bin Guo
TL;DR
The paper tackles joint scene segmentation and depth estimation by introducing an adaptive multi-task distillation framework. It comprises two core components: feedback-based multi-teacher weighting, which dynamically adjusts knowledge transfer from task-specific teachers based on the student’s unseen validation performance, and trajectory-based distillation, which preserves essential past knowledge via top-K learning trajectories to mitigate forgetting. The student model consolidates a shared backbone with task-specific heads and relies on a connector to fuse teacher features, optimized with a composite loss including $L_S$ and $L_F$ alongside a trajectory term. Empirically, the approach improves performance on Cityscapes and NYU-v2 over strong baselines, with lower storage and computation costs due to the lightweight trajectory representation, and demonstrates potential for multimodal extensions.
Abstract
Depth estimation and scene segmentation are two important tasks in intelligent transportation systems. A joint modeling of these two tasks will reduce the requirement for both the storage and training efforts. This work explores how the multi-task distillation could be used to improve such unified modeling. While existing solutions transfer multiple teachers' knowledge in a static way, we propose a self-adaptive distillation method that can dynamically adjust the knowledge amount from each teacher according to the student's current learning ability. Furthermore, as multiple teachers exist, the student's gradient update direction in the distillation is more prone to be erroneous where knowledge forgetting may occur. To avoid this, we propose a knowledge trajectory to record the most essential information that a model has learnt in the past, based on which a trajectory-based distillation loss is designed to guide the student to follow the learning curve similarly in a cost-effective way. We evaluate our method on multiple benchmarking datasets including Cityscapes and NYU-v2. Compared to the state-of-the-art solutions, our method achieves a clearly improvement. The code is provided in the supplementary materials.
