Multi-Modal Continual Test-Time Adaptation for 3D Semantic Segmentation

Haozhi Cao, Yuecong Xu, Jianfei Yang, Pengyu Yin, Shenghai Yuan, Lihua Xie

TL;DR

This paper introduces CoMAC (Continual Cross-Modal Adaptive Clustering), a novel framework for adapting 3D semantic segmentation models to ever-changing real-world environments without needing the original training data. By intelligently weighting inputs from cameras and LiDAR based on their current reliability and using "momentum queues" to prevent forgetting, CoMAC achieves state-of-the-art performance on new, challenging benchmarks that simulate shifting weather and lighting conditions.

What Problem Does This Paper Address?

Most machine learning models struggle when the world changes. In autonomous driving, a model trained on sunny days might fail during a rainy night—a phenomenon known as domain shift.

While Test-Time Adaptation (TTA) allows models to adjust to a new environment during deployment, it usually assumes that the new environment is static. In reality, environments are dynamic: an autonomous vehicle might drive from a clear morning into a foggy afternoon and then into a dark night. This is Continual Test-Time Adaptation (CTTA).

For 3D semantic segmentation, we typically use multiple sensors (2D cameras and 3D LiDAR). The challenge in CTTA is twofold:

  1. Modality Reliability: A camera might be highly reliable at noon but useless at midnight, whereas LiDAR remains relatively stable. Previous methods often fail to prioritize the "correct" sensor as conditions change.
  2. Catastrophic Forgetting: As a model adapts to the "night" domain, it often forgets how to handle the "day" domain it just left.
Figure 1: How domain shifts affect modality reliability. Cameras (2D) fail in low light, while LiDAR (3D) remains more stable. CoMAC adaptively attends to the reliable modality.

Methods

The authors propose CoMAC, which tackles these issues through three main components:

  • Intra-Modal Prediction Aggregation (iMPA): Instead of just trusting a single prediction, the model looks at both raw and augmented versions of the data. It calculates the distance of these features to "class centroids" (representative points for each category like 'car' or 'road') in a latent space. Features closer to the centroids are deemed more reliable and given higher weight.
  • Inter-Modal Pseudo-Label Fusion (xMPF): This module decides whether to trust the 2D camera or the 3D LiDAR more. It generates a cross-modal pseudo-label by intelligently fusing predictions based on their intra-modal reliability scores.
  • Class-Wise Momentum Queues (CMQs): To prevent the model from forgetting, the authors use queues that store confident features from the target domain to update the class centroids. Crucially, they also "stochastically restore" pseudo-source features—essentially replaying snippets of what the model knew originally—to anchor the model and prevent it from drifting too far during adaptation.
Figure 2: The main structure of our proposed method. From the source domain, we preserve the source centroids and the pre-trained model for each modality as the initialization of the class-wise centroids and all the models in the target domain, respectively. To generate reliable intra-modal predictions, Intra-Modal Prediction Aggregation (iMPA) attends to the reliable prediction whose feature shares a closer distance with the class-wise centroids in an intra-modal manner. Inter-Modal Pseudo- Label Fusion (xMPF) then fuses the intra-modal predictions by estimating the reliability of predictions from each modality for noise suppression. Class-Wise Momentum Queues (CMQs) are designed to achieve a good balance between target domain adaptation and source knowledge preservation.

Datasets

The researchers introduced two new benchmarks to test continual adaptation:

  1. SemanticKITTI-to-Synthia (S-to-S): Uses real-world data as the source and a diverse synthetic dataset (Synthia) as the target. Synthia is particularly challenging because it includes 12 unique sequences of varying seasons, weather, and lighting.
  2. SemanticKITTI-to-Waymo (S-to-W): Adapts from real-world data to the Waymo Open Dataset, sorted by illumination (Day, Dawn/Dusk, Night) and location.

These differ from previous benchmarks by providing a continuous, non-repeating stream of environmental changes, better reflecting the "long-haul" nature of real-world driving.

Key Insights and Ideas

  • Distance as Reliability: A core "aha" moment is using the distance to class-wise centroids in the feature space as a proxy for how much to trust a prediction. If a feature for a 'tree' looks nothing like the 'tree' features the model has seen before, it’s likely noisy.
  • Dual-Stage Fusion: By first cleaning up noise within a modality (iMPA) and then fusing across modalities (xMPF), the system becomes much more robust to sensor-specific failures.
  • Balancing Adaptation and Memory: The use of momentum queues allows the model to adapt its "understanding" of classes to the new domain while the stochastic restoration acts as a tether to the original source knowledge, effectively solving the stability-plasticity dilemma.

Key Results

CoMAC significantly outperformed existing TTA and CTTA methods:

  • On the S-to-S benchmark, it outperformed the previous best method by 6.9% mIoU (mean Intersection over Union).
  • On the S-to-W benchmark, it achieved a 1.9% mIoU improvement.
  • Ablation Studies: As shown in Figure 3, removing either the iMPA or xMPF modules led to significant performance drops, proving that both intra-modal and inter-modal weighting are essential for success.
Figure 3: Ablation studies showing that both iMPA and xMPF (b) and the CMQ updates/restoration (c) are critical for maintaining high mIoU over time.

Limitations and Future Work

While CoMAC shows impressive results, the authors note that the synthetic-to-real gap (especially in S-to-S where LiDAR is simulated) is still a hurdle. Future work could involve:

  • Testing on even more diverse real-world datasets that include sensor degradation (e.g., muddy lenses or LiDAR interference).
  • Exploring more complex multi-modal architectures beyond the UNet/SCN backbones used here.
  • Integrating temporal consistency (using video frames) to further stabilize predictions.

Summary updated

BibTeX
@misc{cao2023multi,
  author = {Haozhi Cao and Yuecong Xu and Jianfei Yang and Pengyu Yin and Shenghai Yuan and Lihua Xie},
  title = {{Multi-Modal Continual Test-Time Adaptation for 3D Semantic Segmentation}},
  year = {2023},
  eprint = {2303.10457},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.10457},
}
Figure