Introduction
In the field of computer vision, standard classification models often operate under a "flat" assumption, where every class is treated as an independent leaf node. However, real-world data is rarely distributed uniformly. Most datasets exhibit a "long-tailed" distribution, where a few "head" classes have abundant samples, while a vast majority of "tail" classes suffer from extreme data scarcity. When faced with a rare tail-class instance, traditional models are forced to make a specific, often incorrect, fine-grained prediction.
The Deep Realistic Taxonomic Classifier (Deep-RTC) framework proposes a more human-like approach: when uncertainty is high, the model should provide a confident, coarser prediction (e.g., "Dog") rather than a risky, likely incorrect fine-grained one (e.g., "Mexican Hairless Dog").
The Challenge of Long-Tailed Recognition
Standard deep learning models struggle with the "whack-a-mole" optimization problem in long-tailed scenarios. Efforts to improve accuracy on rare tail classes often lead to a significant drop in performance for common head classes. This is because the model lacks the "realistic" self-awareness to recognize when it has insufficient information to be specific.
Humans naturally navigate this by using taxonomic hierarchies. If you see an unfamiliar bird, you might not know the species, but you can confidently identify it as a "bird" or a "raptor." Deep-RTC formalizes this intuition by integrating hierarchical classification with a robust rejection mechanism.
The Deep-RTC Framework
Deep-RTC introduces several technical innovations to enable this hierarchical flexibility:
- Stochastic Tree Sampling (STS): During training, the model does not solely focus on leaf-node prediction. Instead, it employs STS to randomly "cut" the taxonomic tree at various levels. This forces the model to learn calibrated predictions for all possible sub-trees, ensuring it remains reliable at every level of the hierarchy.
- Parameter Inheritance (PI): To manage the complexity of predicting at multiple levels without a massive parameter overhead, Deep-RTC uses Parameter Inheritance. A specific node's classifier weights are synthesized by summing its own parameters with those of all its ancestors. This allows data-poor tail classes to "inherit" foundational knowledge from their data-rich parent nodes.
- Dynamic Rejection Mechanism: At inference time, the model evaluates its competence against a threshold ($\gamma$). If the confidence for a fine-grained classification falls below this threshold, the model "rejects" the specific label and exits at a coarser, more certain parent node.
- Correctly Predicted Bits (CPB): To better evaluate this trade-off, the authors introduce the CPB metric. Unlike standard accuracy, CPB rewards the model based on the amount of information recovered. A correct leaf prediction yields 1 bit, while a correct intermediate prediction yields a fraction of a bit proportional to its depth. Incorrect predictions yield 0 bits.
Evaluation and Results
The model was rigorously tested on four major long-tailed benchmarks: CIFAR100-LT, AWA2-LT, ImageNet-LT, and the naturally long-tailed iNaturalist (2018) dataset.
- Information Recovery: On ImageNet-LT, Deep-RTC achieved a CPB of 0.53, significantly outperforming standard Softmax (0.35) and other state-of-the-art methods like cRT (0.42).
- Hierarchical Reliability: On the challenging iNaturalist dataset, Deep-RTC improved the CPB from 0.66 (flat classifier) to 0.78. For tail classes where flat classifiers often fail completely, Deep-RTC provided correct, coarser labels approximately 90% of the time.
- Balanced Performance: Unlike many long-tail solutions, Deep-RTC avoids degrading "head" class performance while significantly aiding the "tail" through its graceful degradation to coarser labels.
Conclusion
Deep-RTC represents a shift in how we approach long-tailed recognition, moving from "always be specific" to "be as specific as possible while remaining correct." By leveraging taxonomic hierarchies and a well-calibrated rejection mechanism, the framework provides a more realistic and useful AI behavior for real-world applications. While it currently depends on predefined taxonomies, future work may involve learning these hierarchies directly from data to broaden its applicability.
Summary updated