arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.07289cs.CV
收藏

重新发掘用于统一分类的BCE损失

Rediscovering BCE Loss for Uniform Classification

Shenzhen University(深圳大学);Computer Vision Institute, Shenzhen University(深圳大学计算机视觉研究院);SZU Branch, Shenzhen Institute of Artificial Intelligence and Robotics for Society(深圳市人工智能与机器人研究院深圳大学分中心);School of Computer Science, University of Birmingham(伯明翰大学计算机学院);Aqara, Lumi United Technology Co., Ltd.(绿米联创科技有限公司)

Qiufu Li, Xi Jia, Jiancan Zhou, Linlin Shen, Jinming Duan

AI总结:

本文提出统一分类概念及对应准确率指标,推导得出带统一偏置的BCE损失以学习统一阈值,实验证明其在分类准确率、特征性质及开集任务上均优于SoftMax损失。

摘要:

本文提出了统一分类的概念,即采用统一阈值对所有样本进行分类,而非针对每个单独样本使用自适应阈值分类。我们还提出了统一分类准确率作为衡量模型在统一分类任务中性能的指标。此外,我们从一种朴素损失出发,通过数学推导得到了适用于统一分类的损失函数,即整合了统一偏置的BCE函数,证明了统一阈值可通过该偏置学习得到。在6个分类数据集和3种特征提取模型上开展的大量实验表明,与SoftMax损失相比,使用BCE损失训练的模型不仅具有更高的统一分类准确率,还拥有更高的逐样本分类准确率。此外,BCE损失学习到的偏置与统一分类中使用的统一阈值非常接近。使用BCE损失训练的模型提取的特征不仅具备一致性,还表现出更好的类内紧凑性和类间区分度,在人脸识别等开集任务上取得了更优的性能。

英文摘要:

This paper introduces the concept of uniform classification, which employs a unified threshold to classify all samples rather than adaptive threshold classifying each individual sample. We also propose the uniform classification accuracy as a metric to measure the model's performance in uniform classification. Furthermore, begin with a naive loss, we mathematically derive a loss function suitable for the uniform classification, which is the BCE function integrated with a unified bias. We demonstrate the unified threshold could be learned via the bias. The extensive experiments on six classification datasets and three feature extraction models show that, compared to the SoftMax loss, the models trained with the BCE loss not only exhibit higher uniform classification accuracy but also higher sample-wise classification accuracy. In addition, the learned bias from BCE loss is very close to the unified threshold used in the uniform classification. The features extracted by the models trained with BCE loss not only possess uniformity but also demonstrate better intra-class compactness and inter-class distinctiveness, yielding superior performance on open-set tasks such as face recognition.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑