Abstract
Transferring autonomous agents from simulation to the real world is often hindered by the visual "domain gap." We present Task Distillation, a two-stage framework that utilizes shared semantic proxy labels to bridge this gap. By distilling knowledge from a source policy into a proxy model and then into a target image-based model, we enable end-to-end learning in target domains without requiring target-specific task labels. Our method demonstrates significant improvements in driving performance and semantic segmentation across diverse environments.
Introduction
Deep learning models for autonomous driving require vast amounts of data, which is often dangerous or expensive to collect in the real world. While simulators offer a safe alternative, "sim-to-real" transfer is difficult because simulated pixels differ significantly from real-world imagery. Existing unsupervised domain adaptation methods often struggle with large stylistic differences, while modular pipelines suffer from compounding errors where small perception mistakes lead to total policy failure.
Methods: Task Distillation
Task Distillation addresses these challenges by using semantic labels (e.g., "car," "road") as a common language between domains. The framework consists of two stages:
- Stage 1 (Source to Proxy): A policy trained in a source domain (e.g., a simulator) is distilled into a "proxy model." This proxy model takes ground-truth semantic labels as input rather than raw pixels, learning the underlying logic of the task in an abstract space.
- Stage 2 (Proxy to Target): The proxy model's knowledge is distilled into a target model that operates on raw images in the target domain. The proxy model acts as an idealized teacher, providing a clean signal that generalizes across visual styles.
This approach results in an end-to-end model for the target domain that does not require a separate perception module at runtime, thereby avoiding compounding errors.
Evaluation and Results
The framework was evaluated across several domain shifts, including SuperTuxKart to CARLA and ViZDoom to CARLA.
Key Findings
- Performance: In SuperTuxKart to CARLA transfer, the Task Distillation agent achieved double the driving distance of modular transfer baselines before failure.
- Zero-Shot Transfer: Agents trained to avoid obstacles in low-fidelity environments (ViZDoom) successfully transferred those skills to photorealistic settings (CARLA).
- Semantic Segmentation: On the SYNTHIA to Cityscapes benchmark, the method improved state-of-the-art results by 4.8 mIoU.
Discussion
The core insight of this work is that the label space serves as a robust bridge between disparate visual domains. By training on ground-truth labels during the distillation process, the model learns a cleaner signal than it would from noisy predicted segmentations. However, the method is sensitive to camera pose variations and requires shared proxy tasks with available annotations in both domains. Future work will explore the automatic discovery of these proxy tasks.
Summary updated