Beyond One-Hot-Encoding: Injecting Semantics to Drive Image Classifiers
Not on the map. Why?
Abstract (arXiv)
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. Code repository: https://github.com/S1M0N38/semantic-encodings
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 16 of its 41 references that are in the map. First posted on arXiv 1 Aug 2023.
Builds on
16 of 41 references.
References · 16
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
- 2017Squeeze-and-Excitation Networkscited by 4,789
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,371
- 2017Learning Important Features Through Propagating Activation Differencescited by 1,458
- 2016YOLO9000: Better, Faster, Strongercited by 1,431
- 2018RISE: Randomized Input Sampling for Explanation of Black-box Modelscited by 838
- 2014Evaluation of Output Embeddings for Fine-Grained Image Classificationcited by 166
- 2021Explainable artificial intelligence (XAI) in deep learning-based medical image analysiscited by 147
- 2016Latent Embeddings for Zero-shot Classificationcited by 129
4 more
- 2019Making Better Mistakes: Leveraging Class Hierarchies with Deep Networkscited by 113
- 2018Hierarchy-based Image Embeddings for Semantic Image Retrievalcited by 41
- 2022Learning Hierarchy Aware Features for Reducing Mistake Severitycited by 26
- 2017Improving Interpretability of Deep Neural Networks with Semantic Informationcited by 15
Built on by
Citing papers per year: 2024: 1.
1 paper.