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

利用超类从层次数据库中进行学习

Harnessing Superclasses for Learning from Hierarchical Databases

Université de technologie de Compiègne(贡比涅技术大学);CNRS(法国国家科学研究中心);Politecnico di Torino(都灵理工大学)

Nicolas Urbani, Sylvain Rousseau, Yves Grandvalet, Leonardo Tanzi

AI总结:

本文提出一种利用类别层次结构的损失函数,使模型同时学习超类和细粒度类别,在三个基准上以几乎不增加计算成本的方式提升准确率并减少粗粒度错误。

摘要:

在许多大规模分类问题中,类别按照已知的层次结构进行组织,通常表示为一种树结构,用以表达类别对超类的包含关系。我们针对这类有监督的层次分类问题引入了一种损失函数。它利用层次结构的知识,不仅将每个样本分配给一个类别,还将其分配给所有包含它的超类。该损失适用于任何带有 softmax 输出层的前馈架构,并且是一种恰当的评分规则,因为其期望值由真实的后验类别概率最小化。这一性质使我们能够同时在超类和细粒度类别之间追求一致的分类目标,并消除了在不同粒度之间进行性能权衡的需要。我们在三个参考基准上进行了实验研究,通过改变训练集的大小来覆盖多样化的学习场景。与交叉熵损失相比,我们的方法不会带来任何显著的额外计算成本。它提高了准确率,并减少了粗粒度错误的数量,即预测标签在树中远离真实标签的情况。

英文摘要:

In many large-scale classification problems, classes are organized in a known hierarchy, typically represented as a tree expressing the inclusion of classes in superclasses. We introduce a loss for this type of supervised hierarchical classification. It utilizes the knowledge of the hierarchy to assign each example not only to a class but also to all encompassing superclasses. Applicable to any feedforward architecture with a softmax output layer, this loss is a proper scoring rule, in that its expectation is minimized by the true posterior class probabilities. This property allows us to simultaneously pursue consistent classification objectives between superclasses and fine-grained classes, and eliminates the need for a performance trade-off between different granularities. We conduct an experimental study on three reference benchmarks, in which we vary the size of the training sets to cover a diverse set of learning scenarios. Our approach does not entail any significant additional computational cost compared with the loss of cross-entropy. It improves accuracy and reduces the number of coarse errors, with predicted labels that are distant from ground-truth labels in the tree.

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

↑