Introduction
In deep learning classification tasks, the standard approach typically employs cross-entropy loss, which treats all incorrect labels as equally erroneous. This "winner-takes-all" paradigm ignores the inherent semantic relationships between classes—for instance, a model confusing a "cat" with a "dog" is arguably making a more logical error than confusing a "cat" with a "toaster." The paper "Learning with Hierarchical Complement Objective" addresses this by introducing Hierarchical Complement Objective Training (HCOT), a method designed to incorporate label hierarchies into the training process without requiring complex architectural changes.
Methodology
HCOT builds upon Complement Objective Training (COT), which aims to neutralize the predicted probabilities of incorrect classes. HCOT extends this by applying neutralization in a hierarchical manner through a new loss term: Hierarchical Complement Entropy (HCE).
The training objective consists of three components:
- Primary Objective: Standard cross-entropy to maximize the ground-truth class probability.
- Inner Hierarchy Regulation: Neutralizing the probabilities of "sibling" classes within the same parent category.
- Outer Hierarchy Regulation: Penalizing classes in entirely different branches of the hierarchy.
This structured approach results in a characteristic "staircase" distribution of predicted probabilities, where the ground truth is highest, followed by related sibling classes, while unrelated classes are suppressed toward zero.
Experimental Results
The researchers evaluated HCOT on CIFAR-100, ImageNet-2012, and PASCAL-Context. The method consistently outperformed standard cross-entropy and basic COT across various architectures like ResNet and WideResNet. For example, on CIFAR-100 with a ResNet-110, HCOT reduced the error rate from 27.93% to 26.46%.
Beyond accuracy metrics, HCOT improves the quality of learned representations. t-SNE visualizations of the embedding space demonstrate that HCOT produces tighter and more distinct clusters, indicating that the model learns more meaningful semantic boundaries.
In semantic segmentation tasks (PASCAL-Context), HCOT successfully utilized "latent" hierarchies—grouping related themes like "scenery" or "portrait"—to produce cleaner segmentations with fewer noisy misclassifications.
Conclusion
HCOT demonstrates that significant performance gains can be achieved by refining the training objective to respect the natural hierarchy of data. By penalizing "obviously wrong" mistakes more heavily than "near misses," HCOT encourages models to learn more robust and logically consistent representations. Future work may explore automated hierarchy discovery to extend this method to datasets without explicit label structures.
Summary updated