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

取得正确的平衡:语义分割的召回损失

Striking the Right Balance: Recall Loss for Semantic Segmentation

SRI(斯坦福国际研究院)

Junjiao Tian, Niluthpol Mithun, Zach Seymour, Han-Pang Chiu, Zsolt Kira

摘要:

类不平衡是计算机视觉应用中的一个基本问题,如语义分割。具体来说,训练数据集中不均匀的类分布通常会导致代表性不足的类的性能不理想。许多工作已经提出了加权的标准交叉熵损失函数与预先计算的权重的基础上的类统计,如样本的数量和类的边缘。这些方法存在两个主要缺点:1)不断地增加少数类的权重会在语义分割中引入过多的假阳性; 2)少数类不一定是硬类。结果是由于过多的假阳性而导致精度低。在这方面,我们提出了一个硬类挖掘损失重塑香草交叉熵损失,使其权重的损失为每个类动态的基础上瞬时召回性能。我们发现,新的召回损失之间的标准交叉熵损失和逆频率加权损失逐渐变化。召回损失还导致平均准确度的提高,同时提供具有竞争力的平均交集超过并集(IoU)性能。在Synthia数据集上,与交叉熵损失相比,召回损失实现了$9\%$相对的平均准确度提高,使用DeepLab-ResNet 18的竞争性平均IoU。代码可在https://github.com/PotatoTian/recall-semseg获得。

英文摘要:

Class imbalance is a fundamental problem in computer vision applications such as semantic segmentation. Specifically, uneven class distributions in a training dataset often result in unsatisfactory performance on under-represented classes. Many works have proposed to weight the standard cross entropy loss function with pre-computed weights based on class statistics, such as the number of samples and class margins. There are two major drawbacks to these methods: 1) constantly up-weighting minority classes can introduce excessive false positives in semantic segmentation; 2) a minority class is not necessarily a hard class. The consequence is low precision due to excessive false positives. In this regard, we propose a hard-class mining loss by reshaping the vanilla cross entropy loss such that it weights the loss for each class dynamically based on instantaneous recall performance. We show that the novel recall loss changes gradually between the standard cross entropy loss and the inverse frequency weighted loss. Recall loss also leads to improved mean accuracy while offering competitive mean Intersection over Union (IoU) performance. On Synthia dataset, recall loss achieves $9\%$ relative improvement on mean accuracy with competitive mean IoU using DeepLab-ResNet18 compared to the cross entropy loss. Code available at https://github.com/PotatoTian/recall-semseg.

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

↑