Hierarchical Neural Collapse Detection Transformer for Class Incremental Object Detection

Duc Thanh Pham, Hong Dang Nguyen, Nhat Minh Nguyen Quoc, Linh Ngo Van, Sang Dinh Viet, Duc Anh NguyenarXiv 2025 · DOI

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.

Architecture of Hier-DETR featuring the Hierarchical Neural Collapse (HNC) construction.

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

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
COCO · 2017Hier-DETR (table label: Ours)AP48.4%split: val2017
Source quote
L212: 48.4 │ 65.9 │ 52.9 │ 31.2 │ 51.3 │ 70.3
COCO · 2017SDDGRAP40.9%split: val2017
Source quote
L210: SDDGR │ 40.9 │ 59.5 │ 44.8 │ 23.9 │ 44.7 │ 54.0 │ 43.0 │ 62.1 │ 47.1 │ 24.9 │ 46.9 │ 57.0
MTSDHier-DETR (table label: Ours)AP45.46%split: val
Source quote
L236: 45.46 │ 59.1 │ 50.8 │ 19.4 │ 44.3 │ 74.3
MTSDSDDGRAP37.4%split: val
Source quote
L231: 37.4 │ 56.4 │ 40.6 │ 21.8 │ 38.7 │ 59.1
BibTeX
@misc{pham2025hierarchical,
  author = {Duc Thanh Pham and Hong Dang Nguyen and Nhat Minh Nguyen Quoc and Linh Ngo Van and Sang Dinh Viet and Duc Anh Nguyen},
  title = {{Hierarchical Neural Collapse Detection Transformer for Class Incremental Object Detection}},
  year = {2025},
  eprint = {2506.08562},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.08562},
}
Figure