Abstract
Real-world object detection datasets are characterized by heavy class imbalance, where a few "head" categories dominate the training samples while many "tail" categories are rarely seen. This distribution causes standard detectors to become biased toward common classes. This paper presents a novel step-wise learning framework designed to mitigate this bias without the catastrophic forgetting typical of incremental learning approaches. By utilizing a three-stage training pipeline—pre-training, head-expert fine-tuning, and knowledge transfer via "smooth-tail" data subsets—the proposed method achieves state-of-the-art performance on the LVIS benchmark, particularly for rare categories.
Introduction
While deep learning object detectors have achieved remarkable success on balanced datasets like COCO, their performance often degrades in real-world scenarios where data follows a long-tailed distribution. In such cases, models naturally favor head classes (e.g., "car," "person") at the expense of tail classes (e.g., specific rare tools or species). Traditional solutions, such as data re-sampling or loss re-weighting, often struggle to find a balance between learning new rare concepts and maintaining performance on common ones.
Recent research has explored class-incremental learning—dividing the dataset into smaller, balanced chunks—to address this. However, these "divide and conquer" strategies frequently suffer from catastrophic forgetting: as the model learns rare tail classes, it rapidly loses the ability to detect head classes because the data splits are too rigid. This paper introduces a framework that leverages incremental learning while maintaining stability across the entire class distribution.
Methodology
The proposed framework is built upon the Deformable DETR architecture and follows a three-step learning process:
1. Global Pre-training
The model is initially trained on the entire long-tailed dataset. This phase ensures that the model learns a robust, discriminative feature representation for all categories, providing a foundational backbone for subsequent refinement.
2. Smooth-tail Data Construction
To avoid the pitfalls of rigid data splits, the authors introduce "smooth-tail" data. Instead of mutually exclusive sets, they create two overlapping subsets using high-confidence examples from the pre-trained model:
- $D_{head}$ (Head-dominant): A balanced subset primarily composed of head classes, supplemented by a small, balanced selection of tail classes.
- $D_{tail}$ (Tail-dominant): A balanced subset primarily composed of tail classes, supplemented by a small, balanced selection of head classes.
3. Step-wise Fine-tuning and Knowledge Transfer
The final stage involves two distinct training operations:
- The Head Expert: The core feature-extracting backbone is frozen, and only the classification heads are trained on $D_{head}$. This creates a specialized "head class expert."
- The Unified Model: A final model is trained on $D_{tail}$. To prevent the loss of head-class knowledge, the frozen Head Expert acts as a teacher through Knowledge Distillation.
A critical innovation here is the head-class focused mask. During distillation, the teacher model only enforces its knowledge on image regions containing head classes. This allows the student model to adapt to tail classes independently without conflicting signals from the teacher on rare categories.
Experimental Results
The method was evaluated on the LVIS v0.5 and v1.0 benchmarks, which categorize objects into frequent, common, and rare groups.
Performance on LVIS v0.5
Using a ResNet-50 backbone, the framework improved the overall Average Precision (AP) from a 27.0% baseline to 30.3%. The most significant gain was observed in rare categories ($AP_r$), which rose from 15.5% to 24.9%—a 9.4% absolute improvement. Scaling to a ResNet-101 backbone further increased the overall AP to 30.7%.
Performance on LVIS v1.0
On the larger LVIS v1.0 dataset, the model improved overall AP from 25.1% to 28.7%. Notably, the accuracy for rare categories nearly doubled, moving from 11.9% to 21.8%.
Discussion and Insights
The success of this approach stems from two key strategies. First, the use of "smooth-tail" data ensures that decision boundaries do not shift violently between training phases, as the model is never entirely deprived of either head or tail samples. Second, by freezing the backbone during fine-tuning, the model preserves the rich, general feature representations learned during pre-training.
One observed limitation is a minor performance trade-off: the final unified model shows a slight decrease in head-class accuracy compared to the intermediate "head expert" stage (e.g., a drop from 31.6% to 30.9% AP on frequent classes). This is likely due to the intentional under-representation of head classes in the tail-dominant replay data. Future research may explore adaptive distillation weights to further minimize this degradation.
Conclusion
By combining step-wise learning with masked knowledge distillation and smooth data transitions, this framework effectively addresses the long-tail challenge in object detection. It provides a significant boost to rare category recognition while successfully mitigating the catastrophic forgetting that has hindered previous incremental learning attempts.
Summary updated