Beyond One-Hot-Encoding: Injecting Semantics to Drive Image Classifiers

0Citations
Citations of this article
3Readers
Mendeley users who have this article in their library.
Get full text

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 embeddings, and discuss how the resulting information can drive a supervised learning process. Second, we use our semantically enriched loss to train image classifiers, and analyse the trade-offs between accuracy, mistake severity, and learned internal representations. Finally, we discuss how this approach can be further exploited in terms of explainability and adversarial robustness.

Cite

CITATION STYLE

APA

Perotti, A., Bertolotto, S., Pastor, E., & Panisson, A. (2023). Beyond One-Hot-Encoding: Injecting Semantics to Drive Image Classifiers. In Communications in Computer and Information Science (Vol. 1902 CCIS, pp. 525–548). Springer Science and Business Media Deutschland GmbH. https://doi.org/10.1007/978-3-031-44067-0_27

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free