Deep Learning on Small Datasets without Pre-Training using Cosine Loss

By Björn Barz, Joachim Denzler. 2019

157 citations recorded by the source corpus.

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.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Optimization & Training

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Stefano Soatto
  2. Alessandro Achille
  3. Avinash Ravichandran
  4. Aditya Golatkar
  5. Marzia Polito
  6. Han-Jia Ye
  7. De-chuan Zhan
  8. Sergey Levine

In Computer Vision and Pattern Recognition

  1. Stefano Soatto
  2. Alessandro Achille
  3. Avinash Ravichandran
  4. Aditya Golatkar
  5. Marzia Polito
  6. Luc Van Gool
  7. Ming-Hsuan Yang
  8. Trevor Darrell

In Optimization & Training

  1. Alessandro Achille
  2. Stefano Soatto
  3. Avinash Ravichandran
  4. Marzia Polito
  5. Aditya Golatkar
  6. Han-Jia Ye
  7. De-chuan Zhan
  8. Sergey Levine

Citations in the corpus