SimLoss: Class Similarities in Cross Entropy
Not on the map. Why?
Abstract (arXiv)
One common loss function in neural network classification tasks is Categorical Cross Entropy (CCE), which punishes all misclassifications equally. However, classes often have an inherent structure. For instance, classifying an image of a rose as "violet" is better than as "truck". We introduce SimLoss, a drop-in replacement for CCE that incorporates class similarities along with two techniques to construct such matrices from task-specific knowledge. We test SimLoss on Age Estimation and Image Classification and find that it brings significant improvements over CCE on several metrics. SimLoss therefore allows for explicit modeling of background knowledge by simply exchanging the loss function, while keeping the neural network architecture the same. Code and additional resources can be found at https://github.com/konstantinkobs/SimLoss.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 6 Mar 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 2; 2023: 1; 2024: 0; 2025: 1; 2026: 1.
5 papers.
- 2022Fine-grained TLS services classification with reject optioncited by 14
- 2022The Tree Loss: Improving Generalization with Many Classescited by 0
- 2023Towards Establishing Systematic Classification Requirements for Automated Drivingcited by 0
- 2025Integrating ConvNeXt and Vision Transformers for Enhancing Facial Age Estimationcited by 0
- 2026When Labels Have Structure: Improving Image Classification with Hierarchy-Aware Cross-Entropycited by 0
- 2026When Labels Have Structure: Improving Image Classification with Hierarchy-Aware Cross-Entropy7 May 2026
- 2025Integrating ConvNeXt and Vision Transformers for Enhancing Facial Age Estimation31 Oct 2025
- 2023Towards Establishing Systematic Classification Requirements for Automated Driving26 Jul 2023
- 2022The Tree Loss: Improving Generalization with Many Classes16 Apr 2022
- 2022Fine-grained TLS services classification with reject option24 Feb 2022