ScaleDet: A Scalable Multi-Dataset Object Detector

Yanbei Chen, Manchen Wang, Abhay Mittal, Zhenlin Xu, Paolo Favaro, Joseph Tighe, Davide Modolo

Training a robust object detector usually requires massive amounts of annotated data. While many large-scale datasets exist (like COCO, LVIS, or OpenImages), they all speak different "languages"—their label spaces are heterogeneous. A "sneaker" in one dataset might be "footwear" in another. Traditionally, researchers have spent countless hours manually relabeling or creating complex optimization rules to merge these datasets.

ScaleDet, a new framework from AWS AI Labs, proposes a refreshingly simple alternative: don't merge the labels—unify them through the power of language.

TL;DR

ScaleDet is a scalable multi-dataset object detector that unifies heterogeneous label spaces using text embeddings from vision-language models like CLIP. By employing a novel "soft label" assignment based on semantic similarity, it enables detectors to learn across diverse datasets simultaneously, achieving state-of-the-art performance and impressive zero-shot generalization to unseen categories.

What Problem Does This Paper Address?

The core challenge in multi-dataset training is the heterogeneous label space. Different datasets have different taxonomies:

  1. Semantic Overlap: One dataset uses "footwear," another uses "sneakers."
  2. Granularity: LVIS has 1,200+ fine-grained categories, while COCO has only 80 common ones.
  3. Scalability: Manual relabeling to create a "master" taxonomy is labor-intensive and doesn't scale as you add the 5th, 10th, or 100th dataset.

Existing solutions often rely on manual mapping or training multiple dataset-specific classifiers, which increases model complexity and limits the ability to generalize to entirely new domains or "unseen" classes.

Figure 1. Our scalable multi-dataset detector (ScaleDet) learns across datasets in a unified semantic label space by visual-textual alignment with label semantic similarities. At test time, ScaleDet can generalize on any given upstream and downstream dataset.

Methods

ScaleDet moves away from discrete label indices and toward visual-textual alignment.

  1. Unified Label Space by Concatenation: Instead of merging "sneaker" and "footwear," ScaleDet simply concatenates all label sets. If you have four datasets, your unified label space is just the union of all their classes.
  2. Semantic Label Embeddings: Each class label (e.g., "person") is converted into a semantic text embedding using a frozen text encoder (like CLIP or OpenCLIP).
  3. Dual-Loss Training:
    • Hard Label Assignment ($\mathcal{L}_{hl}$): This is the standard classification task. A visual region proposal is matched to its specific ground-truth text embedding in its original dataset.
  4. Soft Label Assignment ($\mathcal{L}_{sl}$): This is the "secret sauce." ScaleDet computes a semantic similarity matrix between all labels in the unified space. The model is then regularized to predict high scores not just for the "hard" label, but also for semantically similar "soft" labels (e.g., a "boy" detection should also have a high similarity score for the "person" label).
The ScaleDet architecture uses text prompts to define labels and aligns visual features to these embeddings using hard and soft assignments.

Datasets

The authors evaluated ScaleDet across a massive range of data:

  • Upstream (Training): LVIS, COCO, Objects365, and OpenImages. Combined, these offer ~3.7M images and 2,249 unique class labels.
  • Downstream (Generalization): The Object Detection in the Wild (ODinW) benchmark, which consists of 13 diverse datasets ranging from "AerialDrone" to "Aquarium" and "Thermal" images. This tests the model's ability to handle new domains and unseen classes (zero-shot detection).

Key Insights and Ideas

  • Concatenation is Better Than Merging: By not forcing labels to merge, the model preserves the unique semantic nuances of each dataset. The "soft label" loss handles the relationships between similar concepts naturally.
  • The Power of Soft Labels: The soft label assignment acts as a powerful regularizer. It prevents the model from overfitting to a specific dataset's naming convention and encourages it to learn a more generalized concept of what an object is.
  • Scaling Laws Apply to Detection: One of the most important findings is that ScaleDet's performance on downstream tasks improves consistently as more upstream datasets are added. It effectively "scales up" its generalization capabilities.
  • Data Efficiency: ScaleDet achieves competitive results with significantly less training data than some massive vision-language models (like GLIPv2), suggesting that high-quality detection-specific data is more efficient than raw image-caption pairs for this task.

Key Results

ScaleDet achieves state-of-the-art (SOTA) results across the board:

  • Upstream Performance: Using a Swin-Base backbone, it hits 50.7 mAP on LVIS, 58.8 on COCO, and 76.2 on OpenImages.
  • Downstream Generalization: On the ODinW benchmark, it achieves 71.8 mAP (after fine-tuning), surpassing previous SOTA detectors.
  • Zero-Shot Capability: Even without fine-tuning, ScaleDet shows strong "direct transfer" performance, proving it has learned a robust, language-grounded understanding of objects. For example, on the "ThermalDogsAndPeople" dataset, multi-dataset training boosted mAP from 19.4 to 40.6.

Limitations and Future Work

While ScaleDet is a major step forward for scalable detection, the authors note a few areas for growth:

  • Task Scope: The current work focuses strictly on object detection. The authors suggest that this unified semantic space approach could be extended to other tasks like image classification and semantic segmentation.
  • Foundation Model Goal: The ultimate vision is a "multi-dataset multi-task foundation model" that can handle various vision challenges in one unified architecture.
  • Backbone Sensitivity: While ScaleDet works with various backbones, its performance is still significantly influenced by the discriminative power of the underlying image encoder (e.g., Swin-B vs. ResNet50).

Summary updated

BibTeX
@inproceedings{chen2023scaledet,
  author = {Yanbei Chen and Manchen Wang and Abhay Mittal and Zhenlin Xu and Paolo Favaro and Joseph Tighe and Davide Modolo},
  title = {{ScaleDet: A Scalable Multi-Dataset Object Detector}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure