Algorithm Search⌘K

Modelcore

Huber contamination model

Also called epsilon-contamination model, gross error model.

The data come from (1 - epsilon) F + epsilon G, where F is the model and G is an arbitrary distribution of outliers. Robust estimators are judged on it.

The Huber contamination model says that a fraction 1−ε1 - \varepsilon of the data follows a model FF and a fraction ε\varepsilon follows an unknown law GG of outliers. Robust statistics uses it as the yardstick for an estimator: how much can the outliers move the estimate, and how much variance does the estimate lose? The model is due to Huber (1964). It is the base of the breakdown point, of the influence function and of the Huber M-estimator.

The machine

Fix a parametric model {Fθ:θ∈Θ}\{F_\theta : \theta \in \Theta\} on R\mathbb{R} or Rd\mathbb{R}^d and a contamination fraction 0≤ε<1/20 \le \varepsilon < 1/2. The data X1,…,XnX_1, \ldots, X_n are independent with the law

P=(1−ε)Fθ+εG,P = (1 - \varepsilon) F_\theta + \varepsilon G,

where GG is any probability law. The statistician knows the family FθF_\theta and the value of ε\varepsilon (or an upper bound on it). The statistician does not know θ\theta or GG. The set of all such PP is the gross error neighbourhood

Pε(Fθ)={(1−ε)Fθ+εG:G a probability law}.\mathcal{P}_\varepsilon(F_\theta) = \{(1 - \varepsilon) F_\theta + \varepsilon G : G \text{ a probability law}\}.

A sampling view is useful. For each ii, toss a coin with heads probability ε\varepsilon. On tails, draw XiX_i from FθF_\theta. On heads, draw XiX_i from GG. The number of outliers is then Binomial(n,ε)(n, \varepsilon), and the outliers do not depend on the clean points.

Two stronger models are in common use.

  • Total variation contamination. PP is any law with dTV(P,Fθ)≤εd_{TV}(P, F_\theta) \le \varepsilon (see total variation distance). The adversary can also remove mass from FθF_\theta, not only add it. Each Huber neighbourhood is inside the total variation ball of the same radius, because dTV((1−ε)F+εG,F)=ε dTV(G,F)≤εd_{TV}((1-\varepsilon)F + \varepsilon G, F) = \varepsilon\, d_{TV}(G, F) \le \varepsilon.
  • Strong (adaptive) contamination. Draw nn clean points from FθF_\theta. An adversary sees them and replaces any ⌊εn⌋\lfloor \varepsilon n \rfloor of them with arbitrary points. This is the model of the finite-sample breakdown point and of the filter.

What it counts

The model measures an estimator TT by its worst case over the neighbourhood. Write T(P)T(P) for the value of the functional at the law PP (the limit of T(X1,…,Xn)T(X_1, \ldots, X_n) as nn grows) and take θ\theta fixed.

  • Maximum bias. bT(ε)=sup⁡G∣T((1−ε)Fθ+εG)−θ∣b_T(\varepsilon) = \sup_G |T((1-\varepsilon)F_\theta + \varepsilon G) - \theta|. The asymptotic breakdown point is the smallest ε\varepsilon with bT(ε)=∞b_T(\varepsilon) = \infty.
  • Maximum asymptotic variance. vT(ε)=sup⁡GV(T,(1−ε)Fθ+εG)v_T(\varepsilon) = \sup_G V(T, (1-\varepsilon)F_\theta + \varepsilon G), where V(T,P)V(T, P) is the variance of the limit law of n (Tn−T(P))\sqrt n\,(T_n - T(P)). Huber's minimax problem asks for the TT with the least vT(ε)v_T(\varepsilon).
  • Error in high dimension. For a mean in Rd\mathbb{R}^d, the count is ∥μ^−μ∥2\|\hat\mu - \mu\|_2 as a function of ε\varepsilon, dd and nn, and the running time of the estimator.

Bias is the effect that more data cannot remove. Variance shrinks like 1/n1/n, but the bias stays. So for large nn the bias term decides.

Relation to other models

  • The classical model is the case ε=0\varepsilon = 0. Every efficient estimator in it, such as the sample mean for Fθ=N(θ,1)F_\theta = N(\theta, 1), has b(ε)=∞b(\varepsilon) = \infty for every ε>0\varepsilon > 0: one point mass G=δxG = \delta_x with x→∞x \to \infty moves the mean by εx\varepsilon x.
  • The influence function is the derivative of T((1−t)F+tδx)T((1-t)F + t\delta_x) at t=0t = 0. It is the first-order picture of this model for small ε\varepsilon and a point mass GG.
  • The breakdown point is the largest ε\varepsilon that the model can carry before the bias is unbounded.
  • Total variation and strong contamination contain the Huber model, as shown above. Most results below hold in all three models with the same rates.
  • Mixture models. The law (1−ε)F+εG(1-\varepsilon)F + \varepsilon G is a two-part mixture, as in a Gaussian mixture model. The difference is that GG has no shape here, so a likelihood fit of GG is not possible.
  • Computer vision uses the same idea with a large outlier fraction, often above one half, and solves it by sampling, as in RANSAC and robust model fitting.

Known results in the model

1. Identifiability (proved here). Let FF and F′F' have densities ff and f′f' (with respect to any common measure), and let 0<ε<10 < \varepsilon < 1. Then there are laws GG and G′G' with

(1−ε)F+εG=(1−ε)F′+εG′(1 - \varepsilon) F + \varepsilon G = (1 - \varepsilon) F' + \varepsilon G'

if and only if dTV(F,F′)≤ε/(1−ε)d_{TV}(F, F') \le \varepsilon/(1-\varepsilon).

Proof. Write δ=dTV(F,F′)=∫(f′−f)+=∫(f−f′)+\delta = d_{TV}(F, F') = \int (f' - f)^+ = \int (f - f')^+. Suppose that δ≤ε/(1−ε)\delta \le \varepsilon/(1-\varepsilon). Let rr be any density with total mass 1−1−εεδ≥01 - \frac{1-\varepsilon}{\varepsilon}\delta \ge 0, and put

g=1−εε(f′−f)++r,g′=1−εε(f−f′)++r.g = \tfrac{1-\varepsilon}{\varepsilon}(f' - f)^+ + r, \qquad g' = \tfrac{1-\varepsilon}{\varepsilon}(f - f')^+ + r.

Both are densities of mass 1. Then (1−ε)f+εg=(1−ε)(f+(f′−f)+)+εr=(1−ε)max⁡(f,f′)+εr(1-\varepsilon) f + \varepsilon g = (1-\varepsilon)(f + (f'-f)^+) + \varepsilon r = (1-\varepsilon)\max(f, f') + \varepsilon r, and the same holds for the right side. For the converse, the equality gives (1−ε)(f′−f)=ε(g−g′)≤εg(1-\varepsilon)(f' - f) = \varepsilon (g - g') \le \varepsilon g. On the set where f′>ff' > f this gives (1−ε)(f′−f)+≤εg(1-\varepsilon)(f'-f)^+ \le \varepsilon g. Integrate: (1−ε)δ≤ε(1-\varepsilon)\delta \le \varepsilon. □\square

So no estimator can tell θ\theta from θ′\theta' when dTV(Fθ,Fθ′)≤ε/(1−ε)d_{TV}(F_\theta, F_{\theta'}) \le \varepsilon/(1-\varepsilon), even with infinite data. The worst-case error of any functional TT is at least half the largest such gap ∣θ−θ′∣|\theta - \theta'|, because TT takes one value at the common law, and that value is at distance at least ∣θ−θ′∣/2|\theta - \theta'|/2 from θ\theta or from θ′\theta'.

2. The median is minimax for the bias at the normal (proved here). Take Fθ=N(θ,1)F_\theta = N(\theta, 1), so dTV(F0,FΔ)=2Φ(Δ/2)−1d_{TV}(F_0, F_\Delta) = 2\Phi(\Delta/2) - 1. Result 1 gives the lower bound b(ε)≥Δ∗/2b(\varepsilon) \ge \Delta^*/2 with 2Φ(Δ∗/2)−1=ε/(1−ε)2\Phi(\Delta^*/2) - 1 = \varepsilon/(1-\varepsilon), that is

b(ε)≥Φ−1 ⁣(12(1−ε))for every functional T.b(\varepsilon) \ge \Phi^{-1}\!\Big(\frac{1}{2(1-\varepsilon)}\Big) \quad \text{for every functional } T.

The median attains this bound. Put all of GG at +∞+\infty. The median mm of PP then solves (1−ε)Φ(m)=1/2(1-\varepsilon)\Phi(m) = 1/2, so m=Φ−1(1/(2(1−ε)))m = \Phi^{-1}(1/(2(1-\varepsilon))). For any other GG, P(X≤m)≥(1−ε)Φ(m)=1/2P(X \le m) \ge (1-\varepsilon)\Phi(m) = 1/2, so the median of PP is at most mm. By symmetry it is at least −m-m. So the maximum bias of the median is exactly the lower bound. Huber (1964) gave this result. The values are:

ε\varepsilon 0.05 0.10 0.20 0.25 0.30 0.40 0.45
b(ε)b(\varepsilon) 0.0660 0.1397 0.3186 0.4307 0.5659 0.9674 1.3352

The bias is about 1.25 ε1.25\,\varepsilon for small ε\varepsilon (the slope is 2π/2\sqrt{2\pi}/2, the gross-error sensitivity of the median) and tends to infinity as ε→1/2\varepsilon \to 1/2.

3. Huber's minimax variance (cited, not proved here). Take F=ΦF = \Phi and symmetric contamination GG. Among M-estimators of location, the one with the least maximum asymptotic variance over Pε(Φ)\mathcal{P}_\varepsilon(\Phi) has ψk(x)=max⁡(−k,min⁡(k,x))\psi_k(x) = \max(-k, \min(k, x)), where kk solves

2φ(k)k−2Φ(−k)=ε1−ε.\frac{2\varphi(k)}{k} - 2\Phi(-k) = \frac{\varepsilon}{1-\varepsilon}.

The least favourable law has the density (1−ε)φ(x)(1-\varepsilon)\varphi(x) for ∣x∣≤k|x| \le k and (1−ε)φ(k)e−k(∣x∣−k)(1-\varepsilon)\varphi(k)e^{-k(|x|-k)} for ∣x∣>k|x| > k: normal in the middle, exponential in the tails. The estimator is the maximum likelihood estimator for this law. A script that solves the equation by bisection gives:

ε\varepsilon 0.01 0.05 0.10 0.20
kk 1.945 1.398 1.140 0.862

The common choice k=1.345k = 1.345 comes from a different rule (95 percent efficiency at the normal) and fits ε≈0.06\varepsilon \approx 0.06. See the Huber M-estimator for the computation.

4. High dimension (cited). For F=N(μ,Id)F = N(\mu, I_d), the best error that any estimator can get is Θ(ε)\Theta(\varepsilon), independent of dd, with nn of order (d+log⁡(1/τ))/ε2(d + \log(1/\tau))/\varepsilon^2 samples for failure probability τ\tau. The Tukey median gets O(ε)O(\varepsilon), but it is hard to compute. Simple estimators lose a factor that grows with dd: the coordinatewise median and the geometric median have error of order εd\varepsilon\sqrt d. In 2016 two papers gave the first polynomial-time estimators with an error that does not grow polynomially in dd. Diakonikolas, Kamath, Kane, Li, Moitra and Stewart get O(εlog⁡(1/ε))O(\varepsilon\sqrt{\log(1/\varepsilon)}) with the filter. Lai, Rao and Vempala get an error with a log⁡d\sqrt{\log d} factor.

5. The fraction one half. For ε≥1/2\varepsilon \ge 1/2 the model cannot identify a location: G=Fθ′G = F_{\theta'} makes (1−ε)Fθ+εFθ′(1-\varepsilon)F_\theta + \varepsilon F_{\theta'} with ε=1/2\varepsilon = 1/2 symmetric in θ\theta and θ′\theta'. So every translation equivariant estimator has breakdown point at most one half. The breakdown point page proves the finite-sample form of this bound.

References

  1. Peter J. Huber, Robust estimation of a location parameter, The Annals of Mathematical Statistics 35(1), 1964, pp. 73 to 101 (the gross error model, the least favourable distribution and the minimax M-estimator)
  2. Peter J. Huber and Elvezio M. Ronchetti, Robust Statistics, second edition, Wiley, 2009, Chapter 4 (the minimax approach for location, the minimax bias of the median, the least favourable density and the minimax variance)
  3. Frank R. Hampel, Elvezio M. Ronchetti, Peter J. Rousseeuw and Werner A. Stahel, Robust Statistics, The Approach Based on Influence Functions, Wiley, 1986, Chapter 1 (neighbourhoods of a model) and Chapter 2 (the one-dimensional location problem)
  4. Ilias Diakonikolas, Gautam Kamath, Daniel M. Kane, Jerry Li, Ankur Moitra and Alistair Stewart, Robust estimators in high dimensions without the computational intractability, SIAM Journal on Computing 48(2), 2019, pp. 742 to 864 (the strong contamination model and the filter for the mean of a Gaussian)
  5. Kevin A. Lai, Anup B. Rao and Santosh Vempala, Agnostic estimation of mean and covariance, FOCS 2016, pp. 665 to 674 (polynomial-time estimators with an error that grows only as the square root of log d)
  6. Ilias Diakonikolas and Daniel M. Kane, Algorithmic High-Dimensional Robust Statistics, Cambridge University Press, 2023, Chapter 1 (contamination models and the information-theoretic limits) and Chapter 2 (efficient robust mean estimation)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/PNPD11/text.yaml