Introduction
In the rapidly evolving field of autonomous driving, a vehicle's perception system must process a multitude of complex tasks simultaneously. These include identifying objects in 3D space (3D detection), delineating precise object boundaries (instance segmentation), and estimating scene geometry (depth estimation). Traditionally, these tasks are handled by specialized, independent models. However, deploying multiple large-scale neural networks is computationally prohibitive for real-time edge devices.
Multi-Task Learning (MTL) offers a solution by using a single shared "backbone" to extract features for all tasks. Yet, MTL introduces its own set of challenges, primarily "task interference," where the optimization goals or data augmentation requirements of one task conflict with another. This paper presents UniNet, a "vanilla" multi-task framework that addresses these challenges through a modular architecture and a novel "train-merge-finetune" strategy.
The UniNet Framework
UniNet prioritizes simplicity and modularity to ensure robustness across diverse perception tasks.
Architecture
The core of UniNet is the InternImage-L backbone, a powerful feature extractor designed for large-scale visual recognition. This shared backbone feeds into three specialized "heads":
- Mask2Former: Employed for high-fidelity instance segmentation.
- BinsFormer: Utilized for monocular depth estimation.
- DETR3D: Adapted for 3D object detection. To accommodate the challenge's front-view-only dataset, the authors modified the standard multi-view DETR3D to a single-view configuration and extended its effective detection range to 120 meters.
Training Strategy: Train-Merge-Finetune
Directly training a multi-task model from scratch often leads to instability. UniNet employs a three-stage approach:
- Independent Training: Three separate models are trained, allowing each task to utilize its optimal data augmentations (e.g., aggressive cropping for segmentation).
- Weight Merging: The final UniNet backbone is initialized by averaging the weights of the three task-specific backbones. This provides a balanced starting point that captures a "common visual language" across tasks.
- Joint Fine-tuning: The merged model is fine-tuned on all three tasks concurrently. This stage aligns the shared backbone with the individual heads while maintaining the geometric consistency required for depth and 3D detection.
Experimental Setup and Datasets
UniNet was developed for and evaluated on the SHIFT dataset, a comprehensive synthetic driving dataset introduced at ICCV 2023. SHIFT comprises approximately 2.5 million frames across 4,850 video sequences, featuring diverse weather conditions and lighting. It provides rich annotations, including 3D bounding boxes, depth maps, and instance masks, making it an ideal benchmark for multi-task robustness.
Results and Discussion
UniNet achieved a winning performance in the 1st Visual Continual Learning (VCL) Challenge with an overall score of 49.6 on the SHIFT validation set.
Quantitative Performance
The multi-task UniNet demonstrated significant "synergy," particularly in 3D detection, where it outperformed the single-task baseline by a wide margin.
| Model | Det mAP (3D) | mTPS | Seg mAP | SiLog (Depth) |
|---|---|---|---|---|
| Task-Specific Models | 23.9 | 76.7 | 39.5 | 8.83 |
| UniNet (Merged) | 29.5 | 80.4 | 46.4 | 7.93 |
| (Note: For SiLog, lower is better; for others, higher is better.) |
The improvement in 3D detection (from 23.9 to 29.5 mAP) suggests that the features learned for depth and segmentation provide critical geometric cues that enhance object localization.
Qualitative Analysis
Visual inspections of UniNet's outputs confirm its ability to produce consistent results across all three domains simultaneously, even in complex urban environments.
Key Insights and Limitations
A critical finding was the importance of initialization. The authors noted that initializing the backbone with depth-estimation weights was essential to prevent the 3D detection head from collapsing, highlighting a "geometry-first" hierarchy in visual perception.
However, a "performance trade-off" was observed in instance segmentation. During joint fine-tuning, segmentation accuracy dropped compared to its task-specific peak. This was attributed to the inability to use "strong" augmentations (like extreme cropping) that would otherwise disrupt the global geometric context needed for depth and 3D detection.
Conclusion
UniNet demonstrates that a simple, well-initialized multi-task framework can outperform specialized models by leveraging cross-task synergies. Future work will focus on resolving the augmentation conflict and incorporating temporal fusion to further enhance tracking and detection performance in dynamic environments.
Summary updated