arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2206.08704cs.LGcs.CV
收藏

矩阵中作为归纳偏差的最大类分离

Maximum Class Separation as Inductive Bias in One Matrix

University of Amsterdam(阿姆斯特丹大学);TNO(荷兰应用科学研究组织);Microsoft Research AI4Science(微软研究院AI4Science)

Tejaswi Kasarla, Gertjan J. Burghouts, Max van Spengler, Elise van der Pol, Rita Cucchiara, Pascal Mettes

摘要:

最大化类之间的分离构成了机器学习中众所周知的归纳偏差,也是许多传统算法的支柱。默认情况下,深度网络不具备这种感应偏置,因此通过差分优化提出了许多替代解决方案。目前的方法倾向于联合优化分类和分离:将输入与类向量对齐,并有角度地分离类向量。本文提出了一个简单的替代方案:在计算softmax激活之前,通过添加一个固定的矩阵乘法,将最大分离编码为网络中的归纳偏差。我们的方法背后的主要观察结果是,分离不需要优化,但可以在训练之前以封闭形式求解并插入网络。我们概述了一个递归的方法来获得矩阵组成的最大可分向量的任何数量的类,可以忽略不计的工程工作和计算开销。尽管其简单的性质,这一个矩阵乘法提供了真正的影响。我们表明,我们的建议直接提升了分类,长尾识别,分布外检测和开集识别,从CIFAR到ImageNet。根据经验,我们发现最大分离作为固定偏差效果最好;使矩阵可学习不会增加性能。封闭形式的实现和代码可以在github上找到。

英文摘要:

Maximizing the separation between classes constitutes a well-known inductive bias in machine learning and a pillar of many traditional algorithms. By default, deep networks are not equipped with this inductive bias and therefore many alternative solutions have been proposed through differential optimization. Current approaches tend to optimize classification and separation jointly: aligning inputs with class vectors and separating class vectors angularly. This paper proposes a simple alternative: encoding maximum separation as an inductive bias in the network by adding one fixed matrix multiplication before computing the softmax activations. The main observation behind our approach is that separation does not require optimization but can be solved in closed-form prior to training and plugged into a network. We outline a recursive approach to obtain the matrix consisting of maximally separable vectors for any number of classes, which can be added with negligible engineering effort and computational overhead. Despite its simple nature, this one matrix multiplication provides real impact. We show that our proposal directly boosts classification, long-tailed recognition, out-of-distribution detection, and open-set recognition, from CIFAR to ImageNet. We find empirically that maximum separation works best as a fixed bias; making the matrix learnable adds nothing to the performance. The closed-form implementation and code to reproduce the experiments are available on github.

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

↑