Class-Balanced and Local Median Loss Jointly Supervised for Wild Facial Expression Recognition

Congcong Shi,Mei Tian
DOI: https://doi.org/10.3724/SP.J.1089.2020.17984
2020-01-01
Journal of Computer-Aided Design & Computer Graphics
Abstract:Abstract: Over the past few years, Convolutional Neural Networks (CNNs) have shown effective performance on facial expression recognition. However, it is still a challenge problem for facial expression in the wild. The facial expression recognition dataset in the wild usually has the problem that imbalanced distribution of facial expression data and large intra-class differences caused by factors such as pose, lighting and gender. In order to solve this problem, this paper presents a novel loss function -- CALM Loss (Class-balanced and Local Median Loss). CALM Loss contains two parts. The first part is the class-balanced softmax loss function, which is uesd to solve the problem of data imbalance. The data set is divided into two classes, with two expressions with less data as one class and the other five as one class. During the network training process, the weight of the class with less data is adaptively increased. The second part is the local median loss function, which uses the median of serveral neatest neighbors in the same class as the center of class, weakens the influence of difficult samples on the selection of class center. Finally, the CALM Loss training network was adopted in this paper. The average recognition accuracy on the RAF dataset reaches 77.34$\%$, which proves the effectiveness of the proposed method.
What problem does this paper attempt to address?