Beyond One-Hot-Encoding: Injecting Semantics to Drive Image Classifiers
Alan Perotti, Simone Bertolotto, Eliana Pastor, Andr\'e Panisson

TL;DR
This paper proposes a method to incorporate semantic and ontological information into image classifier training, moving beyond traditional one-hot labels to improve interpretability, robustness, and accuracy by using enriched loss functions.
Contribution
It introduces a generic approach to integrate semantic knowledge into loss functions for image classification, enhancing model interpretability and robustness.
Findings
Semantic-enriched loss improves interpretability.
Trade-offs between accuracy and mistake severity are analyzed.
Method enhances robustness against adversarial attacks.
Abstract
Images are loaded with semantic information that pertains to real-world ontologies: dog breeds share mammalian similarities, food pictures are often depicted in domestic environments, and so on. However, when training machine learning models for image classification, the relative similarities amongst object classes are commonly paired with one-hot-encoded labels. According to this logic, if an image is labelled as 'spoon', then 'tea-spoon' and 'shark' are equally wrong in terms of training loss. To overcome this limitation, we explore the integration of additional goals that reflect ontological and semantic knowledge, improving model interpretability and trustworthiness. We suggest a generic approach that allows to derive an additional loss term starting from any kind of semantic information about the classification label. First, we show how to apply our approach to ontologies and word…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCOVID-19 diagnosis using AI · Explainable Artificial Intelligence (XAI) · Artificial Intelligence in Healthcare and Education
