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

sigmoidF1:多标签分类的平滑F1评分替代损失

sigmoidF1: A Smooth F1 Score Surrogate Loss for Multilabel Classification

RTL Nederland B.V.(RTL荷兰公司);University of Amsterdam(阿姆斯特丹大学)

Gabriel Bénédict, Vincent Koops, Daan Odijk, Maarten de Rijke

摘要:

多类多标签分类是通过预测将多个标签归属于示例的任务。当前模型将多标签设置简化为多个二进制分类或多类分类,允许使用现有的损失函数(sigmoid,交叉熵,logistic等)。多标签分类约简不适应每个示例不同数量的标签的预测,并且潜在的损失是对性能指标的遥远估计。我们提出了一个损失函数sigmoidF1,它是F1分数的近似值,(1)对于随机梯度下降是平滑和易处理的,(2)自然地近似于多标签度量,(3)估计标签倾向和标签计数。我们表明,任何混淆矩阵度量都可以用光滑代理来表示。我们评估建议的损失函数的文本和图像数据集,并与各种指标,考虑到多标签分类评价的复杂性。sigmoidF1在一个文本和两个图像数据集以及几个度量上优于其他损失函数。这些结果表明,使用推理时间度量作为损失函数的非平凡的分类问题,如多标签分类的有效性。

英文摘要:

Multiclass multilabel classification is the task of attributing multiple labels to examples via predictions. Current models formulate a reduction of the multilabel setting into either multiple binary classifications or multiclass classification, allowing for the use of existing loss functions (sigmoid, cross-entropy, logistic, etc.). Multilabel classification reductions do not accommodate for the prediction of varying numbers of labels per example and the underlying losses are distant estimates of the performance metrics. We propose a loss function, sigmoidF1, which is an approximation of the F1 score that (1) is smooth and tractable for stochastic gradient descent, (2) naturally approximates a multilabel metric, and (3) estimates label propensities and label counts. We show that any confusion matrix metric can be formulated with a smooth surrogate. We evaluate the proposed loss function on text and image datasets, and with a variety of metrics, to account for the complexity of multilabel classification evaluation. sigmoidF1 outperforms other loss functions on one text and two image datasets and several metrics. These results show the effectiveness of using inference-time metrics as loss functions for non-trivial classification problems like multilabel classification.

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

↑