Regular Polytope Networks

Federico Pernici, Matteo Bruni, Claudio Baecchi, Alberto Del Bimbo
3/29/2021
39 citations
cs.LGcs.CV

Official code: matteo-bruni/regular-polytope-networks (8 stars, Python, MIT, last commit 2022-02-17).

Abstract

Neural networks are widely used as a model for classification in a large variety of tasks. Typically, a learnable transformation (i.e. the classifier) is placed at the end of such models returning a value for each class used for classification.

Show full abstract

This transformation plays an important role in determining how the generated features change during the learning process. In this work, we argue that this transformation not only can be fixed (i.e. set as non-trainable) with no loss of accuracy and with a reduction in memory usage, but it can also be used to learn stationary and maximally separated embeddings. We show that the stationarity of the embedding and its maximal separated representation can be theoretically justified by setting the weights of the fixed classifier to values taken from the coordinate vertices of the three regular polytopes available in $\mathbb{R}^d$, namely: the $d$-Simplex, the $d$-Cube and the $d$-Orthoplex. These regular polytopes have the maximal amount of symmetry that can be exploited to generate stationary features angularly centered around their corresponding fixed weights. Our approach improves and broadens the concept of a fixed classifier, recently proposed in \cite{hoffer2018fix}, to a larger class of fixed classifier models. Experimental results confirm the theoretical analysis, the generalization capability, the faster convergence and the improved performance of the proposed method. Code will be publicly available.

View on arXivView PDF

Code Implementations(1)

MIT

PyTorch code for the paper "Regular Polytope Networks" (TNNLS-2021)

81Python, ShellNov 30, 20214 years agoMIT

Similar Papers

Cite this paper

@article{pernici2021regular,
  title  = {Regular Polytope Networks},
  author = {Federico Pernici and Matteo Bruni and Claudio Baecchi and Alberto Del Bimbo},
  year   = {2021},
  eprint = {2103.15632},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.15632}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.15632.svg)](https://codeofpaper.com/paper/2103.15632)

Discussion