Jump to content

Smooth maximum

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Tom.Reding (talk | contribs) at 03:27, 30 June 2016 (References: Rem stub tag(s) (class = non-stub & non-list) using AWB). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In mathematics, a smooth maximum of an indexed family x1, ..., xn of numbers is a differentiable approximation to the maximum function

and the concept of smooth minimum is similarly defined.

For large positive values of the parameter , the following formulation is one smooth, differentiable approximation of the maximum function. For negative values of the parameter that are large in absolute value, it approximates the minimum.

has the following properties:

  1. as
  2. is the average of its inputs
  3. as

The gradient of is closely related to softmax and is given by

This makes the softmax function useful for optimization techniques that use gradient descent.

Another formulation is:

Smooth minimum

Use in numerical methods

Other choices of smoothing function

References