Anno-incomplete Multi-dataset Detection

Yiran Xu, Haoxiang Zhong, Kai Wu, Jialin Li, Yong Liu, Chengjie Wang, Shu-Tao Xia, Hongen LiaoarXiv 2024

Abstract

Object detectors have shown outstanding performance on various public datasets. However, annotating a new dataset for a new task is usually unavoidable in real-world applications because: 1) a single existing dataset usually does not contain all object categories needed; 2) using multiple datasets usually suffers from annotation incompletion and heterogeneous features. We propose a novel problem as "Annotation-incomplete Multi-dataset Detection" and develop an end-to-end multi-task learning architecture which can accurately detect all object categories with multiple partially annotated datasets. Specifically, we propose an attention feature extractor which helps to mine the relations among different datasets. Besides, a knowledge amalgamation training strategy is incorporated to accommodate heterogeneous features from different sources. Extensive experiments on different object detection datasets demonstrate the effectiveness of our methods, achieving improvements of 2.17% and 2.10% in mAP on COCO and VOC, respectively.

1. Introduction

In practical scenarios, a single dataset rarely encompasses all object categories required for a specific task. While combining multiple datasets (e.g., a "Person" dataset and an "Animal" dataset) seems intuitive, it introduces two significant challenges: Annotation Incompletion and Heterogeneous Features.

The problem of Annotation-incomplete Multi-dataset Detection.

Annotation incompletion occurs when images from one dataset contain objects belonging to categories in another dataset that are not labeled. Standard training would incorrectly treat these unlabeled objects as background. Heterogeneous features arise because different datasets are often captured under varying conditions (lighting, sensors, domains), complicating the extraction of a unified representation by a single backbone. This creates a "costly circle" where new, perfectly annotated datasets are required for every new scenario.

2. Methodology

We propose an end-to-end multi-task learning architecture based on the Fully Convolutional One-Stage (FCOS) detector to address these issues. The framework consists of three primary components:

2.1 Branch-Interactive Multi-task Architecture

The model utilizes a shared backbone and Feature Pyramid Network (FPN) but employs separate detection branches for different datasets. This allows the model to maintain dataset-specific characteristics while sharing general features.

The proposed end-to-end multi-task learning architecture.

2.2 Attention-based Feature Interactor (AFI)

The AFI module serves as a bridge between branches, mining implicit relations between datasets. By utilizing group convolutions followed by channel and spatial attention modules, the AFI merges feature maps. This enables the model to leverage features from one branch (e.g., "Person") to assist in localizing objects in another branch (e.g., "Animal"), even if those objects are unlabeled in the source dataset.

2.3 Knowledge Amalgamation (KA) Strategy

To handle heterogeneous features and annotation gaps, we implement a Teacher-Student training strategy. Pre-trained "expert" models (Teachers) for each dataset guide the Target Net through three specialized losses:

  • Feature Loss: Aligns the Target Net's backbone features with the Teachers.
  • Distillation Loss: Matches the classification scores of the Target Net to the Teachers for labeled data.
  • Pseudo Loss: Uses Teachers to generate "soft" labels for objects that are unlabeled in one dataset but known to a Teacher from another dataset, preventing them from being treated as background.

3. Experiments and Results

We evaluated our framework using simulated "anno-incomplete" scenarios on MS-COCO and PASCAL VOC benchmarks. For COCO, categories were split into moving (COCO_A) and still (COCO_B) objects, with 30% of annotations erased. For VOC, categories were split into living (VOC_A) and non-living (VOC_B) objects, with 20% of annotations erased.

Our method consistently outperformed standard multi-dataset baselines:

  • MS-COCO: Achieved 38.35% mAP, a 2.17% improvement over the multi-branch baseline.
  • PASCAL VOC: Achieved 47.74% mAP, a 2.10% improvement over the baseline.

Ablation studies confirmed that the AFI module and Distillation Loss were the primary drivers of performance. Furthermore, the inference phase remains efficient as Teacher models are discarded, allowing the Target Net to perform direct detection.

4. Conclusion

This work introduces the Anno-incomplete Multi-dataset Detection framework, successfully bridging the gap between partially labeled and heterogeneous data sources. By treating unlabeled objects as valuable signals through pseudo-labeling and cross-branch synergy, the model achieves superior performance without increasing inference-time complexity. Future work will focus on improving pseudo-label confidence and scaling the architecture to handle a larger number of disparate datasets.

Summary updated

BibTeX
@misc{xu2024anno,
  author = {Yiran Xu and Haoxiang Zhong and Kai Wu and Jialin Li and Yong Liu and Chengjie Wang and Shu-Tao Xia and Hongen Liao},
  title = {{Anno-incomplete Multi-dataset Detection}},
  year = {2024},
  eprint = {2408.16247},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.16247},
}
Figure