计算机科学 > 机器学习
[提交于 2020年3月9日]
标题:SimLoss: Class Similarities in Cross Entropy
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Konstantin Kobs[v1] 2020年3月9日 星期一 00:00:00 UTC