Rashomon Sets and Model Class Reliance - Definitions

Summary

The -Rashomon set is every model in a prespecified class whose expected loss is at most above a reference model . Model class reliance is the interval of the smallest and largest model reliance (MR) attained inside that set. Its empirical analogue replaces expectations with in-sample averages. MCR describes the prediction problem plus class, not any one fitted model. It does not depend on the algorithm that selected a model.

Overview

The paper’s starting point (§1, pp. 1-2) is Breiman’s Rashomon effect: many prediction models fit the data almost equally well, yet they may rely on entirely different covariates. The name comes from Kurosawa’s 1950 film in which four witnesses give different accounts of one event. The authors pose three questions. How should analysts describe the importance of each covariate comprehensively? How well can one analyst recover another’s conclusions? Does the model that predicts best necessarily give the most accurate interpretation?

Existing VI tools and what they are used for (§1, pp. 1-2). In random forests, VI is the drop in accuracy when a covariate is permuted (Breiman 2001; Breiman et al. 2001; later Strobl et al. 2008, Altmann et al. 2010, Gregorutti et al. 2015/2017 and others). A similar “Perturb” VI measure has been used for neural networks, where noise is added to covariates rather than permuting them (Recknagel et al. 1997; Yao et al. 1998; Scardi & Harding 1999; Gevrey et al. 2003). The paper lists three uses of such tools:

  • identifying covariates that must be measured with high precision;
  • improving the transparency of a “black box” model (see also Rudin 2019);
  • determining which scenarios may cause the model to fail.

None of them accounts for the fact that many models may fit almost equally well, so one analyst’s model may rely on entirely different covariates from another’s.

Their answer is to study the whole set of near-optimal models. The motivating hope (§1, p. 2): even if no candidate model is the true data-generating process, some well-performing candidates may place the same importance on a variable as the true process does. If so, the range of importance over the good models brackets the truth. That range “aims to reflect the nature of the prediction problem itself” (§1, p. 2) rather than one analyst’s choices.

Main Content

Setup (§2, p. 4)

Definition: Data, model class, loss, algorithm (§2, p. 4)

  • is a random variable with outcome and covariates . The subsets (variables of interest) and may each be multivariate. Observations are iid and . The minimizers and maximizers used throughout are assumed to exist.
  • The data set is , with (). is the th element of a vector, and , , are a row, a column and an element.
  • A model class is a prespecified subset of measurable functions. Its members are models.
  • A loss is a nonnegative , e.g. squared error or hinge .
  • An algorithm is any procedure from data sets to models.

The authors deliberately say “model reliance” rather than “importance” to signal that the target is prediction: how much a model leans on a covariate for accuracy. This is distinct from the inferential VI estimands of van der Laan (2006) and Williamson et al. (2017) (§2, p. 4).

Rashomon sets

Definition: Population and empirical -Rashomon sets (§2.1 p. 5; Eq 4.1 p. 11; §4.1 p. 14)

Given a prespecified reference model and :

The empirical analogue is

To allow (needed for the inner bound, Theorem 6), the empirical set is generalized to , which is never empty. The abbreviations and are used when and are clear.

Interpretation (§2.1, p. 5). “can be thought of as representing models that might be arrived at due to differences in data measurement, processing, filtering, model parameterization, covariate selection, or other analysis choices.” In other words, it is the model-space image of the Garden of Forking Paths.

Choosing (§4, p. 11). The theory is simplest when is prespecified. Examples are an emergency-room injury-severity flowchart or any decision rule already in use. It can also be fit on a separate split. The ideal choice is the best-in-class model , but is unknown. Any is conservative: , because .

Standardized loss (App B.1, p. 48). For the proofs it is convenient to write . Then and .

Definition: Absolute-loss Rashomon set (App B.7, pp. 63-64)

An alternative replaces the relative threshold with an absolute one: for . Including still guarantees non-emptiness. All results carry over if Assumption 2 is replaced by Assumption 1 and by in the thresholds . The reason is that ranges over an interval of length , while ranges over one of length . The computation in §6 is written on this absolute scale.

Two further remarks in B.7:

  • Computation is largely unaffected. The paper says computing empirical MCR is “largely unaffected” by whether or is used, because it is simple to transform one optimization problem into the other (p. 63). (Our gloss: , so a relative threshold is the absolute threshold .)
  • Including is often redundant. The explicit inclusion of is still required so that empirical and population Rashomon sets are nonempty. But in many cases it is redundant when interpreting the set, for example when and , since then already meets the loss condition (p. 64).
  • The swap of Assumption 2 for Assumption 1 applies “whenever this is not redundant”, and the replacement is made in Theorem 4, Corollary 22, Theorem 6, Proposition 7 and Corollary 27.

Model reliance (informal) and model class reliance

Definition: Informal model reliance, population and in-sample (Eqs 2.1 and 2.3, pp. 5-6)

In Fig. 1-A the x-axis reads MR as the percent increase in ‘s expected loss when noise is added to . The added noise must render completely uninformative of without altering the marginal distribution of (§2.1, p. 5, citing Breiman 2001 and Breiman et al. 2001). Eq 2.3 is “the extent to which appears to rely on in a given sample” (p. 6). The formal versions, (Eq 3.1) and its U-statistic estimator (Eq 3.6), are in ^def-mr.

Definition: Model class reliance, population and empirical (Eqs 2.2 and 2.4, pp. 6)

Here is the in-sample loss under noise divided by the in-sample loss without noise (Eq 2.3; formal Eq 3.6).

Reading the interval (§4, p. 11).

  • If is low, no well-performing model in places high importance on , and “can be discarded at low cost regardless of future modeling decisions.”
  • If is large, every well-performing model must rely substantially on , and deserves careful attention.
  • may mix parametric forms, e.g. “all linear models and all decision tree models with less than 6 single-split nodes.”
  • The range does not depend on the fitting algorithm. It is valid for any algorithm producing models in , and for any .

Figure 1 (p. 5): Rashomon sets and MCR

Panel A (population). The y-axis is expected loss and the x-axis is . The class is a cloud of points. A horizontal band of height above cuts out . Its projection on the x-axis is the MCR interval, from “rely less on ” to “rely more on “. Panel B (empirical). The same picture with in-sample loss and , giving and .

Generality of the Rashomon-set tools (§1, p. 3). The tools “can be used to make finite-sample inferences for arbitrary characteristics of well-performing models”. The examples given are the range of risk predictions that well-fitting models assign to a particular covariate profile, and the variance of predictions made by well-fitting models. In some cases they “may provide finite-sample confidence intervals (CIs) where none have previously existed” (p. 3; see §5 and Rashomon-Set Confidence Intervals and Profile Likelihood).

COMPAS motivation and provenance (§1, p. 3). Proprietary recidivism models trained on criminal records are increasingly used in U.S. courtrooms, and may rely on race, sex or proxies for them. COMPAS (Correctional Offender Management Profiling for Alternative Sanctions) was developed by Northpointe Inc.; in 2017 Northpointe, Courtview Justice Solutions and Constellation Justice Systems joined under the name Equivant. Because COMPAS predictions are public, one can fit a flexible class to predict them. MCR then lets the analyst assume only that the class contains some well-performing model with the same reliance as COMPAS, not that COMPAS has a known parametric form. See Model Class Reliance - Recidivism Case Study.

Contributions listed in §2.1 (pp. 6-7)

  1. Estimation of MR and population MCR. U-statistic properties of (§3.1, Theorem 5) and finite-sample bounds on MCR. Some of these require a covering-number limit on . → Model Class Reliance - Outer and Inner Finite-Sample Bounds
  2. Computation of empirical MCR. A general optimization procedure (§6) with implementations for regularized linear and RKHS classes (§7). It outputs a closed-form convex envelope containing (Fig. 2). For classes where loss minimization is itself open (e.g. neural networks), computing MCR remains open. → Model Class Reliance - Binary Search Computation
  3. Interpretation of MR via additive-model coefficients (Prop 15) and conditional causal effects (Prop 19).
  4. Conditional importance extension (§8.2).
  5. Generalized Rashomon-set inference for arbitrary model characteristics, analogous to profile likelihood (§5). → Rashomon-Set Confidence Intervals and Profile Likelihood
  • Breiman et al. (2001) introduced the Rashomon effect as an ambiguity problem and suggested ensembling the good models. The authors object that this “may only push the problem from the member level to the ensemble level”, since many ensembles also fit well.
  • The Rashomon effect also appears outside statistics (Heider 1988; Roth & Mehta 2002).
  • Tulabandhula & Rudin (2014) optimize a decision rule to perform well under the range of outcomes predicted by any good model.
  • Statnikov et al. (2013) find multiple Markov boundaries: minimal covariate sets that make independent of the rest.
  • Nevo & Ritov (2017) report interpretations across a set of well-fitting sparse linear models.
  • Meinshausen & Bühlmann (2010) estimate structural aspects (e.g. selected variables) from their stability across perturbed samples and regularization levels (Meinshausen Buhlmann 2010 - Stability Selection - Overview; see also Azen et al. 2001).
  • Letham et al. (2016) search for pairs of well-fitting dynamical-systems models with maximally different predictions.

Examples

Why one model's importance can mislead (§1 and §8.2 logic)

Suppose and are near-duplicates (age and accumulated wealth predicting promotion, the paper’s §8.2 example). One analyst’s lasso keeps and drops , so the importance is high. Another analyst’s lasso keeps , so the importance is about 1 (none). Both fits have the same loss and both lie in . MCR for is wide, roughly . That correctly reports that the data cannot say whether specifically is needed. A single permutation importance would report one end of the range as if it were the answer.

Marketing analogue

In weekly media data with 52-156 rows, a class of saturating-adstock regressions with ridge penalties often contains fits that attribute a sales lift to TV and equally good fits that attribute it to branded search. The Rashomon set makes the competing stories explicit. MCR for each channel’s spend reports how much any acceptable model must, or could, lean on that channel. Compare Challenges and Opportunities in Media Mix Modeling and MMM Model Selection and Application.

Connections

See Also