Model Class Reliance for Linear and RKHS Model Classes
Summary
Under squared-error loss, linear and additive models allow a closed form. Proposition 15: , and costs . Any linear combination is a (possibly non-convex) quadratic in (Remark 16). With a quadratic norm constraint (ridge-type, Eq 7.4) or an RKHS norm constraint (Eq 7.6), each binary-search step is a QP1QC: one quadratic objective, one quadratic constraint, a trust-region-type problem that is solvable globally. Lemmas 17-18 give the loss bound needed by the theory.
Overview
Throughout §7: , , , and . The section serves two purposes. It makes MR interpretable for linear models, and it makes empirical MCR exactly computable (global minima, despite non-convexity) for three classes: unconstrained linear, quadratically constrained linear, and kernel regression.
Main Content
Interpreting and computing MR for linear models (§7.1)
Proposition 15: MR for linear models (p. 26, Eqs 7.1-7.2)
Use squared-error loss, , and . Let and . Then
and for finite samples
where .
Linear cost. and . Each needs work, although (3.3) has terms.
Additive models. Both results extend to , since permuting is the same as permuting (as in Gregorutti et al. 2017, who derived the equivalent of (7.1) assuming and centered covariates).
Proof of Proposition 15 (App B.8, pp. 64-65)
Write . In , is independent of , so the cross term factorizes: . Subtracting,
Divide by to get (7.1).
Finite-sample half, Eq 7.2 (Eqs B.48-B.49, pp. 64-65). Start from the U-statistic form . Here row supplies and row supplies .
- Expand the square inside the double sum. Each term is .
- Count the pure terms (B.48). Each of the two squared pieces depends on one index only, and each index value appears in ordered pairs. So
- Simplify the braces term (B.49). Add and subtract the diagonal : . The full double sum factorizes as . The diagonal is . Hence
- Plug back in and write in matrix form. . Divide by . The matrix is exactly :
- Collect terms in . Expanding gives . In block form this is , which is (7.2). is symmetric, so the cross term splits evenly across the two off-diagonal blocks.
Intuition. has zeros on the diagonal and off it. It is the “average over all other rows” operator. The appears only where meets , because those are the only pairs the permutation separates.
Reading (7.1). MR exceeds 1 to the extent that the term covaries with the part of not already explained by , scaled by model accuracy. Two linear models with equal loss can split a shared signal between correlated and in different proportions, and so have very different MR. This is the Rashomon effect in its simplest form.
Linear model classes (§7.2)
.
Remark 16: Tractability of empirical MCR for linear model classes (p. 27, Eq 7.3)
For any and fixed , the combination
is proportional in to , with
So each search step is an unconstrained, possibly non-convex QP. can be indefinite when has mixed signs, as in with .
Proof (App C.6). Apply Proposition 15 to , use , and drop the constant terms.
Regularized linear models (§7.3)
Definition: Quadratically constrained linear class (Eq 7.4, p. 27)
with and prespecified. This is the constrained form of ridge regression.
Search subproblem as QP1QC (§7.3.1, Eq 7.5, p. 28)
This is a possibly non-convex quadratic program with one quadratic constraint (QP1QC). It is well studied and related to the trust-region problem (Boyd & Vandenberghe 2004; Pólik & Terlaky 2007; Park & Boyd 2017), so the §6 bounds are computationally tractable for this class. (Background, not stated in the paper: the S-lemma gives zero duality gap for a QP1QC, which is why global solutions are available despite non-convexity.)
Lemma 17: Loss upper bound for linear models (§7.3.2, p. 28)
Suppose is positive definite, is bounded within a known range, and there is a known with for all . Then Assumption 1 holds for under squared error with
In practice can be approximated from the empirical distribution of and . The constraints on and are complementary: if is diagonal, its smallest entries are the directions in which is least restricted and is most restricted.
Proof (App C.7). Bound the loss by maximizing or minimizing subject to and (C.17). The paper notes (p. 75) that both constraints hold with equality at the solution (our gloss: the objective is bilinear, so scaling either or up to its constraint boundary can only increase a positive optimum). This is why it is valid to replace the inequality constraints with the equality (unit-norm) constraints after the change of variables. With the eigendecomposition , the change of variables , turns this into over unit vectors, with optimum . The minimum is . The squared error is largest at an extreme paired with an extreme prediction.
Regression in a reproducing kernel Hilbert space (§7.4)
Definition: Kernel regression class (Eqs 7.6-7.7, pp. 28-29)
Let be an dictionary of reference points (rows in ), a prespecified positive-definite kernel, a prespecified estimate of , and the matrix with . Then
The similarity to each reference point is a regression feature. This allows nonlinear and non-additive structure.
Search subproblem for RKHS class as QP1QC (§7.4.1, Eqs 7.8-7.11, pp. 29-30)
Given a test sample :
- let be with ;
- let be the matrix with rows ;
- let be with .
Then minimizing over is
again a QP1QC. Derivation: (7.10-7.11), and likewise .
Lemma 18: Loss upper bound for RKHS regression (§7.4.2, p. 30)
Suppose is bounded within a known range and there is a known with for all , where and . Then Assumption 1 holds for under squared error with
Proof as given in the paper (App C.8, pp. 75-76). The proof follows the structure of C.7. From (7.7), the largest possible output of is
- Relax. Replace , which ranges over the image of the feature map, by an arbitrary vector with . The feasible set gets larger, so the maximum can only grow: s.t. , .
- Reuse C.17. This is the same problem as (C.17), with in place of and in place of . Its optimum is . So the largest output is at most .
- Lower side and conclusion. The paper states that the smallest output is “similarly” lower bounded by , and concludes that is at most the displayed expression.
Equivalent shortcut (not the paper’s wording). Cauchy-Schwarz in the metric gives the same bound in one line: .
Caveat on the lower output bound (our check, not flagged in the paper). The symmetric argument actually gives a minimum output of , not . The two agree only when . For , , so the stated value is still a valid but loose lower bound. In that case the stated is conservative, provided also (true for any nonnegative outcome): its second term is then at least the tight . For the stated lower output bound is not valid, and the stated can understate the worst-case loss. The safe general form is
In practice, centering so that makes the two forms coincide.
Examples
MR of a two-variable linear model (illustrative use of Eq 7.1)
Let have unit variance with correlation , and . The model with has , and . So , whatever is. Now take and the alternative . Its , only 19% worse, yet . With , the Rashomon set contains models with MR from 1 to above 3 on . MCR exposes this; a single fit hides it.
Marketing use
For a ridge-constrained linear response model on adstocked channel spends, Remark 16 and (7.5) make MCR for any channel exactly computable with a trust-region solver in a few dozen solves. Swapping for a prior-precision matrix links this to a MAP or ridge Bayesian MMM (Bayesian Estimation and Priors for MMM).
Connections
- The RKHS class is the finite-dictionary form of kernel ridge regression, closely related to the Gaussian Process Regression posterior mean. The norm bound is the frequentist counterpart of the GP prior scale.
- Equation (7.1) shows MR depends on the residualized covariance of with given the model’s own use of . That is why MR can be large for a variable with zero marginal correlation, and vice versa.
- Regularization Bias and the Partially Linear Model: ridge-type constraints that make MCR computable also bias individual coefficients.
See Also
- Model Class Reliance - Binary Search Computation: the outer loop these subproblems plug into
- Model Class Reliance - Recidivism Case Study: RKHS class applied with an RBF kernel
- Fisher Rudin Dominici 2019 - Model Class Reliance - Overview