Litcius/Paper detail

The softmax function: Properties, motivation, and interpretation

Michael Franke, Judith Degen

202321 citationsDOIOpen Access PDF

Abstract

The softmax function is a ubiquitous helper function, frequently used as a probabilistic link function for unordered categorical data, in different kinds of models, such as regression, artificial neural networks, or probabilistic cognitive models. To fully understand the models in which the softmax function occurs, different levels of understanding of the softmax function itself are necessary. For input-output oriented models, like regression or neural network models, mathematical properties are crucial. For models with interpretable and meaningful internal representations like probabilistic cognitive models, we also require a thorough conceptual understanding of the motivation for using the softmax function (instead of something else). This tutorial provides an in- depth exposition of the informal, mathematical and conceptual properties of the softmax function. It also provides two mathematical derivations (as a stochastic choice model, and as maximum entropy distribution), together with three conceptual interpretations that can serve as rationale for using the softmax function in models that require explainability of modeling choices.

Topics & Concepts

Softmax functionProbabilistic logicFunction (biology)Artificial intelligenceComputer scienceCategorical variableMachine learningArtificial neural networkEvolutionary biologyBiologyExplainable Artificial Intelligence (XAI)