用于降低错误严重性的学习层次感知特征
Learning Hierarchy Aware Features for Reducing Mistake Severity
摘要:
标签层次结构通常是作为生物分类学或语言数据集WordNet的一部分先验可用的。一些作品利用这些来学习层次意识的功能,以提高分类器,使语义上有意义的错误,同时保持或减少整体错误。在本文中,我们提出了一种新的方法来学习层次感知功能(HAF),利用分类器在每个层次结构的约束,以生成与标签层次结构一致的预测。通过最小化Jensen-Shannon散度来训练分类器,其中目标软标签从细粒度分类器中获得。此外,我们采用了一个简单的几何损失,约束的特征空间的几何形状来捕捉标签空间的语义结构。HAF是一种训练时间方法,它在保持前1错误的同时改善了错误,从而解决了将所有错误视为平等的交叉熵损失问题。我们在三个分层数据集上评估了HAF,并在iNaturalist-19和CIFAR-100数据集上获得了最先进的结果。源代码可在https://github.com/07Agarg/HAF上获得
英文摘要:
Label hierarchies are often available apriori as part of biological taxonomy or language datasets WordNet. Several works exploit these to learn hierarchy aware features in order to improve the classifier to make semantically meaningful mistakes while maintaining or reducing the overall error. In this paper, we propose a novel approach for learning Hierarchy Aware Features (HAF) that leverages classifiers at each level of the hierarchy that are constrained to generate predictions consistent with the label hierarchy. The classifiers are trained by minimizing a Jensen-Shannon Divergence with target soft labels obtained from the fine-grained classifiers. Additionally, we employ a simple geometric loss that constrains the feature space geometry to capture the semantic structure of the label space. HAF is a training time approach that improves the mistakes while maintaining top-1 error, thereby, addressing the problem of cross-entropy loss that treats all mistakes as equal. We evaluate HAF on three hierarchical datasets and achieve state-of-the-art results on the iNaturalist-19 and CIFAR-100 datasets. The source code is available at https://github.com/07Agarg/HAF
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。