With the development of convolutional neural networks (CNNs) in recent years, the network structure has become more and more complex and varied, and has achieved very good results in pattern recognition, image classification, object detection and tracking. For CNNs used for image classification, in addition to the network structure, more and more research is now focusing on the improvement of the loss function, so as to enlarge the inter-class feature differences, and reduce the intra-class feature variations as soon as possible. Besides the traditional Softmax, typical loss functions include L-Softmax, AM-Softmax, ArcFace, and Center loss, etc. Based on the concept of predefined evenly-distributed class centroids (PEDCC) in CSAE network, this paper proposes a PEDCC-based loss function called PEDCC-Loss, which can make the inter-class distance maximal and intra-class distance small enough in hidden feature space. Multiple experiments on image classification and face recognition have proved that our method achieve the best recognition accuracy, and network training is stable and easy to converge. Code is available in https://github.com/ZLeopard/PEDCC-Loss
An Image Clustering Auto-Encoder Based on Predefined Evenly-Distributed Class Centroids and MMD Distance
Shanghai University(上海大学)
本文提出了一种新颖、有效、简单的端到端图像聚类自动编码算法:ICAE。该算法以PEDCC(Predefined Evenly-Distributed Class Centroids)为聚类中心,保证潜在特征的类间距离最大,并加入数据分布约束、数据增强约束、自动编码器重构约束和Sobel平滑约束,以提高聚类性能。具体来说,我们执行一对一的数据增强来学习更有效的特征。数据和增强数据被同时输入到自动编码器中以获得潜在特征和增强潜在特征,其相似性受到增强损失的约束。然后,利用最大平均差异距离(MMD),我们结合潜在特征和增强的潜在特征,使其分布接近PEDCC分布(类间均匀分布,类内Dirac分布),以进一步学习面向聚类的特征。同时,以原始输入图像和重建图像的均方误差作为重建约束,并利用Sobel平滑损失建立泛化约束,提高泛化能力。最后,在三个常用数据集MNIST,Fashion-MNIST,COIL 20上进行了广泛的实验。实验结果表明,该算法取得了迄今为止最好的聚类结果。此外,我们可以使用预定义的PEDCC类中心,以及解码器来清楚地生成每个类的样本。代码可以在https://github.com/zyWang-Power/Clustering下载!
TransXNet: Learning Both Global and Local Dynamics with a Dual Dynamic Token Mixer for Visual Recognition
School of Computing and Data Science, The University of Hong Kong(计算与数据科学学院,香港大学);AI Lab, Deepwise Healthcare(深睿医疗AI实验室);Department of Biomedical Informatics, Harvard Medical School(生物医学信息学系,哈佛医学院);Department of Computer Science, The University of Hong Kong(计算机科学系,香港大学);School of Information Science and Technology, ShanghaiTech University(信息科学与技术学院,上海科技大学)