Self-improving object detection via disagreement reconciliation

Gianluca Scarpellini, Stefano Rosa, Pietro Morerio, Lorenzo Natale, Alessio Del BuearXiv 2023 · DOI

Introduction

Object detection models often struggle with "domain shift" when deployed in new, specific environments. A model trained on a general dataset like COCO may fail in a dimly lit office or a uniquely furnished home. Traditionally, adapting to these new domains requires labor-intensive manual labeling. This paper proposes a self-supervised framework that enables a robot to improve its own detection capabilities simply by exploring a new environment. By leveraging the 3D consistency of the physical world, the system reconciles conflicting 2D detections into a unified semantic map, generating high-quality pseudo-labels for self-fine-tuning without human intervention.

The Disagreement Reconciliation Framework

The core of the proposed method is a multi-stage pipeline designed to turn noisy initial observations into reliable training data.

Overview of the self-improving object detection pipeline, from exploration to pseudo-label generation.
  1. Exploration and Observation: An agent explores an environment using a pre-trained detector (e.g., Mask R-CNN). It collects RGB-D images and initial 2D detections which are often inconsistent across different viewpoints.
  2. 3D Voxel Mapping: These 2D detections are projected into a 3D voxel map. Using the robot's known trajectory, detections of the same physical object from multiple angles are aggregated.
  3. Consensus Mechanism: To resolve label disagreements (e.g., an object identified as a "chair" from one angle and a "table" from another), the system assigns a single consistent label to each 3D object based on the highest confidence score across all views.
  4. Pseudo-label Generation: The "cleaned" 3D map is reprojected back onto the original 2D frames. This process creates a spatially and temporally consistent training set.
  5. Self-Training with Novel Losses: The model is fine-tuned using a combination of three losses:
  6. Standard Detection Loss ($L_{head}$): Learning from the generated pseudo-labels.
  7. Instance-Matching Loss ($L_{im}$): A contrastive triplet loss that encourages the model to produce similar feature representations for the same object across different views.
  8. Soft Distillation Loss ($L_{distill}$): This loss utilizes the average of the original noisy predictions as "soft" targets, preserving the model's initial uncertainty and nuanced information.

Experimental Setup

The initial model is pre-trained on the COCO dataset. For self-improvement, the agent explores photorealistic environments from the Gibson dataset within the Habitat simulator. Evaluation is conducted on 1,000 observations from unseen test scenes, using ground-truth annotations provided by the Habitat-based benchmark.

Results and Discussion

The proposed method demonstrates significant improvements over off-the-shelf models and existing self-supervised baselines.

Comparison of the proposed method against baselines across different exploration policies.

As shown in the results, the framework improved the base Mask R-CNN performance by 2.66% mAP@50 without any human-provided labels. It consistently outperformed SEAL, the previous state-of-the-art method for self-supervised embodied object detection.

A key insight is that the robot's movement acts as a natural form of data augmentation, providing realistic variations in lighting, perspective, and scale. Furthermore, the choice of exploration policy impacts learning; Frontier exploration (moving toward unexplored areas) yielded the best results (43.09 mAP) by providing a diverse set of viewpoints for the consensus mechanism.

Conclusion

This work highlights 3D geometry as a powerful natural supervisor for perception. By reconciling disagreements through a 3D voxel map, robots can autonomously adapt to new environments. Future work may address the limitations of the current static-world assumption and explore active learning policies where the robot specifically seeks out ambiguous objects to maximize its learning efficiency.

Summary updated

BibTeX
@misc{scarpellini2023self,
  author = {Gianluca Scarpellini and Stefano Rosa and Pietro Morerio and Lorenzo Natale and Alessio Del Bue},
  title = {{Self-improving object detection via disagreement reconciliation}},
  year = {2023},
  eprint = {2302.10624},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.10624},
}
Figure