Skip to main content
QUICK REVIEW

[Paper Review] Continual Detection Transformer for Incremental Object Detection

Yaoyao Liu, Bernt Schiele|arXiv (Cornell University)|Apr 6, 2023
Advanced Neural Network ApplicationsComputer Science5 citations
TL;DR

This paper proposes CL-DETR, a novel method for incremental object detection in transformer-based models that overcomes catastrophic forgetting by introducing Detector Knowledge Distillation (DKD) and a calibrated exemplar replay strategy. DKD selectively distills only the most confident foreground predictions from the old model, avoiding noisy background detections, while the calibrated ER preserves the true class distribution of training data. CL-DETR achieves state-of-the-art performance on COCO 2017, improving average precision by 4.2 percentage points over direct KD and ER application.

ABSTRACT

Incremental object detection (IOD) aims to train an object detector in phases, each with annotations for new object categories. As other incremental settings, IOD is subject to catastrophic forgetting, which is often addressed by techniques such as knowledge distillation (KD) and exemplar replay (ER). However, KD and ER do not work well if applied directly to state-of-the-art transformer-based object detectors such as Deformable DETR and UP-DETR. In this paper, we solve these issues by proposing a ContinuaL DEtection TRansformer (CL-DETR), a new method for transformer-based IOD which enables effective usage of KD and ER in this context. First, we introduce a Detector Knowledge Distillation (DKD) loss, focusing on the most informative and reliable predictions from old versions of the model, ignoring redundant background predictions, and ensuring compatibility with the available ground-truth labels. We also improve ER by proposing a calibration strategy to preserve the label distribution of the training set, therefore better matching training and testing statistics. We conduct extensive experiments on COCO 2017 and demonstrate that CL-DETR achieves state-of-the-art results in the IOD setting.

Motivation & Objective

  • To address catastrophic forgetting in incremental object detection (IOD) when using state-of-the-art transformer-based detectors like Deformable DETR and UP-DETR.
  • To overcome the failure of standard knowledge distillation (KD) and exemplar replay (ER) in transformer detectors due to unbalanced predictions and skewed class distributions.
  • To propose a new IOD benchmark protocol that avoids image repetition across phases, ensuring compatibility with standard incremental learning definitions.
  • To improve KD by focusing only on informative, high-confidence foreground predictions from the old model, reducing conflict with new ground-truth labels.
  • To calibrate exemplar replay so that the distribution of stored images matches the true training set distribution, improving generalization and reducing forgetting.

Proposed method

  • Introduces Detector Knowledge Distillation (DKD), which selects the top-K most confident non-background predictions from the old model and merges them with new ground-truth labels for joint bipartite matching during training.
  • Applies standard object detection training with a joint label set that combines old model predictions and new ground-truth annotations, ensuring consistency and reducing conflict.
  • Implements a calibration strategy for exemplar replay that selects training images to match the original class distribution, avoiding the imbalance caused by uniform sampling across categories.
  • Uses a two-stage training protocol per phase: a main training step followed by a smaller calibration step to refine model predictions and reduce forgetting.
  • Revises the IOD benchmark protocol to prevent the same image from being used in multiple training phases, ensuring no data leakage and better alignment with incremental learning principles.
  • Employs a pseudo-label selection mechanism that prioritizes high-confidence, non-overlapping detections from the old model to generate reliable distillation targets.

Experimental results

Research questions

  • RQ1Why do standard knowledge distillation and exemplar replay fail when directly applied to transformer-based object detectors like Deformable DETR?
  • RQ2How can knowledge distillation be restructured to avoid conflict between old model predictions and new ground-truth labels in incremental object detection?
  • RQ3What is the impact of class distribution mismatch in exemplar replay on model performance and forgetting in IOD?
  • RQ4Can a revised IOD benchmark protocol that avoids image repetition improve the validity and reproducibility of incremental learning experiments?
  • RQ5How robust is the proposed method to hyperparameter choices such as the number of top-k predictions used in DKD?

Key findings

  • CL-DETR improves average precision (AP) by 4.2 percentage points over direct application of KD and ER on Deformable DETR in the COCO 2017 70+10 IOD setting.
  • The calibrated exemplar replay strategy reduces forgetting by 2.1 percentage points compared to conventional ER, improving performance on old categories by 2.1 points.
  • Using top-10 most confident non-background predictions in DKD yields the best performance, with only a 0.4 percentage point difference across different K values, indicating robustness.
  • The DKD loss effectively suppresses noisy background predictions, reducing conflicts between distilled knowledge and new training signals.
  • Visualizations confirm that CL-DETR generates accurate pseudo-labels that align well with ground-truth boxes, especially in images with fewer objects.
  • The revised IOD protocol prevents image repetition across phases, making the benchmark more realistic and compatible with standard incremental learning assumptions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.