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

正交投影损失

Orthogonal Projection Loss

Monash University(莫纳什大学);Linköping University(林雪平大学);Mohamed bin Zayed University of AI(穆罕默德·本·扎耶德人工智能大学);Australian National University(澳大利亚国立大学)

Kanchana Ranasinghe, Muzammal Naseer, Munawar Hayat, Salman Khan, Fahad Shahbaz Khan

摘要:

深度神经网络在一系列分类任务上取得了卓越的性能,其中softmax交叉熵(CE)损失成为事实上的目标函数。与负类相比,CE损失鼓励类的特征在真实类向量上具有更高的投影分数。然而,这是一个相对的约束,并没有显式地强制不同的类特性被很好地分离。出于观察,地面真相类表示在CE损失是正交的(一热编码矢量),我们开发了一种新的损失函数称为“正交投影损失”(OPL),它规定了在特征空间的正交性。OPL增强了CE损失的属性,并通过在小批量级别上的正交约束,在特征空间中直接执行类间分离以及类内聚类。与CE的其他替代品相比,OPL具有独特的优势,例如,没有额外的可学习参数,不需要仔细的负挖掘,对批量大小不敏感。鉴于OPL的即插即用性质,我们在各种任务上对其进行了评估,包括图像识别(CIFAR-100),大规模分类(ImageNet),领域泛化(PACS)和少样本学习(miniImageNet,CIFAR-FS,tiered-ImageNet和Meta-dataset),并全面展示了其有效性。此外,OPL提供了更好的鲁棒性,对实际的滋扰,如对抗攻击和标签噪声。代码可在:https://github.com/kahnchana/opl.

英文摘要:

Deep neural networks have achieved remarkable performance on a range of classification tasks, with softmax cross-entropy (CE) loss emerging as the de-facto objective function. The CE loss encourages features of a class to have a higher projection score on the true class-vector compared to the negative classes. However, this is a relative constraint and does not explicitly force different class features to be well-separated. Motivated by the observation that ground-truth class representations in CE loss are orthogonal (one-hot encoded vectors), we develop a novel loss function termed `Orthogonal Projection Loss' (OPL) which imposes orthogonality in the feature space. OPL augments the properties of CE loss and directly enforces inter-class separation alongside intra-class clustering in the feature space through orthogonality constraints on the mini-batch level. As compared to other alternatives of CE, OPL offers unique advantages e.g., no additional learnable parameters, does not require careful negative mining and is not sensitive to the batch size. Given the plug-and-play nature of OPL, we evaluate it on a diverse range of tasks including image recognition (CIFAR-100), large-scale classification (ImageNet), domain generalization (PACS) and few-shot learning (miniImageNet, CIFAR-FS, tiered-ImageNet and Meta-dataset) and demonstrate its effectiveness across the board. Furthermore, OPL offers better robustness against practical nuisances such as adversarial attacks and label noise. Code is available at: https://github.com/kahnchana/opl.

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

↑