Unseen Object Instance Segmentation with Fully Test-time RGB-D Embeddings Adaptation

Lu Zhang, Siqi Zhang, Xu Yang, Hong Qiao, Zhiyong LiuICRA 2022 · DOI

TL;DR

Robots need to identify objects they haven't seen before in new environments. This paper introduces a novel "Fully Test-time RGB-D Embeddings Adaptation" (FTEA) framework that adapts a pre-trained model on-the-fly using only test images. FTEA significantly improves unseen object instance segmentation by leveraging a non-parametric entropy objective and cross-modality knowledge distillation, achieving state-of-the-art results without requiring retraining or additional data.

What Problem Does This Paper Address?

Robots operating in real-world, unstructured environments frequently encounter objects they weren't trained on. This is known as the "unseen object instance segmentation" (UOIS) problem. A common approach is to train models on large datasets of synthetic RGB-D (color and depth) data, which are easier to generate with perfect labels. However, directly applying these models to real-world data suffers from a "sim2real gap" – differences in appearance, lighting, and sensor noise between synthetic and real data degrade performance. Existing methods often struggle to bridge this gap effectively, especially in open-world scenarios where the number of object classes is unknown. This paper tackles the challenge of adapting a simulation-trained UOIS model to unseen real-world data during inference (test-time), without needing any new labeled data.

Methods

The core of FTEA is its test-time adaptation strategy, which focuses on modifying the parameters of Batch Normalization (BN) layers within a pre-trained two-stream CNN architecture (one stream for RGB, one for depth). The adaptation happens in two stages:

  1. Non-parametric Entropy Objective (NEO): To handle the open-world nature of UOIS (where the number of object classes is unknown), FTEA uses unsupervised clustering (specifically, mean shift with von Mises-Fisher distribution) to group pixels into potential instances and derive cluster centroids. It then calculates non-parametric probabilities of a pixel belonging to a cluster based on its feature similarity to these centroids. This probability distribution is used to compute Shannon entropy, which serves as a learning objective. Minimizing this entropy encourages more confident and less shifted predictions.
  2. Cross-Modality Knowledge Distillation (CKD): This module encourages knowledge transfer between the RGB and depth streams. The fused RGB-D features (from the "teacher" network) are used to guide the adaptation of the individual RGB and depth "student" features. This is achieved by distilling the soft targets (probabilities) from the multimodal teacher to the unimodal students, using Kullback-Leibler divergence as the loss. This helps to enhance the unimodal features by leveraging the richer information from their counterpart.

The adaptation process involves freezing all convolutional layers and only updating the affine parameters (scaling and shifting) and normalization statistics of the BN layers by minimizing a combined loss function ($L_{total} = \lambda_1 L_{neo} + \lambda_2 L_{ckd}$). This approach is efficient, requiring only a few hundred iterations on test images.

Datasets

  • Training: The model is pre-trained on the synthetic Tabletop Object Dataset (TOD), which contains 40,000 synthetic scenes.
  • Evaluation: The proposed method is evaluated on two real-world RGB-D datasets:
  • OSD (Object Segmentation Dataset): Contains 111 images with manually labeled segmentation masks.
  • OCID (Object Clutter Instance Dataset): Contains 2,346 images with semi-automatically generated labels.

Key Insights and Ideas

  • BN Layers as Adaptation Levers: The paper highlights that BN layers, often overlooked for adaptation, are surprisingly effective. Their affine parameters and statistics can be modulated to adapt to domain shifts without introducing new trainable parameters.
  • Open-World Entropy for UOIS: Traditional entropy-based adaptation relies on explicit classification outputs. FTEA's novel non-parametric entropy objective cleverly bypasses this by using unsupervised clustering and feature similarity, making it suitable for UOIS where class labels are unknown.
  • Multimodal Distillation for Robustness: CKD is crucial for leveraging the complementary strengths of RGB and depth. By distilling from the fused representation to individual modalities, the model becomes more robust to noise and artifacts present in real-world depth data.
  • Efficiency is Key: The adaptation happens entirely at test-time, requiring no retraining on the source dataset and minimal computational overhead per frame, making it practical for real-time robotic applications.

Key Results

  • State-of-the-Art Performance: FTEA consistently outperforms existing state-of-the-art methods on both OSD and OCID datasets across various metrics, including Overlap F-measure, Boundary F-measure, and [email protected]. For instance, FTEA+ achieved 89.5 Overlap F-measure on OSD and 92.3 on OCID.
  • Significant Improvements: Compared to the baseline UCN, FTEA improved Overlap F-measure by up to 2.4 and Boundary F-measure by up to 4.6 on OSD.
  • Efficiency: The adaptation process is very fast, averaging only 0.04 seconds per frame for 500 iterations, compared to 1.24 seconds for inference alone.
  • Qualitative Improvements: Visual results show FTEA effectively mitigates under-segmentation issues between close objects and reduces boundary artifacts caused by noisy depth data.

Limitations and Future Work

  • Adaptation Modalities: While tuning both RGB and depth modalities yields the best results, the paper notes that tuning individual modalities also provides improvements. The authors suggest that further enhancements might be possible by considering other effective parameters beyond BN layers.
  • Future Directions: The authors hope their work will draw attention to test-time adaptation for robotics and suggest it opens a promising direction for robot perception in unseen environments. The paper implies that exploring more sophisticated adaptation strategies beyond BN layers could further improve performance.

Summary updated

BibTeX
@misc{zhang2022unseen,
  author = {Lu Zhang and Siqi Zhang and Xu Yang and Hong Qiao and Zhiyong Liu},
  title = {{Unseen Object Instance Segmentation with Fully Test-time RGB-D Embeddings Adaptation}},
  year = {2022},
  eprint = {2204.09847},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.09847},
}
Figure