[Paper Review] DaTaSeg: Taming a Universal Multi-Dataset Multi-Task Segmentation Model
DaTaSeg trains a single universal segmentation model on multiple datasets and tasks (semantic, instance, panoptic) using a shared mask-proposal representation, shared weights, and a text-embedding classifier to enable cross-dataset knowledge transfer, weak supervision, and open-vocabulary segmentation.
Observing the close relationship among panoptic, semantic and instance segmentation tasks, we propose to train a universal multi-dataset multi-task segmentation model: DaTaSeg.We use a shared representation (mask proposals with class predictions) for all tasks. To tackle task discrepancy, we adopt different merge operations and post-processing for different tasks. We also leverage weak-supervision, allowing our segmentation model to benefit from cheaper bounding box annotations. To share knowledge across datasets, we use text embeddings from the same semantic embedding space as classifiers and share all network parameters among datasets. We train DaTaSeg on ADE semantic, COCO panoptic, and Objects365 detection datasets. DaTaSeg improves performance on all datasets, especially small-scale datasets, achieving 54.0 mIoU on ADE semantic and 53.5 PQ on COCO panoptic. DaTaSeg also enables weakly-supervised knowledge transfer on ADE panoptic and Objects365 instance segmentation. Experiments show DaTaSeg scales with the number of training datasets and enables open-vocabulary segmentation through direct transfer. In addition, we annotate an Objects365 instance segmentation set of 1,000 images and will release it as a public benchmark.
Motivation & Objective
- Motivate a universal segmentation model capable of handling panoptic, semantic, and instance segmentation across multiple datasets.
- Leverage a shared intermediate representation (mask proposals with class predictions) to enable cross-task and cross-dataset learning.
- Enable weakly supervised segmentation by using bounding boxes to supervise masks, reducing annotation costs.
- Promote knowledge sharing by using a shared network and a common semantic embedding space for classifiers across datasets.
- Demonstrate scalable performance improvements on small and large datasets and enable open-vocabulary segmentation via text embeddings.
Proposed method
- Adopt a universal segmentation representation: a fixed set of mask proposals with class predictions that can instantiate instances, stuff, or regions across tasks.
- Apply task-specific MERGE operations to the proposals (e.g., panoptic merges stuff; semantic merges thing and stuff; instance requires no MERGE) and use Hungarian matching with task-appropriate losses.
- Train with a co-training strategy that samples whole batches from a single dataset per iteration, with per-dataset sampling ratios to balance data.
- Share all network parameters across datasets and tasks while using a frozen text-encoder to map dataset categories into a shared semantic embedding space for classifiers.
- Incorporate weakly supervised instance segmentation by a projection loss that enforces consistency between predicted masks and bounding boxes, enabling learning from bbox-only data.
- Utilize a backbone (ResNet or ViTDet) with a pixel decoder to produce multi-scale features and a high-resolution feature map, and employ a text encoder (CLIP-L/14) for open-vocabulary classification.
Experimental results
Research questions
- RQ1Can a single model trained on multiple segmentation datasets and tasks outperform dataset-specific models?
- RQ2Does sharing parameters and using a shared semantic embedding space enable effective knowledge transfer across datasets and tasks?
- RQ3Can weak bounding-box supervision be effectively leveraged to improve segmentation performance via cross-dataset learning?
- RQ4Does increasing the number of training datasets or segment queries improve open-vocabulary segmentation and cross-dataset generalization?
- RQ5Is open-vocabulary segmentation feasible without large image-text pretraining when using a universal multi-dataset multi-task framework?
Key findings
- DaTaSeg outperforms separately trained models on all evaluated datasets (ADE semantic, COCO panoptic) with both ResNet50 and ViTDet-B backbones.
- DaTaSeg yields substantial gains on small datasets (ADE20k semantic: +6.1 mIoU with ResNet50 and +5.1 mIoT with ViTDet-B).
- Weakly-supervised transfer is enabled, improving ADE20k panoptic by +2.9 PQ (ResNet50) and +5.4 PQ (ViTDet-B) and Objects365 instance AP by +2.0 and +1.4 respectively.
- DaTaSeg scales with backbone size, achieving 53.4–54.0 mIoU on ADE semantic and 53.5–54.0 PQ on COCO panoptic across backbones.
- Increasing the number of datasets improves performance on most targets, and model trained on multiple datasets can transfer to unseen datasets (e.g., ADE semantic from COCO+O365 is 18.3 mIoU).
- Open-vocabulary capability is demonstrated by directly transferring the text-embedding classifier to new datasets, performing competitively with dedicated open-vocabulary methods on Cityscapes and Pascal Context.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.