Softmax函数
范畴变量
交叉熵
计算机科学
三角函数
人工智能
分类器(UML)
机器学习
训练集
深度学习
熵(时间箭头)
模式识别(心理学)
数学
几何学
量子力学
物理
作者
Björn Barz,Joachim Denzler
标识
DOI:10.1109/wacv45572.2020.9093286
摘要
Two things seem to be indisputable in the contemporary deep learning discourse: 1. The categorical cross-entropy loss after softmax activation is the method of choice for classification. 2. Training a CNN classifier from scratch on small datasets does not work well.In contrast to this, we show that the cosine loss function provides substantially better performance than crossentropy on datasets with only a handful of samples per class. For example, the accuracy achieved on the CUB- 200-2011 dataset without pre-training is by 30% higher than with the cross-entropy loss. Further experiments on other popular datasets confirm our findings. Moreover, we demonstrate that integrating prior knowledge in the form of class hierarchies is straightforward with the cosine loss and improves classification performance further.
科研通智能强力驱动
Strongly Powered by AbleSci AI