Convex conjugate explained

In mathematics and mathematical optimization, the convex conjugate of a function is a generalization of the Legendre transformation which applies to non-convex functions. It is also known as Legendre–Fenchel transformation, Fenchel transformation, or Fenchel conjugate (after Adrien-Marie Legendre and Werner Fenchel). It allows in particular for a far reaching generalization of Lagrangian duality.

Definition

Let

X

be a real topological vector space and let

X*

be the dual space to

X

. Denote by

\langle,\rangle:X* x X\toR

the canonical dual pairing, which is defined by

\left(x*,x\right)\mapstox*(x).

For a function

f:X\toR\cup\{-infty,+infty\}

taking values on the extended real number line, its is the function

f*:X*\toR\cup\{-infty,+infty\}

whose value at

x*\inX*

is defined to be the supremum:

f*\left(x*\right):=\sup\left\{\left\langlex*,x\right\rangle-f(x)~\colon~x\inX\right\},

or, equivalently, in terms of the infimum:

f*\left(x*\right):=-inf\left\{f(x)-\left\langlex*,x\right\rangle~\colon~x\inX\right\}.

This definition can be interpreted as an encoding of the convex hull of the function's epigraph in terms of its supporting hyperplanes.[1]

Examples

For more examples, see .

f(x)=\left\langlea,x\right\rangle-b

is f^\left(x^ \right)= \begin b, & x^ = a \\ +\infty, & x^ \ne a. \end

f(x)=

1
p

|x|p,1<p<infty

is f^\left(x^ \right) = \frac|x^|^q, 1

f(x)=\left|x\right|

is f^\left(x^ \right)= \begin 0, & \left|x^ \right| \le 1 \\ \infty, & \left|x^ \right| > 1. \end

f(x)=ex

is f^\left(x^ \right)= \begin x^ \ln x^ - x^, & x^ > 0 \\ 0, & x^ = 0 \\ \infty, & x^ < 0. \end

The convex conjugate and Legendre transform of the exponential function agree except that the domain of the convex conjugate is strictly larger as the Legendre transform is only defined for positive real numbers.

Connection with expected shortfall (average value at risk)

See this article for example.

Let F denote a cumulative distribution function of a random variable X. Then (integrating by parts),f(x):= \int_^x F(u) \, du = \operatorname\left[\max(0,x-X)\right] = x-\operatorname \left[\min(x,X)\right]has the convex conjugatef^(p)= \int_0^p F^(q) \, dq = (p-1)F^(p)+\operatorname\left[\min(F^{-1}(p),X)\right] = p F^(p)-\operatorname\left[\max(0,F^{-1}(p)-X)\right].

Ordering

A particular interpretation has the transformf^\text(x):= \arg \sup_t t\cdot x-\int_0^1 \max\ \, du,as this is a nondecreasing rearrangement of the initial function f; in particular,

finc=f

for f nondecreasing.

Properties

The convex conjugate of a closed convex function is again a closed convex function. The convex conjugate of a polyhedral convex function (a convex function with polyhedral epigraph) is again a polyhedral convex function.

Order reversing

Declare that

f\leg

if and only if

f(x)\leg(x)

for all

x.

Then convex-conjugation is order-reversing, which by definition means that if

f\leg

then

f*\geg*.

For a family of functions

\left(f\alpha\right)\alpha

it follows from the fact that supremums may be interchanged that

\left(inf\alpha

*(x
f
\alpha\right)

*)=\sup\alpha

*(x
f
\alpha

*),

and from the max–min inequality that

\left(\sup\alpha

*(x
f
\alpha\right)

*)\leinf\alpha

*(x
f
\alpha

*).

Biconjugate

The convex conjugate of a function is always lower semi-continuous. The biconjugate

f**

(the convex conjugate of the convex conjugate) is also the closed convex hull, i.e. the largest lower semi-continuous convex function with

f**\lef.

For proper functions

f,

f=f**

if and only if

f

is convex and lower semi-continuous, by the Fenchel–Moreau theorem.

Fenchel's inequality

For any function and its convex conjugate, Fenchel's inequality (also known as the Fenchel–Young inequality) holds for every

x\inX

and

\left\langlep,x\right\rangle\lef(x)+f*(p).

Furthermore, the equality holds only when

p\in\partialf(x)

.The proof follows from the definition of convex conjugate:

f*(p)=\sup\tilde\left\{\langlep,\tildex\rangle-f(\tildex)\right\}\ge\langlep,x\rangle-f(x).

Convexity

For two functions

f0

and

f1

and a number

0\leλ\le1

the convexity relation

\left((1-λ)f0+λ

*
f
1\right)

\le(1-λ)

*
f
0

+λ

*
f
1

holds. The

{*}

operation is a convex mapping itself.

Infimal convolution

The infimal convolution (or epi-sum) of two functions

f

and

g

is defined as

\left(f\operatorname{\Box}g\right)(x)=inf\left\{f(x-y)+g(y)\midy\inRn\right\}.

Let

f1,\ldots,fm

be proper, convex and lower semicontinuous functions on

Rn.

Then the infimal convolution is convex and lower semicontinuous (but not necessarily proper),[2] and satisfies

\left(f1\operatorname{\Box}\operatorname{\Box}fm\right)*=

*
f
1

++

*
f
m

.

The infimal convolution of two functions has a geometric interpretation: The (strict) epigraph of the infimal convolution of two functions is the Minkowski sum of the (strict) epigraphs of those functions.[3]

Maximizing argument

If the function

f

is differentiable, then its derivative is the maximizing argument in the computation of the convex conjugate:

f\prime(x)=x*(x):=

\arg\sup
x*

{\langlex,x*\rangle}-f*\left(x*\right)

and

f{*\prime}\left(x*\right)=x\left(x*\right):=\arg\supx{\langlex,x*\rangle}-f(x);

hence

x=\nablaf{*

}\left(\nabla f(x) \right),

x*=\nablaf\left(\nablaf{*

}\left(x^ \right)\right),

and moreover

f\prime\prime(x)f{*\prime\prime}\left(x*(x)\right)=1,

f{*\prime\prime}\left(x*\right)f\prime\prime\left(x(x*)\right)=1.

Scaling properties

If for some

\gamma>0,

g(x)=\alpha+\betax+\gammaf\left(λx+\delta\right)

, then

g*\left(x*\right)=-\alpha-\delta

x*-\beta
λ

+\gammaf*\left(

x*-\beta
λ\gamma

\right).

Behavior under linear transformations

Let

A:X\toY

be a bounded linear operator. For any convex function

f

on

X,

\left(Af\right)*=f*A*

where

(Af)(y)=inf\{f(x):x\inX,Ax=y\}

is the preimage of

f

with respect to

A

and

A*

is the adjoint operator of

A.

[4]

A closed convex function

f

is symmetric with respect to a given set

G

of orthogonal linear transformations,

f(Ax)=f(x)

for all

x

and all

A\inG

if and only if its convex conjugate

f*

is symmetric with respect to

G.

Table of selected convex conjugates

The following table provides Legendre transforms for many common functions as well as a few useful properties.[5]

g(x)

\operatorname{dom}(g)

g*(x*)

\operatorname{dom}(g*)

f(ax)

(where

a0

)

X

*\left(x*
a
f

\right)

X*

f(x+b)

X

f*(x*)-\langleb,x*\rangle

X*

af(x)

(where

a>0

)

X

a

*\left(x*
a
f

\right)

X*

\alpha+\betax+\gammaf(λx+\delta)

X

-\alpha-\delta

x*-\beta
λ+

\gammaf*\left(

x*-\beta
\gammaλ

\right)(\gamma>0)

X*

|x|p
p
(where

p>1

)

R

|x*|q
q

(where
1
p

+

1
q

=1

)

R

-xp
p
(where

0<p<1

)

R+

-(-x*)q
q
(where
1
p

+

1
q

=1

)

R--

\sqrt{1+x2}

R

-\sqrt{1-(x*)2}

[-1,1]

-log(x)

R++

-(1+log(-x*))

R--

ex

R

\begin{cases}x*log(x*)-x*&ifx*>0\ 0&ifx*=0\end{cases}

R+

log\left(1+ex\right)

R

\begin{cases}x*log(x*)+(1-x*)log(1-x*)&if0<x*<1\ 0&ifx*=0,1\end{cases}

[0,1]

-log\left(1-ex\right)

R--

\begin{cases}x*log(x*)-(1+x*)log(1+x*)&ifx*>0\ 0&ifx*=0\end{cases}

R+

See also

References

  1. Web site: Legendre Transform . April 14, 2019.
  2. Book: Phelps, Robert . Robert R. Phelps

    . Robert R. Phelps . Convex Functions, Monotone Operators and Differentiability. limited . 2 . 1993. Springer . 0-387-56715-1. 42.

  3. 10.1137/070687542 . The Proximal Average: Basic Theory . 2008 . Bauschke . Heinz H. . Goebel . Rafal . Lucet . Yves . Wang . Xianfu . SIAM Journal on Optimization . 19 . 2 . 766. 10.1.1.546.4270 .
  4. Ioffe, A.D. and Tichomirov, V.M. (1979), Theorie der Extremalaufgaben. Deutscher Verlag der Wissenschaften. Satz 3.4.3
  5. Book: Borwein . Jonathan . Jonathan Borwein. Lewis . Adrian . Convex Analysis and Nonlinear Optimization: Theory and Examples. limited . 2 . 2006 . Springer . 978-0-387-29570-1. 50–51.

. Vladimir Igorevich Arnol'd . Mathematical Methods of Classical Mechanics . Second . Springer . 1989 . 0-387-96890-3 . 997295 . registration .

. R. Tyrrell Rockafellar . Convex Analysis . Princeton University Press . 1970 . Princeton . 0-691-01586-4 . 0274683.

Further reading