Uncertainty-aware Mean Teacher for Source-free Unsupervised Domain Adaptive 3D Object Detection

Deepti Hegde, Vishwanath Sindagi, Velat Kilic, A. Brinton Cooper, Mark A. Foster, Vishal M. PatelarXiv 2021 · OpenReview

TL;DR

This paper introduces an "uncertainty-aware mean teacher" framework for source-free unsupervised domain adaptation in 3D object detection. By leveraging model uncertainty, it effectively filters out noisy pseudo-labels generated by a source-trained model, leading to improved performance on target datasets without requiring any target domain data during training.

What Problem Does This Paper Address?

Autonomous driving systems rely heavily on accurate 3D object detection from sensors like LiDAR. While models trained on large datasets perform well, their performance often degrades when deployed in different environments (e.g., different datasets, weather conditions) due to domain shift. Unsupervised Domain Adaptation (UDA) aims to bridge this gap without needing labeled data from the target domain. A common UDA approach is "pseudo-labeling," where a model trained on a source domain generates labels for target data, which are then used to retrain the model. However, these pseudo-labels can be noisy and incorrect, leading to the model reinforcing its own errors. This paper tackles the challenge of improving pseudo-labeling by developing a method that can identify and down-weight these erroneous labels, especially when the source data itself is unavailable (source-free UDA).

Methods

The core of the proposed method is an uncertainty-aware mean teacher framework. This framework builds upon the standard mean teacher approach, which uses two networks: a "student" network that is trained and a "teacher" network whose weights are an exponential moving average (EMA) of the student's weights.

Here's how it works:

  • Iterative Pseudo-Label Generation: Instead of relying on a single pass of pseudo-labeling, the authors employ an iterative process. A source-trained model generates initial pseudo-labels for the target data. This model is then retrained on these pseudo-labels, and the process repeats. With each iteration, the quality of the pseudo-labels improves, and they are filtered using a confidence threshold.
  • Uncertainty-Aware Teacher Supervision: The key innovation lies in how the teacher network supervises the student. The teacher network is treated as a Bayesian neural network by using Monte Carlo dropout during inference. By performing multiple forward passes (T passes), the framework estimates the predictive variance of the teacher's predictions for each pseudo-label.
  • Soft-Sampling: Pseudo-labels associated with high variance (high uncertainty) from the teacher are down-weighted. This "soft-sampling" effectively filters out noisy or incorrect pseudo-labels without hard thresholding, allowing the student network to learn from more reliable signals. The student is trained using standard object detection losses, but the pseudo-label loss is weighted by the inverse of the teacher's computed variance.

Datasets

The paper evaluates its method on several well-known autonomous driving LiDAR datasets:

  • Waymo Open Dataset: A large-scale, multimodal dataset.
  • KITTI Dataset: An earlier, widely used dataset for autonomous driving research.
  • nuScenes Dataset: Another comprehensive multimodal dataset.

The authors also simulate adverse weather conditions (rain) on the KITTI dataset to test robustness. They explore cross-dataset domain shifts (Waymo → KITTI, nuScenes → KITTI, Waymo → nuScenes) and cross-weather shifts (Waymo → KITTI-rain).

Key Insights and Ideas

  • Iterative Pseudo-Labeling is Crucial: Simply using pseudo-labels from a single inference pass is insufficient. Iteratively refining pseudo-labels leads to a significant improvement in their quality and confidence.
  • Model Uncertainty is a Powerful Noise Filter: Directly using pseudo-labels, even with confidence thresholds, can reinforce errors. Leveraging the teacher network's uncertainty (variance in predictions) provides a more nuanced way to down-weight unreliable labels, acting as a soft sampler.
  • Source-Free is the Future: The ability to adapt models without access to the original source data is critical for real-world deployment due to privacy and storage constraints. This work demonstrates a viable source-free approach.
  • Mean Teacher Benefits from Uncertainty: The mean teacher architecture, when augmented with uncertainty estimation, significantly boosts performance compared to a standard mean teacher or simple self-training.

Key Results

The proposed "uncertainty-aware mean teacher" framework achieves state-of-the-art performance on the KITTI dataset across various domain adaptation scenarios, including cross-dataset and cross-weather shifts.

  • Quantitative Improvements: The paper shows significant improvements in mean average precision (mAP) across Easy, Moderate, and Hard categories for object detection compared to existing methods like ST3D and statistical normalization (SN), as well as the source-only baseline. For instance, in the Waymo → KITTI domain, the proposed method achieves higher mAP values in all categories.
  • Qualitative Improvements: Visualizations (Figure 8) demonstrate that the proposed method produces more accurate bounding boxes with better localization and fewer spurious detections compared to the source-only model and ST3D, especially in challenging scenarios.

Limitations and Future Work

  • Computational Cost: The iterative pseudo-label generation and the multiple forward passes for uncertainty estimation in the mean teacher framework can increase computational demands.
  • Hyperparameter Sensitivity: The confidence threshold (δ) for pseudo-label filtering and the number of forward passes (T) for uncertainty estimation are hyperparameters that might require careful tuning.
  • Future Work: The authors suggest exploring more sophisticated uncertainty estimation techniques and investigating the framework's applicability to other sensor modalities or tasks within autonomous driving. Further research into more efficient implementations for real-time applications would also be valuable.

Summary updated

Abstract

Pseudo-label based self training approaches are a popular method for source-free unsupervised domain adaptation. However, their efficacy depends on the quality of the labels generated by the source trained model. These labels may be incorrect with high confidence, rendering thresholding methods ineffective. In order to avoid reinforcing errors caused by label noise, we propose an uncertainty-aware mean teacher framework which implicitly filters incorrect pseudo-labels during training. Leveraging model uncertainty allows the mean teacher network to perform implicit filtering by down-weighing losses corresponding uncertain pseudo-labels. Effectively, we perform automatic soft-sampling of pseudo-labeled data while aligning predictions from the student and teacher networks. We demonstrate our method on several domain adaptation scenarios, from cross-dataset to cross-weather conditions, and achieve state-of-the-art performance in these cases, on the KITTI lidar target dataset.
BibTeX
@misc{hegde2021uncertainty,
  author = {Deepti Hegde and Vishwanath Sindagi and Velat Kilic and A. Brinton Cooper and Mark A. Foster and Vishal M. Patel},
  title = {{Uncertainty-aware Mean Teacher for Source-free Unsupervised Domain Adaptive 3D Object Detection}},
  year = {2021},
  eprint = {2109.14651},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.14651},
}
Figure