Making Every Label Count: Handling Semantic Imprecision by Integrating Domain Knowledge

Clemens-Alexander Brust, Björn Barz, Joachim Denzler

Abstract

Traditional machine learning models often struggle with "semantic imprecision"—labels that are accurate but insufficiently specific, such as labeling a "Snow Bunting" simply as a "bird." This paper introduces CHILLAX (Class Hierarchies for Imprecise Label Learning and Annotation eXtrapolation), a framework designed to leverage domain knowledge encoded in class hierarchies. By utilizing hierarchical sigmoids and a novel loss masking strategy, CHILLAX allows models to learn effectively from vague labels without making false assumptions about sub-categories. Experimental results on datasets like NABirds and ImageNet demonstrate that CHILLAX significantly outperforms standard classifiers in scenarios with high label imprecision.

Introduction: The Challenge of Semantic Imprecision

In computer vision, obtaining high-quality, fine-grained labels is often prohibitively expensive. Researchers frequently rely on web-crawled data or non-expert volunteers, leading to a mix of precise and vague labels. Standard softmax-based classifiers assume classes are mutually exclusive. Consequently, if an image is labeled as a "bird" and "bird" is treated as a distinct category from "sparrow," the model incorrectly learns that the image cannot be a sparrow. This phenomenon, known as semantic imprecision, results in the loss of valuable training information.

Overview of the CHILLAX framework: converting imprecise training labels into precise predictions using class hierarchies.

Methodology: The CHILLAX Framework

The authors propose CHILLAX to bridge the gap between vague training data and the need for precise inference. The method consists of three primary components:

1. Hierarchical Sigmoids

Instead of a single softmax layer, CHILLAX employs a sigmoid output for every node within a predefined class hierarchy (e.g., Animal → Bird → Sparrow). Each node independently predicts the probability of its specific label being present in the image.

2. Modified Loss Masking

The core innovation of CHILLAX is the modified loss mask ($m'$). In traditional hierarchical training, a label like "Bird" might implicitly penalize the model for not predicting "Sparrow," treating the absence of the specific label as a negative signal. CHILLAX's loss mask instructs the model to update weights only for the "Bird" node and its ancestors. It explicitly ignores child nodes (like "Sparrow" or "Robin") because their truth value is unknown, preventing the injection of false negative signals.

3. Precise Inference

Despite learning from imprecise labels, the model is constrained to provide precise predictions at the leaf level (the most specific categories) during the inference phase, ensuring its utility for real-world applications.

Experimental Evaluation

The effectiveness of CHILLAX was tested on several benchmarks, including NABirds (fine-grained bird classification) and ILSVRC2012 (ImageNet). To simulate real-world conditions, the authors synthetically degraded these datasets based on statistical patterns observed in 1.5 million Flickr images, where human imprecision often follows Geometric or Poisson distributions.

Key Results

CHILLAX demonstrated superior robustness as label imprecision increased:

  • NABirds Performance: In high-noise scenarios simulating volunteer-level labeling, CHILLAX achieved 42.9% accuracy, compared to only 26.5% for a "leaves-only" baseline that discards imprecise data.
  • Comparison with State-of-the-Art: CHILLAX outperformed the previous leading hierarchical method, HEX, by up to 3.9 percentage points on ImageNet variants.
  • Semantic Error Reduction: By understanding the hierarchy, CHILLAX's errors are often semantically related to the truth (e.g., confusing two similar species) rather than being completely unrelated.

Discussion and Limitations

While CHILLAX excels in handling imprecision, it faces certain trade-offs. When training data is perfectly precise, the method performs slightly worse (~1.4%) than standard softmax classifiers, likely due to the rigidity of hierarchical constraints. Furthermore, while robust to imprecision (vague labels), the model remains sensitive to inaccuracy (wrong labels). Future research may explore more extreme cases of imprecision where a vast majority of data is labeled only at the root level.

Conclusion

CHILLAX provides a robust framework for integrating domain knowledge into the training process, turning "vague but true" labels into a valuable resource. By acknowledging what the model does not know through intelligent loss masking, it achieves significant gains in accuracy and semantic consistency for fine-grained classification tasks.

Summary updated

BibTeX
@inproceedings{brust2020making,
  author = {Clemens-Alexander Brust and Björn Barz and Joachim Denzler},
  title = {{Making Every Label Count: Handling Semantic Imprecision by Integrating Domain Knowledge}},
  booktitle = {ICPR},
  year = {2020},
  url = {https://openreview.net/forum?id=kNNMAAgTaj9},
}
Figure