arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2303.18118cs.LGcs.CV
收藏

用于深度 Average-K 分类的双头损失函数

A two-head loss function for deep Average-K classification

Univ Montpellier(蒙彼利埃大学);CNRS(法国国家科学研究中心);Inria(法国国家信息与自动化研究所);Paul Valery University(保罗·瓦莱里大学);Institut Universitaire de France(法国大学研究院)

Camille Garcin, Maximilien Servajean, Alexis Joly, Joseph Salmon

AI总结:

针对Average-K分类中softmax阈值法在有限样本下非最优的问题,提出一种结合softmax与多标签分类头的双头损失函数,利用伪标签训练以更好捕获类别模糊性,实验证明其在高不确定性场景下增益显著。

摘要:

Average-K 分类是 top-K 分类的一种替代方法,其中返回的标签数量随输入图像的模糊程度而变化,但必须在所有样本上平均为 K。解决此任务的一种简单方法是对使用交叉熵损失训练的模型的 softmax 输出进行阈值处理。这种方法在理论上被证明是渐近一致的,但不能保证对于有限的样本集是最优的。在本文中,我们提出了一种基于多标签分类头的新损失函数,该分类头附加于经典的 softmax 之上。第二个头使用通过对 softmax 头进行阈值处理而生成的伪标签进行训练,同时保证平均返回 K 个类别。我们表明,这种方法允许模型更好地捕获类别之间的模糊性,从而返回更一致的可能类别集合。在文献中的两个数据集上的实验表明,我们的方法优于 softmax 基线,以及其他几种更广泛地为弱监督多标签分类设计的损失函数。不确定性越高,增益越大,特别是对于样本较少的类别。

英文摘要:

Average-K classification is an alternative to top-K classification in which the number of labels returned varies with the ambiguity of the input image but must average to K over all the samples. A simple method to solve this task is to threshold the softmax output of a model trained with the cross-entropy loss. This approach is theoretically proven to be asymptotically consistent, but it is not guaranteed to be optimal for a finite set of samples. In this paper, we propose a new loss function based on a multi-label classification head in addition to the classical softmax. This second head is trained using pseudo-labels generated by thresholding the softmax head while guaranteeing that K classes are returned on average. We show that this approach allows the model to better capture ambiguities between classes and, as a result, to return more consistent sets of possible classes. Experiments on two datasets from the literature demonstrate that our approach outperforms the softmax baseline, as well as several other loss functions more generally designed for weakly supervised multi-label classification. The gains are larger the higher the uncertainty, especially for classes with few samples.

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

↑