In mathematics, specifically statistics and information geometry, a Bregman divergence or Bregman distance is a measure of difference between two points, defined in terms of a strictly convex function; they form an important class of divergences. When the points are interpreted as probability distributions – notably as either values of the parameter of a parametric model or as a data set of observed values – the resulting distance is a statistical distance. The most basic Bregman divergence is the squared Euclidean distance. Bregman divergences are similar to metrics, but satisfy neither the triangle inequality (ever) nor symmetry (in general). However, they satisfy a generalization of the Pythagorean theorem, and in information geometry the corresponding statistical manifold is interpreted as a (dually) flat manifold. This allows many techniques of optimization theory to be generalized to Bregman divergences, geometrically as generalizations of least squares. Bregman divergences are named after Soviet and Israeli mathematician Lev M. Bregman, who introduced the concept in 1967.
Definition Let F:Ω→ℝ be a continuously-differentiable, strictly convex function defined on a convex set Ω. The Bregman distance associated with F for points p,q∈Ω is the difference between the value of F at point p and the value of the first-order Taylor expansion of F around point q evaluated at point p: DF(p,q)=F(p)−F(q)−⟨∇F(q),p−q⟩.
Properties Non-negativity: DF(p,q)≥0 for all p, q. This is a consequence of the convexity of F. Positivity: When F is strictly convex, DF(p,q)=0 if and only if p=q. Uniqueness up to affine difference: DF=DG if and only if F−G is an affine function. Convexity: DF(p,q) is convex in its first argument, but not necessarily in the second argument. If F is strictly convex, then DF(p,q) is strictly convex in its first argument. For example, Take f(x) = |x|, smooth it at 0, then take y=1,x1=0.1,x2=−0.9,x3=0.9x1+0.1x2, then Df(y,x3)≈1>0.9Df(y,x1)+0.1Df(y,x2)≈0.2. Linearity: If we think of the Bregman distance as an operator on the function F, then it is linear with respect to non-negative coefficients. In other words, for F1,F2 strictly convex and differentiable, and λ≥0, DF1+λF2(p,q)=DF1(p,q)+λDF2(p,q) Duality: If F is strictly convex, then the function F has a convex conjugate F∗ which is also strictly convex and continuously differentiable on some convex set Ω∗. The Bregman distance defined with respect to F∗ is dual to DF(p,q) as DF∗(p∗,q∗)=DF(q,p) Here, p∗=∇F(p) and q∗=∇F(q) are the dual points corresponding to p and q.Moreover, using the same notations:DF(p,q)=F(p)+F∗(q∗)−⟨p,q∗⟩ Integral form: by the integral remainder form of Taylor's Theorem, a Bregman divergence can be written as the integral of the Hessian of F along the line segment between the Bregman divergence's arguments. Mean as minimizer: A key result about Bregman divergences is that, given a random vector, the mean vector minimizes the expected Bregman divergence from the random vector. This result generalizes the textbook result that the mean of a set minimizes total squared error to elements in the set. This result was proved for the vector case by (Banerjee et al. 2005), and extended to the case of functions/distributions by (Frigyik et al. 2008). This result is important because it further justifies using a mean as a representative of a random set, particularly in Bayesian estimation. Bregman balls are bounded, and compact if X is closed: Define the Bregman ball centered at x with radius r by Bf(x,r):={y∈X:Df(y,x)≤r}. When X⊂ℝn is finite dimensional, ∀x∈X, if x is in the relative interior of X, or if X is locally closed at x (that is, there exists a closed ball B(x,r) centered at x, such that B(x,r)∩X is closed), then Bf(x,r) is bounded for all r . If X is closed, then Bf(x,r) is compact for all r. Law of cosines:For any p,q,z DF(p,q)=DF(p,z)+DF(z,q)−(p−z)T(∇F(q)−∇F(z)) Parallelogram law: for any θ,θ1,θ2, BF(θ1:θ)+BF(θ2:θ)=BF(θ1:θ1+θ22)+BF(θ2:θ1+θ22)+2BF(θ1+θ22:θ) Bregman projection: For any W⊂Ω, define the "Bregman projection" of q onto W: PW(q)=argminω∈WDF(ω,q). Then if W is convex, then the projection is unique if it exists; if W is nonempty, closed, and convex and Ω⊂ℝn is finite dimensional, then the projection exists and is unique. Generalized Pythagorean Theorem:For any v∈Ω,a∈W, DF(a,v)≥DF(a,PW(v))+DF(PW(v),v). This is an equality if PW(v) is in the relative interior of W.In particular, this always happens when W is an affine set. Lack of triangle inequality: Since the Bregman divergence is essentially a generalization of squared Euclidean distance, there is no triangle inequality. Indeed, DF(z,x)−DF(z,y)−DF(y,x)=⟨∇f(y)−∇f(x),z−y⟩, which may be positive or negative.
Proofs
Proof that the minimizer the mean value Let Y be a real-valued random variable with finite expectation 𝔼[Y], and let ϕ:ℝ→ℝ be a twice continuously differentiable, strictly convex function. The Bregman divergence generated by ϕ defines the loss function:
S(y,ŷ)=ϕ(y)−ϕ(ŷ)−ϕ′(ŷ)(y−ŷ) The expected loss associated with a point forecast ŷ is given by:
𝔼[S(Y,ŷ)]=𝔼[ϕ(Y)−ϕ(ŷ)−ϕ′(ŷ)(Y−ŷ)] By the linearity of expectation, this expands to:
𝔼[S(Y,ŷ)]=𝔼[ϕ(Y)]−ϕ(ŷ)−ϕ′(ŷ)(𝔼[Y]−ŷ) Differentiating with respect to ŷ using the product rule yields:
ddŷ𝔼[S(Y,ŷ)]=0−ϕ′(ŷ)−(ϕ″(ŷ)(𝔼[Y]−ŷ)+ϕ′(ŷ)(−1))=−ϕ′(ŷ)−ϕ″(ŷ)(𝔼[Y]−ŷ)+ϕ′(ŷ)=ϕ″(ŷ)(ŷ−𝔼[Y]) Setting the first derivative to zero for the critical point:
ϕ″(ŷ∗)(ŷ∗−𝔼[Y])=0 Since ϕ is strictly convex, its second derivative satisfies ϕ″(ŷ)>0 for all ŷ. Dividing by ϕ″(ŷ) yields the unique minimizer:
ŷ∗=𝔼[Y]◼
Classification theorems The only symmetric Bregman divergences on X⊂ℝn are squared generalized Euclidean distances (Mahalanobis distance), that is, Df(y,x)=(y−x)TA(y−x) for some positive definite A.
The following two characterizations are for divergences on Γn, the set of all probability measures on {1,2,...,n}, with n≥2. Define a divergence on Γn as any function of type D:Γn×Γn→[0,∞], such that D(x,x)=0 for all x∈Γn, then:
… excerpt ends here. Continue reading the full article.


![Bregman divergence: Generalized Pythagorean theorem for Bregman divergence .[2]](https://thumb.wikimedia.org/wikipedia/commons/thumb/2/2e/Bregman_divergence_Pythagorean.png/500px-Bregman_divergence_Pythagorean.png?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)
