Abstract
This paper introduces Index-Aligned Query Distillation (IAQD), a novel method to prevent "catastrophic forgetting" in transformer-based object detectors (like DETR) when learning new categories over time. By replacing unstable bipartite matching with fixed index-based query alignment and selecting only the most relevant "proxy queries" for distillation, the authors achieve new state-of-the-art performance on incremental detection benchmarks.
The Challenge of Catastrophic Forgetting in DETR
Modern object detectors like DETR utilize learnable "object queries" to identify features within an image. When adapting these models to new categories (Incremental Object Detection), researchers typically employ Knowledge Distillation (KD) to preserve old knowledge. However, a significant hurdle exists: the standard Hungarian Matching algorithm used to pair queries between the teacher (old model) and student (new model) is highly unstable.
As shown in Figure 2(a), a single query in the current phase may be matched to various different queries from the previous phase across different training iterations. This shifting "teacher" assignment forces queries to constantly reshape their internal representations, leading to "catastrophic forgetting." A visual consequence is shown in Figure 2(b), where a model forgets the "bench" category and misidentifies it as a "skateboard" after learning new classes.
Index-Aligned Query Distillation (IAQD)
The authors propose the IAQD framework to address these issues by moving away from dynamic matching in favor of structural stability.
The method consists of three main pillars:
- Index-Aligned Distillation: Instead of bipartite matching, queries are paired based on their fixed indices. This leverages the observation that queries in DETR-like models naturally specialize in specific spatial or semantic regions, providing a stable "anchor" for knowledge transfer.
- Proxy Query Selection: Distillation is restricted to "proxy queries"—those for which the old model exhibits high confidence. This prevents the distillation process from interfering with the model's ability to learn new categories in other query slots.
- Label Realignment: During exemplar replay, the model uses pseudo-labels generated by the current-phase model to account for new objects in old images that were not originally annotated, ensuring consistent supervision.
Experimental Results
The IAQD method was rigorously tested on COCO 2017 and PASCAL VOC datasets, consistently outperforming existing state-of-the-art (SOTA) methods.
- State-of-the-Art Performance: On the COCO 70+10 benchmark, IAQD achieved 43.2% AP, a significant 2.3% improvement over the previous best method (SDDGR).
- Robustness in Multi-phase Learning: In a challenging 40 + 10×4 incremental setup, IAQD outperformed SDDGR by 3.7% AP, demonstrating its effectiveness over long-term learning sequences.
- Reduced Forgetting: Quantitative analysis in Figure 2(c) confirms that IAQD significantly reduces both semantic and spatial knowledge forgetting compared to standard incremental baselines, maintaining higher AP in old categories.
Conclusion
IAQD demonstrates that stability in query alignment is crucial for incremental learning in transformer-based detectors. By treating object queries as consistent entities rather than interchangeable slots, IAQD effectively balances the stability-plasticity trade-off. While specifically designed for transformer architectures, the success of index-alignment suggests a promising direction for future research in other incremental vision tasks.
Summary updated