Abstract
Class Incremental Object Detection (CIOD) is a critical challenge in computer vision, where models must learn new object categories without forgetting previously acquired knowledge. Transformer-based detectors, while powerful, often struggle in incremental settings due to slow convergence and the instability of the bipartite matching process. This paper introduces Hier-DETR, a novel framework that leverages Hierarchical Neural Collapse (HNC) to stabilize learning. By organizing class prototypes into a geometrically optimized semantic tree and guiding transformer queries toward these fixed structures, Hier-DETR achieves significant performance gains—up to +8 AP over previous state-of-the-art methods—while maintaining real-time efficiency.
Introduction
In dynamic real-world environments, object detection models must adapt to new classes over time. However, standard fine-tuning on new data typically leads to "catastrophic forgetting," where the model's performance on original classes degrades sharply. While techniques like Knowledge Distillation (KD) and Exemplar Replay (ER) have been developed to mitigate this, they are often less effective for Transformer-based detectors like DETR. These models face unique hurdles: the "Hungarian Matching" algorithm used for label assignment can be erratic during incremental training, preventing the formation of stable internal representations.
Proposed Method: Hier-DETR
Hier-DETR is built upon the real-time RT-DETR architecture, enhanced by a novel Hierarchical Neural Collapse (HNC) construction. The core idea is to anchor the model's feature space using fixed geometric targets.
Hierarchical Neural Collapse (HNC)
Neural Collapse (NC) is a phenomenon observed at the end of training where class features collapse into their means, which then arrange themselves in a symmetrical Simplex Equiangular Tight Frame. To account for real-world class imbalance, Hier-DETR utilizes General Orthogonal Frames (GOF), which adjust the lengths of these class vectors based on data distribution.
Instead of a flat classification layer, Hier-DETR organizes these GOF prototypes into a semantic hierarchy. Super-classes (e.g., "Vehicles") serve as parent nodes, while sub-classes (e.g., "Car," "Truck") are children. This structure allows the model to learn broad categories before refining its predictions into specific classes.
Proxy-NCA Guidance
The model is trained using a Proxy-NCA loss that pulls internal queries toward their assigned class prototypes. This guidance is applied hierarchically across multiple decoder layers: early layers guide queries toward coarse-grained super-classes, while subsequent layers refine them toward fine-grained sub-classes. This progressive refinement acts as a powerful regularizer, ensuring that the model maintains a stable understanding of the overall class hierarchy even as new specific classes are added.
Experimental Results
The researchers evaluated Hier-DETR on two major benchmarks, demonstrating its superiority in incremental learning scenarios:
- MS COCO 2017: In the "70+10" incremental setting, Hier-DETR achieved 48.4 AP, representing a massive +7.5 AP improvement over the previous state-of-the-art method (SDDGR).
- MTSD (Mapillary Traffic Sign Dataset): On this complex dataset with 400 classes, Hier-DETR reached 45.46 AP in the "150+71" setting, outperforming the previous best by +8.06 AP.
Key Insights
- Stability through Geometry: By providing fixed geometric targets (HNC prototypes), the model stabilizes the Hungarian Matching process, leading to faster and more consistent convergence.
- Hierarchy as a Regularizer: Forcing the model to recognize super-classes before sub-classes prevents the distortion of the feature space during incremental steps, effectively preserving old knowledge.
- Efficiency: Unlike methods requiring complex generative replay, Hier-DETR remains computationally efficient and suitable for real-time applications.
Conclusion and Future Work
Hier-DETR demonstrates that geometric and semantic anchoring can significantly overcome the limitations of incremental learning in transformers. While the current use of static prototypes provides excellent stability, future work will explore dynamic adjustments to these prototypes to further enhance convergence speed in the final stages of training.
Summary updated