Tutorials › Statistical Decision Theory › Bounded Loss and Uniform Risk Bounds

Complete-Class Theorems · Tutorial 347 of 982

Bounded Loss and Uniform Risk Bounds

Learn how a common bound on loss controls risk changes uniformly over the parameter space, and how to calculate that control in classification and estimation problems.

Advanced 10 min read

What You'll Learn

  • Define bounded loss and the total variation distance used to compare action distributions
  • Prove a uniform risk bound for randomized decision rules
  • Distinguish pointwise risk control from control uniform over the parameter space
  • Calculate risk bounds for finite-action classification with zero-one and nonuniform costs
  • Derive a risk bound for estimators under bounded squared-error loss
  • Identify when approximate risk control preserves strict domination

Why Bounded Loss Helps in Complete-Class Arguments

A complete-class argument compares decision rules through their risk functions, often over many parameter values at once. To replace a rule by an approximation, it is not enough that the replacement behave well at a single parameter value: the risk error must be controlled across the whole parameter space. A common bound on the loss provides a direct way to obtain that control. If two rules differ only slightly in how they distribute probability over actions, bounded loss limits how much their risks can differ.

The bound is useful because it does not require the sampling distribution to have a density, or the parameter space to be finite. It does require the loss bound to hold for every parameter and relevant observation-action pair. The resulting risk guarantee is uniform only when the approximation error in the rules is itself uniform in the appropriate sense.

Bounded Loss and Total Variation

Definition: A loss function \(L(\theta,a)\) is uniformly bounded in range if there are finite constants \(m\) and \(M\), with \(m\le M\), such that \(m\le L(\theta,a)\le M\) for every parameter \(\theta\) and action \(a\). Its range width is \(C=M-m\). A decision rule \(\delta\) is a probability kernel from the observation space to the action space: after observing \(x\), it assigns a probability distribution \(\delta(\,\cdot\mid x)\) over actions. Its risk is \(R(\theta,\delta)=\int\int L(\theta,a)\,\delta(da\mid x)\,P_\theta(dx)\), whenever this integral is defined.

For probability measures \(Q_1,Q_2\) on the same measurable space, use the convention \(d_{\mathrm{TV}}(Q_1,Q_2)=\sup_A|Q_1(A)-Q_2(A)|\). With this convention, total variation lies between zero and one. The width \(C\), rather than the absolute size of the loss, determines the bound on a difference of expectations.

Lemma: If \(g\) is a measurable function taking values in \([m,M]\), then \(\left|\int g\,dQ_1-\int g\,dQ_2\right|\le (M-m)d_{\mathrm{TV}}(Q_1,Q_2)\).

Proof. If \(M=m\), then \(g\) is constant and the difference is zero. Otherwise let \(h=(g-m)/(M-m)\), so \(0\le h\le1\). For any probability measure \(Q\), Tonelli's theorem applied to the nonnegative indicator \(\mathbf{1}\{h>t\}\) gives \(\int h\,dQ=\int_0^1 Q(h>t)\,dt\). Therefore \[ \left|\int h\,dQ_1-\int h\,dQ_2\right| \le \int_0^1 |Q_1(h>t)-Q_2(h>t)|\,dt \le d_{\mathrm{TV}}(Q_1,Q_2). \] Multiplying by \(M-m\) proves the result. \(\square\)

A Uniform Risk Perturbation Bound

Apply the lemma to the conditional distribution over actions at each observation. The sampling distribution \(P_\theta\) is kept fixed; only the decision rule changes. The measurable spaces and kernels below are understood to make the displayed integrals well-defined.

Theorem: Suppose \(L(\theta,a)\in[m,M]\) for all \(\theta,a\), with \(C=M-m<\infty\), and let \(\delta,\tilde\delta\) be two decision rules. Then, for every \(\theta\), \[ |R(\theta,\delta)-R(\theta,\tilde\delta)| \le C\int d_{\mathrm{TV}}\bigl(\delta(\,\cdot\mid x),\tilde\delta(\,\cdot\mid x)\bigr)\,P_\theta(dx). \] In particular, if the integral on the right without \(C\) is at most \(\varepsilon\) for every \(\theta\), then \(\sup_\theta|R(\theta,\delta)-R(\theta,\tilde\delta)|\le C\varepsilon\).

Proof. For fixed \(\theta\) and \(x\), the function of action \(a\mapsto L(\theta,a)\) takes values in \([m,M]\). The lemma, with the two conditional action distributions, implies \[ \left|\int L(\theta,a)\,\delta(da\mid x)-\int L(\theta,a)\,\tilde\delta(da\mid x)\right| \le C\,d_{\mathrm{TV}}\bigl(\delta(\,\cdot\mid x),\tilde\delta(\,\cdot\mid x)\bigr). \] Integrate with respect to \(P_\theta(dx)\). The absolute value of an integral is no greater than the integral of the absolute value, so the claimed inequality follows. If the integrated total variation is at most \(\varepsilon\) for every \(\theta\), the inequality holds with right side \(C\varepsilon\) for every \(\theta\); taking the supremum proves the uniform bound. \(\square\)

A convenient sufficient condition is a pointwise bound \(d_{\mathrm{TV}}(\delta(\,\cdot\mid x),\tilde\delta(\,\cdot\mid x))\le\varepsilon\) for every observation \(x\). Since \(P_\theta\) is a probability measure, its integral is then at most \(\varepsilon\) for every \(\theta\). This condition is stronger than necessary: the theorem only requires a uniform bound on the average discrepancy under each \(P_\theta\).

Worked Example: Binary Classification with Zero-One Loss

Suppose a classifier chooses between labels 0 and 1, with loss 1 for an incorrect label and 0 for a correct one. At a particular observation \(x\), rule \(\delta\) assigns probabilities \((0.80,0.20)\) to actions \((0,1)\), while \(\tilde\delta\) assigns \((0.75,0.25)\). Calculate the largest possible difference in conditional error probability at this observation.

For two distributions on a finite action set, total variation is half the sum of the absolute probability differences. Thus \(d_{\mathrm{TV}}=\tfrac12(|0.80-0.75|+|0.20-0.25|)=0.05\). Zero-one loss has range \([0,1]\), so \(C=1\). The conditional risk difference is therefore at most \(1(0.05)=0.05\).

For example, if the true label is 1, the two error probabilities are 0.80 and 0.75, respectively, and their difference is exactly 0.05. If this total variation bound holds at every observation, the theorem gives a risk difference of at most 0.05 for every parameter value, regardless of the distribution of the observations.

Worked Example: Classification with Unequal Misclassification Costs

Consider three possible classes and three corresponding actions. For a fixed true class, suppose the losses of actions 1, 2, and 3 are \(0,2,5\). At an observation \(x\), let a rule use action probabilities \((0.55,0.30,0.15)\), and an approximation use \((0.50,0.35,0.15)\). Find the actual conditional risk difference and the bound supplied by the theorem.

The loss range is \([0,5]\), so \(C=5\). The total variation distance between the action distributions is \(\tfrac12(|0.55-0.50|+|0.30-0.35|+|0.15-0.15|)=0.05\). The general bound is therefore \(5(0.05)=0.25\).

Under the stated true class, the first rule's conditional risk is \(0(0.55)+2(0.30)+5(0.15)=0.60+0.75=1.35\). The approximating rule's risk is \(0(0.50)+2(0.35)+5(0.15)=0.70+0.75=1.45\). The actual absolute difference is \(0.10\), which is no greater than the valid, though conservative, bound \(0.25\). A uniform bound for a classification problem follows if the losses stay in this range and the same action-distribution discrepancy bound holds across observations and parameter values.

Using the Bound to Preserve Risk Comparisons

Uniform risk control is particularly useful when a complete-class argument constructs or approximates rules. Suppose \(\delta\) has a strict risk advantage over another rule \(\eta\), with a common margin across parameters. A sufficiently accurate approximation to \(\delta\) retains that advantage. Without a common margin, a small uniform error guarantees approximate comparison, but need not preserve exact domination.

Corollary: Suppose \(R(\theta,\eta)-R(\theta,\delta)\ge\gamma>0\) for every \(\theta\), and \(\sup_\theta|R(\theta,\tilde\delta)-R(\theta,\delta)|\le\epsilon\). If \(\epsilon<\gamma\), then \(R(\theta,\tilde\delta)<R(\theta,\eta)\) for every \(\theta\).

Proof. For every \(\theta\), the uniform error bound gives \(R(\theta,\tilde\delta)\le R(\theta,\delta)+\epsilon\). The strict-margin assumption then yields \[ R(\theta,\tilde\delta) \le R(\theta,\eta)-\gamma+\epsilon < R(\theta,\eta), \] because \(\epsilon<\gamma\). This holds at every parameter value. \(\square\)

The margin condition matters. If all that is known is \(R(\theta,\delta)\le R(\theta,\eta)\), an approximation error of size \(\epsilon\) only yields \(R(\theta,\tilde\delta)\le R(\theta,\eta)+\epsilon\); it does not establish exact domination. In Wald's compactness-based complete-class argument, bounded loss can supply the uniform risk control needed when comparing rules, but boundedness alone does not establish every other condition in such an argument.

Worked Example: Estimation with Bounded Squared-Error Loss

Let the parameter and the estimator's action both lie in \([0,1]\), and use squared-error loss \(L(\theta,a)=(a-\theta)^2\). Two deterministic estimators, evaluated on the same observation \(x\), output \(a(x)\) and \(\tilde a(x)\), with \(|a(x)-\tilde a(x)|\le0.02\) for every \(x\). Bound their risk difference uniformly over \(\theta\in[0,1]\).

Because \(a,\tilde a,\theta\in[0,1]\), each squared error lies in \([0,1]\), so the general bounded-loss theorem could be used with \(C=1\). For deterministic actions, however, it is useful to compare the losses directly: \[ |(a-\theta)^2-(\tilde a-\theta)^2| =|a-\tilde a|\,|a+\tilde a-2\theta| \le 0.02(2)=0.04. \] The last factor is at most 2 because \(a+\tilde a\) and \(2\theta\) both lie in \([0,2]\). Integrating this pointwise inequality under any sampling distribution preserves the bound. Thus \(\sup_{\theta\in[0,1]}|R(\theta,a)-R(\theta,\tilde a)|\le0.04\).

The direct calculation improves on the general width-based bound when closeness is expressed as a difference between estimator values rather than as total variation between action distributions. The bounded parameter and action ranges are essential to this particular calculation.

Common Pitfall: Pointwise Control Is Not Uniform Control

A frequent error is to show that a risk difference becomes small for each fixed \(\theta\), and then conclude that its supremum over \(\theta\) is small. Those are different claims. For example, on parameter space \([0,1]\), define \(r_n(\theta)=\mathbf{1}\{\theta\le1/n\}\). For every fixed \(\theta>0\), \(r_n(\theta)\) is eventually zero, and at \(\theta=0\) it is always one; so this particular sequence does not converge pointwise to zero at every parameter. A modified example makes the distinction exact: set \(r_n(\theta)=\mathbf{1}\{\theta=1/n\}\). Then for every fixed \(\theta\), \(r_n(\theta)\) is eventually zero, but \(\sup_{\theta\in[0,1]}r_n(\theta)=1\) for every \(n\). Pointwise convergence by itself cannot yield a uniform bound.

The correction is to establish the bound required by the theorem directly: for instance, control the total variation discrepancy uniformly in \(x\), or prove that its expectation under \(P_\theta\) is bounded by the same \(\varepsilon\) for every \(\theta\). Also check the loss range. If losses can grow without bound across actions or parameter values, a small total variation discrepancy does not by itself provide the stated finite uniform risk bound.

Key takeaway: A common loss range \([m,M]\) converts an average total variation discrepancy of at most \(\varepsilon\) between action kernels into a uniform risk discrepancy of at most \((M-m)\varepsilon\). The uniformity comes from the discrepancy condition holding across parameter values; bounded loss alone does not provide it.

Check Your Understanding

Use the definitions and bounds above to answer the following.

  1. A loss lies in \([2,7]\), and two decision rules have integrated action-kernel total variation at most 0.03 for every parameter. What uniform risk-difference bound follows?
  2. For two distributions on four actions, whose probability differences are \(0.02,-0.01,-0.03,0.02\), calculate their total variation distance.
  3. Why does a pointwise bound on risk differences for each fixed parameter not automatically bound their supremum over the parameter space?
  4. With squared-error loss and parameter and action in \([0,1]\), derive the risk bound when two deterministic estimates differ by at most \(\eta\) at every observation.
  5. If one rule improves on another by at least \(\gamma\) at every parameter, what restriction on a uniform approximation error ensures the strict improvement remains?
Clinical Biostats