NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning with Hierarchical Complement Objective

Hao-Yun Chen, Li-Huang Tsai, Shih-Chieh Chang, Jia-Yu Pan, Yu-Ting Chen, Wei Wei, Da-Cheng JuanarXiv 2019

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:

  1. Primary Objective: Standard cross-entropy to maximize the ground-truth class probability.
  2. Inner Hierarchy Regulation: Neutralizing the probabilities of "sibling" classes within the same parent category.
  3. 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.

The "staircase" effect in predicted probabilities for HCOT.

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.

t-SNE visualization of embeddings trained with HCOT.

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

BibTeX
@misc{chen2019learning,
  author = {Hao-Yun Chen and Li-Huang Tsai and Shih-Chieh Chang and Jia-Yu Pan and Yu-Ting Chen and Wei Wei and Da-Cheng Juan},
  title = {{Learning with Hierarchical Complement Objective}},
  year = {2019},
  eprint = {1911.07257},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.07257},
}
Figure