DaTaSeg: Taming a Universal Multi-Dataset Multi-Task Segmentation Model

Xiuye Gu, Yin Cui, Jonathan Huang, Abdullah Rashwan, Xuan Yang, Xingyi Zhou, Golnaz Ghiasi, Weicheng Kuo, Huizhong Chen, Liang-Chieh Chen, David A Ross

Abstract

DaTaSeg is a unified computer vision framework designed to perform semantic, instance, and panoptic segmentation using a single set of weights across diverse datasets. By employing text embeddings for label alignment and a novel "merge" operation to bridge task-specific output requirements, DaTaSeg facilitates cross-dataset knowledge transfer. This approach significantly improves performance on smaller datasets and enables high-quality segmentation from weak bounding box supervision.

Introduction

In computer vision, image segmentation has traditionally been fragmented into three distinct sub-tasks: semantic (labeling every pixel by category), instance (separating individual objects), and panoptic (combining both). Specialized architectures and separate models are typically trained for each task and dataset. This siloed approach prevents models from benefiting from cross-dataset features and creates "vocabulary" conflicts where different datasets use different terms for identical objects.

Overview of the DaTaSeg framework, illustrating how a universal model processes multiple dataset types to perform various segmentation tasks.

DaTaSeg addresses these challenges by asking whether a single model can be co-trained on everything to create a more robust, universal segmenter. By unifying the representation, the model can leverage large-scale data to improve performance on niche tasks.

Methodology

DaTaSeg builds upon the mask proposal framework, generating a set of binary mask proposals and assigning class labels to each. To enable this across varying tasks and datasets, the authors introduced three key innovations:

  1. The MERGE Operation: Output formats for semantic segmentation (one mask per class) differ from instance segmentation (one mask per object). DaTaSeg uses a flexible merge layer to dynamically combine individual mask proposals based on the specific task requirements.
  2. Shared Semantic Embedding Space: Instead of standard one-hot classifiers, DaTaSeg uses frozen CLIP text embeddings as classification weights. This aligns similar categories across datasets (e.g., "car" and "automobile") into the same mathematical space.
  3. Weakly-Supervised Learning: The model incorporates a projection loss, allowing it to learn from datasets providing only bounding boxes (like Objects365) rather than expensive pixel-perfect masks.
The MERGE operation facilitates the transition from universal mask proposals to task-specific outputs like panoptic, semantic, and weakly-supervised instance segmentation.

Experimental Setup and Datasets

The model was co-trained on a diverse mix of datasets, including COCO Panoptic (the gold standard for thing/stuff segmentation), ADE20k Semantic (150 challenging categories), and Objects365 Detection (used for weakly-supervised training). Additionally, the authors contributed a new evaluation benchmark consisting of 1,000 manually annotated images from Objects365 with high-quality instance masks to test box-to-mask knowledge transfer.

Key Insights and Results

  • Universal Architecture Benefits: Surprisingly, adding dataset-specific modules actually degraded performance. A completely shared architecture forced the model to learn more universal features, leading to better generalization.
  • Small Dataset Performance: Multi-dataset training acted as a powerful regularizer. The ADE20k dataset saw a significant jump of +6.1 mIoU when trained alongside COCO and Objects365.
  • State-of-the-Art Performance: DaTaSeg achieved 54.0 mIoU on ADE20k semantic and 53.5 PQ on COCO panoptic using a single model.
  • Weak Supervision Success: By training on Objects365 bounding boxes, the model reached 14.3 AP on instance segmentation, proving successful mask concept transfer from other datasets.
  • Zero-Shot Capabilities: Due to the use of text embeddings, the model is inherently open-vocabulary and can segment unseen datasets by simply swapping target text labels at inference time.

Limitations and Future Work

Despite its strengths, DaTaSeg faces challenges with language ambiguity, where visually correct segmentations are marked as errors due to differing dataset terminologies (e.g., "sidewalk" vs. "pavement"). Furthermore, the current reliance on heavy transformer decoders suggests a need for more efficient architectures for real-time applications. Finally, in weakly-supervised scenarios, the model occasionally struggles to separate overlapping objects of the same class when only box boundaries are provided.

Summary updated

BibTeX
@inproceedings{gu2023dataseg,
  author = {Xiuye Gu and Yin Cui and Jonathan Huang and Abdullah Rashwan and Xuan Yang and Xingyi Zhou and Golnaz Ghiasi and Weicheng Kuo and Huizhong Chen and Liang-Chieh Chen and David A Ross},
  title = {{DaTaSeg: Taming a Universal Multi-Dataset Multi-Task Segmentation Model}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=kXOXrVnwbb},
}
Figure