Skip to main content

Concentration Probability

Talagrand's Convex-Distance Inequality

Concentration for product measures through the convex distance: P(A) E exp(d_T(X, A)^2 / 4) <= 1. Convex Lipschitz functions of independent bounded coordinates fluctuate on a window of constant width around their median, with no dependence on dimension.

AdvancedAdvancedTier 2StableSupporting~65 min
For:MLStatsResearch

Learning position

Place this page in a reading path.

concentration-probability | layer 3 | tier 2. This page has 2 direct prerequisites and 0 published dependents.

What next

Matrix Concentration

This is the first curated or graph-derived continuation from the current page.

Evidence badge

Source-grounded page

This page has no public Lean mapping yet. Use the evidence page to inspect how claim status labels work.

Show the backing system

Why This Matters

Take nn independent coordinates X1,,XnX_1, \ldots, X_n with values in [0,1][0,1] and a function ff that is convex and 1-Lipschitz for the Euclidean norm. McDiarmid's inequality sees only coordinatewise sensitivity: changing one coordinate moves ff by at most 1, so the bound exp(2t2/n)\exp(-2t^2/n) confines f(X)f(X) to a window of width of order n\sqrt n. That window says nothing, since the cube [0,1]n[0,1]^n itself has diameter n\sqrt n.

Talagrand's convex-distance inequality gives the same function a window of constant width:

P(f(X)Mt)4et2/4,\mathbb{P}\bigl(|f(X) - M| \ge t\bigr) \le 4 e^{-t^2/4},

where MM is a median of f(X)f(X). The bound does not depend on nn, and it does not depend on the laws of the XiX_i beyond independence and the range [0,1][0,1]. Tao (2009) makes the comparison explicit: Azuma and McDiarmid give concentration of order n\sqrt n for such functions, which is trivial on a cube of diameter of order n\sqrt n, while Talagrand's inequality gives order 1 because it uses convexity and the Lipschitz property in all directions at once.

For Gaussian coordinates, dimension-free concentration of Lipschitz functions is classical (see measure concentration). Talagrand's inequality reaches arbitrary bounded product measures and pays for it with convexity. The same inequality also handles functions that are not convex but have short certificates, such as the length of the longest increasing subsequence (Talagrand 1995, Section 7.1).

Mental Model

McDiarmid charges every coordinate its worst-case influence and adds the squares. The convex distance lets the weights depend on the point: dT(x,A)d_T(x, A) is the largest weighted Hamming distance from xx to AA over all nonnegative weight vectors of unit Euclidean norm. A point is close to AA in this sense only if, for every such weighting, some point of AA agrees with xx on most of the weight. The inequality says that under any product measure, the points that are far from a set of probability 1/21/2 in this demanding sense have Gaussian-small probability.

To use the inequality on a function one needs a bridge from dTd_T to that function. There are two standard bridges:

  1. Convexity. A point with small convex distance to a sublevel set is Euclidean-close to the convex hull of that set, and a convex function stays below the level on the hull.
  2. Certificates. If f(x)sf(x) \ge s is witnessed by a small set of coordinates, put the weight on exactly those coordinates.

Formal Setup

Let Ω=Ω1××Ωn\Omega = \Omega_1 \times \cdots \times \Omega_n be a product of probability spaces with product measure P=μ1μnP = \mu_1 \otimes \cdots \otimes \mu_n, and let X=(X1,,Xn)PX = (X_1, \ldots, X_n) \sim P. The coordinates are independent; they need not be identically distributed or real-valued. Throughout, AΩA \subseteq \Omega is measurable and the map xdT(x,A)x \mapsto d_T(x, A) is assumed measurable. Both hold automatically when every Ωi\Omega_i is finite.

Definition

Weighted Hamming distance

For αRn\alpha \in \mathbb{R}^n with every αi0\alpha_i \ge 0, a point xΩx \in \Omega, and a nonempty set AΩA \subseteq \Omega,

dα(x,A)=infyAi=1nαi1{xiyi}.d_\alpha(x, A) = \inf_{y \in A} \sum_{i=1}^n \alpha_i \, \mathbf{1}\{x_i \ne y_i\}.

With α=(1,,1)\alpha = (1, \ldots, 1) this is the Hamming distance H(x,A)H(x, A), the least number of coordinates in which xx differs from a point of AA.

Definition

Convex distance

dT(x,A)=sup{dα(x,A):αRn, αi0 for all i, α2=1}.d_T(x, A) = \sup\Bigl\{ d_\alpha(x, A) : \alpha \in \mathbb{R}^n,\ \alpha_i \ge 0 \text{ for all } i,\ \|\alpha\|_2 = 1 \Bigr\}.

The name comes from an equivalent description (Talagrand 1995, Section 4.1). Let

UA(x)={s{0,1}n:there is yA with yi=xi whenever si=0},U_A(x) = \bigl\{ s \in \{0,1\}^n : \text{there is } y \in A \text{ with } y_i = x_i \text{ whenever } s_i = 0 \bigr\},

the patterns of coordinates that xx may change to reach AA, and let VA(x)V_A(x) be the convex hull of UA(x)U_A(x) in Rn\mathbb{R}^n. Then

dT(x,A)=minsVA(x)s2,d_T(x, A) = \min_{s \in V_A(x)} \|s\|_2 ,

the Euclidean distance from the origin to VA(x)V_A(x). Talagrand defines his distance fc(A,x)f_c(A, x) this way and records the weighted Hamming form in his Lemma 4.1.2. Tao (2010, Notes 1) calls the same object the combinatorial distance.

The equivalence is a short projection argument. For α0\alpha \ge 0 the linear map sα,ss \mapsto \langle \alpha, s \rangle has the same infimum over UA(x)U_A(x) as over its convex hull, and that infimum equals dα(x,A)d_\alpha(x, A): each yAy \in A contributes its disagreement pattern (1{xiyi})iUA(x)(\mathbf{1}\{x_i \ne y_i\})_i \in U_A(x), and each sUA(x)s \in U_A(x) dominates the disagreement pattern of its witness coordinatewise. Cauchy-Schwarz then gives dα(x,A)α2minsVA(x)s2d_\alpha(x, A) \le \|\alpha\|_2 \min_{s \in V_A(x)} \|s\|_2. For the reverse inequality let ss^\star be the point of VA(x)V_A(x) nearest the origin. If s0s^\star \ne 0, the weight α=s/s2\alpha = s^\star/\|s^\star\|_2 is nonnegative, and the projection inequality s,ss22\langle s, s^\star \rangle \ge \|s^\star\|_2^2 for sVA(x)s \in V_A(x) gives dα(x,A)s2d_\alpha(x, A) \ge \|s^\star\|_2.

Three facts are used repeatedly:

  1. dT(x,A)=0d_T(x, A) = 0 if and only if xAx \in A.
  2. H(x,A)/ndT(x,A)H(x,A)H(x, A)/\sqrt n \le d_T(x, A) \le \sqrt{H(x, A)} (Exercise 1).
  3. dTd_T is not a metric on Ω\Omega. It compares a point with a set, and the optimal weights depend on the point.

The Convex-Distance Inequality

Theorem

Talagrand's Convex-Distance Inequality

Statement

P(XA)  Eexp ⁣(dT(X,A)24)1.\mathbb{P}(X \in A)\;\mathbb{E}\exp\!\left(\frac{d_T(X, A)^2}{4}\right) \le 1 .

Consequently, for every t0t \ge 0,

P(XA)  P(dT(X,A)t)et2/4,\mathbb{P}(X \in A)\;\mathbb{P}\bigl(d_T(X, A) \ge t\bigr) \le e^{-t^2/4},

and if P(XA)1/2\mathbb{P}(X \in A) \ge 1/2 then P(dT(X,A)t)2et2/4\mathbb{P}(d_T(X, A) \ge t) \le 2e^{-t^2/4} (Talagrand 1995, Theorem 4.1.1).

Intuition

Build dT(X,A)2d_T(X, A)^2 one coordinate at a time. For the newest coordinate there are two options: insist that it match, which costs nothing but restricts attention to a section of AA that may be small, or give it up, which costs 1 but only requires the other coordinates to reach the larger projection of AA. The proof mixes the two options with weights λ\lambda and 1λ1 - \lambda. Hölder's inequality turns the mixture into a geometric mean of the two probabilities, and a one-variable inequality shows that the product P(A)EedT2/4\mathbb{P}(A)\,\mathbb{E}e^{d_T^2/4} never exceeds 1 when a coordinate is added.

Proof Sketch

The proof is by induction on nn and follows Talagrand (1995, Section 4.1).

A numerical lemma. For 0r10 \le r \le 1,

inf0λ1rλexp ⁣((1λ)24)2r\inf_{0 \le \lambda \le 1} r^{-\lambda} \exp\!\left(\frac{(1-\lambda)^2}{4}\right) \le 2 - r

(Talagrand 1995, Lemma 4.1.3). If r<e1/2r < e^{-1/2}, take λ=0\lambda = 0; the claim e1/42re^{1/4} \le 2 - r holds because e1/4+e1/2<2e^{1/4} + e^{-1/2} < 2. If re1/2r \ge e^{-1/2}, take λ=1+2logr\lambda = 1 + 2\log r. After taking logarithms the claim becomes g(r)=log(2r)+logr+(logr)20g(r) = \log(2 - r) + \log r + (\log r)^2 \ge 0. Since g(1)=0g(1) = 0 and rg(r)r g'(r) vanishes at r=1r = 1 and has derivative 2/r2/(2r)202/r - 2/(2-r)^2 \ge 0, gg is nonincreasing on (0,1](0, 1].

One coordinate. If n=1n = 1, then dT(x,A)=0d_T(x, A) = 0 for xAx \in A and dT(x,A)=1d_T(x, A) = 1 otherwise. With p=P(XA)p = \mathbb{P}(X \in A) the claim reads p(p+(1p)e1/4)1p\,\bigl(p + (1 - p)e^{1/4}\bigr) \le 1. The left side is increasing in p[0,1]p \in [0, 1] and equals 1 at p=1p = 1.

Adding a coordinate. Write a point of Ω×Ωn+1\Omega \times \Omega_{n+1} as z=(x,ω)z = (x, \omega), and write PP for the product measure on the first nn coordinates. For a set AA in the larger space let A(ω)={x:(x,ω)A}A(\omega) = \{x : (x, \omega) \in A\} be its section and BB its projection onto Ω\Omega. If sUA(ω)(x)s \in U_{A(\omega)}(x) then (s,0)UA(z)(s, 0) \in U_A(z), and if uUB(x)u \in U_B(x) then (u,1)UA(z)(u, 1) \in U_A(z). Taking convex combinations, for sVA(ω)(x)s \in V_{A(\omega)}(x), uVB(x)u \in V_B(x) and λ[0,1]\lambda \in [0, 1] the point (λs+(1λ)u, 1λ)(\lambda s + (1 - \lambda) u,\ 1 - \lambda) lies in VA(z)V_A(z). Convexity of vv22v \mapsto \|v\|_2^2 gives

dT(z,A)2(1λ)2+λdT(x,A(ω))2+(1λ)dT(x,B)2.d_T(z, A)^2 \le (1 - \lambda)^2 + \lambda\, d_T\bigl(x, A(\omega)\bigr)^2 + (1 - \lambda)\, d_T(x, B)^2 .

Fix ω\omega and integrate in xx. Hölder's inequality with exponents 1/λ1/\lambda and 1/(1λ)1/(1 - \lambda), followed by the induction hypothesis for A(ω)A(\omega) and for BB, gives

exp ⁣(dT((x,ω),A)24)dP(x)1P(B)  rλexp ⁣((1λ)24),r=P(A(ω))P(B)1.\int \exp\!\left(\frac{d_T((x, \omega), A)^2}{4}\right) dP(x) \le \frac{1}{P(B)}\; r^{-\lambda} \exp\!\left(\frac{(1 - \lambda)^2}{4}\right), \qquad r = \frac{P(A(\omega))}{P(B)} \le 1 .

Only now choose λ\lambda, depending on ω\omega, from the numerical lemma, so the right side is at most (2r)/P(B)(2 - r)/P(B). Talagrand describes declining to optimize over λ\lambda before this point as the main trick of the proof. When r=0r = 0 the lemma uses λ=0\lambda = 0, so an empty section causes no trouble. Integrating over ω\omega with Fubini's theorem and writing v=P(A)/P(B)v = \mathbb{P}(A)/P(B),

Eexp ⁣(dT(Z,A)24)2vP(B)=v(2v)P(A)1P(A),\mathbb{E}\exp\!\left(\frac{d_T(Z, A)^2}{4}\right) \le \frac{2 - v}{P(B)} = \frac{v\,(2 - v)}{\mathbb{P}(A)} \le \frac{1}{\mathbb{P}(A)},

because v(2v)1v(2 - v) \le 1 for every real vv.

Tail form. Markov's inequality applied to exp(dT(X,A)2/4)\exp(d_T(X, A)^2/4) turns the first display of the statement into the second.

Why It Matters

The theorem is a statement about sets, and applications follow one template: choose a set AA of probability at least 1/21/2, usually a sublevel set of the quantity of interest; show that a point where the quantity is large has large convex distance to AA; read off the tail. Talagrand (1995) runs this template on bin packing (Section 6), longest increasing and longest common subsequences (Section 7), percolation (Section 8), the chromatic number of random graphs (Section 9), the assignment problem (Section 10), and geometric probability, including the traveling salesman problem (Section 11). No martingale structure and no smoothness of the coordinate distributions is needed.

Failure Mode

Independence is used in the Hölder and Fubini steps and cannot be dropped. Let X1==XnX_1 = \cdots = X_n be one fair bit copied nn times and let AA be the set of x{0,1}nx \in \{0,1\}^n with at least n/2n/2 zeros, so P(XA)=1/2\mathbb{P}(X \in A) = 1/2. From x=(1,,1)x = (1, \ldots, 1) every pattern in UA(x)U_A(x) has at least n/2n/2 ones, so every sVA(x)s \in V_A(x) has coordinate sum at least n/2n/2 and Euclidean norm at least n/2\sqrt n/2. Hence P(dT(X,A)n/2)=1/2\mathbb{P}(d_T(X, A) \ge \sqrt n/2) = 1/2, while the product-measure bound would force it to be at most 2en/162e^{-n/16}, which is less than 1/21/2 for n23n \ge 23.

The theorem also says nothing directly about Euclidean or Hamming distance. Passing from dTd_T to a function of interest needs extra structure, and without it the conclusion can fail for the function even though it holds for dTd_T (Exercise 3).

Convex Lipschitz Functions

Lemma

Convex Distance Controls Euclidean Distance to the Convex Hull

Statement

If x[0,1]nx \in [0,1]^n and A[0,1]nA \subseteq [0,1]^n is nonempty, then

dist2(x,convA)dT(x,A).\operatorname{dist}_2\bigl(x, \operatorname{conv} A\bigr) \le d_T(x, A).

Proof Sketch

Let sVA(x)s \in V_A(x) attain s2=dT(x,A)\|s\|_2 = d_T(x, A) and write s=kθksks = \sum_k \theta_k s^k as a convex combination of patterns skUA(x)s^k \in U_A(x) with witnesses ykAy^k \in A, so yik=xiy^k_i = x_i whenever sik=0s^k_i = 0. Put w=kθkykconvAw = \sum_k \theta_k y^k \in \operatorname{conv} A. All coordinates lie in [0,1][0,1], so xiyiksik|x_i - y^k_i| \le s^k_i for every ii and kk, and therefore xiwikθkxiyiksi|x_i - w_i| \le \sum_k \theta_k |x_i - y^k_i| \le s_i. Hence xw2s2\|x - w\|_2 \le \|s\|_2.

Tao (2010, Notes 1, Lemma 10) proves the same comparison for convex sets in a product of unit disks, where the factor is 2 because a disk has diameter 2.

Corollary

Concentration of Convex Lipschitz Functions

Statement

Let X1,,XnX_1, \ldots, X_n be independent with values in [a,b][a, b], let f:[a,b]nRf : [a, b]^n \to \mathbb{R} be convex and LL-Lipschitz with respect to 2\|\cdot\|_2, and let MM be a median of f(X)f(X). For every t0t \ge 0,

P(f(X)M+t)2exp ⁣(t24L2(ba)2),P(f(X)Mt)2exp ⁣(t24L2(ba)2).\mathbb{P}\bigl(f(X) \ge M + t\bigr) \le 2\exp\!\left(-\frac{t^2}{4L^2(b - a)^2}\right), \qquad \mathbb{P}\bigl(f(X) \le M - t\bigr) \le 2\exp\!\left(-\frac{t^2}{4L^2(b - a)^2}\right).

Hence P(f(X)Mt)4exp(t2/(4L2(ba)2))\mathbb{P}(|f(X) - M| \ge t) \le 4\exp(-t^2/(4L^2(b-a)^2)), and integrating the tail gives Ef(X)M4πL(ba)\mathbb{E}|f(X) - M| \le 4\sqrt{\pi}\,L(b - a).

Intuition

A convex function stays below MM on the whole convex hull of its sublevel set {fM}\{f \le M\}. If f(x)M+tf(x) \ge M + t, the Lipschitz property puts xx at Euclidean distance at least t/Lt/L from that hull, and the lemma converts distance to the hull into convex distance to the set. The theorem bounds the probability of being that far.

Proof Sketch

The affine change of variables ua+(ba)uu \mapsto a + (b - a)u, followed by division by L(ba)L(b - a), reduces to [a,b]=[0,1][a, b] = [0, 1] and L=1L = 1.

Upper tail: let A={y:f(y)M}A = \{y : f(y) \le M\}, so P(XA)1/2\mathbb{P}(X \in A) \ge 1/2. If f(x)M+tf(x) \ge M + t and wconvAw \in \operatorname{conv} A, then f(w)Mf(w) \le M by convexity, so tf(x)f(w)xw2t \le f(x) - f(w) \le \|x - w\|_2. The lemma gives dT(x,A)td_T(x, A) \ge t, and the theorem gives P(f(X)M+t)2et2/4\mathbb{P}(f(X) \ge M + t) \le 2e^{-t^2/4}.

Lower tail: let A={y:f(y)Mt}A = \{y : f(y) \le M - t\}. The same argument shows dT(x,A)td_T(x, A) \ge t whenever f(x)Mf(x) \ge M, an event of probability at least 1/21/2. The theorem gives P(XA)12et2/4\mathbb{P}(X \in A) \cdot \tfrac{1}{2} \le e^{-t^2/4}.

Why It Matters

The window width L(ba)L(b - a) does not involve nn. McDiarmid applied to the same function has bounded-difference constants ci=L(ba)c_i = L(b - a) and tail exp(2t2/(nL2(ba)2))\exp(-2t^2/(nL^2(b - a)^2)), a window of width of order nL(ba)\sqrt n\,L(b - a). A mean-centered version with a better constant also holds: for independent coordinates in [0,1][0, 1] and differentiable convex ff, van Handel (2016, Corollary 4.23) shows that f(X)f(X) is σ2\sigma^2-subgaussian with σ2=supxf(x)22\sigma^2 = \sup_x \|\nabla f(x)\|_2^2. For a 1-Lipschitz ff this gives P(f(X)Ef(X)t)et2/2\mathbb{P}(f(X) - \mathbb{E}f(X) \ge t) \le e^{-t^2/2} and the same bound for the lower tail. His proof goes through a transportation inequality (van Handel 2016, Section 4.3) rather than the induction above.

Failure Mode

Convexity is used in both tails and cannot be replaced by the Lipschitz property alone: Exercise 3 builds a 1-Lipschitz, non-convex function on {0,1}n\{0,1\}^n whose fluctuations are of order n1/4n^{1/4}. The Lipschitz constant must be taken for the Euclidean norm. A function that is 1-Lipschitz for 1\|\cdot\|_1, such as ixi\sum_i x_i, can have Euclidean Lipschitz constant n\sqrt n, and then the bound is no better than McDiarmid's. Boundedness enters through (ba)2(b - a)^2; for unbounded coordinates the corollary gives nothing without truncation.

Worked Example: The Largest Eigenvalue of a Random Symmetric Matrix

Example

Top eigenvalue and operator norm with bounded entries

Let WW be an n×nn \times n symmetric random matrix whose entries WijW_{ij} with iji \le j are independent, satisfy Wij1|W_{ij}| \le 1, and determine the rest through Wji=WijW_{ji} = W_{ij}. Treat λmax(W)\lambda_{\max}(W) as a function of the N=n(n+1)/2N = n(n+1)/2 independent coordinates w=(Wij)ij[1,1]Nw = (W_{ij})_{i \le j} \in [-1, 1]^N.

Convexity. λmax(W)=supv2=1vWv\lambda_{\max}(W) = \sup_{\|v\|_2 = 1} v^\top W v is a supremum of linear functions of ww, so it is convex. The same holds for Wop=supu2=v2=1uWv\|W\|_{\mathrm{op}} = \sup_{\|u\|_2 = \|v\|_2 = 1} u^\top W v.

Lipschitz constant. For symmetric WW and WW' with coordinate vectors ww and ww',

λmax(W)λmax(W)WWopWWF=(i(wiiwii)2+2i<j(wijwij)2)1/22ww2.|\lambda_{\max}(W) - \lambda_{\max}(W')| \le \|W - W'\|_{\mathrm{op}} \le \|W - W'\|_F = \Bigl(\sum_{i} (w_{ii} - w'_{ii})^2 + 2\sum_{i < j} (w_{ij} - w'_{ij})^2\Bigr)^{1/2} \le \sqrt{2}\,\|w - w'\|_2 .

Tail. The corollary with L=2L = \sqrt 2 and ba=2b - a = 2 gives, for a median MM of λmax(W)\lambda_{\max}(W),

P(λmax(W)Mt)4et2/32,\mathbb{P}\bigl(|\lambda_{\max}(W) - M| \ge t\bigr) \le 4 e^{-t^2/32},

and the same bound holds for Wop\|W\|_{\mathrm{op}} around its median. This is the s=1s = 1 case of Alon, Krivelevich, and Vu (2002, Theorem 1), who use Talagrand's inequality to bound the deviation of the ss-th largest eigenvalue from its median by 4et2/(32s2)4e^{-t^2/(32 s^2)}. Tao (2010, Notes 3, Proposition 14) proves the analogous operator-norm bound, with unspecified absolute constants, for the non-symmetric model in which all n2n^2 entries are independent, mean zero, and bounded by 1.

Scale. For a symmetric random sign matrix every column has Euclidean norm n\sqrt n, so Wopn\|W\|_{\mathrm{op}} \ge \sqrt n, and Wop=O(n)\|W\|_{\mathrm{op}} = O(\sqrt n) with overwhelming probability (Tao 2010, Notes 3, Corollary 8). The median of the norm is therefore of order n\sqrt n, and the window above is small relative to it. McDiarmid on the same coordinates has cij=2c_{ij} = 2 for each of the NN coordinates and gives exp(t2/(2N))\exp(-t^2/(2N)), a window of order nn, which is larger than the median itself. The inequality is not sharp: Tao (2010, Notes 3) notes that under additional assumptions the Tracy-Widom law gives fluctuations of order n1/6n^{-1/6}. Talagrand's inequality also says nothing about where the median is; that requires the moment method or matrix concentration.

Worked Example: Longest Increasing Subsequence

The length of the longest increasing subsequence is not a convex function of the points, but it has short certificates, and the convex distance handles those directly.

Example

Fluctuations of the longest increasing subsequence

Let X1,,XNX_1, \ldots, X_N be independent and uniform on [0,1][0, 1], let LN(x)L_N(x) be the length of the longest increasing subsequence of x1,,xNx_1, \ldots, x_N, and let A(a)={y:LN(y)a}A(a) = \{y : L_N(y) \le a\}.

Certificate step (Talagrand 1995, Lemma 7.1.1). Fix xx with LN(x)=mL_N(x) = m and let II index an increasing subsequence of length mm. Take α=m1/21I\alpha = m^{-1/2}\mathbf{1}_I. The weighted Hamming form of dTd_T yields yA(a)y \in A(a) that differs from xx on at most mdT(x,A(a))\sqrt m\, d_T(x, A(a)) indices of II. The remaining indices of II still carry an increasing subsequence of yy, so

aLN(y)mm  dT(x,A(a)),that is,dT(x,A(a))mam.a \ge L_N(y) \ge m - \sqrt m\; d_T\bigl(x, A(a)\bigr), \qquad \text{that is,} \qquad d_T\bigl(x, A(a)\bigr) \ge \frac{m - a}{\sqrt m}.

Tails. Let MM be a median of LN=LN(X)L_N = L_N(X). For a0a \ge 0 the map m(ma)/mm \mapsto (m - a)/\sqrt m is increasing. Taking a=Ma = M and applying the theorem gives the upper tail. Taking a=Mua = M - u and using P(LNM)1/2\mathbb{P}(L_N \ge M) \ge 1/2 gives the lower tail:

P(LNM+u)2exp ⁣(u24(M+u)),P(LNMu)2exp ⁣(u24M)\mathbb{P}(L_N \ge M + u) \le 2\exp\!\left(-\frac{u^2}{4(M + u)}\right), \qquad \mathbb{P}(L_N \le M - u) \le 2\exp\!\left(-\frac{u^2}{4M}\right)

(Talagrand 1995, Theorem 7.1.2).

Scale. For i.i.d. uniform points, LNL_N has the law of the longest increasing subsequence of a uniform random permutation of {1,,N}\{1, \ldots, N\} (Talagrand 1995, Section 7.1). Baik, Deift, and Johansson (1999) show that this length, centered by 2N2\sqrt N and scaled by N1/6N^{1/6}, converges in distribution to the Tracy-Widom law. So MM is of order N\sqrt N and Talagrand's bound confines LNL_N to a window of order N1/4N^{1/4}. McDiarmid, with ci=1c_i = 1, gives only exp(2u2/N)\exp(-2u^2/N), a window of order N1/2N^{1/2} (see the example on the McDiarmid page). Neither bound reaches the true N1/6N^{1/6} scale.

The argument uses only one property of LNL_N: its value at xx is certified by a set of coordinates whose size equals that value. Talagrand calls such functions configuration functions and proves the same two tail bounds for all of them (Talagrand 1995, Theorem 7.1.3).

Comparison with McDiarmid, Gaussian Concentration, and Other Talagrand Results

ResultCoordinatesQuantity controlledTail boundCentered at
McDiarmidindependent, any spacesff with bounded differences cic_iexp(2t2/ici2)\exp(-2t^2/\sum_i c_i^2), each sidemean
Gaussian concentrationindependent N(0,1)\mathcal{N}(0, 1)ff 1-Lipschitz for the Euclidean norm, no convexityet2/2e^{-t^2/2}, each sidemean
Talagrand, convex distanceindependent, any spacesdT(X,A)d_T(X, A); convex Lipschitz ff of bounded coordinates; configuration functions4et2/44e^{-t^2/4} for convex 1-Lipschitz ff on [0,1]n[0,1]^nmedian
Talagrand, empirical processes (Bousquet form)i.i.d.Z=supgGig(Xi)Z = \sup_{g \in \mathcal{G}} \sum_i g(X_i) for a countable class of mean-zero g1g \le 1, with σ2supgVarg(X1)\sigma^2 \ge \sup_g \mathrm{Var}\, g(X_1)exe^{-x} beyond EZ+2vx+x/3\mathbb{E}Z + \sqrt{2vx} + x/3, with v=nσ2+2EZv = n\sigma^2 + 2\mathbb{E}Zmean, upper tail
DKW (Massart constant)i.i.d. realsupremum of the empirical CDF deviation, scaled by n\sqrt n2e2λ22e^{-2\lambda^2} beyond level λ\lambda0

The rows come from McDiarmid's inequality as stated on its page, van Handel (2016, Theorem 3.25) for Gaussian coordinates, the corollary above, Bousquet (2002, Theorem 2.3), and Massart (1990).

Against McDiarmid. Bounded differences constrain ff one coordinate at a time. For a convex LL-Lipschitz function of coordinates in [a,b][a, b] the coordinatewise constants add up to ici2=nL2(ba)2\sum_i c_i^2 = nL^2(b - a)^2, even though ff is LL-Lipschitz in every direction simultaneously. Tao (2009) notes that Azuma's inequality uses the Lipschitz property only along coordinate directions, and in exchange works as well for the larger 1\ell^1 metric. McDiarmid keeps two advantages: it needs no convexity, and it is centered at the mean with an explicit constant.

Against Gaussian concentration. For standard Gaussian coordinates every 1-Lipschitz ff satisfies P(f(X)Ef(X)t)et2/2\mathbb{P}(f(X) - \mathbb{E}f(X) \ge t) \le e^{-t^2/2} (van Handel 2016, Theorem 3.25), with no convexity. On the discrete cube {0,1}n\{0,1\}^n, convexity cannot be dropped (Exercise 3). The uniform law on [0,1]n[0,1]^n behaves differently: Xi=Φ(Gi)X_i = \Phi(G_i) for standard Gaussian GiG_i, and the Gaussian distribution function Φ\Phi is (2π)1/2(2\pi)^{-1/2}-Lipschitz, so every 1-Lipschitz function of uniform coordinates is a Lipschitz function of Gaussian ones. In Tao's (2009) summary, Lipschitz functions of Gaussian variables concentrate as if they were Gaussian, and Talagrand's inequality says the same for convex Lipschitz functions of Bernoulli variables.

Where It Is Used in Learning Theory and ML

Rademacher sums conditional on the data. Fix a sample x1,,xnx_1, \ldots, x_n and a class F\mathcal{F} with σF=supfF(if(xi)2)1/2<\sigma_{\mathcal{F}} = \sup_{f \in \mathcal{F}} \bigl(\sum_i f(x_i)^2\bigr)^{1/2} < \infty. For signs ε{1,1}n\varepsilon \in \{-1, 1\}^n let

Z(ε)=supfFi=1nεif(xi).Z(\varepsilon) = \sup_{f \in \mathcal{F}} \sum_{i=1}^n \varepsilon_i f(x_i).

ZZ is convex in ε\varepsilon as a supremum of linear functions, and Cauchy-Schwarz makes it σF\sigma_{\mathcal{F}}-Lipschitz for 2\|\cdot\|_2. With independent Rademacher signs, the corollary on [1,1]n[-1, 1]^n gives P(ZMt)4exp(t2/(16σF2))\mathbb{P}(|Z - M| \ge t) \le 4\exp(-t^2/(16\sigma_{\mathcal{F}}^2)), so one draw of signs estimates EεZ\mathbb{E}_\varepsilon Z, which is nn times the empirical Rademacher complexity, to within a multiple of σF\sigma_{\mathcal{F}}. McDiarmid on the same variable uses ci=2supff(xi)c_i = 2\sup_f |f(x_i)|, so its scale is (isupff(xi)2)1/2\bigl(\sum_i \sup_f f(x_i)^2\bigr)^{1/2}: the supremum sits inside the sum instead of outside. For the linear class {xw,x:w2B}\{x \mapsto \langle w, x \rangle : \|w\|_2 \le B\} with data matrix XRn×dX \in \mathbb{R}^{n \times d}, the two scales are BXopB\|X\|_{\mathrm{op}} and BXFB\|X\|_F. Their squared ratio is the stable rank of XX, which can be as large as min(n,d)\min(n, d) (Exercise 5).

Random matrices. For matrices with independent bounded entries, the eigenvalue example splits a norm bound into two separate questions: the fluctuation, which is O(1)O(1) by Talagrand's inequality whatever the dimension, and the location of the median, which needs the moment method or matrix concentration.

Suprema of empirical processes. Uniform deviation bounds need the supremum supgig(Xi)\sup_{g} \sum_i g(X_i) to concentrate around its mean. Bounded differences give a range-based tail. Talagrand's empirical-process inequality, in Bousquet's form, gives an upper tail driven by v=nσ2+2EZv = n\sigma^2 + 2\mathbb{E}Z. Its hypotheses are i.i.d. XiX_i, a countable class of functions gg with Eg(X1)=0\mathbb{E}g(X_1) = 0 and g1g \le 1, and σ2supgVarg(X1)\sigma^2 \ge \sup_g \mathrm{Var}\, g(X_1) (Bousquet 2002, Theorem 2.3). The proxy vv is small when the functions have small variance. Bousquet proves it with the entropy method (Bousquet 2002, Section 3). It is a different theorem from the convex-distance inequality on this page, and it still needs a bound on EZ\mathbb{E}Z from empirical processes and chaining.

Common Confusions

Watch Out

Talagrand's name is on at least four different results

  • The convex-distance inequality on this page (Talagrand 1995, Theorem 4.1.1): concentration of product measures, stated for sets, centered at a median in its functional forms.
  • The concentration inequality for suprema of empirical processes (Talagrand 1996): in the form of Bousquet (2002, Theorem 2.3), a Bennett-type tail for supgig(Xi)\sup_g \sum_i g(X_i) above its mean, with a variance term.
  • The Ledoux-Talagrand contraction principle (contraction inequality): a comparison of expected Rademacher suprema under Lipschitz maps, with no tail bound in it.
  • Generic chaining and majorizing measures (empirical processes and chaining): bounds on the expected supremum of a process through the γ2\gamma_2 functional.

Quoting one result with the hypotheses of another produces wrong constants and wrong conditions. The empirical-process inequality needs a supremum of sums and gives a mean-centered Bernstein or Bennett type tail. The convex-distance inequality needs convexity or certificates and gives a median-centered Gaussian tail.

Watch Out

DKW is not a Talagrand inequality

The Dvoretzky-Kiefer-Wolfowitz inequality concerns one empirical process, the empirical CDF on the real line. Massart (1990) proved P(nsupxFn(x)F(x)>λ)2e2λ2\mathbb{P}(\sqrt n \sup_x \lvert F_n(x) - F(x) \rvert > \lambda) \le 2e^{-2\lambda^2} with no restriction on λ\lambda. It bounds the supremum itself, for that single class, with an explicit constant and no variance term. Talagrand's empirical-process inequality covers general classes, in Bousquet's form bounds deviations above EZ\mathbb{E}Z, and must be combined with a separate estimate of EZ\mathbb{E}Z. The convex-distance inequality is a third statement about product measures that mentions neither.

Watch Out

The convex distance is not the Euclidean distance

dT(x,A)d_T(x, A) compares a point with a set using weights chosen for that point. It lies between H(x,A)/nH(x, A)/\sqrt n and H(x,A)\sqrt{H(x, A)}. Euclidean distance enters only through the lemma above, which needs bounded coordinates and passes to the convex hull of AA. That is why the Euclidean corollary requires ff to be convex.

Watch Out

The window is dimension-free but not the true fluctuation scale

The O(1)O(1) window for convex 1-Lipschitz functions cannot be improved in general: f(x)=x1f(x) = x_1 already fluctuates on that scale. For a particular function the true scale can be much smaller. Under additional assumptions the operator norm of a random matrix fluctuates on scale n1/6n^{-1/6} (Tao 2010, Notes 3), and LNL_N fluctuates on scale N1/6N^{1/6} (Baik, Deift, and Johansson 1999), while the inequality certifies O(1)O(1) and N1/4N^{1/4}. The bounds are also centered at a median; for convex Lipschitz functions the mean lies within 4πL(ba)4\sqrt\pi\,L(b - a) of it.

Summary

  • dT(x,A)=supα0, α2=1infyAiαi1{xiyi}d_T(x, A) = \sup_{\alpha \ge 0,\ \|\alpha\|_2 = 1} \inf_{y \in A} \sum_i \alpha_i \mathbf{1}\{x_i \ne y_i\}, the distance from the origin to the convex hull of the patterns UA(x)U_A(x).
  • For every product measure, P(A)EedT(X,A)2/41\mathbb{P}(A)\,\mathbb{E}e^{d_T(X, A)^2/4} \le 1, hence P(A)P(dT(X,A)t)et2/4\mathbb{P}(A)\,\mathbb{P}(d_T(X, A) \ge t) \le e^{-t^2/4}.
  • The proof inducts on dimension, mixes matching and releasing the new coordinate with weight λ\lambda, applies Hölder, and closes with infλrλe(1λ)2/42r\inf_\lambda r^{-\lambda}e^{(1-\lambda)^2/4} \le 2 - r.
  • For convex LL-Lipschitz ff of independent coordinates in [a,b][a, b]: P(f(X)Mt)4et2/(4L2(ba)2)\mathbb{P}(\lvert f(X) - M \rvert \ge t) \le 4e^{-t^2/(4L^2(b-a)^2)}, with no dependence on nn.
  • Certificates give the same template for combinatorial functions: LNL_N has a window of order N1/4N^{1/4}.
  • It is not the empirical-process inequality, not DKW, not the contraction principle, and not generic chaining.

Exercises

ExerciseCore

Problem

Show that H(x,A)/ndT(x,A)H(x,A)H(x, A)/\sqrt n \le d_T(x, A) \le \sqrt{H(x, A)} for every nonempty AA, where H(x,A)H(x, A) is the Hamming distance from xx to AA. Then show that the upper bound is attained when AA is a single point, and the lower bound is attained when AA is the set of points that differ from xx in at least k1k \ge 1 coordinates (assume every Ωi\Omega_i has at least two points).

ExerciseCore

Problem

Redo the eigenvalue example when the independent entries WijW_{ij}, iji \le j, take values in [0,1][0, 1] instead of [1,1][-1, 1]. What tail bound do you get for λmax(W)\lambda_{\max}(W) around its median, and what does it say about the adjacency matrix of the random graph G(n,p)G(n, p)?

ExerciseAdvanced

Problem

Let n8n \ge 8, let XX be uniform on {0,1}n\{0, 1\}^n, let m=n/2nm = \lfloor n/2 - \sqrt n \rfloor, and let A={y{0,1}n:iyim}A = \{y \in \{0,1\}^n : \sum_i y_i \le m\}. Define g(x)=dist2(x,A)g(x) = \operatorname{dist}_2(x, A) for xRnx \in \mathbb{R}^n. Show that gg is 1-Lipschitz but not convex, compute gg on {0,1}n\{0, 1\}^n, and show that g(X)g(X) has fluctuations of order n1/4n^{1/4}. Why does this not contradict Talagrand's inequality?

ExerciseAdvanced

Problem

Let XX be uniform on {1,1}n\{-1, 1\}^n and let VRnV \subseteq \mathbb{R}^n be a subspace of dimension dd. Show that P(dist(X,V)Mt)4et2/16\mathbb{P}(\lvert \operatorname{dist}(X, V) - M \rvert \ge t) \le 4e^{-t^2/16} for a median MM of dist(X,V)\operatorname{dist}(X, V), and then show that Mnd8\lvert M - \sqrt{n - d} \rvert \le 8.

ExerciseAdvanced

Problem

Let XRn×dX \in \mathbb{R}^{n \times d} have rows x1,,xnx_1, \ldots, x_n, and let Z(ε)=supw21iεiw,xiZ(\varepsilon) = \sup_{\|w\|_2 \le 1} \sum_i \varepsilon_i \langle w, x_i \rangle with independent Rademacher signs. Compute the scale in the Talagrand bound and the scale in the McDiarmid bound for ZZ. Evaluate both when (i) n=dn = d and XX has orthonormal rows, and (ii) every row equals the same unit vector uu.

References

Canonical:

  • Talagrand, M. (1995). "Concentration of measure and isoperimetric inequalities in product spaces." Publications Mathématiques de l'IHÉS 81, 73-205. Section 4.1 (Theorem 4.1.1, Lemmas 4.1.2 and 4.1.3), Section 6 (bin packing), Section 7.1 (Lemma 7.1.1, Theorems 7.1.2 and 7.1.3). doi:10.1007/BF02699376, preprint arXiv:math/9406212.
  • Ledoux, M. (2001). The Concentration of Measure Phenomenon. Mathematical Surveys and Monographs 89, American Mathematical Society. Chapter 4 (concentration in product spaces: martingale methods, convex hull approximation, control by several points).
  • Boucheron, S., Lugosi, G., and Massart, P. (2013). Concentration Inequalities: A Nonasymptotic Theory of Independence. Oxford University Press. Section 6.1 (bounded differences), Section 6.6 (convex Lipschitz functions), Sections 7.4 and 7.5 (convex distance inequality, convex Lipschitz functions revisited), Section 8.4 (convex distance inequality by transportation).

Lecture notes and expositions:

Applications and neighboring results:

  • Alon, N., Krivelevich, M., and Vu, V. H. (2002). "On the concentration of eigenvalues of random symmetric matrices." Israel Journal of Mathematics 131, 259-267. Theorem 1. doi:10.1007/BF02785860
  • Baik, J., Deift, P., and Johansson, K. (1999). "On the distribution of the length of the longest increasing subsequence of random permutations." Journal of the American Mathematical Society 12(4), 1119-1178. arXiv:math/9810105
  • Talagrand, M. (1996). "New concentration inequalities in product spaces." Inventiones Mathematicae 126, 505-563. doi:10.1007/s002220050108
  • Bousquet, O. (2002). "A Bennett concentration inequality and its application to suprema of empirical processes." Comptes Rendus Mathématique 334(6), 495-500. Theorem 2.3. doi:10.1016/S1631-073X(02)02292-6
  • Massart, P. (1990). "The tight constant in the Dvoretzky-Kiefer-Wolfowitz inequality." Annals of Probability 18(3), 1269-1283. doi:10.1214/aop/1176990746

Next Topics

Last reviewed: September 14, 2026

Cite this page

Sneiderman, Robby. "Talagrand's Convex-Distance Inequality." TheoremPath, reviewed 2026-09-14. https://theorempath.com/topics/talagrand-convex-distance-inequality

Canonical URL
https://theorempath.com/topics/talagrand-convex-distance-inequality
Author
Robby Sneiderman, TheoremPath
Last reviewed
2026-09-14
What this is
A reference page on TheoremPath. Written and maintained by the named author. Not peer reviewed and not refereed by any venue. Each claim below carries its own verification status.
Terms
All rights reserved. Non-commercial quotation with attribution permitted.

Canonical graph

Required before and derived from this topic

These links come from prerequisite edges in the curriculum graph. Editorial suggestions are shown here only when the target page also cites this page as a prerequisite.

Required prerequisites

2

Derived topics

0

No published topic currently declares this as a prerequisite.