Center Loss
Center Loss is a Loss Function for learning discriminative features, introduced in A Discriminative Feature Learning Approach for Deep Face Recognition.
It learns a center (a vector of the same dimension as the feature embedding) for each class, and penalises the distance between each feature and its class center:
Where is the mini-batch size and is the center of the class . This pulls features of the same class close together. It's trained jointly with Softmax Loss, which keeps features of different classes apart, and a hyperparameter balances the two. On its own, the centers and features would collapse to zero, since that gives the lowest possible center loss.