arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.11932cs.CVstat.ML
收藏

基于自适应类权重的双聚焦损失改进语义分割

Adaptive Class Weight based Dual Focal Loss for Improved Semantic Segmentation

Md Sazzad Hossain, Andrew P Paplinski, John M Betts

摘要:

在本文中,我们提出了双焦点损失(DFL)函数,作为标准交叉熵(CE)函数的替代,以更好地处理数据集中的不平衡类。我们的DFL方法是对最近报道的Focal Loss(FL)交叉熵函数的改进,该函数提出了一种缩放方法,该方法将更多的权重放在难以分类的示例上。然而,FL的缩放参数是经验设置的,这是问题依赖的。此外,与其他CE变体一样,FL只关注真类的丢失。因此,没有从假类获得损失反馈。尽管由于softmax函数的性质,仅关注真实示例增加了真实类的概率并相应地降低了假类的概率,但由于避免了假类的损失,它并没有实现最佳收敛。我们的DFL方法在两个方面改进了简单FL。首先,它采用FL的思想,更关注困难的例子,而不是简单的例子,但评估损失的真类和负类具有同等重要性。其次,DFL的缩放参数是可学习的,这样它就可以通过反向传播来调整自己,而不是依赖于手动调整。通过这种方式,我们提出的DFL方法提供了一个自动可调的损失函数,可以减少类不平衡的影响,以及把更多的重点放在真正的困难的例子和负容易的例子。

英文摘要:

In this paper, we propose a Dual Focal Loss (DFL) function, as a replacement for the standard cross entropy (CE) function to achieve a better treatment of the unbalanced classes in a dataset. Our DFL method is an improvement on the recently reported Focal Loss (FL) cross-entropy function, which proposes a scaling method that puts more weight on the examples that are difficult to classify over those that are easy. However, the scaling parameter of FL is empirically set, which is problem-dependent. In addition, like other CE variants, FL only focuses on the loss of true classes. Therefore, no loss feedback is gained from the false classes. Although focusing only on true examples increases probability on true classes and correspondingly reduces probability on false classes due to the nature of the softmax function, it does not achieve the best convergence due to avoidance of the loss on false classes. Our DFL method improves on the simple FL in two ways. Firstly, it takes the idea of FL to focus more on difficult examples than the easy ones, but evaluates loss on both true and negative classes with equal importance. Secondly, the scaling parameter of DFL has been made learnable so that it can tune itself by backpropagation rather than being dependent on manual tuning. In this way, our proposed DFL method offers an auto-tunable loss function that can reduce the class imbalance effect as well as put more focus on both true difficult examples and negative easy examples.

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

↑