NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Cross-Dataset Collaborative Learning for Semantic Segmentation in Autonomous Driving

Li Wang, Dong Li, Han Liu, Jinzhang Peng, Lu Tian, Yi Shan

Abstract

Semantic segmentation is an important task for scene understanding in self-driving cars and robotics, which aims to assign dense labels for all pixels in the image. Existing work typically improves semantic segmentation performance by exploring different network architectures on a target dataset. Little attention has been paid to build a unified system by simultaneously learning from multiple datasets due to the inherent distribution shift across different datasets. In this paper, we propose a simple, flexible, and general method for semantic segmentation, termed Cross-Dataset Collaborative Learning (CDCL). Our goal is to train a unified model for improving the performance in each dataset by leveraging information from all the datasets. Specifically, we first introduce a family of Dataset-Aware Blocks (DAB) as the fundamental computing units of the network, which help capture homogeneous convolutional representations and heterogeneous statistics across different datasets. Second, we present a Dataset Alternation Training (DAT) mechanism to facilitate the collaborative optimization procedure. Experiments demonstrate that our method consistently achieves notable improvements over prior single-dataset and cross-dataset training methods without introducing extra FLOPs.

Introduction

In autonomous driving, semantic segmentation is critical for safe navigation and scene understanding. While numerous high-quality datasets like Cityscapes and BDD100K are available, models are typically trained on a single dataset. Simply merging datasets often fails due to distribution shift—variations in geography, camera hardware, and environmental conditions (weather, lighting) that create distinct statistical profiles. Furthermore, inconsistent label taxonomies across datasets complicate the training of a unified model. Traditional approaches like fine-tuning or manual label remapping often lead to performance degradation or require significant manual engineering to bridge these gaps.

Methodology

The proposed Cross-Dataset Collaborative Learning (CDCL) framework addresses these challenges through two core innovations designed to handle dataset heterogeneity while sharing common visual features.

Dataset-Aware Block (DAB)

The authors observed that while convolutional filters capture universal geometric features (edges, textures) that can be shared, Batch Normalization (BN) layers capture dataset-specific statistics. DAB utilizes a shared dataset-invariant convolution layer followed by multiple dataset-specific BN layers. During training and inference, the network dynamically switches to the BN layer corresponding to the input dataset, allowing the model to adapt to different statistical distributions without interference.

Dataset Alternation Training (DAT)

To ensure stable optimization and prevent the model from "forgetting" features from one dataset while learning another, the authors introduced DAT. In each training iteration, the model performs $N$ forward passes (one per dataset), accumulates the losses, and then executes a single backward pass to update the shared weights. This prevents the optimization process from being biased toward any single dataset.

Overview of the CDCL framework featuring the Dataset-Aware Block (DAB) and Dataset Alternation Training (DAT) mechanism.

Experimental Results

The CDCL framework was evaluated on major benchmarks including Cityscapes, BDD100K, and CamVid. Using a standard PSPNet (ResNet-18) backbone, CDCL achieved a "win-win" scenario, improving performance across all datasets simultaneously without increasing inference-time FLOPs.

Performance comparison of CDCL against baseline methods on Cityscapes and BDD100K datasets.

Key improvements include:

  • Cityscapes: +5.65% mIoU improvement over the single-dataset baseline.
  • BDD100K: +6.57% mIoU improvement.
  • CamVid: +5.79% mIoU improvement.

Beyond 2D images, CDCL also demonstrated effectiveness in 3D point cloud segmentation (SemanticKITTI and nuScenes) and showed superior zero-shot generalization on unseen datasets like KITTI, where a model trained on Cityscapes and BDD100K outperformed standard single-dataset models.

Conclusion

CDCL provides a robust framework for multi-dataset collaborative learning in semantic segmentation. By decoupling shared geometric features from dataset-specific statistics via DAB and employing a balanced training strategy with DAT, the model achieves significant performance gains across diverse environments. Future work includes automating dataset/domain selection at inference time and scaling the approach to a wider variety of vision tasks like object detection or depth estimation.

Summary updated

BibTeX
@inproceedings{wang2022cross,
  author = {Li Wang and Dong Li and Han Liu and Jinzhang Peng and Lu Tian and Yi Shan},
  title = {{Cross-Dataset Collaborative Learning for Semantic Segmentation in Autonomous Driving}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  url = {https://openreview.net/forum?id=JfmUK6PpMb4},
}
Figure