von Mises-Fisher Loss: An Exploration of Embedding Geometries for Supervised Learning

Tyler R. Scott, Andrew C. Gallagher, Michael C. Mozer
3/29/2021
cs.LGcs.CV

Official code: google-research/vmf_embeddings (10 stars, Python, Apache-2.0, last commit 2021-10-12).

Abstract

Recent work has argued that classification losses utilizing softmax cross-entropy are superior not only for fixed-set classification tasks, but also by outperforming losses developed specifically for open-set tasks including few-shot learning and retrieval. Softmax classifiers have been studied using different embedding geometries -- Euclidean, hyperbolic, and spherical -- and claims have been made about the superiority of one or another, but they have not been systematically compared with careful controls.

Show full abstract

We conduct an empirical investigation of embedding geometry on softmax losses for a variety of fixed-set classification and image retrieval tasks. An interesting property observed for the spherical losses lead us to propose a probabilistic classifier based on the von Mises-Fisher distribution, and we show that it is competitive with state-of-the-art methods while producing improved out-of-the-box calibration. We provide guidance regarding the trade-offs between losses and how to choose among them.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
103Python, ShellOct 6, 20215 years agoApache-2.0

Similar Papers

Cite this paper

@article{scott2021misesfisher,
  title  = {von Mises-Fisher Loss: An Exploration of Embedding Geometries for Supervised Learning},
  author = {Tyler R. Scott and Andrew C. Gallagher and Michael C. Mozer},
  year   = {2021},
  eprint = {2103.15718},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.15718}
}

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.15718.svg)](https://codeofpaper.com/paper/2103.15718)

Discussion