Model Class Reliance - Binary Search Computation
Summary
Empirical MCR means minimizing and maximizing a ratio over . The paper reduces this to repeatedly minimizing linear combinations: for the lower bound and () for the upper bound. This is a Dinkelbach-style fractional-programming search. Each minimum gives a valid bound function holding for every loss level at once (the “bowl” envelope of Figs 2 and 8). Monotonicity lemmas justify a binary search over . When irrelevant information cannot help (Prop 11), the lower-bound search needs only , i.e. a reweighted empirical-risk minimization on an -row expanded sample.
Overview
The bound is stated on the absolute loss scale ; set . The output is a pair of functions with
The binary search tightens them at the of interest. Throughout, , so MR is finite. Almost everything holds with in place of . The App C preamble (p. 67) states this explicitly: every App C proof is unchanged with in the definitions of , and , except C.3 (Proposition 11).
Preamble identities (App C, pp. 67-68) used by all proofs below:
- (C.1) for , implies ;
- (C.2) ;
- (C.3) ;
- (C.4) .
Full App C derivations are in Model Class Reliance - Appendix C Proofs of the Binary Search Lemmas.
Heuristic alternatives (p. 19). Any model in gives a lower bound on and an upper bound on . So heuristic search, e.g. simulated annealing, tightens the bounds from inside, while the binary search bounds them from outside.
Table 1 (p. 19): Tractability of empirical MCR computation
Model class and loss Computing Computing (L2-regularized) linear models, squared error Highly tractable (QP1QC; §§7.2-7.3) Highly tractable (QP1QC; §§7.2-7.3) Linear models in an RKHS, squared error Moderately tractable (QP1QC; §7.4.1) Moderately tractable (QP1QC; §7.4.1) Cases where irrelevant covariates do not improve predictions Moderately tractable (convex problems; Prop 11) Potentially intractable Cases where minimizing empirical loss is convex Potentially intractable (DC programs; §6.3) Potentially intractable (DC programs; §6.3)
Main Content
Lower bound (§6.1)
Definition: Lower-search objective and Condition 8 (p. 20)
For : and . The minimizer need not be unique. Condition 8 (criteria to continue the search for the MR lower bound): and .
Lemma 9: Lower bound for (p. 20, Eq 6.1)
If satisfies , then
for all with . Also for all . If and at least one inequality in Condition 8 holds with equality, then (6.1) holds with equality.
Proof (App C.1). Since and : . Optimality gives . Dividing by gives . Equality: if then ; if the two sides coincide algebraically.
Boundary-function reading (p. 20). Lemma 9 reduces lower-bounding to minimizing the linear combination . For a fixed , the result is not a single bound at one but a boundary function that holds for all . Lower values of give more restrictive (higher) lower bounds on , because the left side of (6.1) is decreasing in when . One minimization per therefore yields a whole curve, which is how the “bowls” in Figure 8 are drawn.
Figure 4 (p. 21): Geometry of Lemma 9
Plot each as the point . The slope from the origin to is .
- (A) The class is a region bounded away from the vertical axis.
- (B) For , contour lines of are lines of slope . The tangent line at the minimum excludes the half-plane below it. If , the origin is excluded or on the boundary.
- (C) Intersecting with leaves an unshaded region. Every ray from the origin into it has slope at least that of the black line through the origin and the point where the tangent meets . That slope is the left side of (6.1).
Lemma 10: Monotonicity for the lower-bound binary search (p. 22)
- is monotonically increasing in (analogous to Lemma 3 of Dinkelbach 1967).
- is monotonically decreasing in .
- Given , the bound is monotonically decreasing in where , and increasing otherwise.
Implication (p. 22). By point 3, the tightest lower bound from (6.1) uses the smallest still satisfying Condition 8. The paper states the monotonicity claim with a qualifier: by points 1-2, if satisfies Condition 8 and one of the inequalities in Condition 8 holds with equality, then Condition 8 holds for all . Together these justify a binary search that lowers until Condition 8 is no longer met. Figure 5 illustrates the result. (Our reading of the qualifier: point 1 alone makes persist as grows, and point 2 alone makes persist. The paper attaches the equality qualifier as written, so it is recorded here rather than dropped.)
Proof (App C.2). Uses (C.4), optimality of each (C.2), the elementary rule C.1 ( and imply ), and .
- Part 1: .
- Part 2: rewrite C.2 with C.4 and apply C.1, giving ; dividing by gives .
- Part 3: if both minimizers have , then , so the bound falls; if both are the mirror-image chain shows it rises.
Full derivations: ^proof-lemma10-p2 and ^proof-lemma10-p3.
Figure 5 (p. 23): Monotonicity illustrated
Two values on Fig. 4-C. A larger means a flatter tangent line.
- Intercepts satisfy .
- The tangent points move left: .
- The implied lower-bound slope falls as rises in the feasible range.
Reweighting identity (Eq 6.2, p. 22). For , minimizing is a weighted empirical risk minimization over the “expanded” rows:
Proposition 11: Nonnegative weights suffice for the lower-bound search (pp. 22-23)
Assume:
- Predictions are sufficient for computing the loss. whenever .
- Irrelevant information does not improve predictions. For any distribution with , there is attaining with for all (6.3).
Let . Then either (i) some minimizer of violates Condition 8, or (ii) and for every minimizer.
Implication. In case (i), the search for can be restricted to , so every subproblem is a nonnegatively weighted ERM, which is convex whenever ordinary ERM is. In case (ii), a well-performing model with exists, so . That is “sufficiently precise … for most interpretational purposes” (p. 23).
Proof (App C.3). At all weights are equal, so under the product distribution of the sample’s and marginals. Condition 2 gives a minimizer ignoring . Condition 1 makes its loss invariant to permuting , so . For : and, by Lemma 10.2, . Hence .
Does not transfer to . The fixed pairing is not the expectation under a distribution with independent of . It holds approximately, and (6.1) remains a valid but possibly looser bound with .
Upper bound (§6.2)
Definition: Upper-search objective and Condition 12 (p. 24)
, . Condition 12 (criteria to continue the search for the MR upper bound), for : and .
Lemma 13: Upper bound for (p. 24, Eqs 6.4-6.5)
If and , then for all with :
and globally for all (6.5). Equality in (6.4) holds at if at least one inequality of Condition 12 is tight.
Proof idea (App C.4). As for Lemma 9: . Divide by , which flips the inequality. Equality (C.4.2): if then , which is the right side of (6.4); if the right side reduces to . Details: ^proof-lemma13-p2.
Lemma 14: Monotonicity for the upper-bound binary search (pp. 24-25)
- is monotonically increasing in .
- is monotonically decreasing in for , and Condition 12 holds at whenever .
- Given , the bound is monotonically increasing in where and , and decreasing where and .
Implication. The tightest upper bound uses the smallest (most negative) still satisfying Condition 12. Binary-search over , starting from , which is always feasible.
Proof sketch (App C.5, pp. 72-74).
- Part 1 (C.5.1, Eq C.12). Since , for ; combine with optimality C.2.
- Part 2 (C.5.2, Eqs C.13-C.14). For , C.2 plus the shift identity C.3 () and C.1 give , hence (C.13). Feeding that into C.2 at with C.1 gives (C.14). Condition 12 holds at because and .
- Part 3 (C.5.3, Eqs C.15-C.16). For , . Multiplying by ( in the feasible range, C.15; outside it, C.16) and combining with C.2 (subtract , divide by the negative ) shows the bound rises with in the feasible range and falls outside it.
Full derivations, plus a typo in the source’s last line of C.5.3: ^proof-lemma14-p1, ^proof-lemma14-p2, ^proof-lemma14-p3.
The algorithm
Algorithm: Binary search for empirical MCR (assembled from §6.1-6.2, Lemmas 9-14)
Input: data; class ; loss ; target ; an oracle that minimizes over .
Lower end :
- Set to a value satisfying Condition 8. Lemma 10 implies large works. Under Prop 11, first try : if meets Condition 8, stop and report .
- Set to a value violating Condition 8 (under Prop 11, ).
- Repeat: ; compute . If Condition 8 holds, set , otherwise .
- Report (Lemma 9). The model gives an attained value , so the gap shows how tight the bound is.
Upper end : 5. Set (feasible by Lemma 14.2) and choose violating Condition 12. 6. Bisect in the same way, keeping the smallest feasible . 7. Report (Lemma 13).
Envelope: every evaluated gives a bound valid at all . Taking the pointwise best over the evaluated s gives the closed-form convex “bowl” of Fig. 2, which is tightest near the target .
Figure 2 (p. 7): Output of the computation
The axes are (x) and in-sample loss (y). A purple convex envelope contains every model in , and its intersection with the horizontal line at brackets . The procedure works sequentially, tightening the envelope near the of interest. Fig. 8 (COMPAS) uses the same format.
Convex model classes: DC programming (§6.3, p. 25)
For with and convex in , the lemmas need only a lower bound on , not the exact minimum. The subproblems are either convex or difference-of-convex (DC) programs:
Algorithm: Simplex branch-and-bound lower bound for a DC program (§6.3; Horst & Thoai 1999)
- Partition into simplexes.
- On simplex , replace by the affine interpolating at the vertices. Since is convex, on the simplex, so is a convex problem and a valid lower bound.
- Discard partitions whose is too high.
- Subdivide the partition with the lowest and recompute the bounds.
- Stop when the lower bound is tight enough, then plug it into (6.1) or (6.4) in place of .
The bounds are always valid, but convergence can be slow in high dimension, giving very conservative results.
Examples
One step of the lower search (illustrative)
Suppose . At the minimizer has and , so and Condition 8 holds. Lemma 9 gives for every model with loss at most 1.0. The minimizer itself has . So , and lowering while Condition 8 holds narrows the gap.
Connections
- Dinkelbach (1967) fractional programming minimizes a ratio by a sequence of parametric linear problems. The novelty here is the constraint on the denominator .
- Using the reweighted -row sample is like augmenting data with “permuted” copies. A similar trick is used to build knockoff or null features.
- In MMM practice the “oracle” is just a weighted regression solver, so MCR for a ridge-type response model costs a few dozen solves; see Model Class Reliance for Linear and RKHS Model Classes.
See Also
- Model Class Reliance - Appendix C Proofs of the Binary Search Lemmas: every App C proof in full
- Model Class Reliance for Linear and RKHS Model Classes: exact subproblem solvers
- Model Class Reliance - Recidivism Case Study: Fig. 8 envelopes in practice
- Fisher Rudin Dominici 2019 - Model Class Reliance - Overview