Introduction
In the domains of autonomous driving and augmented reality, visual perception systems are increasingly required to perform a diverse array of tasks simultaneously. A single input frame might require instance segmentation to identify individual objects, semantic segmentation to understand the scene layout, monocular 3D detection for spatial localization, and depth estimation for distance mapping.
Traditionally, researchers have faced a "sharing dilemma" in multi-task learning (MTL). Hard parameter sharing, while efficient, often leads to "task interference" where conflicting gradients from different tasks degrade overall performance. Conversely, using independent task heads eliminates interference but results in significant parameter redundancy and increased latency. This paper introduces D2BNet, a novel multi-task framework designed to navigate this dilemma by maximizing synergistic feature sharing while isolating conflicting task-specific information.
The D2BNet Architecture
D2BNet utilizes a two-branched architecture tailored to the distinct requirements of visual perception tasks:
- Instance Branch: This branch captures high-level contextual information and global features necessary for distinguishing individual objects, such as bounding boxes and classification labels.
- Dense Branch: This branch focuses on high-resolution, pixel-level representations essential for fine-grained localization tasks like mask generation and depth mapping.
To facilitate efficient interaction between these branches, the authors propose two dynamic modules:
Dynamic Message Passing (DMP)
The DMP module utilizes Dynamic Rank-1 Convolution (DR1Conv). Inspired by low-rank factorization, this module allows the instance branch to pass spatial context to the dense branch with minimal parameter overhead. By "weighting" dense features based on instance-level context, the model ensures that pixel-level predictions are informed by global object-level understanding.
Channel-wise Dynamic Routing (CDR)
The CDR acts as a "traffic controller" for the network. It employs task-aware and channel-aware routing mechanisms to determine which features should be shared across tasks and which should remain task-specific. This allows the model to exploit commonalities—such as the shared need for structural edges in both depth estimation and segmentation—while suppressing the harmful interference that typically plagues hard-sharing architectures.
Experimental Evaluation
The framework was rigorously evaluated on the Cityscapes and nuScenes/nuImages benchmarks, covering both full-supervision and partial-label settings.
State-of-the-Art Performance
On the Cityscapes test set, D2BNet achieved state-of-the-art results, outperforming previous single-task methods by 3.8 points in Detection Score (DS) and 0.09 in depth accuracy. Furthermore, the framework secured 1st place in the vision-only category of the 4th nuScenes 3D detection challenge.
Efficiency and Scalability
A key advantage of D2BNet is its computational efficiency. By utilizing rank-1 factorization in its dynamic convolutions, the model is approximately 6% faster than standard implementations. More importantly, D2BNet demonstrates superior scalability; as more tasks are integrated, its inference time grows significantly slower than competing frameworks like Panoptic-DeepLab, thanks to its effective feature reuse.
Learning from Partial Labels
D2BNet also excels in "partial label" scenarios. In real-world applications, datasets often provide different types of annotations (e.g., one dataset may have 3D boxes while another has segmentation masks). D2BNet proved capable of learning effectively across these heterogeneous data sources, a vital capability for scaling AI systems.
Conclusion and Future Work
D2BNet successfully addresses the multi-task sharing dilemma through its dual-branch structure and dynamic routing mechanisms. The authors found that 3D detection and depth estimation tasks actually benefit from being co-trained with segmentation, as structural information provides a strong prior for spatial tasks.
While the model significantly mitigates task conflict, a minor performance dip in segmentation was observed when co-trained with depth compared to a dedicated single-task setup. Future research will explore extending D2BNet to temporal tasks, such as video-based perception, and integrating additional tasks like optical flow and path planning into this unified, dynamic framework.
Summary updated