Introduction to the Scenario Approach II: Violation Guarantees after Discarding k ConstraintsTextbook
Motivation
Decisions under uncertainty are often required to satisfy a constraint that depends on a random parameter , and requiring it for every possible is usually too conservative or infeasible. The scenario approach replaces the unknown distribution of by independent samples (scenarios) and enforces only the sampled constraints; its generalization theorem (Campi and Garatti, 2008) bounds the probability that the resulting decision violates a fresh constraint.
Enforcing all sampled constraints can still be costly: a few unusual scenarios may dominate the solution. A practitioner therefore often discards of the sampled constraints, optimally, greedily or at random, and re-solves. The question is what guarantee survives: the removed constraints were chosen by looking at the data, so the solution is biased towards points of higher risk. Campi and Garatti (2011) answered it with a bound that holds for every removal procedure. This mission formalizes that answer as it is presented in Chapter 3, Section 3.3 and Chapter 5, Section 5.3 of the textbook Introduction to the Scenario Approach (Campi and Garatti, SIAM/MOS 2018), together with its explicit corollary, Theorem 1.2. Applications include chance-constrained control, portfolio selection and prediction, where discarding scenarios trades a controlled amount of risk for a better cost.
Setting
A decision ranges over (in Lean, EuclideanSpace ℝ (Fin d)), with a closed convex domain and a linear cost . An uncertain parameter takes values in a measurable space with probability , and each determines a closed convex constraint set . The violation probability of a decision is
Given independent samples with joint law , the scenario program minimizes over . For a set of indexes, the program without the constraints in minimizes the same cost over ; its solution is written . A removal procedure selects, as a function of the whole sample, a set of indexes, and denotes the solution of the program without them. The procedure is required to output a solution that violates exactly the removed constraints (with probability one): a removed constraint that turns out to be satisfied is reinstated and another is removed. Two standing assumptions are used throughout: Assumption 3.4, that and every are convex and closed, and Assumption 3.6, that for every sample size and every sample the scenario program has exactly one solution.
Formalization targets
Goal: Theorem 3.9
For , under Assumptions 3.4 and 3.6, for every removal procedure and every ,
The bound depends on the problem only through , and on the removal procedure not at all. For it is Theorem 3.7.
Milestones
- Theorem 3.7 (no removal): , used for the program with the kept constraints.
- Eq. (5.11): up to a zero probability set, the event is contained in the union over all -element index sets of the events " violates all constraints in and ".
- Eq. (5.13): for a fixed , the probability of that event equals , where is the law of .
- Eq. (5.14) and Theorem 3.9 for : the book's complete proof in the plane.
- Eqs. (3.15)–(3.17) and the conclusion of Section 3.3.1: with the explicit level of (1.9), the right-hand side of (3.13) is at most .
- Theorem 1.2: with probability at least , , where
Significance
Theorem 3.9 certifies every constraint-removal heuristic at once. Since the guarantee is the same for optimal, greedy and random removal, a user may pick the removal strategy purely for cost, and may inspect several values of before choosing, paying only a union bound over the values tried (Section 3.3). Theorem 1.2 turns the bound into an explicit rate: when is held fixed, the violation exceeds the empirical risk by a margin of order , only slightly worse than the rate for estimating the probability of a fixed event. The result also shows that the violation after removal concentrates around the target level, which is the basis of the book's comparison between sampling-and-discarding and simply using fewer scenarios (Example 3.10).
Theorem 3.9 is proved in the literature for general (Campi and Garatti, 2011); the textbook proves it for . To our knowledge no part of the scenario approach has a machine-checked proof. A formal development would supply the first verified version of the removal bound, a Lean treatment of solution maps of random convex programs, and reusable combinatorial and binomial-tail estimates.
Difficulty
The removed set is chosen after seeing the data, so the kept constraints are not an independent sample and Theorem 3.7 cannot be applied to directly. The argument must pass through all fixed index sets and account for the event that the removed constraints are violated; a plain union bound that ignores this event loses a factor and does not give (3.13). For a fixed index set, the probability that the removed scenarios are all violated involves the distribution of , which is only known to be dominated by a Beta law, so a stochastic-domination argument for the increasing function is needed. In general dimension the combinatorial constant comes from a sharper counting than the two-dimensional computation of Section 5.3, and that argument is in the cited paper rather than in the book.
Formalization scope
Decisions live in EuclideanSpace ℝ (Fin d), samples of size are maps Fin m → Δ with law Measure.pi (fun _ => P) for a probability measure P, and the violation is the real number (P {δ | θ ∉ Θδ δ}).toReal. Events over samples are compared in ℝ≥0∞ with ENNReal.ofReal of the book's right-hand side. The removal procedure is an arbitrary map I : (Fin N → Δ) → Finset (Fin N) with (I ω).card = k, and θk is a map that, for every sample, solves the program without the constraints in I ω, and violates each of them with probability one. The following implicit hypotheses of the book are written as binders:
- , , and ;
- Assumption 3.6 for every , including , and for every sample (not almost every);
- the removed constraints are violated with probability one (
∀ᵐ ω ∂ℙ^N), the book's own hypothesis on p. 65, so (5.11) is an inclusion up to a null set as on the page; requiring the violation for every sample would be unsatisfiable for (on a sample with all equal a kept constraint coincides with a removed one) and would make the results vacuous; - measurability, which the book glosses over (p. 33): the constraint relation is jointly measurable, the solution map of the scenario program with constraints is measurable for every , and is measurable;
- for Theorem 1.2 and Section 3.3.1: (formula (1.9) divides by ), , ; Section 3.3.1 additionally assumes , the range in which its chain of inequalities holds.
Theorem 1.2 is stated in the constraint formulation of Chapter 3, to which the book says it "straightforwardly generalizes" (p. 20), with the hypotheses of Theorem 3.9 from which Section 3.3.1 derives it. Eq. (5.14) and the closing display of Section 5.3 are stated for only, as in the book.
A trivializing formalization is excluded: the removal procedure is universally quantified, the solutions are exact minimizers rather than arbitrary feasible points, and the event is the strict ; a statement for one fixed rule, or with unconstrained, would be a different theorem.
A complete development needs: product measures and Fubini over Fin N → Δ, reindexing of the kept constraints as a sample of size , the Beta form of the binomial tail (the platform's binomial_upper_tail_eq_incomplete_beta is available), and stochastic domination for monotone integrands. Solution-map and violation infrastructure is shared with the sibling missions of this series. Contributions on any milestone, including the general- counting argument of the cited paper, are welcome.
Selected references
- M. C. Campi and S. Garatti, Introduction to the Scenario Approach, MOS-SIAM Series on Optimization 26, SIAM/MOS, 2018. https://doi.org/10.1137/1.9781611975444
- M. C. Campi and S. Garatti, A sampling-and-discarding approach to chance-constrained optimization: feasibility and optimality, Journal of Optimization Theory and Applications 148(2), 257–280, 2011. https://doi.org/10.1007/s10957-010-9754-6
- M. C. Campi and S. Garatti, The exact feasibility of randomized solutions of uncertain convex programs, SIAM Journal on Optimization 19(3), 1211–1230, 2008. https://doi.org/10.1137/07069821X
- G. C. Calafiore and M. C. Campi, The scenario approach to robust control design, IEEE Transactions on Automatic Control 51(5), 742–753, 2006. https://doi.org/10.1109/TAC.2006.875041