Multi-domain semantic segmentation with overlapping labels *

Petra Bevandic, Marin Orsic, Ivan Grubisic, Josip Saric, Sinisa Segvic

Abstract

Training deep learning models for semantic segmentation typically requires large, meticulously labeled datasets. However, existing datasets often feature incompatible taxonomies, where labels for similar visual concepts vary in granularity or overlap across different collections. This paper introduces a principled framework for training on multiple datasets simultaneously without requiring expensive manual relabeling. By constructing a "universal taxonomy" and employing a novel probabilistic loss function (NLL+), the authors demonstrate that models can effectively learn from inconsistent labeling schemes, achieving state-of-the-art performance on challenging benchmarks like WildDash 2 and the RVC 2020 challenge.

Introduction

Semantic segmentation is a cornerstone of computer vision, yet the field suffers from a "taxonomy jungle." Different datasets, such as Cityscapes, Mapillary Vistas, and ADE20k, often use conflicting definitions for the same objects. For instance, one dataset might use a broad "road" class, while another distinguishes between "crosswalks" and "manholes." Training a single model on these combined sources usually leads to "logit contention," where the model receives conflicting signals for the same pixel. This work addresses these challenges by unifying disparate taxonomies into a single, coherent framework.

The Challenge of Taxonomy Inconsistency

The core issue in multi-domain training is twofold:

  1. Discrepant Granularity: A coarse label in one dataset (e.g., "road") may correspond to multiple fine-grained labels in another (e.g., "pothole," "marking").
  2. Overlapping Classes: This is exemplified by the "pickup truck problem." A pickup might be classified as a "truck" in one dataset and a "car" or "van" in others.
The "pickup truck problem": different datasets assign the same visual concept to different classes.

Standard "naive concatenation" methods fail because they penalize the model for predicting a specific sub-class when the ground truth only provides a general category.

Proposed Methodology

The researchers developed a two-part solution to tame the taxonomy jungle:

Universal Taxonomy Construction

The authors propose an algorithmic approach to derive a flat "universal taxonomy" ($\mathbb{U}$). By analyzing the relationships between labels across datasets—merging identical classes, splitting supersets, and resolving overlaps—they ensure that every dataset-specific class can be represented as a union of disjoint universal classes.

NLL+ Loss Function

To handle the ambiguity of mapping dataset labels to the universal taxonomy, the authors introduce NLL+, a negative log-likelihood loss for aggregated probability. Instead of forcing a single hard label, NLL+ sums the probabilities of all universal classes that could correspond to a given dataset label. This allows the model to treat broad labels as "partial labels," effectively learning the underlying fine-grained structure over time.

To maintain computational efficiency at high resolutions, the framework utilizes the pyramidal SwiftNet architecture with optimized backpropagation to manage the large number of logits generated by the universal taxonomy.

Experimental Evaluation

The method was evaluated across a wide range of benchmarks, including Cityscapes, Mapillary Vistas, and WildDash 2. Generalization was further tested on CamVid, KITTI, BDD100k, and IDD, as well as the Robust Vision Challenge (RVC) 2020, which involves seven diverse datasets ranging from indoor scenes to synthetic driving data.

Results and Discussion

The universal taxonomy approach consistently outperformed baselines such as naive concatenation and partial merging across various benchmarks.

Quantitative comparison showing the universal taxonomy outperforming baselines across multiple benchmarks.

Key Findings

  • Learning the "Unlabeled": Remarkably, the model can learn to identify concepts that aren't uniquely labeled in any single training set. By observing "pickups" labeled as "trucks" in one set and "cars" in another, the NLL+ loss enables the model to isolate "pickup" as a distinct universal class.
  • State-of-the-Art Robustness: The model achieved top results on WildDash 2, a benchmark designed to test resilience against hazards like extreme weather and rare viewpoints.
  • Superior Generalization: In the RVC 2020 challenge, the proposed model achieved the best aggregate performance, proving its ability to generalize across vastly different visual domains.

Conclusion

This work provides a scalable, probabilistic framework for multi-domain semantic segmentation. By moving away from manual relabeling and toward a unified universal taxonomy, the authors demonstrate that inconsistent data can be a source of strength rather than a conflict. Future work will explore the automatic recovery of taxonomies and extending the framework to handle open-set recognition for safer autonomous systems.

Summary updated

BibTeX
@inproceedings{bevandic2021multi,
  author = {Petra Bevandic and Marin Orsic and Ivan Grubisic and Josip Saric and Sinisa Segvic},
  title = {{Multi-domain semantic segmentation with overlapping labels *}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2021},
  doi = {10.1109/wacv51458.2022.00248},
}
Figure