ArticleslgStudy

mathematics

Bregman divergence

Bregman divergence is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Bregman divergence rather than just read about it. In short: 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 res…

Bregman divergence — main illustration
Bregman divergence — illustration

Key takeaways

  • Bregman divergence belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Bregman divergence to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Bregman divergence from memory before moving on to harder problems.

Reference excerpt

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.

Illustrations

Bregman divergence: Bregman divergence between two points on the real line for the case .mw-parser-output .texhtml{font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;font-size:118%;line-height:1;font-variant-numeric:lining-nums tabular-nums;font-kerning:none}.mw-parser-output .texhtml .texhtml{font-size:100%}.mw-parser-output .texhtml-big{font-size:165%}.mw-parser-output .mvar{font-style:italic}@media(min-width:420px){.mw-parser-output .texhtml{white-space:nowrap}} F = exp. It shows that in this case, the divergence is asymmetric.
Bregman divergence between two points on the real line for the case .mw-parser-output .texhtml{font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;font-size:118%;line-height:1;font-variant-numeric:lining-nums tabular-nums;font-kerning:none}.mw-parser-output .texhtml .texhtml{font-size:100%}.mw-parser-output .texhtml-big{font-size:165%}.mw-parser-output .mvar{font-style:italic}@media(min-width:420px){.mw-parser-output .texhtml{white-space:nowrap}} F = exp. It shows that in this case, the divergence is asymmetric.
Bregman divergence: Generalized Pythagorean theorem for Bregman divergence .[2]
Generalized Pythagorean theorem for Bregman divergence .[2]
Bregman divergence: Bregman divergence interpreted as areas.
Bregman divergence interpreted as areas.

Worked examples

Example 1 — a first encounter with Bregman divergence

Start with the simplest possible case. Write down what Bregman divergence claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Bregman divergence before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Bregman divergence ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Bregman divergence

In research
Bregman divergence appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Bregman divergence in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Bregman divergence is common in secondary-school and first-year university syllabi. It links to neighbouring topics Geometric algorithms, Statistical distance, so understanding it makes those chapters shorter.
In everyday life
Look for Bregman divergence outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Bregman divergence” →

How to study Bregman divergence in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Bregman divergence means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Bregman divergence out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Bregman divergence in simple terms?

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 distr…

Why does Bregman divergence matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Bregman divergence?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Bregman divergence.

Tags

  • Geometric algorithms
  • Statistical distance

Keep exploring