Introduction
Deep learning models are notoriously data-hungry, requiring extensive labeled datasets for tasks like semantic segmentation or monocular depth estimation. Traditionally, researchers address label scarcity through two primary paradigms: Domain Adaptation (DA), which transfers models from synthetic to real domains, and Task Transfer (TT), which leverages knowledge from one task to improve another within the same domain.
However, a common real-world "blind spot" occurs when a synthetic dataset has labels for multiple tasks (e.g., depth and semantics), but the real-world target dataset only has labels for one (e.g., depth). The AT/DT (Across Tasks and Domains Transfer) framework addresses this challenge, enabling models to perform a "label-less" task in the real world by bridging the gap between DA and TT.
Methods
The AT/DT framework operates through a structured three-stage process designed to learn robust, transferable features.
1. Joint Feature Learning
Two separate networks ($N_1$ and $N_2$) are trained on different tasks within the synthetic domain. To ensure domain invariance, the first network ($N_1$) is simultaneously trained on the real-world domain for its specific task. This forces the encoder to learn features that are consistent across both synthetic and real environments.
2. Learning the Mapping ($G_{1 \to 2}$)
In the synthetic domain, where ground truth labels for all tasks are available, a small "transfer network" is trained to map the features of Task 1 into the features of Task 2. This mapping function essentially learns the relationship between different task representations (e.g., translating "depth-speak" into "semantic-speak").
3. Inference
To solve the unlabeled task in the real world, a real image is passed through the Task 1 encoder. The resulting features are transformed via the learned mapping function $G_{1 \to 2}$ and then processed by the Task 2 decoder to produce the final prediction.
Technical Innovations
- Norm Discrepancy Alignment (NDA) Loss: Rather than relying on complex adversarial training, the authors introduce NDA loss. This loss penalizes differences in the norms of feature vectors across domains, exploiting consistent spatial priors in driving scenes (e.g., sky at the top, road at the bottom).
- Auxiliary Edge Detection: Encoders are tasked with auxiliary edge detection. Since edges are fundamental to both geometry (depth) and object boundaries (semantics), this task acts as a structural bridge, preserving high-frequency information.
Datasets
The framework was evaluated using autonomous driving datasets:
- CARLA: A synthetic simulator providing ground truth for depth, semantics, and edges (Source Domain).
- Cityscapes: Real-world urban driving scenes (Target Domain).
Experiments assumed labels were available for only one task in Cityscapes, requiring the other to be solved entirely via transfer.
Key Insights
- Spatial Norms as Priors: NDA provides a stable alternative to adversarial methods by enforcing similar activation levels at specific pixel locations across domains.
- The "Edge" Advantage: Adding an auxiliary edge-detection task prevents the loss of structural detail, which is often smoothed over in depth estimation but critical for semantic segmentation.
- Simultaneous Training: Multi-task training of encoders produces more robust representations than training them in isolation.
Results
The AT/DT framework demonstrates significant improvements in cross-domain task transfer:
- Depth-to-Semantics: Achieved 51.28% mIoU on Cityscapes, significantly outperforming the no-adaptation baseline (38.86%) and previous state-of-the-art methods like ZDDA (46.06%).
- Semantics-to-Depth: Reduced the Absolute Relative Error from 0.7398 (baseline) to 0.3928.
- Performance Gap: The unsupervised results closely approached the "Transfer Oracle," a theoretical upper bound trained with real-world labels.
Conclusion and Future Work
While AT/DT effectively bridges the task-domain gap, its success depends on the physical or geometric relatedness of the tasks. Future research may explore more complex mapping architectures, such as attention mechanisms, or integrate the framework with pseudo-labeling techniques to further refine real-world performance.
Summary updated