Maximum Class Separation as Inductive Bias in One Matrix

Open Access
Authors
Publication date 2023
Host editors
  • S. Koyejo
  • S. Mohamed
  • A. Agarwal
  • D. Belgrave
  • K. Cho
  • A. Oh
Book title 36th Conference on Neural Information Processing Systems (NeurIPS 2022)
Book subtitle New Orleans, Louisiana, USA, 28 November-9 December 2022
ISBN
  • 9781713871088
ISBN (electronic)
  • 9781713873129
Series Advances in Neural Information Processing Systems
Event Thirty-sixth Conference on Neural Information Processing Systems
Volume | Issue number 26
Pages (from-to) 19553-19566
Publisher San Diego, CA: Neural Information Processing Systems Foundation
Organisations
  • Faculty of Science (FNWI) - Informatics Institute (IVI)
Abstract
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.
Document type Conference contribution
Note With supplemental file
Language English
Published at https://doi.org/10.48550/arXiv.2206.08704
Published at https://papers.nips.cc/paper_files/paper/2022/hash/7b95e1ca9d7347da59cefd362e60a0b6-Abstract-Conference.html
Other links https://github.com/tkasarla/max-separation-as-inductive-bias https://www.proceedings.com/68431.html
Downloads
Supplementary materials
Permalink to this page
Back