Cluster, Split, Fuse, and Update: Meta-Learning for Open Compound Domain Adaptive Semantic Segmentation

Rui Gong, Yuhua Chen, Danda Pani Paudel, Yawei Li, Ajad Chhatkuli, Wen Li, Dengxin Dai, Luc Van Gool

Abstract

Open Compound Domain Adaptation (OCDA) presents a significant challenge in semantic segmentation, requiring models to generalize from a single source domain to a diverse, partially unknown target domain. We present MOCDA, a framework that employs a four-stage pipeline—Cluster, Split, Fuse, and Update—to bridge this gap. By leveraging unsupervised style clustering, domain-specific batch normalization, hypernetwork-based fusion, and meta-learning for online adaptation, MOCDA achieves state-of-the-art performance on benchmarks like GTA5 to BDD100K, demonstrating robust generalization to unseen real-world environments.

Introduction

Traditional Unsupervised Domain Adaptation (UDA) typically focuses on a one-to-one mapping between a source domain (e.g., synthetic data) and a specific target domain (e.g., clear-weather city streets). However, real-world applications like autonomous driving encounter "compound" domains—mixtures of various weather conditions and lighting—and "open" domains that are entirely unseen during training. This paper addresses the Open Compound Domain Adaptation (OCDA) problem, aiming to create models that are both specialized for known sub-domains and adaptable to novel ones.

Methodology: The MOCDA Framework

The proposed MOCDA framework decomposes the adaptation process into four distinct phases: Clustering, Splitting, Fusing, and Updating.

Conceptual comparison of traditional domain adaptation versus the proposed Cluster, Split, Fuse, and Update (MOCDA) approach.

1. Cluster and Split

The first step involves identifying the underlying structure of the compound target domain. Using an unsupervised image translation framework (MUNIT), the model extracts style codes from unlabeled target images. These codes are then grouped into $K$ sub-domains using K-means clustering. To prevent interference between diverse styles (e.g., rain vs. snow), the model employs Compound-Domain Specific Batch Normalization (CDBN), creating independent processing branches for each cluster.

2. Fuse and Update

Rather than selecting a single branch for inference, MOCDA utilizes a Hypernetwork to dynamically fuse predictions. This treats the target domain as a continuous manifold, allowing the model to handle images that exhibit mixed styles by adjusting fusion weights based on the input's style code.

To address the "Open" aspect of OCDA, the framework incorporates Model-Agnostic Meta-Learning (MAML). This enables the model to perform rapid "online updates" during inference. With just a single gradient step on a new, unseen image, the model adapts its parameters to the specific environmental conditions encountered at test time.

Detailed framework overview showing the technical implementation of the four stages and the geometric modeling of the compound domain.

Experimental Evaluation

The authors evaluated MOCDA on synthetic-to-real transfer tasks, using GTA5 and SYNTHIA-SF as source domains and BDD100K as the primary compound target domain (including rainy, snowy, and cloudy subsets). Generalization was tested on "open" domains such as Cityscapes, KITTI, and WildDash.

Key Results

  • Performance: MOCDA achieved a mean Intersection over Union (mIoU) of 29.4% on the GTA5 to BDD100K benchmark, significantly outperforming previous OCDA methods (25.0%) and standard adaptation baselines (24.4%).
  • Generalization: The MAML-based online update provided an average gain of +0.7% mIoU across unseen domains, with improvements exceeding 1.1% on specific datasets after only one update step.
  • Ablation Studies: The dynamic fusion module alone provided a 2.3% improvement over simple branch averaging, confirming the benefit of modeling the target domain as a continuous manifold.

Discussion and Conclusion

MOCDA demonstrates that visual style is a powerful proxy for domain membership and that meta-learning can effectively bridge the gap to unseen environments. Key insights include the effectiveness of continuous manifold modeling over discrete buckets and the utility of online gradient updates for real-time adaptation.

However, the framework's complexity—involving multi-stage training and computational overhead during inference—remains a hurdle for real-time edge deployment. Future work may focus on streamlining the pipeline into an end-to-end process and automating the selection of the cluster count ($K$).

Summary updated

BibTeX
@inproceedings{gong2021cluster,
  author = {Rui Gong and Yuhua Chen and Danda Pani Paudel and Yawei Li and Ajad Chhatkuli and Wen Li and Dengxin Dai and Luc Van Gool},
  title = {{Cluster, Split, Fuse, and Update: Meta-Learning for Open Compound Domain Adaptive Semantic Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.00824},
}
Figure